Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPT_LANGUAGE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- accessToken() - Method in class com.google.genai.types.AuthConfigOauthConfig
-
Access token for extension endpoint.
- accessToken(String) - Method in class com.google.genai.types.AuthConfigOauthConfig.Builder
-
Setter for accessToken.
- ACTIVE - Enum constant in enum com.google.genai.types.FileState.Known
- activeDocumentsCount() - Method in class com.google.genai.types.FileSearchStore
-
The number of documents in the FileSearchStore that are active and ready for retrieval.
- activeDocumentsCount(Long) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for activeDocumentsCount.
- ACTIVITY_HANDLING_UNSPECIFIED - Enum constant in enum com.google.genai.types.ActivityHandling.Known
-
If unspecified, the default behavior is `START_OF_ACTIVITY_INTERRUPTS`.
- activityEnd() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
Marks the end of user activity.
- activityEnd() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Marks the end of user activity.
- activityEnd(ActivityEnd) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for activityEnd.
- activityEnd(ActivityEnd) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for activityEnd.
- activityEnd(ActivityEnd.Builder) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for activityEnd builder.
- activityEnd(ActivityEnd.Builder) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for activityEnd builder.
- ActivityEnd - Class in com.google.genai.types
-
Marks the end of user activity.
- ActivityEnd() - Constructor for class com.google.genai.types.ActivityEnd
- ActivityEnd.Builder - Class in com.google.genai.types
-
Builder for ActivityEnd.
- activityHandling() - Method in class com.google.genai.types.RealtimeInputConfig
-
Defines what effect activity has.
- activityHandling(ActivityHandling) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for activityHandling.
- activityHandling(ActivityHandling.Known) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for activityHandling given a known enum.
- activityHandling(String) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for activityHandling given a string.
- ActivityHandling - Class in com.google.genai.types
-
The different ways of handling user activity.
- ActivityHandling(ActivityHandling.Known) - Constructor for class com.google.genai.types.ActivityHandling
- ActivityHandling(String) - Constructor for class com.google.genai.types.ActivityHandling
- ActivityHandling.Known - Enum in com.google.genai.types
-
Enum representing the known values for ActivityHandling.
- activityStart() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
Marks the start of user activity.
- activityStart() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Marks the start of user activity.
- activityStart(ActivityStart) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for activityStart.
- activityStart(ActivityStart) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for activityStart.
- activityStart(ActivityStart.Builder) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for activityStart builder.
- activityStart(ActivityStart.Builder) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for activityStart builder.
- ActivityStart - Class in com.google.genai.types
-
Marks the start of user activity.
- ActivityStart() - Constructor for class com.google.genai.types.ActivityStart
- ActivityStart.Builder - Class in com.google.genai.types
-
Builder for ActivityStart.
- ADAPTER_SIZE_EIGHT - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 8.
- ADAPTER_SIZE_FOUR - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 4.
- ADAPTER_SIZE_ONE - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 1.
- ADAPTER_SIZE_SIXTEEN - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 16.
- ADAPTER_SIZE_THIRTY_TWO - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 32.
- ADAPTER_SIZE_TWO - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size 2.
- ADAPTER_SIZE_UNSPECIFIED - Enum constant in enum com.google.genai.types.AdapterSize.Known
-
Adapter size is unspecified.
- adapterSize() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Adapter size for tuning.
- adapterSize() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Optional.
- adapterSize() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Optional.
- adapterSize(AdapterSize) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for adapterSize.
- adapterSize(AdapterSize) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for adapterSize.
- adapterSize(AdapterSize) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for adapterSize.
- adapterSize(AdapterSize.Known) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for adapterSize given a known enum.
- adapterSize(AdapterSize.Known) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for adapterSize given a known enum.
- adapterSize(AdapterSize.Known) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for adapterSize given a known enum.
- adapterSize(String) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for adapterSize given a string.
- adapterSize(String) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for adapterSize given a string.
- adapterSize(String) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for adapterSize given a string.
- AdapterSize - Class in com.google.genai.types
-
Adapter size for tuning.
- AdapterSize(AdapterSize.Known) - Constructor for class com.google.genai.types.AdapterSize
- AdapterSize(String) - Constructor for class com.google.genai.types.AdapterSize
- AdapterSize.Known - Enum in com.google.genai.types
-
Enum representing the known values for AdapterSize.
- ADD_DUMMY_PREFIX_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- addAcceptLanguage(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- addAcceptLanguageBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- addAllAcceptLanguage(Iterable<String>) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- addAllControlSymbols(Iterable<String>) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- addAllInput(Iterable<String>) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- addAllPieces(Iterable<? extends SentencepieceModel.ModelProto.SentencePiece>) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addAllSamples(Iterable<? extends SentencepieceModel.SelfTestData.Sample>) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addAllUserDefinedSymbols(Iterable<String>) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- addControlSymbols(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- addControlSymbolsBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- addExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto, List<Type>>, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- addExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto.SentencePiece, List<Type>>, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- addExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.NormalizerSpec, List<Type>>, Type) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- addExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.SelfTestData, List<Type>>, Type) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- addExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.TrainerSpec, List<Type>>, Type) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- addInput(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- addInputBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- addPieces(int, SentencepieceModel.ModelProto.SentencePiece) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addPieces(int, SentencepieceModel.ModelProto.SentencePiece.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addPieces(SentencepieceModel.ModelProto.SentencePiece) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addPieces(SentencepieceModel.ModelProto.SentencePiece.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addPiecesBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addPiecesBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- addSamples(int, SentencepieceModel.SelfTestData.Sample) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addSamples(int, SentencepieceModel.SelfTestData.Sample.Builder) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addSamples(SentencepieceModel.SelfTestData.Sample) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addSamples(SentencepieceModel.SelfTestData.Sample.Builder) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addSamplesBuilder() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addSamplesBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - addUserDefinedSymbols(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- addUserDefinedSymbolsBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- addWatermark() - Method in class com.google.genai.types.EditImageConfig
-
Whether to add a watermark to the generated images.
- addWatermark() - Method in class com.google.genai.types.GenerateImagesConfig
-
Whether to add a watermark to the generated images.
- addWatermark() - Method in class com.google.genai.types.RecontextImageConfig
-
Whether to add a SynthID watermark to the generated images.
- addWatermark(boolean) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for addWatermark.
- addWatermark(boolean) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for addWatermark.
- addWatermark(boolean) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for addWatermark.
- ALLOW_ADULT - Enum constant in enum com.google.genai.types.PersonGeneration.Known
-
Generate images of adults, but not children.
- ALLOW_ALL - Enum constant in enum com.google.genai.types.PersonGeneration.Known
-
Generate images that include adults and children.
- ALLOW_WHITESPACE_ONLY_PIECES_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- allowedFunctionNames() - Method in class com.google.genai.types.FunctionCallingConfig
-
Optional.
- allowedFunctionNames(String...) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for allowedFunctionNames.
- allowedFunctionNames(List<String>) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for allowedFunctionNames.
- alpha() - Method in class com.google.genai.types.RagRetrievalConfigHybridSearch
-
Optional.
- alpha(Float) - Method in class com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
-
Setter for alpha.
- ANY - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Model is constrained to always predicting function calls only.
- anyOf() - Method in class com.google.genai.types.Schema
-
Optional.
- anyOf(Schema...) - Method in class com.google.genai.types.Schema.Builder
-
Setter for anyOf.
- anyOf(Schema.Builder...) - Method in class com.google.genai.types.Schema.Builder
-
Setter for anyOf builder.
- anyOf(List<Schema>) - Method in class com.google.genai.types.Schema.Builder
-
Setter for anyOf.
- API_KEY_AUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
API Key Auth.
- API_SPEC_UNSPECIFIED - Enum constant in enum com.google.genai.types.ApiSpec.Known
-
Unspecified API spec.
- apiAuth() - Method in class com.google.genai.types.ExternalApi
-
The authentication config to access the API.
- apiAuth(ApiAuth) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for apiAuth.
- apiAuth(ApiAuth.Builder) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for apiAuth builder.
- ApiAuth - Class in com.google.genai.types
-
The generic reusable api auth config.
- ApiAuth() - Constructor for class com.google.genai.types.ApiAuth
- ApiAuth.Builder - Class in com.google.genai.types
-
Builder for ApiAuth.
- ApiAuthApiKeyConfig - Class in com.google.genai.types
-
The API secret.
- ApiAuthApiKeyConfig() - Constructor for class com.google.genai.types.ApiAuthApiKeyConfig
- ApiAuthApiKeyConfig.Builder - Class in com.google.genai.types
-
Builder for ApiAuthApiKeyConfig.
- ApiException - Exception in com.google.genai.errors
-
General exception class for all exceptions originating from the GenAI API side.
- ApiException(int, String, String) - Constructor for exception com.google.genai.errors.ApiException
-
Creates a new ApiException with the specified code, status, and message.
- apiKey() - Method in class com.google.genai.HttpApiClient
-
Returns the API key for Google AI APIs.
- apiKey() - Method in class com.google.genai.Client
-
Returns the API key for Gemini API.
- apiKey(String) - Method in class com.google.genai.Client.Builder
-
Sets the API key for Gemini API.
- apiKeyConfig() - Method in class com.google.genai.types.ApiAuth
-
The API secret.
- apiKeyConfig() - Method in class com.google.genai.types.AuthConfig
-
Config for API key auth.
- apiKeyConfig(ApiAuthApiKeyConfig) - Method in class com.google.genai.types.ApiAuth.Builder
-
Setter for apiKeyConfig.
- apiKeyConfig(ApiAuthApiKeyConfig.Builder) - Method in class com.google.genai.types.ApiAuth.Builder
-
Setter for apiKeyConfig builder.
- apiKeyConfig(ApiKeyConfig) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for apiKeyConfig.
- apiKeyConfig(ApiKeyConfig.Builder) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for apiKeyConfig builder.
- ApiKeyConfig - Class in com.google.genai.types
-
Config for authentication with API key.
- ApiKeyConfig() - Constructor for class com.google.genai.types.ApiKeyConfig
- ApiKeyConfig.Builder - Class in com.google.genai.types
-
Builder for ApiKeyConfig.
- apiKeySecret() - Method in class com.google.genai.types.ApiKeyConfig
-
Optional.
- apiKeySecret(String) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for apiKeySecret.
- apiKeySecretVersion() - Method in class com.google.genai.types.ApiAuthApiKeyConfig
-
Required.
- apiKeySecretVersion(String) - Method in class com.google.genai.types.ApiAuthApiKeyConfig.Builder
-
Setter for apiKeySecretVersion.
- apiKeyString() - Method in class com.google.genai.types.ApiAuthApiKeyConfig
-
The API key string.
- apiKeyString() - Method in class com.google.genai.types.ApiKeyConfig
-
Optional.
- apiKeyString(String) - Method in class com.google.genai.types.ApiAuthApiKeyConfig.Builder
-
Setter for apiKeyString.
- apiKeyString(String) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for apiKeyString.
- apiSpec() - Method in class com.google.genai.types.ExternalApi
-
The API spec that the external API implements.
- apiSpec(ApiSpec) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for apiSpec.
- apiSpec(ApiSpec.Known) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for apiSpec given a known enum.
- apiSpec(String) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for apiSpec given a string.
- ApiSpec - Class in com.google.genai.types
-
The API spec that the external API implements.
- ApiSpec(ApiSpec.Known) - Constructor for class com.google.genai.types.ApiSpec
- ApiSpec(String) - Constructor for class com.google.genai.types.ApiSpec
- ApiSpec.Known - Enum in com.google.genai.types
-
Enum representing the known values for ApiSpec.
- apiVersion() - Method in class com.google.genai.types.HttpOptions
-
Specifies the version of the API to use.
- apiVersion(String) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for apiVersion.
- args() - Method in class com.google.genai.types.FunctionCall
-
Optional.
- args(Map<String, Object>) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for args.
- ARRAY - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI array type
- aspectRatio() - Method in class com.google.genai.types.EditImageConfig
-
Aspect ratio of the generated images.
- aspectRatio() - Method in class com.google.genai.types.GenerateImagesConfig
-
Aspect ratio of the generated images.
- aspectRatio() - Method in class com.google.genai.types.GenerateVideosConfig
-
The aspect ratio for the generated video.
- aspectRatio() - Method in class com.google.genai.types.ImageConfig
-
Aspect ratio of the generated images.
- aspectRatio(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for aspectRatio.
- aspectRatio(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for aspectRatio.
- aspectRatio(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for aspectRatio.
- aspectRatio(String) - Method in class com.google.genai.types.ImageConfig.Builder
-
Setter for aspectRatio.
- ASSET - Enum constant in enum 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.
- async - Variable in class com.google.genai.Client
- Async(ApiClient) - Constructor for class com.google.genai.Client.Async
- AsyncBatches - Class in com.google.genai
-
Async module of
Batches - AsyncBatches(ApiClient) - Constructor for class com.google.genai.AsyncBatches
- AsyncCaches - Class in com.google.genai
-
Async module of
Caches - AsyncCaches(ApiClient) - Constructor for class com.google.genai.AsyncCaches
- 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 - AsyncDocuments(ApiClient) - Constructor for class com.google.genai.AsyncDocuments
- AsyncFiles - Class in com.google.genai
-
Async module of
Files - AsyncFiles(ApiClient) - Constructor for class com.google.genai.AsyncFiles
- AsyncFileSearchStores - Class in com.google.genai
-
Async module of
FileSearchStores - AsyncFileSearchStores(ApiClient) - Constructor for class com.google.genai.AsyncFileSearchStores
- 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 - AsyncModels(ApiClient) - Constructor for class com.google.genai.AsyncModels
- AsyncOperations - Class in com.google.genai
-
Async module of
Operations - AsyncOperations(ApiClient) - Constructor for class com.google.genai.AsyncOperations
- AsyncPager<T extends JsonSerializable> - Class in com.google.genai
-
AsyncPager class for handling paginated results asynchronously.
- asyncRequest(String, String, byte[], Optional<HttpOptions>) - Method in class com.google.genai.HttpApiClient
-
Sends an asynchronous Http request given the http method, path, request bytes, and http options.
- asyncRequest(String, String, String, Optional<HttpOptions>) - Method in class com.google.genai.HttpApiClient
-
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.
- AsyncTunings - Class in com.google.genai
-
Async module of
Tunings - AsyncTunings(ApiClient) - Constructor for class com.google.genai.AsyncTunings
- attempts() - Method in class com.google.genai.types.HttpRetryOptions
-
Maximum number of attempts, including the original request.
- attempts(Integer) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for attempts.
- audio() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
The realtime audio input stream.
- audio() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
The realtime audio input stream.
- audio(Blob) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for audio.
- audio(Blob) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for audio.
- audio(Blob.Builder) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for audio builder.
- audio(Blob.Builder) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for audio builder.
- AUDIO - Enum constant in enum com.google.genai.types.MediaModality.Known
-
Audio.
- AUDIO - Enum constant in enum com.google.genai.types.Modality.Known
-
Indicates the model should return audio.
- audioDurationSeconds() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Duration of audio in seconds.
- audioDurationSeconds(Integer) - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Setter for audioDurationSeconds.
- audioStreamEnd() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
Indicates that the audio stream has ended, e.g.
- audioStreamEnd() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Indicates that the audio stream has ended, e.g.
- audioStreamEnd(boolean) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for audioStreamEnd.
- audioStreamEnd(boolean) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for audioStreamEnd.
- audioTimestamp() - Method in class com.google.genai.types.GenerateContentConfig
-
If enabled, audio timestamp will be included in the request to the model.
- audioTimestamp() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- audioTimestamp(boolean) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for audioTimestamp.
- audioTimestamp(boolean) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for audioTimestamp.
- AudioTranscriptionConfig - Class in com.google.genai.types
-
The audio transcription configuration in Setup.
- AudioTranscriptionConfig() - Constructor for class com.google.genai.types.AudioTranscriptionConfig
- AudioTranscriptionConfig.Builder - Class in com.google.genai.types
-
Builder for AudioTranscriptionConfig.
- AUTH_TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.AuthType.Known
- authConfig() - Method in class com.google.genai.types.ExternalApi
-
The authentication config to access the API.
- authConfig() - Method in class com.google.genai.types.GoogleMaps
-
The authentication config to access the API.
- authConfig(AuthConfig) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for authConfig.
- authConfig(AuthConfig) - Method in class com.google.genai.types.GoogleMaps.Builder
-
Setter for authConfig.
- authConfig(AuthConfig.Builder) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for authConfig builder.
- authConfig(AuthConfig.Builder) - Method in class com.google.genai.types.GoogleMaps.Builder
-
Setter for authConfig builder.
- AuthConfig - Class in com.google.genai.types
-
Auth configuration to run the extension.
- AuthConfig() - Constructor for class com.google.genai.types.AuthConfig
- AuthConfig.Builder - Class in com.google.genai.types
-
Builder for AuthConfig.
- AuthConfigGoogleServiceAccountConfig - Class in com.google.genai.types
-
Config for Google Service Account Authentication.
- AuthConfigGoogleServiceAccountConfig() - Constructor for class com.google.genai.types.AuthConfigGoogleServiceAccountConfig
- AuthConfigGoogleServiceAccountConfig.Builder - Class in com.google.genai.types
-
Builder for AuthConfigGoogleServiceAccountConfig.
- AuthConfigHttpBasicAuthConfig - Class in com.google.genai.types
-
Config for HTTP Basic Authentication.
- AuthConfigHttpBasicAuthConfig() - Constructor for class com.google.genai.types.AuthConfigHttpBasicAuthConfig
- AuthConfigHttpBasicAuthConfig.Builder - Class in com.google.genai.types
-
Builder for AuthConfigHttpBasicAuthConfig.
- AuthConfigOauthConfig - Class in com.google.genai.types
-
Config for user oauth.
- AuthConfigOauthConfig() - Constructor for class com.google.genai.types.AuthConfigOauthConfig
- AuthConfigOauthConfig.Builder - Class in com.google.genai.types
-
Builder for AuthConfigOauthConfig.
- AuthConfigOidcConfig - Class in com.google.genai.types
-
Config for user OIDC auth.
- AuthConfigOidcConfig() - Constructor for class com.google.genai.types.AuthConfigOidcConfig
- AuthConfigOidcConfig.Builder - Class in com.google.genai.types
-
Builder for AuthConfigOidcConfig.
- authorAttribution() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
This review's author.
- authorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for authorAttribution.
- authorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for authorAttribution builder.
- authType() - Method in class com.google.genai.types.AuthConfig
-
Type of auth scheme.
- authType(AuthType) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for authType.
- authType(AuthType.Known) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for authType given a known enum.
- authType(String) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for authType given a string.
- AuthType - Class in com.google.genai.types
-
Type of auth scheme.
- AuthType(AuthType.Known) - Constructor for class com.google.genai.types.AuthType
- AuthType(String) - Constructor for class com.google.genai.types.AuthType
- AuthType.Known - Enum in com.google.genai.types
-
Enum representing the known values for AuthType.
- AUTO - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Default model behavior, model decides to predict either function calls or natural language response.
- AUTO - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Auto-detect the language.
- automaticActivityDetection() - Method in class com.google.genai.types.RealtimeInputConfig
-
If not set, automatic activity detection is enabled by default.
- automaticActivityDetection(AutomaticActivityDetection) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for automaticActivityDetection.
- automaticActivityDetection(AutomaticActivityDetection.Builder) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for automaticActivityDetection builder.
- AutomaticActivityDetection - Class in com.google.genai.types
-
Configures automatic detection of activity.
- AutomaticActivityDetection() - Constructor for class com.google.genai.types.AutomaticActivityDetection
- AutomaticActivityDetection.Builder - Class in com.google.genai.types
-
Builder for AutomaticActivityDetection.
- automaticFunctionCalling() - Method in class com.google.genai.types.GenerateContentConfig
-
The configuration for automatic function calling.
- automaticFunctionCalling(AutomaticFunctionCallingConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for automaticFunctionCalling.
- automaticFunctionCalling(AutomaticFunctionCallingConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for automaticFunctionCalling builder.
- AutomaticFunctionCallingConfig - Class in com.google.genai.types
-
The configuration for automatic function calling.
- AutomaticFunctionCallingConfig() - Constructor for class com.google.genai.types.AutomaticFunctionCallingConfig
- AutomaticFunctionCallingConfig.Builder - Class in com.google.genai.types
-
Builder for AutomaticFunctionCallingConfig.
- automaticFunctionCallingHistory() - Method in class com.google.genai.types.GenerateContentResponse
-
The history of automatic function calling.
- automaticFunctionCallingHistory(Content...) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for automaticFunctionCallingHistory.
- automaticFunctionCallingHistory(Content.Builder...) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for automaticFunctionCallingHistory builder.
- automaticFunctionCallingHistory(List<Content>) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for automaticFunctionCallingHistory.
- autoMode() - Method in class com.google.genai.types.GenerationConfigRoutingConfig
-
Automated routing.
- autoMode(GenerationConfigRoutingConfigAutoRoutingMode) - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Setter for autoMode.
- autoMode(GenerationConfigRoutingConfigAutoRoutingMode.Builder) - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Setter for autoMode builder.
- autoraterConfig() - Method in class com.google.genai.types.EvaluationConfig
-
Autorater config for evaluation.
- autoraterConfig(AutoraterConfig) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for autoraterConfig.
- autoraterConfig(AutoraterConfig.Builder) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for autoraterConfig builder.
- AutoraterConfig - Class in com.google.genai.types
-
Autorater config used for evaluation.
- AutoraterConfig() - Constructor for class com.google.genai.types.AutoraterConfig
- AutoraterConfig.Builder - Class in com.google.genai.types
-
Builder for AutoraterConfig.
- autoraterModel() - Method in class com.google.genai.types.AutoraterConfig
-
The fully qualified name of the publisher model or tuned autorater endpoint to use.
- autoraterModel(String) - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Setter for autoraterModel.
- autoTruncate() - Method in class com.google.genai.types.EmbedContentConfig
-
Vertex API only.
- autoTruncate(boolean) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for autoTruncate.
- avgLogprobs() - Method in class com.google.genai.types.Candidate
-
Output only.
- avgLogprobs(Double) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for avgLogprobs.
B
- BACKGROUND - Enum constant in enum com.google.genai.types.SegmentMode.Known
- BALANCED - Enum constant in enum com.google.genai.types.FeatureSelectionPreference.Known
- BALANCED - Enum constant in enum com.google.genai.types.ModelRoutingPreference.Known
- baseModel() - Method in class com.google.genai.types.CreateTuningJobParameters
-
The base model that is being tuned, e.g., "gemini-2.5-flash".
- baseModel() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
The base model that is being tuned, e.g., "gemini-2.5-flash".
- baseModel() - Method in class com.google.genai.types.PreTunedModel
-
Output only.
- baseModel() - Method in class com.google.genai.types.TunedModelInfo
-
ID of the base model that you want to tune.
- baseModel() - Method in class com.google.genai.types.TuningJob
-
The base model that is being tuned.
- baseModel(String) - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Setter for baseModel.
- baseModel(String) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for baseModel.
- baseModel(String) - Method in class com.google.genai.types.PreTunedModel.Builder
-
Setter for baseModel.
- baseModel(String) - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Setter for baseModel.
- baseModel(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for baseModel.
- baseSteps() - Method in class com.google.genai.types.EditImageConfig
-
The number of sampling steps.
- baseSteps() - Method in class com.google.genai.types.RecontextImageConfig
-
The number of sampling steps.
- baseSteps(Integer) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for baseSteps.
- baseSteps(Integer) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for baseSteps.
- baseUrl() - Method in class com.google.genai.types.HttpOptions
-
The base URL for the AI platform service endpoint.
- baseUrl(String) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for baseUrl.
- batches - Variable in class com.google.genai.Client.Async
- batches - Variable in class com.google.genai.Client
- Batches - Class in com.google.genai
-
Provides methods for managing the batch jobs.
- Batches(ApiClient) - Constructor for class com.google.genai.Batches
- BatchJob - Class in com.google.genai.types
-
Config for batches.create return value.
- BatchJob() - Constructor for class com.google.genai.types.BatchJob
- BatchJob.Builder - Class in com.google.genai.types
-
Builder for BatchJob.
- BatchJobDestination - Class in com.google.genai.types
-
Config for `des` parameter.
- BatchJobDestination() - Constructor for class com.google.genai.types.BatchJobDestination
- BatchJobDestination.Builder - Class in com.google.genai.types
-
Builder for BatchJobDestination.
- batchJobs() - Method in class com.google.genai.types.ListBatchJobsResponse
- batchJobs(BatchJob...) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for batchJobs.
- batchJobs(BatchJob.Builder...) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for batchJobs builder.
- batchJobs(List<BatchJob>) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for batchJobs.
- BatchJobSource - Class in com.google.genai.types
-
Config for `src` parameter.
- BatchJobSource() - Constructor for class com.google.genai.types.BatchJobSource
- BatchJobSource.Builder - Class in com.google.genai.types
-
Builder for BatchJobSource.
- batchSize() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The batch size hyperparameter for tuning.
- batchSize() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Optional.
- batchSize(Integer) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for batchSize.
- batchSize(Long) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for batchSize.
- behavior() - Method in class com.google.genai.types.FunctionDeclaration
-
Defines the function behavior.
- behavior(Behavior) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for behavior.
- behavior(Behavior.Known) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for behavior given a known enum.
- behavior(String) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for behavior given a string.
- Behavior - Class in com.google.genai.types
-
Defines the function behavior.
- Behavior(Behavior.Known) - Constructor for class com.google.genai.types.Behavior
- Behavior(String) - Constructor for class com.google.genai.types.Behavior
- BEHAVIOR_UNSPECIFIED - Enum constant in enum com.google.genai.types.Behavior.Known
- Behavior.Known - Enum in com.google.genai.types
-
Enum representing the known values for Behavior.
- beta() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Weight for KL Divergence regularization, Preference Optimization tuning only.
- beta() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Optional.
- beta(Double) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for beta.
- beta(Float) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for beta.
- bigqueryUri() - Method in class com.google.genai.types.BatchJobDestination
-
The BigQuery URI to the output table.
- bigqueryUri() - Method in class com.google.genai.types.BatchJobSource
-
The BigQuery URI to input table.
- bigqueryUri(String) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for bigqueryUri.
- bigqueryUri(String) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for bigqueryUri.
- billableCharacterCount() - Method in class com.google.genai.types.EmbedContentMetadata
-
Vertex API only.
- billableCharacterCount(Integer) - Method in class com.google.genai.types.EmbedContentMetadata.Builder
-
Setter for billableCharacterCount.
- billableSum() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- billableSum(Long) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for billableSum.
- binaryColorThreshold() - Method in class com.google.genai.types.SegmentImageConfig
-
The binary color threshold to apply to the masks.
- binaryColorThreshold(Float) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for binaryColorThreshold.
- Blob - Class in com.google.genai.types
-
Content blob.
- Blob() - Constructor for class com.google.genai.types.Blob
- Blob.Builder - Class in com.google.genai.types
-
Builder for Blob.
- BLOCK_HIGH_AND_ABOVE - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks High and above confidence URL that is risky.
- BLOCK_HIGHER_AND_ABOVE - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks Higher and above confidence URL that is risky.
- BLOCK_LOW_AND_ABOVE - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Block low threshold and above (i.e.
- BLOCK_LOW_AND_ABOVE - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks Low and above confidence URL that is risky.
- BLOCK_LOW_AND_ABOVE - Enum constant in enum com.google.genai.types.SafetyFilterLevel.Known
- BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Block medium threshold and above.
- BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks Medium and above confidence URL that is risky.
- BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum com.google.genai.types.SafetyFilterLevel.Known
- BLOCK_NONE - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Block none.
- BLOCK_NONE - Enum constant in enum com.google.genai.types.SafetyFilterLevel.Known
- BLOCK_ONLY_EXTREMELY_HIGH - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks Extremely high confidence URL that is risky.
- BLOCK_ONLY_HIGH - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Block only high threshold (i.e.
- BLOCK_ONLY_HIGH - Enum constant in enum com.google.genai.types.SafetyFilterLevel.Known
- BLOCK_VERY_HIGH_AND_ABOVE - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Blocks Very high and above confidence URL that is risky.
- blocked() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- blocked(boolean) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for blocked.
- BLOCKED_REASON_UNSPECIFIED - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The blocked reason is unspecified.
- BlockedReason - Class in com.google.genai.types
-
Output only.
- BlockedReason(BlockedReason.Known) - Constructor for class com.google.genai.types.BlockedReason
- BlockedReason(String) - Constructor for class com.google.genai.types.BlockedReason
- BlockedReason.Known - Enum in com.google.genai.types
-
Enum representing the known values for BlockedReason.
- BLOCKING - Enum constant in enum com.google.genai.types.Behavior.Known
-
If set, the system will wait to receive the function response before continuing the conversation.
- blockingConfidence() - Method in class com.google.genai.types.EnterpriseWebSearch
-
Optional.
- blockingConfidence() - Method in class com.google.genai.types.GoogleSearch
-
Optional.
- blockingConfidence(PhishBlockThreshold) - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Setter for blockingConfidence.
- blockingConfidence(PhishBlockThreshold) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for blockingConfidence.
- blockingConfidence(PhishBlockThreshold.Known) - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Setter for blockingConfidence given a known enum.
- blockingConfidence(PhishBlockThreshold.Known) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for blockingConfidence given a known enum.
- blockingConfidence(String) - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Setter for blockingConfidence given a string.
- blockingConfidence(String) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for blockingConfidence given a string.
- BLOCKLIST - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked because it contains a term from the terminology blocklist.
- BLOCKLIST - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation stopped because the content contains forbidden terms.
- blockReason() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Output only.
- blockReason(BlockedReason) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for blockReason.
- blockReason(BlockedReason.Known) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for blockReason given a known enum.
- blockReason(String) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for blockReason given a string.
- blockReasonMessage() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Output only.
- blockReasonMessage(String) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for blockReasonMessage.
- body() - Method in class com.google.genai.types.HttpResponse
-
The raw HTTP response body, in JSON format.
- body(String) - Method in class com.google.genai.types.HttpResponse.Builder
-
Setter for body.
- bodySegments() - Method in class com.google.genai.types.ReplayRequest
- bodySegments() - Method in class com.google.genai.types.ReplayResponse
- bodySegments(List<Map<String, Object>>) - Method in class com.google.genai.types.ReplayRequest.Builder
-
Setter for bodySegments.
- bodySegments(List<Map<String, Object>>) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for bodySegments.
- bodySegments(Map<String, Object>...) - Method in class com.google.genai.types.ReplayRequest.Builder
-
Setter for bodySegments.
- bodySegments(Map<String, Object>...) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for bodySegments.
- BOOLEAN - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI boolean type
- boolValue() - Method in class com.google.genai.types.PartialArg
-
Optional.
- boolValue(boolean) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for boolValue.
- BOS_ID_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- BOS_PIECE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- BPE - Enum constant in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Byte Pair Encoding
- BPE_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Byte Pair Encoding
- buckets() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- buckets() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- buckets(DatasetDistributionDistributionBucket...) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for buckets.
- buckets(DatasetDistributionDistributionBucket.Builder...) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for buckets builder.
- buckets(SupervisedTuningDatasetDistributionDatasetBucket...) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for buckets.
- buckets(SupervisedTuningDatasetDistributionDatasetBucket.Builder...) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for buckets builder.
- buckets(List<DatasetDistributionDistributionBucket>) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for buckets.
- buckets(List<SupervisedTuningDatasetDistributionDatasetBucket>) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for buckets.
- build() - Method in class com.google.genai.Client.Builder
-
Builds the
Clientinstance. - build() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- build() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- build() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- build() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- build() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- build() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- build() - Method in class com.google.genai.types.ActivityEnd.Builder
- build() - Method in class com.google.genai.types.ActivityStart.Builder
- build() - Method in class com.google.genai.types.ApiAuth.Builder
- build() - Method in class com.google.genai.types.ApiAuthApiKeyConfig.Builder
- build() - Method in class com.google.genai.types.ApiKeyConfig.Builder
- build() - Method in class com.google.genai.types.AudioTranscriptionConfig.Builder
- build() - Method in class com.google.genai.types.AuthConfig.Builder
- build() - Method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
- build() - Method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
- build() - Method in class com.google.genai.types.AuthConfigOauthConfig.Builder
- build() - Method in class com.google.genai.types.AuthConfigOidcConfig.Builder
- build() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
- build() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
- build() - Method in class com.google.genai.types.AutoraterConfig.Builder
- build() - Method in class com.google.genai.types.BatchJob.Builder
- build() - Method in class com.google.genai.types.BatchJobDestination.Builder
- build() - Method in class com.google.genai.types.BatchJobSource.Builder
- build() - Method in class com.google.genai.types.Blob.Builder
- build() - Method in class com.google.genai.types.CachedContent.Builder
- build() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
- build() - Method in class com.google.genai.types.CancelBatchJobConfig.Builder
- build() - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
- build() - Method in class com.google.genai.types.CancelTuningJobConfig.Builder
- build() - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
- build() - Method in class com.google.genai.types.Candidate.Builder
- build() - Method in class com.google.genai.types.Checkpoint.Builder
- build() - Method in class com.google.genai.types.ChunkingConfig.Builder
- build() - Method in class com.google.genai.types.Citation.Builder
- build() - Method in class com.google.genai.types.CitationMetadata.Builder
- build() - Method in class com.google.genai.types.ClientOptions.Builder
- build() - Method in class com.google.genai.types.CodeExecutionResult.Builder
- build() - Method in class com.google.genai.types.CompletionStats.Builder
- build() - Method in class com.google.genai.types.ComputerUse.Builder
- build() - Method in class com.google.genai.types.ComputeTokensConfig.Builder
- build() - Method in class com.google.genai.types.ComputeTokensParameters.Builder
- build() - Method in class com.google.genai.types.ComputeTokensResponse.Builder
- build() - Method in class com.google.genai.types.ComputeTokensResult.Builder
- build() - Method in class com.google.genai.types.Content.Builder
- build() - Method in class com.google.genai.types.ContentEmbedding.Builder
- build() - Method in class com.google.genai.types.ContentEmbeddingStatistics.Builder
- build() - Method in class com.google.genai.types.ContentReferenceImage.Builder
- build() - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
- build() - Method in class com.google.genai.types.ControlReferenceConfig.Builder
- build() - Method in class com.google.genai.types.ControlReferenceImage.Builder
- build() - Method in class com.google.genai.types.CountTokensConfig.Builder
- build() - Method in class com.google.genai.types.CountTokensParameters.Builder
- build() - Method in class com.google.genai.types.CountTokensResponse.Builder
- build() - Method in class com.google.genai.types.CountTokensResult.Builder
- build() - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
- build() - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
- build() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
- build() - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
- build() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
- build() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
- build() - Method in class com.google.genai.types.CreateFileConfig.Builder
- build() - Method in class com.google.genai.types.CreateFileParameters.Builder
- build() - Method in class com.google.genai.types.CreateFileResponse.Builder
- build() - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
- build() - Method in class com.google.genai.types.CreateFileSearchStoreParameters.Builder
- build() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
- build() - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
- build() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
- build() - Method in class com.google.genai.types.CustomMetadata.Builder
- build() - Method in class com.google.genai.types.DatasetDistribution.Builder
- build() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
- build() - Method in class com.google.genai.types.DatasetStats.Builder
- build() - Method in class com.google.genai.types.DeleteBatchJobConfig.Builder
- build() - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
- build() - Method in class com.google.genai.types.DeleteCachedContentConfig.Builder
- build() - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
- build() - Method in class com.google.genai.types.DeleteCachedContentResponse.Builder
- build() - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
- build() - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
- build() - Method in class com.google.genai.types.DeleteFileConfig.Builder
- build() - Method in class com.google.genai.types.DeleteFileParameters.Builder
- build() - Method in class com.google.genai.types.DeleteFileResponse.Builder
- build() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
- build() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
- build() - Method in class com.google.genai.types.DeleteModelConfig.Builder
- build() - Method in class com.google.genai.types.DeleteModelParameters.Builder
- build() - Method in class com.google.genai.types.DeleteModelResponse.Builder
- build() - Method in class com.google.genai.types.DeleteResourceJob.Builder
- build() - Method in class com.google.genai.types.DistillationDataStats.Builder
- build() - Method in class com.google.genai.types.Document.Builder
- build() - Method in class com.google.genai.types.DownloadFileConfig.Builder
- build() - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
- build() - Method in class com.google.genai.types.EditImageConfig.Builder
- build() - Method in class com.google.genai.types.EditImageParameters.Builder
- build() - Method in class com.google.genai.types.EditImageResponse.Builder
- build() - Method in class com.google.genai.types.EmbedContentBatch.Builder
- build() - Method in class com.google.genai.types.EmbedContentConfig.Builder
- build() - Method in class com.google.genai.types.EmbedContentMetadata.Builder
- build() - Method in class com.google.genai.types.EmbedContentParameters.Builder
- build() - Method in class com.google.genai.types.EmbedContentResponse.Builder
- build() - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
- build() - Method in class com.google.genai.types.EncryptionSpec.Builder
- build() - Method in class com.google.genai.types.Endpoint.Builder
- build() - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
- build() - Method in class com.google.genai.types.EntityLabel.Builder
- build() - Method in class com.google.genai.types.EvaluationConfig.Builder
- build() - Method in class com.google.genai.types.ExecutableCode.Builder
- build() - Method in class com.google.genai.types.ExternalApi.Builder
- build() - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
- build() - Method in class com.google.genai.types.ExternalApiSimpleSearchParams.Builder
- build() - Method in class com.google.genai.types.FetchPredictOperationConfig.Builder
- build() - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
- build() - Method in class com.google.genai.types.File.Builder
- build() - Method in class com.google.genai.types.FileData.Builder
- build() - Method in class com.google.genai.types.FileSearch.Builder
- build() - Method in class com.google.genai.types.FileSearchStore.Builder
- build() - Method in class com.google.genai.types.FileStatus.Builder
- build() - Method in class com.google.genai.types.FunctionCall.Builder
- build() - Method in class com.google.genai.types.FunctionCallingConfig.Builder
- build() - Method in class com.google.genai.types.FunctionDeclaration.Builder
- build() - Method in class com.google.genai.types.FunctionResponse.Builder
- build() - Method in class com.google.genai.types.FunctionResponseBlob.Builder
- build() - Method in class com.google.genai.types.FunctionResponseFileData.Builder
- build() - Method in class com.google.genai.types.FunctionResponsePart.Builder
- build() - Method in class com.google.genai.types.GcsDestination.Builder
- build() - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
- build() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
- build() - Method in class com.google.genai.types.GenerateContentConfig.Builder
- build() - Method in class com.google.genai.types.GenerateContentParameters.Builder
- build() - Method in class com.google.genai.types.GenerateContentResponse.Builder
- build() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
- build() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
- build() - Method in class com.google.genai.types.GeneratedImage.Builder
- build() - Method in class com.google.genai.types.GeneratedImageMask.Builder
- build() - Method in class com.google.genai.types.GeneratedVideo.Builder
- build() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
- build() - Method in class com.google.genai.types.GenerateImagesParameters.Builder
- build() - Method in class com.google.genai.types.GenerateImagesResponse.Builder
- build() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
- build() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
- build() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
- build() - Method in class com.google.genai.types.GenerateVideosResponse.Builder
- build() - Method in class com.google.genai.types.GenerateVideosSource.Builder
- build() - Method in class com.google.genai.types.GenerationConfig.Builder
- build() - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
- build() - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
- build() - Method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode.Builder
- build() - Method in class com.google.genai.types.GetBatchJobConfig.Builder
- build() - Method in class com.google.genai.types.GetBatchJobParameters.Builder
- build() - Method in class com.google.genai.types.GetCachedContentConfig.Builder
- build() - Method in class com.google.genai.types.GetCachedContentParameters.Builder
- build() - Method in class com.google.genai.types.GetDocumentConfig.Builder
- build() - Method in class com.google.genai.types.GetDocumentParameters.Builder
- build() - Method in class com.google.genai.types.GetFileConfig.Builder
- build() - Method in class com.google.genai.types.GetFileParameters.Builder
- build() - Method in class com.google.genai.types.GetFileSearchStoreConfig.Builder
- build() - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
- build() - Method in class com.google.genai.types.GetModelConfig.Builder
- build() - Method in class com.google.genai.types.GetModelParameters.Builder
- build() - Method in class com.google.genai.types.GetOperationConfig.Builder
- build() - Method in class com.google.genai.types.GetOperationParameters.Builder
- build() - Method in class com.google.genai.types.GetTuningJobConfig.Builder
- build() - Method in class com.google.genai.types.GetTuningJobParameters.Builder
- build() - Method in class com.google.genai.types.GoogleMaps.Builder
- build() - Method in class com.google.genai.types.GoogleRpcStatus.Builder
- build() - Method in class com.google.genai.types.GoogleSearch.Builder
- build() - Method in class com.google.genai.types.GoogleSearchRetrieval.Builder
- build() - Method in class com.google.genai.types.GoogleTypeDate.Builder
- build() - Method in class com.google.genai.types.GroundingChunk.Builder
- build() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
- build() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
- build() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
- build() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
- build() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
- build() - Method in class com.google.genai.types.GroundingChunkWeb.Builder
- build() - Method in class com.google.genai.types.GroundingMetadata.Builder
- build() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
- build() - Method in class com.google.genai.types.GroundingSupport.Builder
- build() - Method in class com.google.genai.types.HttpOptions.Builder
- build() - Method in class com.google.genai.types.HttpResponse.Builder
- build() - Method in class com.google.genai.types.HttpRetryOptions.Builder
- build() - Method in class com.google.genai.types.Image.Builder
- build() - Method in class com.google.genai.types.ImageConfig.Builder
- build() - Method in class com.google.genai.types.ImportFileConfig.Builder
- build() - Method in class com.google.genai.types.ImportFileOperation.Builder
- build() - Method in class com.google.genai.types.ImportFileParameters.Builder
- build() - Method in class com.google.genai.types.ImportFileResponse.Builder
- build() - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
- build() - Method in class com.google.genai.types.InlinedRequest.Builder
- build() - Method in class com.google.genai.types.InlinedResponse.Builder
- build() - Method in class com.google.genai.types.Interval.Builder
- build() - Method in class com.google.genai.types.JobError.Builder
- build() - Method in class com.google.genai.types.LatLng.Builder
- build() - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
- build() - Method in class com.google.genai.types.ListBatchJobsParameters.Builder
- build() - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
- build() - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
- build() - Method in class com.google.genai.types.ListCachedContentsParameters.Builder
- build() - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
- build() - Method in class com.google.genai.types.ListDocumentsConfig.Builder
- build() - Method in class com.google.genai.types.ListDocumentsParameters.Builder
- build() - Method in class com.google.genai.types.ListDocumentsResponse.Builder
- build() - Method in class com.google.genai.types.ListFilesConfig.Builder
- build() - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
- build() - Method in class com.google.genai.types.ListFileSearchStoresParameters.Builder
- build() - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
- build() - Method in class com.google.genai.types.ListFilesParameters.Builder
- build() - Method in class com.google.genai.types.ListFilesResponse.Builder
- build() - Method in class com.google.genai.types.ListModelsConfig.Builder
- build() - Method in class com.google.genai.types.ListModelsParameters.Builder
- build() - Method in class com.google.genai.types.ListModelsResponse.Builder
- build() - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
- build() - Method in class com.google.genai.types.ListTuningJobsParameters.Builder
- build() - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
- build() - Method in class com.google.genai.types.LiveClientContent.Builder
- build() - Method in class com.google.genai.types.LiveClientMessage.Builder
- build() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
- build() - Method in class com.google.genai.types.LiveClientSetup.Builder
- build() - Method in class com.google.genai.types.LiveClientToolResponse.Builder
- build() - Method in class com.google.genai.types.LiveConnectConfig.Builder
- build() - Method in class com.google.genai.types.LiveConnectParameters.Builder
- build() - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
- build() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- build() - Method in class com.google.genai.types.LiveSendToolResponseParameters.Builder
- build() - Method in class com.google.genai.types.LiveServerContent.Builder
- build() - Method in class com.google.genai.types.LiveServerGoAway.Builder
- build() - Method in class com.google.genai.types.LiveServerMessage.Builder
- build() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
- build() - Method in class com.google.genai.types.LiveServerSetupComplete.Builder
- build() - Method in class com.google.genai.types.LiveServerToolCall.Builder
- build() - Method in class com.google.genai.types.LiveServerToolCallCancellation.Builder
- build() - Method in class com.google.genai.types.LogprobsResult.Builder
- build() - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
- build() - Method in class com.google.genai.types.LogprobsResultTopCandidates.Builder
- build() - Method in class com.google.genai.types.MaskReferenceConfig.Builder
- build() - Method in class com.google.genai.types.MaskReferenceImage.Builder
- build() - Method in class com.google.genai.types.Metric.Builder
- build() - Method in class com.google.genai.types.ModalityTokenCount.Builder
- build() - Method in class com.google.genai.types.Model.Builder
- build() - Method in class com.google.genai.types.ModelSelectionConfig.Builder
- build() - Method in class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
- build() - Method in class com.google.genai.types.OutputConfig.Builder
- build() - Method in class com.google.genai.types.Part.Builder
- build() - Method in class com.google.genai.types.PartialArg.Builder
- build() - Method in class com.google.genai.types.PartMediaResolution.Builder
- build() - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
- build() - Method in class com.google.genai.types.PrebuiltVoiceConfig.Builder
- build() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
- build() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
- build() - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
- build() - Method in class com.google.genai.types.PreTunedModel.Builder
- build() - Method in class com.google.genai.types.ProactivityConfig.Builder
- build() - Method in class com.google.genai.types.ProductImage.Builder
- build() - Method in class com.google.genai.types.RagChunk.Builder
- build() - Method in class com.google.genai.types.RagChunkPageSpan.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfig.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker.Builder
- build() - Method in class com.google.genai.types.RagRetrievalConfigRankingRankService.Builder
- build() - Method in class com.google.genai.types.RawReferenceImage.Builder
- build() - Method in class com.google.genai.types.RealtimeInputConfig.Builder
- build() - Method in class com.google.genai.types.RecontextImageConfig.Builder
- build() - Method in class com.google.genai.types.RecontextImageParameters.Builder
- build() - Method in class com.google.genai.types.RecontextImageResponse.Builder
- build() - Method in class com.google.genai.types.RecontextImageSource.Builder
- build() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
- build() - Method in class com.google.genai.types.ReplayFile.Builder
- build() - Method in class com.google.genai.types.ReplayInteraction.Builder
- build() - Method in class com.google.genai.types.ReplayRequest.Builder
- build() - Method in class com.google.genai.types.ReplayResponse.Builder
- build() - Method in class com.google.genai.types.Retrieval.Builder
- build() - Method in class com.google.genai.types.RetrievalConfig.Builder
- build() - Method in class com.google.genai.types.RetrievalMetadata.Builder
- build() - Method in class com.google.genai.types.SafetyAttributes.Builder
- build() - Method in class com.google.genai.types.SafetyRating.Builder
- build() - Method in class com.google.genai.types.SafetySetting.Builder
- build() - Method in class com.google.genai.types.Schema.Builder
- build() - Method in class com.google.genai.types.ScribbleImage.Builder
- build() - Method in class com.google.genai.types.SearchEntryPoint.Builder
- build() - Method in class com.google.genai.types.Segment.Builder
- build() - Method in class com.google.genai.types.SegmentImageConfig.Builder
- build() - Method in class com.google.genai.types.SegmentImageParameters.Builder
- build() - Method in class com.google.genai.types.SegmentImageResponse.Builder
- build() - Method in class com.google.genai.types.SegmentImageSource.Builder
- build() - Method in class com.google.genai.types.SessionResumptionConfig.Builder
- build() - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
- build() - Method in class com.google.genai.types.SlidingWindow.Builder
- build() - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
- build() - Method in class com.google.genai.types.SpeechConfig.Builder
- build() - Method in class com.google.genai.types.StringList.Builder
- build() - Method in class com.google.genai.types.StyleReferenceConfig.Builder
- build() - Method in class com.google.genai.types.StyleReferenceImage.Builder
- build() - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
- build() - Method in class com.google.genai.types.SubjectReferenceImage.Builder
- build() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
- build() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
- build() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
- build() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
- build() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
- build() - Method in class com.google.genai.types.TestTableFile.Builder
- build() - Method in class com.google.genai.types.TestTableItem.Builder
- build() - Method in class com.google.genai.types.ThinkingConfig.Builder
- build() - Method in class com.google.genai.types.TokensInfo.Builder
- build() - Method in class com.google.genai.types.Tool.Builder
- build() - Method in class com.google.genai.types.ToolCodeExecution.Builder
- build() - Method in class com.google.genai.types.ToolConfig.Builder
- build() - Method in class com.google.genai.types.Transcription.Builder
- build() - Method in class com.google.genai.types.TunedModel.Builder
- build() - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
- build() - Method in class com.google.genai.types.TunedModelInfo.Builder
- build() - Method in class com.google.genai.types.TuningDataset.Builder
- build() - Method in class com.google.genai.types.TuningDataStats.Builder
- build() - Method in class com.google.genai.types.TuningExample.Builder
- build() - Method in class com.google.genai.types.TuningJob.Builder
- build() - Method in class com.google.genai.types.TuningOperation.Builder
- build() - Method in class com.google.genai.types.TuningValidationDataset.Builder
- build() - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
- build() - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
- build() - Method in class com.google.genai.types.UpdateModelConfig.Builder
- build() - Method in class com.google.genai.types.UpdateModelParameters.Builder
- build() - Method in class com.google.genai.types.UploadFileConfig.Builder
- build() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
- build() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
- build() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
- build() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
- build() - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
- build() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
- build() - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
- build() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
- build() - Method in class com.google.genai.types.UpscaleImageParameters.Builder
- build() - Method in class com.google.genai.types.UpscaleImageResponse.Builder
- build() - Method in class com.google.genai.types.UrlContext.Builder
- build() - Method in class com.google.genai.types.UrlContextMetadata.Builder
- build() - Method in class com.google.genai.types.UrlMetadata.Builder
- build() - Method in class com.google.genai.types.UsageMetadata.Builder
- build() - Method in class com.google.genai.types.VeoHyperParameters.Builder
- build() - Method in class com.google.genai.types.VeoTuningSpec.Builder
- build() - Method in class com.google.genai.types.VertexAISearch.Builder
- build() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
- build() - Method in class com.google.genai.types.VertexRagStore.Builder
- build() - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
- build() - Method in class com.google.genai.types.Video.Builder
- build() - Method in class com.google.genai.types.VideoGenerationMask.Builder
- build() - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
- build() - Method in class com.google.genai.types.VideoMetadata.Builder
- build() - Method in class com.google.genai.types.VoiceConfig.Builder
- build() - Method in class com.google.genai.types.WhiteSpaceConfig.Builder
- builder() - Static method in class com.google.genai.Client
-
Returns a
Client.BuilderforClient. - builder() - Static method in class com.google.genai.types.ActivityEnd
-
Instantiates a builder for ActivityEnd.
- builder() - Static method in class com.google.genai.types.ActivityStart
-
Instantiates a builder for ActivityStart.
- builder() - Static method in class com.google.genai.types.ApiAuth
-
Instantiates a builder for ApiAuth.
- builder() - Static method in class com.google.genai.types.ApiAuthApiKeyConfig
-
Instantiates a builder for ApiAuthApiKeyConfig.
- builder() - Static method in class com.google.genai.types.ApiKeyConfig
-
Instantiates a builder for ApiKeyConfig.
- builder() - Static method in class com.google.genai.types.AudioTranscriptionConfig
-
Instantiates a builder for AudioTranscriptionConfig.
- builder() - Static method in class com.google.genai.types.AuthConfig
-
Instantiates a builder for AuthConfig.
- builder() - Static method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig
-
Instantiates a builder for AuthConfigGoogleServiceAccountConfig.
- builder() - Static method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig
-
Instantiates a builder for AuthConfigHttpBasicAuthConfig.
- builder() - Static method in class com.google.genai.types.AuthConfigOauthConfig
-
Instantiates a builder for AuthConfigOauthConfig.
- builder() - Static method in class com.google.genai.types.AuthConfigOidcConfig
-
Instantiates a builder for AuthConfigOidcConfig.
- builder() - Static method in class com.google.genai.types.AutomaticActivityDetection
-
Instantiates a builder for AutomaticActivityDetection.
- builder() - Static method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
Instantiates a builder for AutomaticFunctionCallingConfig.
- builder() - Static method in class com.google.genai.types.AutoraterConfig
-
Instantiates a builder for AutoraterConfig.
- builder() - Static method in class com.google.genai.types.BatchJob
-
Instantiates a builder for BatchJob.
- builder() - Static method in class com.google.genai.types.BatchJobDestination
-
Instantiates a builder for BatchJobDestination.
- builder() - Static method in class com.google.genai.types.BatchJobSource
-
Instantiates a builder for BatchJobSource.
- builder() - Static method in class com.google.genai.types.Blob
-
Instantiates a builder for Blob.
- builder() - Static method in class com.google.genai.types.CachedContent
-
Instantiates a builder for CachedContent.
- builder() - Static method in class com.google.genai.types.CachedContentUsageMetadata
-
Instantiates a builder for CachedContentUsageMetadata.
- builder() - Static method in class com.google.genai.types.CancelBatchJobConfig
-
Instantiates a builder for CancelBatchJobConfig.
- builder() - Static method in class com.google.genai.types.CancelBatchJobParameters
-
Instantiates a builder for CancelBatchJobParameters.
- builder() - Static method in class com.google.genai.types.CancelTuningJobConfig
-
Instantiates a builder for CancelTuningJobConfig.
- builder() - Static method in class com.google.genai.types.CancelTuningJobParameters
-
Instantiates a builder for CancelTuningJobParameters.
- builder() - Static method in class com.google.genai.types.Candidate
-
Instantiates a builder for Candidate.
- builder() - Static method in class com.google.genai.types.Checkpoint
-
Instantiates a builder for Checkpoint.
- builder() - Static method in class com.google.genai.types.ChunkingConfig
-
Instantiates a builder for ChunkingConfig.
- builder() - Static method in class com.google.genai.types.Citation
-
Instantiates a builder for Citation.
- builder() - Static method in class com.google.genai.types.CitationMetadata
-
Instantiates a builder for CitationMetadata.
- builder() - Static method in class com.google.genai.types.ClientOptions
-
Instantiates a builder for ClientOptions.
- builder() - Static method in class com.google.genai.types.CodeExecutionResult
-
Instantiates a builder for CodeExecutionResult.
- builder() - Static method in class com.google.genai.types.CompletionStats
-
Instantiates a builder for CompletionStats.
- builder() - Static method in class com.google.genai.types.ComputerUse
-
Instantiates a builder for ComputerUse.
- builder() - Static method in class com.google.genai.types.ComputeTokensConfig
-
Instantiates a builder for ComputeTokensConfig.
- builder() - Static method in class com.google.genai.types.ComputeTokensParameters
-
Instantiates a builder for ComputeTokensParameters.
- builder() - Static method in class com.google.genai.types.ComputeTokensResponse
-
Instantiates a builder for ComputeTokensResponse.
- builder() - Static method in class com.google.genai.types.ComputeTokensResult
-
Instantiates a builder for ComputeTokensResult.
- builder() - Static method in class com.google.genai.types.Content
-
Instantiates a builder for Content.
- builder() - Static method in class com.google.genai.types.ContentEmbedding
-
Instantiates a builder for ContentEmbedding.
- builder() - Static method in class com.google.genai.types.ContentEmbeddingStatistics
-
Instantiates a builder for ContentEmbeddingStatistics.
- builder() - Static method in class com.google.genai.types.ContentReferenceImage
-
Instantiates a builder for ContentReferenceImage.
- builder() - Static method in class com.google.genai.types.ContextWindowCompressionConfig
-
Instantiates a builder for ContextWindowCompressionConfig.
- builder() - Static method in class com.google.genai.types.ControlReferenceConfig
-
Instantiates a builder for ControlReferenceConfig.
- builder() - Static method in class com.google.genai.types.ControlReferenceImage
-
Instantiates a builder for ControlReferenceImage.
- builder() - Static method in class com.google.genai.types.CountTokensConfig
-
Instantiates a builder for CountTokensConfig.
- builder() - Static method in class com.google.genai.types.CountTokensParameters
-
Instantiates a builder for CountTokensParameters.
- builder() - Static method in class com.google.genai.types.CountTokensResponse
-
Instantiates a builder for CountTokensResponse.
- builder() - Static method in class com.google.genai.types.CountTokensResult
-
Instantiates a builder for CountTokensResult.
- builder() - Static method in class com.google.genai.types.CreateBatchJobConfig
-
Instantiates a builder for CreateBatchJobConfig.
- builder() - Static method in class com.google.genai.types.CreateBatchJobParameters
-
Instantiates a builder for CreateBatchJobParameters.
- builder() - Static method in class com.google.genai.types.CreateCachedContentConfig
-
Instantiates a builder for CreateCachedContentConfig.
- builder() - Static method in class com.google.genai.types.CreateCachedContentParameters
-
Instantiates a builder for CreateCachedContentParameters.
- builder() - Static method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig
-
Instantiates a builder for CreateEmbeddingsBatchJobConfig.
- builder() - Static method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
Instantiates a builder for CreateEmbeddingsBatchJobParameters.
- builder() - Static method in class com.google.genai.types.CreateFileConfig
-
Instantiates a builder for CreateFileConfig.
- builder() - Static method in class com.google.genai.types.CreateFileParameters
-
Instantiates a builder for CreateFileParameters.
- builder() - Static method in class com.google.genai.types.CreateFileResponse
-
Instantiates a builder for CreateFileResponse.
- builder() - Static method in class com.google.genai.types.CreateFileSearchStoreConfig
-
Instantiates a builder for CreateFileSearchStoreConfig.
- builder() - Static method in class com.google.genai.types.CreateFileSearchStoreParameters
-
Instantiates a builder for CreateFileSearchStoreParameters.
- builder() - Static method in class com.google.genai.types.CreateTuningJobConfig
-
Instantiates a builder for CreateTuningJobConfig.
- builder() - Static method in class com.google.genai.types.CreateTuningJobParameters
-
Instantiates a builder for CreateTuningJobParameters.
- builder() - Static method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
Instantiates a builder for CreateTuningJobParametersPrivate.
- builder() - Static method in class com.google.genai.types.CustomMetadata
-
Instantiates a builder for CustomMetadata.
- builder() - Static method in class com.google.genai.types.DatasetDistribution
-
Instantiates a builder for DatasetDistribution.
- builder() - Static method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Instantiates a builder for DatasetDistributionDistributionBucket.
- builder() - Static method in class com.google.genai.types.DatasetStats
-
Instantiates a builder for DatasetStats.
- builder() - Static method in class com.google.genai.types.DeleteBatchJobConfig
-
Instantiates a builder for DeleteBatchJobConfig.
- builder() - Static method in class com.google.genai.types.DeleteBatchJobParameters
-
Instantiates a builder for DeleteBatchJobParameters.
- builder() - Static method in class com.google.genai.types.DeleteCachedContentConfig
-
Instantiates a builder for DeleteCachedContentConfig.
- builder() - Static method in class com.google.genai.types.DeleteCachedContentParameters
-
Instantiates a builder for DeleteCachedContentParameters.
- builder() - Static method in class com.google.genai.types.DeleteCachedContentResponse
-
Instantiates a builder for DeleteCachedContentResponse.
- builder() - Static method in class com.google.genai.types.DeleteDocumentConfig
-
Instantiates a builder for DeleteDocumentConfig.
- builder() - Static method in class com.google.genai.types.DeleteDocumentParameters
-
Instantiates a builder for DeleteDocumentParameters.
- builder() - Static method in class com.google.genai.types.DeleteFileConfig
-
Instantiates a builder for DeleteFileConfig.
- builder() - Static method in class com.google.genai.types.DeleteFileParameters
-
Instantiates a builder for DeleteFileParameters.
- builder() - Static method in class com.google.genai.types.DeleteFileResponse
-
Instantiates a builder for DeleteFileResponse.
- builder() - Static method in class com.google.genai.types.DeleteFileSearchStoreConfig
-
Instantiates a builder for DeleteFileSearchStoreConfig.
- builder() - Static method in class com.google.genai.types.DeleteFileSearchStoreParameters
-
Instantiates a builder for DeleteFileSearchStoreParameters.
- builder() - Static method in class com.google.genai.types.DeleteModelConfig
-
Instantiates a builder for DeleteModelConfig.
- builder() - Static method in class com.google.genai.types.DeleteModelParameters
-
Instantiates a builder for DeleteModelParameters.
- builder() - Static method in class com.google.genai.types.DeleteModelResponse
-
Instantiates a builder for DeleteModelResponse.
- builder() - Static method in class com.google.genai.types.DeleteResourceJob
-
Instantiates a builder for DeleteResourceJob.
- builder() - Static method in class com.google.genai.types.DistillationDataStats
-
Instantiates a builder for DistillationDataStats.
- builder() - Static method in class com.google.genai.types.Document
-
Instantiates a builder for Document.
- builder() - Static method in class com.google.genai.types.DownloadFileConfig
-
Instantiates a builder for DownloadFileConfig.
- builder() - Static method in class com.google.genai.types.DynamicRetrievalConfig
-
Instantiates a builder for DynamicRetrievalConfig.
- builder() - Static method in class com.google.genai.types.EditImageConfig
-
Instantiates a builder for EditImageConfig.
- builder() - Static method in class com.google.genai.types.EditImageParameters
-
Instantiates a builder for EditImageParameters.
- builder() - Static method in class com.google.genai.types.EditImageResponse
-
Instantiates a builder for EditImageResponse.
- builder() - Static method in class com.google.genai.types.EmbedContentBatch
-
Instantiates a builder for EmbedContentBatch.
- builder() - Static method in class com.google.genai.types.EmbedContentConfig
-
Instantiates a builder for EmbedContentConfig.
- builder() - Static method in class com.google.genai.types.EmbedContentMetadata
-
Instantiates a builder for EmbedContentMetadata.
- builder() - Static method in class com.google.genai.types.EmbedContentParameters
-
Instantiates a builder for EmbedContentParameters.
- builder() - Static method in class com.google.genai.types.EmbedContentResponse
-
Instantiates a builder for EmbedContentResponse.
- builder() - Static method in class com.google.genai.types.EmbeddingsBatchJobSource
-
Instantiates a builder for EmbeddingsBatchJobSource.
- builder() - Static method in class com.google.genai.types.EncryptionSpec
-
Instantiates a builder for EncryptionSpec.
- builder() - Static method in class com.google.genai.types.Endpoint
-
Instantiates a builder for Endpoint.
- builder() - Static method in class com.google.genai.types.EnterpriseWebSearch
-
Instantiates a builder for EnterpriseWebSearch.
- builder() - Static method in class com.google.genai.types.EntityLabel
-
Instantiates a builder for EntityLabel.
- builder() - Static method in class com.google.genai.types.EvaluationConfig
-
Instantiates a builder for EvaluationConfig.
- builder() - Static method in class com.google.genai.types.ExecutableCode
-
Instantiates a builder for ExecutableCode.
- builder() - Static method in class com.google.genai.types.ExternalApi
-
Instantiates a builder for ExternalApi.
- builder() - Static method in class com.google.genai.types.ExternalApiElasticSearchParams
-
Instantiates a builder for ExternalApiElasticSearchParams.
- builder() - Static method in class com.google.genai.types.ExternalApiSimpleSearchParams
-
Instantiates a builder for ExternalApiSimpleSearchParams.
- builder() - Static method in class com.google.genai.types.FetchPredictOperationConfig
-
Instantiates a builder for FetchPredictOperationConfig.
- builder() - Static method in class com.google.genai.types.FetchPredictOperationParameters
-
Instantiates a builder for FetchPredictOperationParameters.
- builder() - Static method in class com.google.genai.types.File
-
Instantiates a builder for File.
- builder() - Static method in class com.google.genai.types.FileData
-
Instantiates a builder for FileData.
- builder() - Static method in class com.google.genai.types.FileSearch
-
Instantiates a builder for FileSearch.
- builder() - Static method in class com.google.genai.types.FileSearchStore
-
Instantiates a builder for FileSearchStore.
- builder() - Static method in class com.google.genai.types.FileStatus
-
Instantiates a builder for FileStatus.
- builder() - Static method in class com.google.genai.types.FunctionCall
-
Instantiates a builder for FunctionCall.
- builder() - Static method in class com.google.genai.types.FunctionCallingConfig
-
Instantiates a builder for FunctionCallingConfig.
- builder() - Static method in class com.google.genai.types.FunctionDeclaration
-
Instantiates a builder for FunctionDeclaration.
- builder() - Static method in class com.google.genai.types.FunctionResponse
-
Instantiates a builder for FunctionResponse.
- builder() - Static method in class com.google.genai.types.FunctionResponseBlob
-
Instantiates a builder for FunctionResponseBlob.
- builder() - Static method in class com.google.genai.types.FunctionResponseFileData
-
Instantiates a builder for FunctionResponseFileData.
- builder() - Static method in class com.google.genai.types.FunctionResponsePart
-
Instantiates a builder for FunctionResponsePart.
- builder() - Static method in class com.google.genai.types.GcsDestination
-
Instantiates a builder for GcsDestination.
- builder() - Static method in class com.google.genai.types.GeminiPreferenceExample
-
Instantiates a builder for GeminiPreferenceExample.
- builder() - Static method in class com.google.genai.types.GeminiPreferenceExampleCompletion
-
Instantiates a builder for GeminiPreferenceExampleCompletion.
- builder() - Static method in class com.google.genai.types.GenerateContentConfig
-
Instantiates a builder for GenerateContentConfig.
- builder() - Static method in class com.google.genai.types.GenerateContentParameters
-
Instantiates a builder for GenerateContentParameters.
- builder() - Static method in class com.google.genai.types.GenerateContentResponse
-
Instantiates a builder for GenerateContentResponse.
- builder() - Static method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Instantiates a builder for GenerateContentResponsePromptFeedback.
- builder() - Static method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Instantiates a builder for GenerateContentResponseUsageMetadata.
- builder() - Static method in class com.google.genai.types.GeneratedImage
-
Instantiates a builder for GeneratedImage.
- builder() - Static method in class com.google.genai.types.GeneratedImageMask
-
Instantiates a builder for GeneratedImageMask.
- builder() - Static method in class com.google.genai.types.GeneratedVideo
-
Instantiates a builder for GeneratedVideo.
- builder() - Static method in class com.google.genai.types.GenerateImagesConfig
-
Instantiates a builder for GenerateImagesConfig.
- builder() - Static method in class com.google.genai.types.GenerateImagesParameters
-
Instantiates a builder for GenerateImagesParameters.
- builder() - Static method in class com.google.genai.types.GenerateImagesResponse
-
Instantiates a builder for GenerateImagesResponse.
- builder() - Static method in class com.google.genai.types.GenerateVideosConfig
-
Instantiates a builder for GenerateVideosConfig.
- builder() - Static method in class com.google.genai.types.GenerateVideosOperation
-
Instantiates a builder for GenerateVideosOperation.
- builder() - Static method in class com.google.genai.types.GenerateVideosParameters
-
Instantiates a builder for GenerateVideosParameters.
- builder() - Static method in class com.google.genai.types.GenerateVideosResponse
-
Instantiates a builder for GenerateVideosResponse.
- builder() - Static method in class com.google.genai.types.GenerateVideosSource
-
Instantiates a builder for GenerateVideosSource.
- builder() - Static method in class com.google.genai.types.GenerationConfig
-
Instantiates a builder for GenerationConfig.
- builder() - Static method in class com.google.genai.types.GenerationConfigRoutingConfig
-
Instantiates a builder for GenerationConfigRoutingConfig.
- builder() - Static method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
-
Instantiates a builder for GenerationConfigRoutingConfigAutoRoutingMode.
- builder() - Static method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
-
Instantiates a builder for GenerationConfigRoutingConfigManualRoutingMode.
- builder() - Static method in class com.google.genai.types.GetBatchJobConfig
-
Instantiates a builder for GetBatchJobConfig.
- builder() - Static method in class com.google.genai.types.GetBatchJobParameters
-
Instantiates a builder for GetBatchJobParameters.
- builder() - Static method in class com.google.genai.types.GetCachedContentConfig
-
Instantiates a builder for GetCachedContentConfig.
- builder() - Static method in class com.google.genai.types.GetCachedContentParameters
-
Instantiates a builder for GetCachedContentParameters.
- builder() - Static method in class com.google.genai.types.GetDocumentConfig
-
Instantiates a builder for GetDocumentConfig.
- builder() - Static method in class com.google.genai.types.GetDocumentParameters
-
Instantiates a builder for GetDocumentParameters.
- builder() - Static method in class com.google.genai.types.GetFileConfig
-
Instantiates a builder for GetFileConfig.
- builder() - Static method in class com.google.genai.types.GetFileParameters
-
Instantiates a builder for GetFileParameters.
- builder() - Static method in class com.google.genai.types.GetFileSearchStoreConfig
-
Instantiates a builder for GetFileSearchStoreConfig.
- builder() - Static method in class com.google.genai.types.GetFileSearchStoreParameters
-
Instantiates a builder for GetFileSearchStoreParameters.
- builder() - Static method in class com.google.genai.types.GetModelConfig
-
Instantiates a builder for GetModelConfig.
- builder() - Static method in class com.google.genai.types.GetModelParameters
-
Instantiates a builder for GetModelParameters.
- builder() - Static method in class com.google.genai.types.GetOperationConfig
-
Instantiates a builder for GetOperationConfig.
- builder() - Static method in class com.google.genai.types.GetOperationParameters
-
Instantiates a builder for GetOperationParameters.
- builder() - Static method in class com.google.genai.types.GetTuningJobConfig
-
Instantiates a builder for GetTuningJobConfig.
- builder() - Static method in class com.google.genai.types.GetTuningJobParameters
-
Instantiates a builder for GetTuningJobParameters.
- builder() - Static method in class com.google.genai.types.GoogleMaps
-
Instantiates a builder for GoogleMaps.
- builder() - Static method in class com.google.genai.types.GoogleRpcStatus
-
Instantiates a builder for GoogleRpcStatus.
- builder() - Static method in class com.google.genai.types.GoogleSearch
-
Instantiates a builder for GoogleSearch.
- builder() - Static method in class com.google.genai.types.GoogleSearchRetrieval
-
Instantiates a builder for GoogleSearchRetrieval.
- builder() - Static method in class com.google.genai.types.GoogleTypeDate
-
Instantiates a builder for GoogleTypeDate.
- builder() - Static method in class com.google.genai.types.GroundingChunk
-
Instantiates a builder for GroundingChunk.
- builder() - Static method in class com.google.genai.types.GroundingChunkMaps
-
Instantiates a builder for GroundingChunkMaps.
- builder() - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
-
Instantiates a builder for GroundingChunkMapsPlaceAnswerSources.
- builder() - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
Instantiates a builder for GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.
- builder() - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
Instantiates a builder for GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.
- builder() - Static method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Instantiates a builder for GroundingChunkRetrievedContext.
- builder() - Static method in class com.google.genai.types.GroundingChunkWeb
-
Instantiates a builder for GroundingChunkWeb.
- builder() - Static method in class com.google.genai.types.GroundingMetadata
-
Instantiates a builder for GroundingMetadata.
- builder() - Static method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri
-
Instantiates a builder for GroundingMetadataSourceFlaggingUri.
- builder() - Static method in class com.google.genai.types.GroundingSupport
-
Instantiates a builder for GroundingSupport.
- builder() - Static method in class com.google.genai.types.HttpOptions
-
Instantiates a builder for HttpOptions.
- builder() - Static method in class com.google.genai.types.HttpResponse
-
Instantiates a builder for HttpResponse.
- builder() - Static method in class com.google.genai.types.HttpRetryOptions
-
Instantiates a builder for HttpRetryOptions.
- builder() - Static method in class com.google.genai.types.Image
-
Instantiates a builder for Image.
- builder() - Static method in class com.google.genai.types.ImageConfig
-
Instantiates a builder for ImageConfig.
- builder() - Static method in class com.google.genai.types.ImportFileConfig
-
Instantiates a builder for ImportFileConfig.
- builder() - Static method in class com.google.genai.types.ImportFileOperation
-
Instantiates a builder for ImportFileOperation.
- builder() - Static method in class com.google.genai.types.ImportFileParameters
-
Instantiates a builder for ImportFileParameters.
- builder() - Static method in class com.google.genai.types.ImportFileResponse
-
Instantiates a builder for ImportFileResponse.
- builder() - Static method in class com.google.genai.types.InlinedEmbedContentResponse
-
Instantiates a builder for InlinedEmbedContentResponse.
- builder() - Static method in class com.google.genai.types.InlinedRequest
-
Instantiates a builder for InlinedRequest.
- builder() - Static method in class com.google.genai.types.InlinedResponse
-
Instantiates a builder for InlinedResponse.
- builder() - Static method in class com.google.genai.types.Interval
-
Instantiates a builder for Interval.
- builder() - Static method in class com.google.genai.types.JobError
-
Instantiates a builder for JobError.
- builder() - Static method in class com.google.genai.types.LatLng
-
Instantiates a builder for LatLng.
- builder() - Static method in class com.google.genai.types.ListBatchJobsConfig
-
Instantiates a builder for ListBatchJobsConfig.
- builder() - Static method in class com.google.genai.types.ListBatchJobsParameters
-
Instantiates a builder for ListBatchJobsParameters.
- builder() - Static method in class com.google.genai.types.ListBatchJobsResponse
-
Instantiates a builder for ListBatchJobsResponse.
- builder() - Static method in class com.google.genai.types.ListCachedContentsConfig
-
Instantiates a builder for ListCachedContentsConfig.
- builder() - Static method in class com.google.genai.types.ListCachedContentsParameters
-
Instantiates a builder for ListCachedContentsParameters.
- builder() - Static method in class com.google.genai.types.ListCachedContentsResponse
-
Instantiates a builder for ListCachedContentsResponse.
- builder() - Static method in class com.google.genai.types.ListDocumentsConfig
-
Instantiates a builder for ListDocumentsConfig.
- builder() - Static method in class com.google.genai.types.ListDocumentsParameters
-
Instantiates a builder for ListDocumentsParameters.
- builder() - Static method in class com.google.genai.types.ListDocumentsResponse
-
Instantiates a builder for ListDocumentsResponse.
- builder() - Static method in class com.google.genai.types.ListFilesConfig
-
Instantiates a builder for ListFilesConfig.
- builder() - Static method in class com.google.genai.types.ListFileSearchStoresConfig
-
Instantiates a builder for ListFileSearchStoresConfig.
- builder() - Static method in class com.google.genai.types.ListFileSearchStoresParameters
-
Instantiates a builder for ListFileSearchStoresParameters.
- builder() - Static method in class com.google.genai.types.ListFileSearchStoresResponse
-
Instantiates a builder for ListFileSearchStoresResponse.
- builder() - Static method in class com.google.genai.types.ListFilesParameters
-
Instantiates a builder for ListFilesParameters.
- builder() - Static method in class com.google.genai.types.ListFilesResponse
-
Instantiates a builder for ListFilesResponse.
- builder() - Static method in class com.google.genai.types.ListModelsConfig
-
Instantiates a builder for ListModelsConfig.
- builder() - Static method in class com.google.genai.types.ListModelsParameters
-
Instantiates a builder for ListModelsParameters.
- builder() - Static method in class com.google.genai.types.ListModelsResponse
-
Instantiates a builder for ListModelsResponse.
- builder() - Static method in class com.google.genai.types.ListTuningJobsConfig
-
Instantiates a builder for ListTuningJobsConfig.
- builder() - Static method in class com.google.genai.types.ListTuningJobsParameters
-
Instantiates a builder for ListTuningJobsParameters.
- builder() - Static method in class com.google.genai.types.ListTuningJobsResponse
-
Instantiates a builder for ListTuningJobsResponse.
- builder() - Static method in class com.google.genai.types.LiveClientContent
-
Instantiates a builder for LiveClientContent.
- builder() - Static method in class com.google.genai.types.LiveClientMessage
-
Instantiates a builder for LiveClientMessage.
- builder() - Static method in class com.google.genai.types.LiveClientRealtimeInput
-
Instantiates a builder for LiveClientRealtimeInput.
- builder() - Static method in class com.google.genai.types.LiveClientSetup
-
Instantiates a builder for LiveClientSetup.
- builder() - Static method in class com.google.genai.types.LiveClientToolResponse
-
Instantiates a builder for LiveClientToolResponse.
- builder() - Static method in class com.google.genai.types.LiveConnectConfig
-
Instantiates a builder for LiveConnectConfig.
- builder() - Static method in class com.google.genai.types.LiveConnectParameters
-
Instantiates a builder for LiveConnectParameters.
- builder() - Static method in class com.google.genai.types.LiveSendClientContentParameters
-
Instantiates a builder for LiveSendClientContentParameters.
- builder() - Static method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Instantiates a builder for LiveSendRealtimeInputParameters.
- builder() - Static method in class com.google.genai.types.LiveSendToolResponseParameters
-
Instantiates a builder for LiveSendToolResponseParameters.
- builder() - Static method in class com.google.genai.types.LiveServerContent
-
Instantiates a builder for LiveServerContent.
- builder() - Static method in class com.google.genai.types.LiveServerGoAway
-
Instantiates a builder for LiveServerGoAway.
- builder() - Static method in class com.google.genai.types.LiveServerMessage
-
Instantiates a builder for LiveServerMessage.
- builder() - Static method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
Instantiates a builder for LiveServerSessionResumptionUpdate.
- builder() - Static method in class com.google.genai.types.LiveServerSetupComplete
-
Instantiates a builder for LiveServerSetupComplete.
- builder() - Static method in class com.google.genai.types.LiveServerToolCall
-
Instantiates a builder for LiveServerToolCall.
- builder() - Static method in class com.google.genai.types.LiveServerToolCallCancellation
-
Instantiates a builder for LiveServerToolCallCancellation.
- builder() - Static method in class com.google.genai.types.LogprobsResult
-
Instantiates a builder for LogprobsResult.
- builder() - Static method in class com.google.genai.types.LogprobsResultCandidate
-
Instantiates a builder for LogprobsResultCandidate.
- builder() - Static method in class com.google.genai.types.LogprobsResultTopCandidates
-
Instantiates a builder for LogprobsResultTopCandidates.
- builder() - Static method in class com.google.genai.types.MaskReferenceConfig
-
Instantiates a builder for MaskReferenceConfig.
- builder() - Static method in class com.google.genai.types.MaskReferenceImage
-
Instantiates a builder for MaskReferenceImage.
- builder() - Static method in class com.google.genai.types.Metric
-
Instantiates a builder for Metric.
- builder() - Static method in class com.google.genai.types.ModalityTokenCount
-
Instantiates a builder for ModalityTokenCount.
- builder() - Static method in class com.google.genai.types.Model
-
Instantiates a builder for Model.
- builder() - Static method in class com.google.genai.types.ModelSelectionConfig
-
Instantiates a builder for ModelSelectionConfig.
- builder() - Static method in class com.google.genai.types.MultiSpeakerVoiceConfig
-
Instantiates a builder for MultiSpeakerVoiceConfig.
- builder() - Static method in class com.google.genai.types.OutputConfig
-
Instantiates a builder for OutputConfig.
- builder() - Static method in class com.google.genai.types.Part
-
Instantiates a builder for Part.
- builder() - Static method in class com.google.genai.types.PartialArg
-
Instantiates a builder for PartialArg.
- builder() - Static method in class com.google.genai.types.PartMediaResolution
-
Instantiates a builder for PartMediaResolution.
- builder() - Static method in class com.google.genai.types.PartnerModelTuningSpec
-
Instantiates a builder for PartnerModelTuningSpec.
- builder() - Static method in class com.google.genai.types.PrebuiltVoiceConfig
-
Instantiates a builder for PrebuiltVoiceConfig.
- builder() - Static method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Instantiates a builder for PreferenceOptimizationDataStats.
- builder() - Static method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Instantiates a builder for PreferenceOptimizationHyperParameters.
- builder() - Static method in class com.google.genai.types.PreferenceOptimizationSpec
-
Instantiates a builder for PreferenceOptimizationSpec.
- builder() - Static method in class com.google.genai.types.PreTunedModel
-
Instantiates a builder for PreTunedModel.
- builder() - Static method in class com.google.genai.types.ProactivityConfig
-
Instantiates a builder for ProactivityConfig.
- builder() - Static method in class com.google.genai.types.ProductImage
-
Instantiates a builder for ProductImage.
- builder() - Static method in class com.google.genai.types.RagChunk
-
Instantiates a builder for RagChunk.
- builder() - Static method in class com.google.genai.types.RagChunkPageSpan
-
Instantiates a builder for RagChunkPageSpan.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfig
-
Instantiates a builder for RagRetrievalConfig.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfigFilter
-
Instantiates a builder for RagRetrievalConfigFilter.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfigHybridSearch
-
Instantiates a builder for RagRetrievalConfigHybridSearch.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfigRanking
-
Instantiates a builder for RagRetrievalConfigRanking.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker
-
Instantiates a builder for RagRetrievalConfigRankingLlmRanker.
- builder() - Static method in class com.google.genai.types.RagRetrievalConfigRankingRankService
-
Instantiates a builder for RagRetrievalConfigRankingRankService.
- builder() - Static method in class com.google.genai.types.RawReferenceImage
-
Instantiates a builder for RawReferenceImage.
- builder() - Static method in class com.google.genai.types.RealtimeInputConfig
-
Instantiates a builder for RealtimeInputConfig.
- builder() - Static method in class com.google.genai.types.RecontextImageConfig
-
Instantiates a builder for RecontextImageConfig.
- builder() - Static method in class com.google.genai.types.RecontextImageParameters
-
Instantiates a builder for RecontextImageParameters.
- builder() - Static method in class com.google.genai.types.RecontextImageResponse
-
Instantiates a builder for RecontextImageResponse.
- builder() - Static method in class com.google.genai.types.RecontextImageSource
-
Instantiates a builder for RecontextImageSource.
- builder() - Static method in class com.google.genai.types.ReferenceImageAPI
-
Instantiates a builder for ReferenceImageAPI.
- builder() - Static method in class com.google.genai.types.ReplayFile
-
Instantiates a builder for ReplayFile.
- builder() - Static method in class com.google.genai.types.ReplayInteraction
-
Instantiates a builder for ReplayInteraction.
- builder() - Static method in class com.google.genai.types.ReplayRequest
-
Instantiates a builder for ReplayRequest.
- builder() - Static method in class com.google.genai.types.ReplayResponse
-
Instantiates a builder for ReplayResponse.
- builder() - Static method in class com.google.genai.types.Retrieval
-
Instantiates a builder for Retrieval.
- builder() - Static method in class com.google.genai.types.RetrievalConfig
-
Instantiates a builder for RetrievalConfig.
- builder() - Static method in class com.google.genai.types.RetrievalMetadata
-
Instantiates a builder for RetrievalMetadata.
- builder() - Static method in class com.google.genai.types.SafetyAttributes
-
Instantiates a builder for SafetyAttributes.
- builder() - Static method in class com.google.genai.types.SafetyRating
-
Instantiates a builder for SafetyRating.
- builder() - Static method in class com.google.genai.types.SafetySetting
-
Instantiates a builder for SafetySetting.
- builder() - Static method in class com.google.genai.types.Schema
-
Instantiates a builder for Schema.
- builder() - Static method in class com.google.genai.types.ScribbleImage
-
Instantiates a builder for ScribbleImage.
- builder() - Static method in class com.google.genai.types.SearchEntryPoint
-
Instantiates a builder for SearchEntryPoint.
- builder() - Static method in class com.google.genai.types.Segment
-
Instantiates a builder for Segment.
- builder() - Static method in class com.google.genai.types.SegmentImageConfig
-
Instantiates a builder for SegmentImageConfig.
- builder() - Static method in class com.google.genai.types.SegmentImageParameters
-
Instantiates a builder for SegmentImageParameters.
- builder() - Static method in class com.google.genai.types.SegmentImageResponse
-
Instantiates a builder for SegmentImageResponse.
- builder() - Static method in class com.google.genai.types.SegmentImageSource
-
Instantiates a builder for SegmentImageSource.
- builder() - Static method in class com.google.genai.types.SessionResumptionConfig
-
Instantiates a builder for SessionResumptionConfig.
- builder() - Static method in class com.google.genai.types.SingleEmbedContentResponse
-
Instantiates a builder for SingleEmbedContentResponse.
- builder() - Static method in class com.google.genai.types.SlidingWindow
-
Instantiates a builder for SlidingWindow.
- builder() - Static method in class com.google.genai.types.SpeakerVoiceConfig
-
Instantiates a builder for SpeakerVoiceConfig.
- builder() - Static method in class com.google.genai.types.SpeechConfig
-
Instantiates a builder for SpeechConfig.
- builder() - Static method in class com.google.genai.types.StringList
-
Instantiates a builder for StringList.
- builder() - Static method in class com.google.genai.types.StyleReferenceConfig
-
Instantiates a builder for StyleReferenceConfig.
- builder() - Static method in class com.google.genai.types.StyleReferenceImage
-
Instantiates a builder for StyleReferenceImage.
- builder() - Static method in class com.google.genai.types.SubjectReferenceConfig
-
Instantiates a builder for SubjectReferenceConfig.
- builder() - Static method in class com.google.genai.types.SubjectReferenceImage
-
Instantiates a builder for SubjectReferenceImage.
- builder() - Static method in class com.google.genai.types.SupervisedHyperParameters
-
Instantiates a builder for SupervisedHyperParameters.
- builder() - Static method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Instantiates a builder for SupervisedTuningDatasetDistribution.
- builder() - Static method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Instantiates a builder for SupervisedTuningDatasetDistributionDatasetBucket.
- builder() - Static method in class com.google.genai.types.SupervisedTuningDataStats
-
Instantiates a builder for SupervisedTuningDataStats.
- builder() - Static method in class com.google.genai.types.SupervisedTuningSpec
-
Instantiates a builder for SupervisedTuningSpec.
- builder() - Static method in class com.google.genai.types.TestTableFile
-
Instantiates a builder for TestTableFile.
- builder() - Static method in class com.google.genai.types.TestTableItem
-
Instantiates a builder for TestTableItem.
- builder() - Static method in class com.google.genai.types.ThinkingConfig
-
Instantiates a builder for ThinkingConfig.
- builder() - Static method in class com.google.genai.types.TokensInfo
-
Instantiates a builder for TokensInfo.
- builder() - Static method in class com.google.genai.types.Tool
-
Instantiates a builder for Tool.
- builder() - Static method in class com.google.genai.types.ToolCodeExecution
-
Instantiates a builder for ToolCodeExecution.
- builder() - Static method in class com.google.genai.types.ToolConfig
-
Instantiates a builder for ToolConfig.
- builder() - Static method in class com.google.genai.types.Transcription
-
Instantiates a builder for Transcription.
- builder() - Static method in class com.google.genai.types.TunedModel
-
Instantiates a builder for TunedModel.
- builder() - Static method in class com.google.genai.types.TunedModelCheckpoint
-
Instantiates a builder for TunedModelCheckpoint.
- builder() - Static method in class com.google.genai.types.TunedModelInfo
-
Instantiates a builder for TunedModelInfo.
- builder() - Static method in class com.google.genai.types.TuningDataset
-
Instantiates a builder for TuningDataset.
- builder() - Static method in class com.google.genai.types.TuningDataStats
-
Instantiates a builder for TuningDataStats.
- builder() - Static method in class com.google.genai.types.TuningExample
-
Instantiates a builder for TuningExample.
- builder() - Static method in class com.google.genai.types.TuningJob
-
Instantiates a builder for TuningJob.
- builder() - Static method in class com.google.genai.types.TuningOperation
-
Instantiates a builder for TuningOperation.
- builder() - Static method in class com.google.genai.types.TuningValidationDataset
-
Instantiates a builder for TuningValidationDataset.
- builder() - Static method in class com.google.genai.types.UpdateCachedContentConfig
-
Instantiates a builder for UpdateCachedContentConfig.
- builder() - Static method in class com.google.genai.types.UpdateCachedContentParameters
-
Instantiates a builder for UpdateCachedContentParameters.
- builder() - Static method in class com.google.genai.types.UpdateModelConfig
-
Instantiates a builder for UpdateModelConfig.
- builder() - Static method in class com.google.genai.types.UpdateModelParameters
-
Instantiates a builder for UpdateModelParameters.
- builder() - Static method in class com.google.genai.types.UploadFileConfig
-
Instantiates a builder for UploadFileConfig.
- builder() - Static method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Instantiates a builder for UploadToFileSearchStoreConfig.
- builder() - Static method in class com.google.genai.types.UploadToFileSearchStoreOperation
-
Instantiates a builder for UploadToFileSearchStoreOperation.
- builder() - Static method in class com.google.genai.types.UploadToFileSearchStoreParameters
-
Instantiates a builder for UploadToFileSearchStoreParameters.
- builder() - Static method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
Instantiates a builder for UploadToFileSearchStoreResponse.
- builder() - Static method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse
-
Instantiates a builder for UploadToFileSearchStoreResumableResponse.
- builder() - Static method in class com.google.genai.types.UpscaleImageAPIConfig
-
Instantiates a builder for UpscaleImageAPIConfig.
- builder() - Static method in class com.google.genai.types.UpscaleImageAPIParameters
-
Instantiates a builder for UpscaleImageAPIParameters.
- builder() - Static method in class com.google.genai.types.UpscaleImageConfig
-
Instantiates a builder for UpscaleImageConfig.
- builder() - Static method in class com.google.genai.types.UpscaleImageParameters
-
Instantiates a builder for UpscaleImageParameters.
- builder() - Static method in class com.google.genai.types.UpscaleImageResponse
-
Instantiates a builder for UpscaleImageResponse.
- builder() - Static method in class com.google.genai.types.UrlContext
-
Instantiates a builder for UrlContext.
- builder() - Static method in class com.google.genai.types.UrlContextMetadata
-
Instantiates a builder for UrlContextMetadata.
- builder() - Static method in class com.google.genai.types.UrlMetadata
-
Instantiates a builder for UrlMetadata.
- builder() - Static method in class com.google.genai.types.UsageMetadata
-
Instantiates a builder for UsageMetadata.
- builder() - Static method in class com.google.genai.types.VeoHyperParameters
-
Instantiates a builder for VeoHyperParameters.
- builder() - Static method in class com.google.genai.types.VeoTuningSpec
-
Instantiates a builder for VeoTuningSpec.
- builder() - Static method in class com.google.genai.types.VertexAISearch
-
Instantiates a builder for VertexAISearch.
- builder() - Static method in class com.google.genai.types.VertexAISearchDataStoreSpec
-
Instantiates a builder for VertexAISearchDataStoreSpec.
- builder() - Static method in class com.google.genai.types.VertexRagStore
-
Instantiates a builder for VertexRagStore.
- builder() - Static method in class com.google.genai.types.VertexRagStoreRagResource
-
Instantiates a builder for VertexRagStoreRagResource.
- builder() - Static method in class com.google.genai.types.Video
-
Instantiates a builder for Video.
- builder() - Static method in class com.google.genai.types.VideoGenerationMask
-
Instantiates a builder for VideoGenerationMask.
- builder() - Static method in class com.google.genai.types.VideoGenerationReferenceImage
-
Instantiates a builder for VideoGenerationReferenceImage.
- builder() - Static method in class com.google.genai.types.VideoMetadata
-
Instantiates a builder for VideoMetadata.
- builder() - Static method in class com.google.genai.types.VoiceConfig
-
Instantiates a builder for VoiceConfig.
- builder() - Static method in class com.google.genai.types.WhiteSpaceConfig
-
Instantiates a builder for WhiteSpaceConfig.
- Builder() - Constructor for class com.google.genai.Client.Builder
- Builder() - Constructor for class com.google.genai.types.ActivityEnd.Builder
- Builder() - Constructor for class com.google.genai.types.ActivityStart.Builder
- Builder() - Constructor for class com.google.genai.types.ApiAuth.Builder
- Builder() - Constructor for class com.google.genai.types.ApiAuthApiKeyConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ApiKeyConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AudioTranscriptionConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AuthConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AuthConfigOauthConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AuthConfigOidcConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AutomaticActivityDetection.Builder
- Builder() - Constructor for class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
- Builder() - Constructor for class com.google.genai.types.AutoraterConfig.Builder
- Builder() - Constructor for class com.google.genai.types.BatchJob.Builder
- Builder() - Constructor for class com.google.genai.types.BatchJobDestination.Builder
- Builder() - Constructor for class com.google.genai.types.BatchJobSource.Builder
- Builder() - Constructor for class com.google.genai.types.Blob.Builder
- Builder() - Constructor for class com.google.genai.types.CachedContent.Builder
- Builder() - Constructor for class com.google.genai.types.CachedContentUsageMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.CancelBatchJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CancelBatchJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CancelTuningJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CancelTuningJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.Candidate.Builder
- Builder() - Constructor for class com.google.genai.types.Checkpoint.Builder
- Builder() - Constructor for class com.google.genai.types.ChunkingConfig.Builder
- Builder() - Constructor for class com.google.genai.types.Citation.Builder
- Builder() - Constructor for class com.google.genai.types.CitationMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.ClientOptions.Builder
- Builder() - Constructor for class com.google.genai.types.CodeExecutionResult.Builder
- Builder() - Constructor for class com.google.genai.types.CompletionStats.Builder
- Builder() - Constructor for class com.google.genai.types.ComputerUse.Builder
- Builder() - Constructor for class com.google.genai.types.ComputeTokensConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ComputeTokensParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ComputeTokensResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ComputeTokensResult.Builder
- Builder() - Constructor for class com.google.genai.types.Content.Builder
- Builder() - Constructor for class com.google.genai.types.ContentEmbedding.Builder
- Builder() - Constructor for class com.google.genai.types.ContentEmbeddingStatistics.Builder
- Builder() - Constructor for class com.google.genai.types.ContentReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.ContextWindowCompressionConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ControlReferenceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ControlReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.CountTokensConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CountTokensParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CountTokensResponse.Builder
- Builder() - Constructor for class com.google.genai.types.CountTokensResult.Builder
- Builder() - Constructor for class com.google.genai.types.CreateBatchJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateBatchJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateCachedContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateCachedContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateFileParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateFileResponse.Builder
- Builder() - Constructor for class com.google.genai.types.CreateFileSearchStoreConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateFileSearchStoreParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateTuningJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.CreateTuningJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
- Builder() - Constructor for class com.google.genai.types.CustomMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.DatasetDistribution.Builder
- Builder() - Constructor for class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
- Builder() - Constructor for class com.google.genai.types.DatasetStats.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteBatchJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteBatchJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteCachedContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteCachedContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteCachedContentResponse.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteDocumentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteDocumentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteFileParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteFileResponse.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteModelConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteModelParameters.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteModelResponse.Builder
- Builder() - Constructor for class com.google.genai.types.DeleteResourceJob.Builder
- Builder() - Constructor for class com.google.genai.types.DistillationDataStats.Builder
- Builder() - Constructor for class com.google.genai.types.Document.Builder
- Builder() - Constructor for class com.google.genai.types.DownloadFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.DynamicRetrievalConfig.Builder
- Builder() - Constructor for class com.google.genai.types.EditImageConfig.Builder
- Builder() - Constructor for class com.google.genai.types.EditImageParameters.Builder
- Builder() - Constructor for class com.google.genai.types.EditImageResponse.Builder
- Builder() - Constructor for class com.google.genai.types.EmbedContentBatch.Builder
- Builder() - Constructor for class com.google.genai.types.EmbedContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.EmbedContentMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.EmbedContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.EmbedContentResponse.Builder
- Builder() - Constructor for class com.google.genai.types.EmbeddingsBatchJobSource.Builder
- Builder() - Constructor for class com.google.genai.types.EncryptionSpec.Builder
- Builder() - Constructor for class com.google.genai.types.Endpoint.Builder
- Builder() - Constructor for class com.google.genai.types.EnterpriseWebSearch.Builder
- Builder() - Constructor for class com.google.genai.types.EntityLabel.Builder
- Builder() - Constructor for class com.google.genai.types.EvaluationConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ExecutableCode.Builder
- Builder() - Constructor for class com.google.genai.types.ExternalApi.Builder
- Builder() - Constructor for class com.google.genai.types.ExternalApiElasticSearchParams.Builder
- Builder() - Constructor for class com.google.genai.types.ExternalApiSimpleSearchParams.Builder
- Builder() - Constructor for class com.google.genai.types.FetchPredictOperationConfig.Builder
- Builder() - Constructor for class com.google.genai.types.FetchPredictOperationParameters.Builder
- Builder() - Constructor for class com.google.genai.types.File.Builder
- Builder() - Constructor for class com.google.genai.types.FileData.Builder
- Builder() - Constructor for class com.google.genai.types.FileSearch.Builder
- Builder() - Constructor for class com.google.genai.types.FileSearchStore.Builder
- Builder() - Constructor for class com.google.genai.types.FileStatus.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionCall.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionCallingConfig.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionDeclaration.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionResponse.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionResponseBlob.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionResponseFileData.Builder
- Builder() - Constructor for class com.google.genai.types.FunctionResponsePart.Builder
- Builder() - Constructor for class com.google.genai.types.GcsDestination.Builder
- Builder() - Constructor for class com.google.genai.types.GeminiPreferenceExample.Builder
- Builder() - Constructor for class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateContentResponse.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.GeneratedImage.Builder
- Builder() - Constructor for class com.google.genai.types.GeneratedImageMask.Builder
- Builder() - Constructor for class com.google.genai.types.GeneratedVideo.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateImagesConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateImagesParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateImagesResponse.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateVideosConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateVideosOperation.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateVideosParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateVideosResponse.Builder
- Builder() - Constructor for class com.google.genai.types.GenerateVideosSource.Builder
- Builder() - Constructor for class com.google.genai.types.GenerationConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
- Builder() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode.Builder
- Builder() - Constructor for class com.google.genai.types.GetBatchJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetBatchJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetCachedContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetCachedContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetDocumentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetDocumentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetFileParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetFileSearchStoreConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetFileSearchStoreParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetModelConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetModelParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetOperationConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetOperationParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GetTuningJobConfig.Builder
- Builder() - Constructor for class com.google.genai.types.GetTuningJobParameters.Builder
- Builder() - Constructor for class com.google.genai.types.GoogleMaps.Builder
- Builder() - Constructor for class com.google.genai.types.GoogleRpcStatus.Builder
- Builder() - Constructor for class com.google.genai.types.GoogleSearch.Builder
- Builder() - Constructor for class com.google.genai.types.GoogleSearchRetrieval.Builder
- Builder() - Constructor for class com.google.genai.types.GoogleTypeDate.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunk.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkMaps.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkRetrievedContext.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingChunkWeb.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
- Builder() - Constructor for class com.google.genai.types.GroundingSupport.Builder
- Builder() - Constructor for class com.google.genai.types.HttpOptions.Builder
- Builder() - Constructor for class com.google.genai.types.HttpResponse.Builder
- Builder() - Constructor for class com.google.genai.types.HttpRetryOptions.Builder
- Builder() - Constructor for class com.google.genai.types.Image.Builder
- Builder() - Constructor for class com.google.genai.types.ImageConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ImportFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ImportFileOperation.Builder
- Builder() - Constructor for class com.google.genai.types.ImportFileParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ImportFileResponse.Builder
- Builder() - Constructor for class com.google.genai.types.InlinedEmbedContentResponse.Builder
- Builder() - Constructor for class com.google.genai.types.InlinedRequest.Builder
- Builder() - Constructor for class com.google.genai.types.InlinedResponse.Builder
- Builder() - Constructor for class com.google.genai.types.Interval.Builder
- Builder() - Constructor for class com.google.genai.types.JobError.Builder
- Builder() - Constructor for class com.google.genai.types.LatLng.Builder
- Builder() - Constructor for class com.google.genai.types.ListBatchJobsConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListBatchJobsParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListBatchJobsResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListCachedContentsConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListCachedContentsParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListCachedContentsResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListDocumentsConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListDocumentsParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListDocumentsResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListFilesConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListFileSearchStoresConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListFileSearchStoresParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListFileSearchStoresResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListFilesParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListFilesResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListModelsConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListModelsParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListModelsResponse.Builder
- Builder() - Constructor for class com.google.genai.types.ListTuningJobsConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ListTuningJobsParameters.Builder
- Builder() - Constructor for class com.google.genai.types.ListTuningJobsResponse.Builder
- Builder() - Constructor for class com.google.genai.types.LiveClientContent.Builder
- Builder() - Constructor for class com.google.genai.types.LiveClientMessage.Builder
- Builder() - Constructor for class com.google.genai.types.LiveClientRealtimeInput.Builder
- Builder() - Constructor for class com.google.genai.types.LiveClientSetup.Builder
- Builder() - Constructor for class com.google.genai.types.LiveClientToolResponse.Builder
- Builder() - Constructor for class com.google.genai.types.LiveConnectConfig.Builder
- Builder() - Constructor for class com.google.genai.types.LiveConnectParameters.Builder
- Builder() - Constructor for class com.google.genai.types.LiveSendClientContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Builder() - Constructor for class com.google.genai.types.LiveSendToolResponseParameters.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerContent.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerGoAway.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerMessage.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerSetupComplete.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerToolCall.Builder
- Builder() - Constructor for class com.google.genai.types.LiveServerToolCallCancellation.Builder
- Builder() - Constructor for class com.google.genai.types.LogprobsResult.Builder
- Builder() - Constructor for class com.google.genai.types.LogprobsResultCandidate.Builder
- Builder() - Constructor for class com.google.genai.types.LogprobsResultTopCandidates.Builder
- Builder() - Constructor for class com.google.genai.types.MaskReferenceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.MaskReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.Metric.Builder
- Builder() - Constructor for class com.google.genai.types.ModalityTokenCount.Builder
- Builder() - Constructor for class com.google.genai.types.Model.Builder
- Builder() - Constructor for class com.google.genai.types.ModelSelectionConfig.Builder
- Builder() - Constructor for class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.OutputConfig.Builder
- Builder() - Constructor for class com.google.genai.types.Part.Builder
- Builder() - Constructor for class com.google.genai.types.PartialArg.Builder
- Builder() - Constructor for class com.google.genai.types.PartMediaResolution.Builder
- Builder() - Constructor for class com.google.genai.types.PartnerModelTuningSpec.Builder
- Builder() - Constructor for class com.google.genai.types.PrebuiltVoiceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.PreferenceOptimizationDataStats.Builder
- Builder() - Constructor for class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
- Builder() - Constructor for class com.google.genai.types.PreferenceOptimizationSpec.Builder
- Builder() - Constructor for class com.google.genai.types.PreTunedModel.Builder
- Builder() - Constructor for class com.google.genai.types.ProactivityConfig.Builder
- Builder() - Constructor for class com.google.genai.types.ProductImage.Builder
- Builder() - Constructor for class com.google.genai.types.RagChunk.Builder
- Builder() - Constructor for class com.google.genai.types.RagChunkPageSpan.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfig.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfigFilter.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfigRanking.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfigRankingLlmRanker.Builder
- Builder() - Constructor for class com.google.genai.types.RagRetrievalConfigRankingRankService.Builder
- Builder() - Constructor for class com.google.genai.types.RawReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.RealtimeInputConfig.Builder
- Builder() - Constructor for class com.google.genai.types.RecontextImageConfig.Builder
- Builder() - Constructor for class com.google.genai.types.RecontextImageParameters.Builder
- Builder() - Constructor for class com.google.genai.types.RecontextImageResponse.Builder
- Builder() - Constructor for class com.google.genai.types.RecontextImageSource.Builder
- Builder() - Constructor for class com.google.genai.types.ReferenceImageAPI.Builder
- Builder() - Constructor for class com.google.genai.types.ReplayFile.Builder
- Builder() - Constructor for class com.google.genai.types.ReplayInteraction.Builder
- Builder() - Constructor for class com.google.genai.types.ReplayRequest.Builder
- Builder() - Constructor for class com.google.genai.types.ReplayResponse.Builder
- Builder() - Constructor for class com.google.genai.types.Retrieval.Builder
- Builder() - Constructor for class com.google.genai.types.RetrievalConfig.Builder
- Builder() - Constructor for class com.google.genai.types.RetrievalMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.SafetyAttributes.Builder
- Builder() - Constructor for class com.google.genai.types.SafetyRating.Builder
- Builder() - Constructor for class com.google.genai.types.SafetySetting.Builder
- Builder() - Constructor for class com.google.genai.types.Schema.Builder
- Builder() - Constructor for class com.google.genai.types.ScribbleImage.Builder
- Builder() - Constructor for class com.google.genai.types.SearchEntryPoint.Builder
- Builder() - Constructor for class com.google.genai.types.Segment.Builder
- Builder() - Constructor for class com.google.genai.types.SegmentImageConfig.Builder
- Builder() - Constructor for class com.google.genai.types.SegmentImageParameters.Builder
- Builder() - Constructor for class com.google.genai.types.SegmentImageResponse.Builder
- Builder() - Constructor for class com.google.genai.types.SegmentImageSource.Builder
- Builder() - Constructor for class com.google.genai.types.SessionResumptionConfig.Builder
- Builder() - Constructor for class com.google.genai.types.SingleEmbedContentResponse.Builder
- Builder() - Constructor for class com.google.genai.types.SlidingWindow.Builder
- Builder() - Constructor for class com.google.genai.types.SpeakerVoiceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.SpeechConfig.Builder
- Builder() - Constructor for class com.google.genai.types.StringList.Builder
- Builder() - Constructor for class com.google.genai.types.StyleReferenceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.StyleReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.SubjectReferenceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.SubjectReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.SupervisedHyperParameters.Builder
- Builder() - Constructor for class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
- Builder() - Constructor for class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
- Builder() - Constructor for class com.google.genai.types.SupervisedTuningDataStats.Builder
- Builder() - Constructor for class com.google.genai.types.SupervisedTuningSpec.Builder
- Builder() - Constructor for class com.google.genai.types.TestTableFile.Builder
- Builder() - Constructor for class com.google.genai.types.TestTableItem.Builder
- Builder() - Constructor for class com.google.genai.types.ThinkingConfig.Builder
- Builder() - Constructor for class com.google.genai.types.TokensInfo.Builder
- Builder() - Constructor for class com.google.genai.types.Tool.Builder
- Builder() - Constructor for class com.google.genai.types.ToolCodeExecution.Builder
- Builder() - Constructor for class com.google.genai.types.ToolConfig.Builder
- Builder() - Constructor for class com.google.genai.types.Transcription.Builder
- Builder() - Constructor for class com.google.genai.types.TunedModel.Builder
- Builder() - Constructor for class com.google.genai.types.TunedModelCheckpoint.Builder
- Builder() - Constructor for class com.google.genai.types.TunedModelInfo.Builder
- Builder() - Constructor for class com.google.genai.types.TuningDataset.Builder
- Builder() - Constructor for class com.google.genai.types.TuningDataStats.Builder
- Builder() - Constructor for class com.google.genai.types.TuningExample.Builder
- Builder() - Constructor for class com.google.genai.types.TuningJob.Builder
- Builder() - Constructor for class com.google.genai.types.TuningOperation.Builder
- Builder() - Constructor for class com.google.genai.types.TuningValidationDataset.Builder
- Builder() - Constructor for class com.google.genai.types.UpdateCachedContentConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UpdateCachedContentParameters.Builder
- Builder() - Constructor for class com.google.genai.types.UpdateModelConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UpdateModelParameters.Builder
- Builder() - Constructor for class com.google.genai.types.UploadFileConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
- Builder() - Constructor for class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
- Builder() - Constructor for class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
- Builder() - Constructor for class com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
- Builder() - Constructor for class com.google.genai.types.UpscaleImageAPIConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UpscaleImageAPIParameters.Builder
- Builder() - Constructor for class com.google.genai.types.UpscaleImageConfig.Builder
- Builder() - Constructor for class com.google.genai.types.UpscaleImageParameters.Builder
- Builder() - Constructor for class com.google.genai.types.UpscaleImageResponse.Builder
- Builder() - Constructor for class com.google.genai.types.UrlContext.Builder
- Builder() - Constructor for class com.google.genai.types.UrlContextMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.UrlMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.UsageMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.VeoHyperParameters.Builder
- Builder() - Constructor for class com.google.genai.types.VeoTuningSpec.Builder
- Builder() - Constructor for class com.google.genai.types.VertexAISearch.Builder
- Builder() - Constructor for class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
- Builder() - Constructor for class com.google.genai.types.VertexRagStore.Builder
- Builder() - Constructor for class com.google.genai.types.VertexRagStoreRagResource.Builder
- Builder() - Constructor for class com.google.genai.types.Video.Builder
- Builder() - Constructor for class com.google.genai.types.VideoGenerationMask.Builder
- Builder() - Constructor for class com.google.genai.types.VideoGenerationReferenceImage.Builder
- Builder() - Constructor for class com.google.genai.types.VideoMetadata.Builder
- Builder() - Constructor for class com.google.genai.types.VoiceConfig.Builder
- Builder() - Constructor for class com.google.genai.types.WhiteSpaceConfig.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- buildPartial() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- BYTE - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Typical usage of USER_DEFINED symbol is placeholder.
- BYTE_FALLBACK_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- BYTE_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Typical usage of USER_DEFINED symbol is placeholder.
C
- cachedContent() - Method in class com.google.genai.types.GenerateContentConfig
-
Resource name of a context cache that can be used in subsequent requests.
- cachedContent(String) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for cachedContent.
- CachedContent - Class in com.google.genai.types
-
A resource used in LLM queries for users to explicitly specify what to cache.
- CachedContent() - Constructor for class com.google.genai.types.CachedContent
- CachedContent.Builder - Class in com.google.genai.types
-
Builder for CachedContent.
- cachedContents() - Method in class com.google.genai.types.ListCachedContentsResponse
-
List of cached contents.
- cachedContents(CachedContent...) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for cachedContents.
- cachedContents(CachedContent.Builder...) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for cachedContents builder.
- cachedContents(List<CachedContent>) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for cachedContents.
- cachedContentTokenCount() - Method in class com.google.genai.types.CountTokensResponse
-
Number of tokens in the cached part of the prompt (the cached content).
- cachedContentTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- cachedContentTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Number of tokens in the cached part of the prompt (the cached content).
- cachedContentTokenCount(Integer) - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Setter for cachedContentTokenCount.
- cachedContentTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for cachedContentTokenCount.
- cachedContentTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for cachedContentTokenCount.
- CachedContentUsageMetadata - Class in com.google.genai.types
-
Metadata on the usage of the cached content.
- CachedContentUsageMetadata() - Constructor for class com.google.genai.types.CachedContentUsageMetadata
- CachedContentUsageMetadata.Builder - Class in com.google.genai.types
-
Builder for CachedContentUsageMetadata.
- caches - Variable in class com.google.genai.Client.Async
- caches - Variable in class com.google.genai.Client
- Caches - Class in com.google.genai
-
Provides methods for managing the cached content.
- Caches(ApiClient) - Constructor for class com.google.genai.Caches
- cacheTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- cacheTokensDetails() - Method in class com.google.genai.types.UsageMetadata
-
List of modalities that were processed in the cache input.
- cacheTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for cacheTokensDetails.
- cacheTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for cacheTokensDetails.
- cacheTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for cacheTokensDetails builder.
- cacheTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for cacheTokensDetails builder.
- cacheTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for cacheTokensDetails.
- cacheTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for cacheTokensDetails.
- cancel(String, CancelBatchJobConfig) - Method in class com.google.genai.AsyncBatches
-
Asynchronously cancels a batch job resource.
- cancel(String, CancelBatchJobConfig) - Method in class com.google.genai.Batches
-
Cancels a batch job resource.
- cancel(String, CancelTuningJobConfig) - Method in class com.google.genai.AsyncTunings
-
Asynchronously cancels a tuning job resource.
- cancel(String, CancelTuningJobConfig) - Method in class com.google.genai.Tunings
-
Cancels a tuning job resource.
- CancelBatchJobConfig - Class in com.google.genai.types
-
Optional parameters.
- CancelBatchJobConfig() - Constructor for class com.google.genai.types.CancelBatchJobConfig
- CancelBatchJobConfig.Builder - Class in com.google.genai.types
-
Builder for CancelBatchJobConfig.
- CancelBatchJobParameters - Class in com.google.genai.types
-
Config for batches.cancel parameters.
- CancelBatchJobParameters() - Constructor for class com.google.genai.types.CancelBatchJobParameters
- CancelBatchJobParameters.Builder - Class in com.google.genai.types
-
Builder for CancelBatchJobParameters.
- CancelTuningJobConfig - Class in com.google.genai.types
-
Optional parameters for tunings.cancel method.
- CancelTuningJobConfig() - Constructor for class com.google.genai.types.CancelTuningJobConfig
- CancelTuningJobConfig.Builder - Class in com.google.genai.types
-
Builder for CancelTuningJobConfig.
- CancelTuningJobParameters - Class in com.google.genai.types
-
Parameters for the cancel method.
- CancelTuningJobParameters() - Constructor for class com.google.genai.types.CancelTuningJobParameters
- CancelTuningJobParameters.Builder - Class in com.google.genai.types
-
Builder for CancelTuningJobParameters.
- Candidate - Class in com.google.genai.types
-
A response candidate generated from the model.
- Candidate() - Constructor for class com.google.genai.types.Candidate
- Candidate.Builder - Class in com.google.genai.types
-
Builder for Candidate.
- candidateCount() - Method in class com.google.genai.types.GenerateContentConfig
-
Number of response variations to return.
- candidateCount() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- candidateCount(Integer) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for candidateCount.
- candidateCount(Integer) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for candidateCount.
- candidates() - Method in class com.google.genai.types.GenerateContentResponse
-
Response variations returned by the model.
- candidates() - Method in class com.google.genai.types.LogprobsResultTopCandidates
-
Sorted by log probability in descending order.
- candidates(Candidate...) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for candidates.
- candidates(Candidate.Builder...) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for candidates builder.
- candidates(LogprobsResultCandidate...) - Method in class com.google.genai.types.LogprobsResultTopCandidates.Builder
-
Setter for candidates.
- candidates(LogprobsResultCandidate.Builder...) - Method in class com.google.genai.types.LogprobsResultTopCandidates.Builder
-
Setter for candidates builder.
- candidates(List<Candidate>) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for candidates.
- candidates(List<LogprobsResultCandidate>) - Method in class com.google.genai.types.LogprobsResultTopCandidates.Builder
-
Setter for candidates.
- candidatesTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
The total number of tokens in the generated candidates.
- candidatesTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for candidatesTokenCount.
- candidatesTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- candidatesTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for candidatesTokensDetails.
- candidatesTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for candidatesTokensDetails builder.
- candidatesTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for candidatesTokensDetails.
- categories() - Method in class com.google.genai.types.SafetyAttributes
-
List of RAI categories.
- categories(String...) - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Setter for categories.
- categories(List<String>) - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Setter for categories.
- category() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- category() - Method in class com.google.genai.types.SafetySetting
-
Required.
- category(HarmCategory) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for category.
- category(HarmCategory) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for category.
- category(HarmCategory.Known) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for category given a known enum.
- category(HarmCategory.Known) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for category given a known enum.
- category(String) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for category given a string.
- category(String) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for category given a string.
- CHAR - Enum constant in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
tokenizes into character sequence
- CHAR_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
tokenizes into character sequence
- CHARACTER_COVERAGE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- Chat - Class in com.google.genai
-
A chat session with a generative model.
- chats - Variable in class com.google.genai.Client.Async
- chats - Variable in class com.google.genai.Client
- Chats - Class in com.google.genai
-
A class for creating chat sessions.
- checkFinishReason() - Method in class com.google.genai.types.GenerateContentResponse
-
Throws an exception if the response finishes unexpectedly.
- Checkpoint - Class in com.google.genai.types
-
Describes the machine learning model version checkpoint.
- Checkpoint() - Constructor for class com.google.genai.types.Checkpoint
- Checkpoint.Builder - Class in com.google.genai.types
-
Builder for Checkpoint.
- checkpointId() - Method in class com.google.genai.types.Checkpoint
-
The ID of the checkpoint.
- checkpointId() - Method in class com.google.genai.types.PreTunedModel
-
Optional.
- checkpointId() - Method in class com.google.genai.types.TunedModelCheckpoint
-
The ID of the checkpoint.
- checkpointId(String) - Method in class com.google.genai.types.Checkpoint.Builder
-
Setter for checkpointId.
- checkpointId(String) - Method in class com.google.genai.types.PreTunedModel.Builder
-
Setter for checkpointId.
- checkpointId(String) - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Setter for checkpointId.
- checkpoints() - Method in class com.google.genai.types.Model
-
The checkpoints of the model.
- checkpoints() - Method in class com.google.genai.types.TunedModel
-
The checkpoints associated with this TunedModel.
- checkpoints(Checkpoint...) - Method in class com.google.genai.types.Model.Builder
-
Setter for checkpoints.
- checkpoints(Checkpoint.Builder...) - Method in class com.google.genai.types.Model.Builder
-
Setter for checkpoints builder.
- checkpoints(TunedModelCheckpoint...) - Method in class com.google.genai.types.TunedModel.Builder
-
Setter for checkpoints.
- checkpoints(TunedModelCheckpoint.Builder...) - Method in class com.google.genai.types.TunedModel.Builder
-
Setter for checkpoints builder.
- checkpoints(List<Checkpoint>) - Method in class com.google.genai.types.Model.Builder
-
Setter for checkpoints.
- checkpoints(List<TunedModelCheckpoint>) - Method in class com.google.genai.types.TunedModel.Builder
-
Setter for checkpoints.
- chosenCandidates() - Method in class com.google.genai.types.LogprobsResult
-
Length = total number of decoding steps.
- chosenCandidates(LogprobsResultCandidate...) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for chosenCandidates.
- chosenCandidates(LogprobsResultCandidate.Builder...) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for chosenCandidates builder.
- chosenCandidates(List<LogprobsResultCandidate>) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for chosenCandidates.
- chunkingConfig() - Method in class com.google.genai.types.ImportFileConfig
-
Config for telling the service how to chunk the file.
- chunkingConfig() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Config for telling the service how to chunk the file.
- chunkingConfig(ChunkingConfig) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for chunkingConfig.
- chunkingConfig(ChunkingConfig) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for chunkingConfig.
- chunkingConfig(ChunkingConfig.Builder) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for chunkingConfig builder.
- chunkingConfig(ChunkingConfig.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for chunkingConfig builder.
- ChunkingConfig - Class in com.google.genai.types
-
Config for telling the service how to chunk the file.
- ChunkingConfig() - Constructor for class com.google.genai.types.ChunkingConfig
- ChunkingConfig.Builder - Class in com.google.genai.types
-
Builder for ChunkingConfig.
- Citation - Class in com.google.genai.types
-
Source attributions for content.
- Citation() - Constructor for class com.google.genai.types.Citation
- Citation.Builder - Class in com.google.genai.types
-
Builder for Citation.
- citationMetadata() - Method in class com.google.genai.types.Candidate
-
Source attribution of the generated content.
- citationMetadata(CitationMetadata) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for citationMetadata.
- citationMetadata(CitationMetadata.Builder) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for citationMetadata builder.
- CitationMetadata - Class in com.google.genai.types
-
Citation information when the model quotes another source.
- CitationMetadata() - Constructor for class com.google.genai.types.CitationMetadata
- CitationMetadata.Builder - Class in com.google.genai.types
-
Builder for CitationMetadata.
- citations() - Method in class com.google.genai.types.CitationMetadata
-
Contains citation information when the model directly quotes, at length, from another source.
- citations(Citation...) - Method in class com.google.genai.types.CitationMetadata.Builder
-
Setter for citations.
- citations(Citation.Builder...) - Method in class com.google.genai.types.CitationMetadata.Builder
-
Setter for citations builder.
- citations(List<Citation>) - Method in class com.google.genai.types.CitationMetadata.Builder
-
Setter for citations.
- clear() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- clear() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- clear() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- clear() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- clear() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- clear() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- clearAcceptLanguage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- clearAccessToken() - Method in class com.google.genai.types.AuthConfigOauthConfig.Builder
-
Clears the value of accessToken field.
- clearActiveDocumentsCount() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of activeDocumentsCount field.
- clearActivityEnd() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of activityEnd field.
- clearActivityEnd() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of activityEnd field.
- clearActivityHandling() - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Clears the value of activityHandling field.
- clearActivityStart() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of activityStart field.
- clearActivityStart() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of activityStart field.
- clearAdapterSize() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of adapterSize field.
- clearAdapterSize() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Clears the value of adapterSize field.
- clearAdapterSize() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Clears the value of adapterSize field.
- clearAddDummyPrefix() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- clearAddWatermark() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of addWatermark field.
- clearAddWatermark() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of addWatermark field.
- clearAddWatermark() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of addWatermark field.
- clearAllowedFunctionNames() - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Clears the value of allowedFunctionNames field.
- clearAllowWhitespaceOnlyPieces() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- clearAlpha() - Method in class com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
-
Clears the value of alpha field.
- clearAnyOf() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of anyOf field.
- clearApiAuth() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of apiAuth field.
- clearApiKeyConfig() - Method in class com.google.genai.types.ApiAuth.Builder
-
Clears the value of apiKeyConfig field.
- clearApiKeyConfig() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of apiKeyConfig field.
- clearApiKeySecret() - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Clears the value of apiKeySecret field.
- clearApiKeySecretVersion() - Method in class com.google.genai.types.ApiAuthApiKeyConfig.Builder
-
Clears the value of apiKeySecretVersion field.
- clearApiKeyString() - Method in class com.google.genai.types.ApiAuthApiKeyConfig.Builder
-
Clears the value of apiKeyString field.
- clearApiKeyString() - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Clears the value of apiKeyString field.
- clearApiSpec() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of apiSpec field.
- clearApiVersion() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of apiVersion field.
- clearArgs() - Method in class com.google.genai.types.FunctionCall.Builder
-
Clears the value of args field.
- clearAspectRatio() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of aspectRatio field.
- clearAspectRatio() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of aspectRatio field.
- clearAspectRatio() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of aspectRatio field.
- clearAspectRatio() - Method in class com.google.genai.types.ImageConfig.Builder
-
Clears the value of aspectRatio field.
- clearAttempts() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of attempts field.
- clearAudio() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of audio field.
- clearAudio() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of audio field.
- clearAudioDurationSeconds() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Clears the value of audioDurationSeconds field.
- clearAudioStreamEnd() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of audioStreamEnd field.
- clearAudioStreamEnd() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of audioStreamEnd field.
- clearAudioTimestamp() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of audioTimestamp field.
- clearAudioTimestamp() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of audioTimestamp field.
- clearAuthConfig() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of authConfig field.
- clearAuthConfig() - Method in class com.google.genai.types.GoogleMaps.Builder
-
Clears the value of authConfig field.
- clearAuthorAttribution() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of authorAttribution field.
- clearAuthType() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of authType field.
- clearAutomaticActivityDetection() - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Clears the value of automaticActivityDetection field.
- clearAutomaticFunctionCalling() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of automaticFunctionCalling field.
- clearAutomaticFunctionCallingHistory() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of automaticFunctionCallingHistory field.
- clearAutoMode() - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Clears the value of autoMode field.
- clearAutoraterConfig() - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Clears the value of autoraterConfig field.
- clearAutoraterModel() - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Clears the value of autoraterModel field.
- clearAutoTruncate() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of autoTruncate field.
- clearAvgLogprobs() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of avgLogprobs field.
- clearBaseModel() - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Clears the value of baseModel field.
- clearBaseModel() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Clears the value of baseModel field.
- clearBaseModel() - Method in class com.google.genai.types.PreTunedModel.Builder
-
Clears the value of baseModel field.
- clearBaseModel() - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Clears the value of baseModel field.
- clearBaseModel() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of baseModel field.
- clearBaseSteps() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of baseSteps field.
- clearBaseSteps() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of baseSteps field.
- clearBaseUrl() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of baseUrl field.
- clearBatchJobs() - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Clears the value of batchJobs field.
- clearBatchSize() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of batchSize field.
- clearBatchSize() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Clears the value of batchSize field.
- clearBehavior() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of behavior field.
- clearBeta() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of beta field.
- clearBeta() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Clears the value of beta field.
- clearBigqueryUri() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of bigqueryUri field.
- clearBigqueryUri() - Method in class com.google.genai.types.BatchJobSource.Builder
-
Clears the value of bigqueryUri field.
- clearBillableCharacterCount() - Method in class com.google.genai.types.EmbedContentMetadata.Builder
-
Clears the value of billableCharacterCount field.
- clearBillableSum() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of billableSum field.
- clearBinaryColorThreshold() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of binaryColorThreshold field.
- clearBlocked() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of blocked field.
- clearBlockingConfidence() - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Clears the value of blockingConfidence field.
- clearBlockingConfidence() - Method in class com.google.genai.types.GoogleSearch.Builder
-
Clears the value of blockingConfidence field.
- clearBlockReason() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Clears the value of blockReason field.
- clearBlockReasonMessage() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Clears the value of blockReasonMessage field.
- clearBody() - Method in class com.google.genai.types.HttpResponse.Builder
-
Clears the value of body field.
- clearBodySegments() - Method in class com.google.genai.types.ReplayRequest.Builder
-
Clears the value of bodySegments field.
- clearBodySegments() - Method in class com.google.genai.types.ReplayResponse.Builder
-
Clears the value of bodySegments field.
- clearBoolValue() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of boolValue field.
- clearBosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<s>
- clearBosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - clearBuckets() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of buckets field.
- clearBuckets() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of buckets field.
- clearByteFallback() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Decomposes unknown pieces into UTF-8 bytes.
- clearCachedContent() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of cachedContent field.
- clearCachedContents() - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Clears the value of cachedContents field.
- clearCachedContentTokenCount() - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Clears the value of cachedContentTokenCount field.
- clearCachedContentTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of cachedContentTokenCount field.
- clearCachedContentTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of cachedContentTokenCount field.
- clearCacheTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of cacheTokensDetails field.
- clearCacheTokensDetails() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of cacheTokensDetails field.
- clearCandidateCount() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of candidateCount field.
- clearCandidateCount() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of candidateCount field.
- clearCandidates() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of candidates field.
- clearCandidates() - Method in class com.google.genai.types.LogprobsResultTopCandidates.Builder
-
Clears the value of candidates field.
- clearCandidatesTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of candidatesTokenCount field.
- clearCandidatesTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of candidatesTokensDetails field.
- clearCategories() - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Clears the value of categories field.
- clearCategory() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of category field.
- clearCategory() - Method in class com.google.genai.types.SafetySetting.Builder
-
Clears the value of category field.
- clearCharacterCoverage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Training parameters.
- clearCheckpointId() - Method in class com.google.genai.types.Checkpoint.Builder
-
Clears the value of checkpointId field.
- clearCheckpointId() - Method in class com.google.genai.types.PreTunedModel.Builder
-
Clears the value of checkpointId field.
- clearCheckpointId() - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Clears the value of checkpointId field.
- clearCheckpoints() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of checkpoints field.
- clearCheckpoints() - Method in class com.google.genai.types.TunedModel.Builder
-
Clears the value of checkpoints field.
- clearChosenCandidates() - Method in class com.google.genai.types.LogprobsResult.Builder
-
Clears the value of chosenCandidates field.
- clearChunkingConfig() - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Clears the value of chunkingConfig field.
- clearChunkingConfig() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of chunkingConfig field.
- clearCitationMetadata() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of citationMetadata field.
- clearCitations() - Method in class com.google.genai.types.CitationMetadata.Builder
-
Clears the value of citations field.
- clearClientContent() - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Clears the value of clientContent field.
- clearCode() - Method in class com.google.genai.types.ExecutableCode.Builder
-
Clears the value of code field.
- clearCode() - Method in class com.google.genai.types.FileStatus.Builder
-
Clears the value of code field.
- clearCode() - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Clears the value of code field.
- clearCode() - Method in class com.google.genai.types.JobError.Builder
-
Clears the value of code field.
- clearCodeExecution() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of codeExecution field.
- clearCodeExecutionResult() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of codeExecutionResult field.
- clearComment() - Method in class com.google.genai.types.TestTableFile.Builder
-
Clears the value of comment field.
- clearCompletion() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
-
Clears the value of completion field.
- clearCompletions() - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Clears the value of completions field.
- clearCompletionStats() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of completionStats field.
- clearCompressionQuality() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of compressionQuality field.
- clearComputerUse() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of computerUse field.
- clearConfidenceScores() - Method in class com.google.genai.types.GroundingSupport.Builder
-
Clears the value of confidenceScores field.
- clearConfidenceThreshold() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of confidenceThreshold field.
- clearConfig() - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateFileSearchStoreParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteFileParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.DeleteModelParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.EditImageParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetBatchJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetCachedContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetDocumentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetFileParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetModelParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetOperationParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.GetTuningJobParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.InlinedRequest.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListBatchJobsParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListCachedContentsParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListDocumentsParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListFileSearchStoresParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListFilesParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListModelsParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.ListTuningJobsParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.LiveConnectParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.UpdateModelParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Clears the value of config field.
- clearConfig() - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Clears the value of config field.
- clearContent() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of content field.
- clearContents() - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Clears the value of contents field.
- clearContents() - Method in class com.google.genai.types.InlinedRequest.Builder
-
Clears the value of contents field.
- clearContentType() - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Clears the value of contentType field.
- clearContextWindowCompression() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of contextWindowCompression field.
- clearContextWindowCompression() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of contextWindowCompression field.
- clearControlImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of controlImageConfig field.
- clearControlSymbols() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- clearControlType() - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Clears the value of controlType field.
- clearCount() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Clears the value of count field.
- clearCount() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Clears the value of count field.
- clearCreateTime() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.File.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Clears the value of createTime field.
- clearCreateTime() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of createTime field.
- clearCredentialSecret() - Method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
-
Clears the value of credentialSecret field.
- clearCustomBaseModel() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of customBaseModel field.
- clearCustomMetadata() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of customMetadata field.
- clearCustomMetadata() - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Clears the value of customMetadata field.
- clearCustomMetadata() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of customMetadata field.
- clearData() - Method in class com.google.genai.types.Blob.Builder
-
Clears the value of data field.
- clearData() - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Clears the value of data field.
- clearDatastore() - Method in class com.google.genai.types.VertexAISearch.Builder
-
Clears the value of datastore field.
- clearDataStore() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
-
Clears the value of dataStore field.
- clearDataStoreSpecs() - Method in class com.google.genai.types.VertexAISearch.Builder
-
Clears the value of dataStoreSpecs field.
- clearDay() - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Clears the value of day field.
- clearDefault_() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of default_ field.
- clearDefaultCheckpointId() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of defaultCheckpointId field.
- clearDefaultCheckpointId() - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Clears the value of defaultCheckpointId field.
- clearDenormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- clearDeployedModelId() - Method in class com.google.genai.types.Endpoint.Builder
-
Clears the value of deployedModelId field.
- clearDescription() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of description field.
- clearDescription() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of description field.
- clearDescription() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of description field.
- clearDescription() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of description field.
- clearDescription() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of description field.
- clearDescription() - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Clears the value of description field.
- clearDest() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of dest field.
- clearDest() - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Clears the value of dest field.
- clearDetails() - Method in class com.google.genai.types.FileStatus.Builder
-
Clears the value of details field.
- clearDetails() - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Clears the value of details field.
- clearDetails() - Method in class com.google.genai.types.JobError.Builder
-
Clears the value of details field.
- clearDifferentialPrivacyClippingThreshold() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Clipping threshold to apply after adding noise.
- clearDifferentialPrivacyNoiseLevel() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Set these parameters if you need DP version of sentencepiece.
- clearDisable() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Clears the value of disable field.
- clearDisableAttribution() - Method in class com.google.genai.types.Retrieval.Builder
-
Clears the value of disableAttribution field.
- clearDisabled() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Clears the value of disabled field.
- clearDisplayName() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.Blob.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.File.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.FileData.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Clears the value of displayName field.
- clearDisplayName() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of displayName field.
- clearDistillationDataStats() - Method in class com.google.genai.types.TuningDataStats.Builder
-
Clears the value of distillationDataStats field.
- clearDocumentName() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Clears the value of documentName field.
- clearDocumentName() - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Clears the value of documentName field.
- clearDocumentName() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Clears the value of documentName field.
- clearDocuments() - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Clears the value of documents field.
- clearDomain() - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Clears the value of domain field.
- clearDone() - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Clears the value of done field.
- clearDone() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Clears the value of done field.
- clearDone() - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Clears the value of done field.
- clearDone() - Method in class com.google.genai.types.TuningOperation.Builder
-
Clears the value of done field.
- clearDone() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Clears the value of done field.
- clearDownloadUri() - Method in class com.google.genai.types.File.Builder
-
Clears the value of downloadUri field.
- clearDroppedExampleReasons() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of droppedExampleReasons field.
- clearDurationSeconds() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of durationSeconds field.
- clearDynamicRetrievalConfig() - Method in class com.google.genai.types.GoogleSearchRetrieval.Builder
-
Clears the value of dynamicRetrievalConfig field.
- clearDynamicThreshold() - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Clears the value of dynamicThreshold field.
- clearEditMode() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of editMode field.
- clearElasticSearchParams() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of elasticSearchParams field.
- clearEmbedding() - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
-
Clears the value of embedding field.
- clearEmbeddings() - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Clears the value of embeddings field.
- clearEnableAffectiveDialog() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of enableAffectiveDialog field.
- clearEnableAffectiveDialog() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of enableAffectiveDialog field.
- clearEnableControlImageComputation() - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Clears the value of enableControlImageComputation field.
- clearEnableDifferentialPrivacy() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Whether to use DP version of sentencepiece.
- clearEnableEnhancedCivicAnswers() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of enableEnhancedCivicAnswers field.
- clearEnableWidget() - Method in class com.google.genai.types.GoogleMaps.Builder
-
Clears the value of enableWidget field.
- clearEncryptionSpec() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of encryptionSpec field.
- clearEndIndex() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of endIndex field.
- clearEndIndex() - Method in class com.google.genai.types.Segment.Builder
-
Clears the value of endIndex field.
- clearEndOffset() - Method in class com.google.genai.types.VideoMetadata.Builder
-
Clears the value of endOffset field.
- clearEndOfSpeechSensitivity() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Clears the value of endOfSpeechSensitivity field.
- clearEndpoint() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of endpoint field.
- clearEndpoint() - Method in class com.google.genai.types.TunedModel.Builder
-
Clears the value of endpoint field.
- clearEndpoint() - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Clears the value of endpoint field.
- clearEndpoints() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of endpoints field.
- clearEndTime() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of endTime field.
- clearEndTime() - Method in class com.google.genai.types.Interval.Builder
-
Clears the value of endTime field.
- clearEndTime() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of endTime field.
- clearEngine() - Method in class com.google.genai.types.VertexAISearch.Builder
-
Clears the value of engine field.
- clearEnhancedPrompt() - Method in class com.google.genai.types.GeneratedImage.Builder
-
Clears the value of enhancedPrompt field.
- clearEnhanceInputImage() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of enhanceInputImage field.
- clearEnhanceInputImage() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of enhanceInputImage field.
- clearEnhancePrompt() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of enhancePrompt field.
- clearEnhancePrompt() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of enhancePrompt field.
- clearEnhancePrompt() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of enhancePrompt field.
- clearEnterpriseWebSearch() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of enterpriseWebSearch field.
- clearEnum_() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of enum_ field.
- clearEnvironment() - Method in class com.google.genai.types.ComputerUse.Builder
-
Clears the value of environment field.
- clearEosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
</s>
- clearEosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - clearEpoch() - Method in class com.google.genai.types.Checkpoint.Builder
-
Clears the value of epoch field.
- clearEpoch() - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Clears the value of epoch field.
- clearEpochCount() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of epochCount field.
- clearEpochCount() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Clears the value of epochCount field.
- clearEpochCount() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Clears the value of epochCount field.
- clearEpochCount() - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Clears the value of epochCount field.
- clearError() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.File.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.InlinedResponse.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.TuningOperation.Builder
-
Clears the value of error field.
- clearError() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Clears the value of error field.
- clearEscapeWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Replaces whitespace with meta symbol.
- clearEvaluationConfig() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of evaluationConfig field.
- clearEvaluationConfig() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of evaluationConfig field.
- clearExample() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of example field.
- clearExamples() - Method in class com.google.genai.types.TuningDataset.Builder
-
Clears the value of examples field.
- clearExceptionIfMldev() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of exceptionIfMldev field.
- clearExceptionIfVertex() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of exceptionIfVertex field.
- clearExcludeDomains() - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Clears the value of excludeDomains field.
- clearExcludeDomains() - Method in class com.google.genai.types.GoogleSearch.Builder
-
Clears the value of excludeDomains field.
- clearExcludedPredefinedFunctions() - Method in class com.google.genai.types.ComputerUse.Builder
-
Clears the value of excludedPredefinedFunctions field.
- clearExecutableCode() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of executableCode field.
- clearExpBase() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of expBase field.
- clearExpected() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - clearExperiment() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of experiment field.
- clearExpirationTime() - Method in class com.google.genai.types.File.Builder
-
Clears the value of expirationTime field.
- clearExpireTime() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of expireTime field.
- clearExpireTime() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of expireTime field.
- clearExpireTime() - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Clears the value of expireTime field.
- clearExportLastCheckpointOnly() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of exportLastCheckpointOnly field.
- clearExportLastCheckpointOnly() - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Clears the value of exportLastCheckpointOnly field.
- clearExportLastCheckpointOnly() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Clears the value of exportLastCheckpointOnly field.
- clearExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto, T>) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- clearExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto.SentencePiece, T>) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- clearExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.NormalizerSpec, T>) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- clearExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.SelfTestData, T>) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- clearExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.TrainerSpec, T>) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- clearExternalApi() - Method in class com.google.genai.types.Retrieval.Builder
-
Clears the value of externalApi field.
- clearExtraBody() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of extraBody field.
- clearFailedCount() - Method in class com.google.genai.types.CompletionStats.Builder
-
Clears the value of failedCount field.
- clearFailedDocumentsCount() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of failedDocumentsCount field.
- clearFeatureSelectionPreference() - Method in class com.google.genai.types.ModelSelectionConfig.Builder
-
Clears the value of featureSelectionPreference field.
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- clearFile() - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Clears the value of file field.
- clearFileData() - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Clears the value of fileData field.
- clearFileData() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of fileData field.
- clearFileName() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of fileName field.
- clearFileName() - Method in class com.google.genai.types.BatchJobSource.Builder
-
Clears the value of fileName field.
- clearFileName() - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
-
Clears the value of fileName field.
- clearFileName() - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Clears the value of fileName field.
- clearFiles() - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Clears the value of files field.
- clearFileSearch() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of fileSearch field.
- clearFileSearchStoreName() - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Clears the value of fileSearchStoreName field.
- clearFileSearchStoreName() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
-
Clears the value of fileSearchStoreName field.
- clearFileSearchStoreNames() - Method in class com.google.genai.types.FileSearch.Builder
-
Clears the value of fileSearchStoreNames field.
- clearFileSearchStores() - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Clears the value of fileSearchStores field.
- clearFileUri() - Method in class com.google.genai.types.FileData.Builder
-
Clears the value of fileUri field.
- clearFileUri() - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Clears the value of fileUri field.
- clearFilter() - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Clears the value of filter field.
- clearFilter() - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Clears the value of filter field.
- clearFilter() - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Clears the value of filter field.
- clearFilter() - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Clears the value of filter field.
- clearFilter() - Method in class com.google.genai.types.VertexAISearch.Builder
-
Clears the value of filter field.
- clearFilter() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
-
Clears the value of filter field.
- clearFinished() - Method in class com.google.genai.types.Transcription.Builder
-
Clears the value of finished field.
- clearFinishMessage() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of finishMessage field.
- clearFinishReason() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of finishReason field.
- clearFirstPage() - Method in class com.google.genai.types.RagChunkPageSpan.Builder
-
Clears the value of firstPage field.
- clearFlagContentUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Clears the value of flagContentUri field.
- clearFlagContentUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of flagContentUri field.
- clearFlagContentUri() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
-
Clears the value of flagContentUri field.
- clearForce() - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
-
Clears the value of force field.
- clearForce() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
-
Clears the value of force field.
- clearFormat() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of format field.
- clearFormat() - Method in class com.google.genai.types.BatchJobSource.Builder
-
Clears the value of format field.
- clearFormat() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of format field.
- clearFps() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of fps field.
- clearFps() - Method in class com.google.genai.types.VideoMetadata.Builder
-
Clears the value of fps field.
- clearFrequencyPenalty() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of frequencyPenalty field.
- clearFrequencyPenalty() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of frequencyPenalty field.
- clearFunctionCall() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of functionCall field.
- clearFunctionCallingConfig() - Method in class com.google.genai.types.ToolConfig.Builder
-
Clears the value of functionCallingConfig field.
- clearFunctionCalls() - Method in class com.google.genai.types.LiveServerToolCall.Builder
-
Clears the value of functionCalls field.
- clearFunctionDeclarations() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of functionDeclarations field.
- clearFunctionResponse() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of functionResponse field.
- clearFunctionResponses() - Method in class com.google.genai.types.LiveClientToolResponse.Builder
-
Clears the value of functionResponses field.
- clearFunctionResponses() - Method in class com.google.genai.types.LiveSendToolResponseParameters.Builder
-
Clears the value of functionResponses field.
- clearFunctions() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of functions field.
- clearGcsDestination() - Method in class com.google.genai.types.OutputConfig.Builder
-
Clears the value of gcsDestination field.
- clearGcsUri() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of gcsUri field.
- clearGcsUri() - Method in class com.google.genai.types.BatchJobSource.Builder
-
Clears the value of gcsUri field.
- clearGcsUri() - Method in class com.google.genai.types.Image.Builder
-
Clears the value of gcsUri field.
- clearGcsUri() - Method in class com.google.genai.types.TuningDataset.Builder
-
Clears the value of gcsUri field.
- clearGcsUri() - Method in class com.google.genai.types.TuningValidationDataset.Builder
-
Clears the value of gcsUri field.
- clearGenerateAudio() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of generateAudio field.
- clearGeneratedImages() - Method in class com.google.genai.types.EditImageResponse.Builder
-
Clears the value of generatedImages field.
- clearGeneratedImages() - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Clears the value of generatedImages field.
- clearGeneratedImages() - Method in class com.google.genai.types.RecontextImageResponse.Builder
-
Clears the value of generatedImages field.
- clearGeneratedImages() - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Clears the value of generatedImages field.
- clearGeneratedMasks() - Method in class com.google.genai.types.SegmentImageResponse.Builder
-
Clears the value of generatedMasks field.
- clearGeneratedVideos() - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Clears the value of generatedVideos field.
- clearGenerationComplete() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of generationComplete field.
- clearGenerationConfig() - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Clears the value of generationConfig field.
- clearGenerationConfig() - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Clears the value of generationConfig field.
- clearGenerationConfig() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of generationConfig field.
- clearGoAway() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of goAway field.
- clearGoogleMaps() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of googleMaps field.
- clearGoogleMapsUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of googleMapsUri field.
- clearGoogleMapsWidgetContextToken() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of googleMapsWidgetContextToken field.
- clearGoogleSearch() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of googleSearch field.
- clearGoogleSearchDynamicRetrievalScore() - Method in class com.google.genai.types.RetrievalMetadata.Builder
-
Clears the value of googleSearchDynamicRetrievalScore field.
- clearGoogleSearchRetrieval() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of googleSearchRetrieval field.
- clearGoogleServiceAccountConfig() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of googleServiceAccountConfig field.
- clearGroundingChunkIndices() - Method in class com.google.genai.types.GroundingSupport.Builder
-
Clears the value of groundingChunkIndices field.
- clearGroundingChunks() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of groundingChunks field.
- clearGroundingMetadata() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of groundingMetadata field.
- clearGroundingMetadata() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of groundingMetadata field.
- clearGroundingSupports() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of groundingSupports field.
- clearGuidanceScale() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of guidanceScale field.
- clearGuidanceScale() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of guidanceScale field.
- clearHandle() - Method in class com.google.genai.types.SessionResumptionConfig.Builder
-
Clears the value of handle field.
- clearHardVocabLimit() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
`vocab_size` is treated as hard limit.
- clearHasUnion() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of hasUnion field.
- clearHeaders() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of headers field.
- clearHeaders() - Method in class com.google.genai.types.HttpResponse.Builder
-
Clears the value of headers field.
- clearHeaders() - Method in class com.google.genai.types.ReplayRequest.Builder
-
Clears the value of headers field.
- clearHeaders() - Method in class com.google.genai.types.ReplayResponse.Builder
-
Clears the value of headers field.
- clearHttpBasicAuthConfig() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of httpBasicAuthConfig field.
- clearHttpElementLocation() - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Clears the value of httpElementLocation field.
- clearHttpOptions() - Method in class com.google.genai.types.CancelBatchJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CancelTuningJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ComputeTokensConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteBatchJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteCachedContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DeleteModelConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.DownloadFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.FetchPredictOperationConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetBatchJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetCachedContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetDocumentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetFileSearchStoreConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetModelConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetOperationConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.GetTuningJobConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpOptions() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of httpOptions field.
- clearHttpStatusCodes() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of httpStatusCodes field.
- clearHybridSearch() - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Clears the value of hybridSearch field.
- clearHyperParameters() - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Clears the value of hyperParameters field.
- clearHyperParameters() - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Clears the value of hyperParameters field.
- clearHyperParameters() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Clears the value of hyperParameters field.
- clearHyperParameters() - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Clears the value of hyperParameters field.
- clearId() - Method in class com.google.genai.types.FunctionCall.Builder
-
Clears the value of id field.
- clearId() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of id field.
- clearIds() - Method in class com.google.genai.types.LiveServerToolCallCancellation.Builder
-
Clears the value of ids field.
- clearIdToken() - Method in class com.google.genai.types.AuthConfigOidcConfig.Builder
-
Clears the value of idToken field.
- clearIgnoreCallHistory() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Clears the value of ignoreCallHistory field.
- clearIgnoreKeys() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of ignoreKeys field.
- clearImage() - Method in class com.google.genai.types.GeneratedImage.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.ScribbleImage.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Clears the value of image field.
- clearImage() - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Clears the value of image field.
- clearImageBytes() - Method in class com.google.genai.types.Image.Builder
-
Clears the value of imageBytes field.
- clearImageConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of imageConfig field.
- clearImageCount() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Clears the value of imageCount field.
- clearImagePreservationFactor() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of imagePreservationFactor field.
- clearImagePreservationFactor() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of imagePreservationFactor field.
- clearImageSize() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of imageSize field.
- clearImageSize() - Method in class com.google.genai.types.ImageConfig.Builder
-
Clears the value of imageSize field.
- clearIncludeRaiReason() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of includeRaiReason field.
- clearIncludeRaiReason() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of includeRaiReason field.
- clearIncludeRaiReason() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of includeRaiReason field.
- clearIncludeRaiReason() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of includeRaiReason field.
- clearIncludeSafetyAttributes() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of includeSafetyAttributes field.
- clearIncludeSafetyAttributes() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of includeSafetyAttributes field.
- clearIncludeThoughts() - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Clears the value of includeThoughts field.
- clearIncompleteCount() - Method in class com.google.genai.types.CompletionStats.Builder
-
Clears the value of incompleteCount field.
- clearIndex() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of index field.
- clearIndex() - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Clears the value of index field.
- clearInitialDelay() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of initialDelay field.
- clearInlineData() - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Clears the value of inlineData field.
- clearInlineData() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of inlineData field.
- clearInlinedEmbedContentResponses() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of inlinedEmbedContentResponses field.
- clearInlinedRequests() - Method in class com.google.genai.types.BatchJobSource.Builder
-
Clears the value of inlinedRequests field.
- clearInlinedRequests() - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
-
Clears the value of inlinedRequests field.
- clearInlinedResponses() - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Clears the value of inlinedResponses field.
- clearInput() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - clearInput() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- clearInputAudioTranscription() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of inputAudioTranscription field.
- clearInputAudioTranscription() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of inputAudioTranscription field.
- clearInputFormat() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- clearInputSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Maximum size of sentences the trainer loads from `input` parameter.
- clearInputTokenLimit() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of inputTokenLimit field.
- clearInputTranscription() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of inputTranscription field.
- clearInteractions() - Method in class com.google.genai.types.ReplayFile.Builder
-
Clears the value of interactions field.
- clearInterrupted() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of interrupted field.
- clearItems() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of items field.
- clearJitter() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of jitter field.
- clearJsonPath() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of jsonPath field.
- clearJudgeModelSystemInstruction() - Method in class com.google.genai.types.Metric.Builder
-
Clears the value of judgeModelSystemInstruction field.
- clearKey() - Method in class com.google.genai.types.CustomMetadata.Builder
-
Clears the value of key field.
- clearKmsKeyName() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of kmsKeyName field.
- clearKmsKeyName() - Method in class com.google.genai.types.EncryptionSpec.Builder
-
Clears the value of kmsKeyName field.
- clearLabel() - Method in class com.google.genai.types.EntityLabel.Builder
-
Clears the value of label field.
- clearLabels() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of labels field.
- clearLabels() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of labels field.
- clearLanguage() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of language field.
- clearLanguage() - Method in class com.google.genai.types.ExecutableCode.Builder
-
Clears the value of language field.
- clearLanguage() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of language field.
- clearLanguageCode() - Method in class com.google.genai.types.RetrievalConfig.Builder
-
Clears the value of languageCode field.
- clearLanguageCode() - Method in class com.google.genai.types.SpeechConfig.Builder
-
Clears the value of languageCode field.
- clearLastConsumedClientMessageIndex() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Clears the value of lastConsumedClientMessageIndex field.
- clearLastFrame() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of lastFrame field.
- clearLastPage() - Method in class com.google.genai.types.RagChunkPageSpan.Builder
-
Clears the value of lastPage field.
- clearLatitude() - Method in class com.google.genai.types.LatLng.Builder
-
Clears the value of latitude field.
- clearLatLng() - Method in class com.google.genai.types.RetrievalConfig.Builder
-
Clears the value of latLng field.
- clearLearningRate() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of learningRate field.
- clearLearningRate() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Clears the value of learningRate field.
- clearLearningRateMultiplier() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of learningRateMultiplier field.
- clearLearningRateMultiplier() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Clears the value of learningRateMultiplier field.
- clearLearningRateMultiplier() - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Clears the value of learningRateMultiplier field.
- clearLearningRateMultiplier() - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Clears the value of learningRateMultiplier field.
- clearLeft() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Clears the value of left field.
- clearLeft() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Clears the value of left field.
- clearLevel() - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Clears the value of level field.
- clearLicense() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of license field.
- clearLlmRanker() - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Clears the value of llmRanker field.
- clearLogProbability() - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Clears the value of logProbability field.
- clearLogprobs() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of logprobs field.
- clearLogprobs() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of logprobs field.
- clearLogprobsResult() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of logprobsResult field.
- clearLongitude() - Method in class com.google.genai.types.LatLng.Builder
-
Clears the value of longitude field.
- clearManualMode() - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Clears the value of manualMode field.
- clearMaps() - Method in class com.google.genai.types.GroundingChunk.Builder
-
Clears the value of maps field.
- clearMask() - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Clears the value of mask field.
- clearMask() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of mask field.
- clearMaskDilation() - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Clears the value of maskDilation field.
- clearMaskDilation() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of maskDilation field.
- clearMaskImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of maskImageConfig field.
- clearMaskMode() - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Clears the value of maskMode field.
- clearMaskMode() - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Clears the value of maskMode field.
- clearMax() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of max field.
- clearMax() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of max field.
- clearMaxConnections() - Method in class com.google.genai.types.ClientOptions.Builder
-
Clears the value of maxConnections field.
- clearMaxConnectionsPerHost() - Method in class com.google.genai.types.ClientOptions.Builder
-
Clears the value of maxConnectionsPerHost field.
- clearMaxDelay() - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Clears the value of maxDelay field.
- clearMaximum() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of maximum field.
- clearMaximumRemoteCalls() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Clears the value of maximumRemoteCalls field.
- clearMaxItems() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of maxItems field.
- clearMaxLength() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of maxLength field.
- clearMaxOutputTokens() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of maxOutputTokens field.
- clearMaxOutputTokens() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of maxOutputTokens field.
- clearMaxOutputTokens() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of maxOutputTokens field.
- clearMaxOverlapTokens() - Method in class com.google.genai.types.WhiteSpaceConfig.Builder
-
Clears the value of maxOverlapTokens field.
- clearMaxPredictions() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of maxPredictions field.
- clearMaxProperties() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of maxProperties field.
- clearMaxResults() - Method in class com.google.genai.types.VertexAISearch.Builder
-
Clears the value of maxResults field.
- clearMaxSentenceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The maximum sentence length in byte.
- clearMaxSentencepieceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- clearMaxTemperature() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of maxTemperature field.
- clearMaxTokensPerChunk() - Method in class com.google.genai.types.WhiteSpaceConfig.Builder
-
Clears the value of maxTokensPerChunk field.
- clearMean() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of mean field.
- clearMean() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of mean field.
- clearMedia() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of media field.
- clearMediaChunks() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of mediaChunks field.
- clearMedian() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of median field.
- clearMedian() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of median field.
- clearMediaResolution() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of mediaResolution field.
- clearMediaResolution() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of mediaResolution field.
- clearMediaResolution() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of mediaResolution field.
- clearMediaResolution() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of mediaResolution field.
- clearMessage() - Method in class com.google.genai.types.FileStatus.Builder
-
Clears the value of message field.
- clearMessage() - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Clears the value of message field.
- clearMessage() - Method in class com.google.genai.types.JobError.Builder
-
Clears the value of message field.
- clearMetadata() - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Clears the value of metadata field.
- clearMetadata() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Clears the value of metadata field.
- clearMetadata() - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Clears the value of metadata field.
- clearMetadata() - Method in class com.google.genai.types.InlinedRequest.Builder
-
Clears the value of metadata field.
- clearMetadata() - Method in class com.google.genai.types.TuningOperation.Builder
-
Clears the value of metadata field.
- clearMetadata() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Clears the value of metadata field.
- clearMetadataFilter() - Method in class com.google.genai.types.FileSearch.Builder
-
Clears the value of metadataFilter field.
- clearMetadataFilter() - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Clears the value of metadataFilter field.
- clearMethod() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of method field.
- clearMethod() - Method in class com.google.genai.types.ReplayRequest.Builder
-
Clears the value of method field.
- clearMethod() - Method in class com.google.genai.types.SafetySetting.Builder
-
Clears the value of method field.
- clearMetrics() - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Clears the value of metrics field.
- clearMimeType() - Method in class com.google.genai.types.Blob.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.File.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.FileData.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.Image.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of mimeType field.
- clearMimeType() - Method in class com.google.genai.types.Video.Builder
-
Clears the value of mimeType field.
- clearMin() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of min field.
- clearMin() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of min field.
- clearMinimum() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of minimum field.
- clearMiningSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.
- clearMinItems() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of minItems field.
- clearMinLength() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of minLength field.
- clearMinProperties() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of minProperties field.
- clearModality() - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Clears the value of modality field.
- clearMode() - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Clears the value of mode field.
- clearMode() - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Clears the value of mode field.
- clearMode() - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Clears the value of mode field.
- clearMode() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of mode field.
- clearModel() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.DeleteModelParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.EditImageParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.GetModelParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.InlinedRequest.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.LiveConnectParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.TunedModel.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.UpdateModelParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Clears the value of model field.
- clearModel() - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Clears the value of model field.
- clearModelName() - Method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode.Builder
-
Clears the value of modelName field.
- clearModelName() - Method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker.Builder
-
Clears the value of modelName field.
- clearModelName() - Method in class com.google.genai.types.RagRetrievalConfigRankingRankService.Builder
-
Clears the value of modelName field.
- clearModelPrefix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- clearModelRoutingPreference() - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
-
Clears the value of modelRoutingPreference field.
- clearModels() - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Clears the value of models field.
- clearModelSelectionConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of modelSelectionConfig field.
- clearModelSelectionConfig() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of modelSelectionConfig field.
- clearModelTurn() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of modelTurn field.
- clearModelType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - clearModelVersion() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of modelVersion field.
- clearMonth() - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Clears the value of month field.
- clearMultiSpeakerVoiceConfig() - Method in class com.google.genai.types.SpeechConfig.Builder
-
Clears the value of multiSpeakerVoiceConfig field.
- clearName() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- clearName() - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteFileParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.Endpoint.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.File.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.FunctionCall.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetBatchJobParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetCachedContentParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetDocumentParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetFileParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.GetTuningJobParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.Metric.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.TuningOperation.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Clears the value of name field.
- clearName() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Clears the value of name field.
- clearNegativePrompt() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of negativePrompt field.
- clearNegativePrompt() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of negativePrompt field.
- clearNegativePrompt() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of negativePrompt field.
- clearNewHandle() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Clears the value of newHandle field.
- clearNextPageToken() - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Clears the value of nextPageToken field.
- clearNextPageToken() - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Clears the value of nextPageToken field.
- clearNormalizationRuleTsv() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- clearNormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- clearNullable() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of nullable field.
- clearNullValue() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of nullValue field.
- clearNumberOfImages() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of numberOfImages field.
- clearNumberOfImages() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of numberOfImages field.
- clearNumberOfImages() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of numberOfImages field.
- clearNumberOfImages() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of numberOfImages field.
- clearNumberOfVideos() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of numberOfVideos field.
- clearNumberValue() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of numberValue field.
- clearNumericValue() - Method in class com.google.genai.types.CustomMetadata.Builder
-
Clears the value of numericValue field.
- clearNumHits() - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Clears the value of numHits field.
- clearNumSubIterations() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of EM sub iterations.
- clearNumThreads() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of threads in the training.
- clearNumTokens() - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Clears the value of numTokens field.
- clearOauthConfig() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of oauthConfig field.
- clearOidcConfig() - Method in class com.google.genai.types.AuthConfig.Builder
-
Clears the value of oidcConfig field.
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- clearOperationName() - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Clears the value of operationName field.
- clearOperationName() - Method in class com.google.genai.types.GetOperationParameters.Builder
-
Clears the value of operationName field.
- clearOutcome() - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Clears the value of outcome field.
- clearOutput() - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Clears the value of output field.
- clearOutput() - Method in class com.google.genai.types.TuningExample.Builder
-
Clears the value of output field.
- clearOutputAudioTranscription() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of outputAudioTranscription field.
- clearOutputAudioTranscription() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of outputAudioTranscription field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.ImageConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputCompressionQuality() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of outputCompressionQuality field.
- clearOutputConfig() - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Clears the value of outputConfig field.
- clearOutputDimensionality() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of outputDimensionality field.
- clearOutputGcsUri() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputGcsUri() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputGcsUri() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputGcsUri() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputGcsUri() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputGcsUri() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of outputGcsUri field.
- clearOutputMimeType() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputMimeType() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputMimeType() - Method in class com.google.genai.types.ImageConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputMimeType() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputMimeType() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputMimeType() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of outputMimeType field.
- clearOutputTokenLimit() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of outputTokenLimit field.
- clearOutputTranscription() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of outputTranscription field.
- clearOutputUri() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of outputUri field.
- clearOutputUriPrefix() - Method in class com.google.genai.types.GcsDestination.Builder
-
Clears the value of outputUriPrefix field.
- clearOverrideReplayId() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of overrideReplayId field.
- clearOverwrittenThreshold() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of overwrittenThreshold field.
- clearP5() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of p5 field.
- clearP5() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of p5 field.
- clearP95() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of p95 field.
- clearP95() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of p95 field.
- clearPadId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<pad> (padding)
- clearPadPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - clearPageSize() - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Clears the value of pageSize field.
- clearPageSize() - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Clears the value of pageSize field.
- clearPageSpan() - Method in class com.google.genai.types.RagChunk.Builder
-
Clears the value of pageSpan field.
- clearPageToken() - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Clears the value of pageToken field.
- clearPageToken() - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Clears the value of pageToken field.
- clearParameterNames() - Method in class com.google.genai.types.TestTableFile.Builder
-
Clears the value of parameterNames field.
- clearParameters() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of parameters field.
- clearParameters() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of parameters field.
- clearParametersJsonSchema() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of parametersJsonSchema field.
- clearParent() - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Clears the value of parent field.
- clearParent() - Method in class com.google.genai.types.ListDocumentsParameters.Builder
-
Clears the value of parent field.
- clearParent() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Clears the value of parent field.
- clearPartialArgs() - Method in class com.google.genai.types.FunctionCall.Builder
-
Clears the value of partialArgs field.
- clearPartIndex() - Method in class com.google.genai.types.Segment.Builder
-
Clears the value of partIndex field.
- clearPartnerModelTuningSpec() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of partnerModelTuningSpec field.
- clearParts() - Method in class com.google.genai.types.Content.Builder
-
Clears the value of parts field.
- clearParts() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of parts field.
- clearPattern() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of pattern field.
- clearPendingDocumentsCount() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of pendingDocumentsCount field.
- clearPersonGeneration() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonGeneration() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonGeneration() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonGeneration() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonGeneration() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonGeneration() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of personGeneration field.
- clearPersonImage() - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Clears the value of personImage field.
- clearPhotoUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Clears the value of photoUri field.
- clearPiece() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- clearPieces() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- clearPipelineJob() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of pipelineJob field.
- clearPlaceAnswerSources() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Clears the value of placeAnswerSources field.
- clearPlaceId() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Clears the value of placeId field.
- clearPositivePromptSafetyAttributes() - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Clears the value of positivePromptSafetyAttributes field.
- clearPrebuiltVoiceConfig() - Method in class com.google.genai.types.VoiceConfig.Builder
-
Clears the value of prebuiltVoiceConfig field.
- clearPrecompiledCharsmap() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- clearPreferenceOptimizationDataStats() - Method in class com.google.genai.types.TuningDataStats.Builder
-
Clears the value of preferenceOptimizationDataStats field.
- clearPreferenceOptimizationSpec() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of preferenceOptimizationSpec field.
- clearPrefixPaddingMs() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Clears the value of prefixPaddingMs field.
- clearPresencePenalty() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of presencePenalty field.
- clearPresencePenalty() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of presencePenalty field.
- clearPretokenizationDelimiter() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- clearPreTunedModel() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Clears the value of preTunedModel field.
- clearPreTunedModel() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of preTunedModel field.
- clearPreTunedModelCheckpointId() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of preTunedModelCheckpointId field.
- clearProactiveAudio() - Method in class com.google.genai.types.ProactivityConfig.Builder
-
Clears the value of proactiveAudio field.
- clearProactivity() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of proactivity field.
- clearProactivity() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of proactivity field.
- clearProbability() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of probability field.
- clearProbabilityScore() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of probabilityScore field.
- clearProductImage() - Method in class com.google.genai.types.ProductImage.Builder
-
Clears the value of productImage field.
- clearProductImages() - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Clears the value of productImages field.
- clearPrompt() - Method in class com.google.genai.types.EditImageParameters.Builder
-
Clears the value of prompt field.
- clearPrompt() - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Clears the value of prompt field.
- clearPrompt() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of prompt field.
- clearPrompt() - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Clears the value of prompt field.
- clearPrompt() - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Clears the value of prompt field.
- clearPrompt() - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Clears the value of prompt field.
- clearPromptFeedback() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of promptFeedback field.
- clearPromptTemplate() - Method in class com.google.genai.types.Metric.Builder
-
Clears the value of promptTemplate field.
- clearPromptTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of promptTokenCount field.
- clearPromptTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of promptTokenCount field.
- clearPromptTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of promptTokensDetails field.
- clearPromptTokensDetails() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of promptTokensDetails field.
- clearProperties() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of properties field.
- clearPropertyOrdering() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of propertyOrdering field.
- clearPublicationDate() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of publicationDate field.
- clearPubsubTopic() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of pubsubTopic field.
- clearQueryBase() - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Clears the value of queryBase field.
- clearRagChunk() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Clears the value of ragChunk field.
- clearRagCorpora() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of ragCorpora field.
- clearRagCorpus() - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
-
Clears the value of ragCorpus field.
- clearRagFileIds() - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
-
Clears the value of ragFileIds field.
- clearRagResources() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of ragResources field.
- clearRagRetrievalConfig() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of ragRetrievalConfig field.
- clearRaiFilteredReason() - Method in class com.google.genai.types.GeneratedImage.Builder
-
Clears the value of raiFilteredReason field.
- clearRaiMediaFilteredCount() - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Clears the value of raiMediaFilteredCount field.
- clearRaiMediaFilteredReasons() - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Clears the value of raiMediaFilteredReasons field.
- clearRanking() - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Clears the value of ranking field.
- clearRankService() - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Clears the value of rankService field.
- clearRealtimeInput() - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Clears the value of realtimeInput field.
- clearRealtimeInputConfig() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of realtimeInputConfig field.
- clearRealtimeInputConfig() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of realtimeInputConfig field.
- clearRealtimeInputParameters() - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Clears the value of realtimeInputParameters field.
- clearReferenceId() - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceId() - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Clears the value of referenceId field.
- clearReferenceImage() - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImage() - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Clears the value of referenceImage field.
- clearReferenceImages() - Method in class com.google.genai.types.EditImageParameters.Builder
-
Clears the value of referenceImages field.
- clearReferenceImages() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of referenceImages field.
- clearReferenceType() - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Clears the value of referenceType field.
- clearReferenceType() - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Clears the value of referenceType field.
- clearRelativePublishTimeDescription() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of relativePublishTimeDescription field.
- clearRemoveExtraWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Removes leading, trailing, and duplicate internal whitespace.
- clearRenderedContent() - Method in class com.google.genai.types.SearchEntryPoint.Builder
-
Clears the value of renderedContent field.
- clearReplayId() - Method in class com.google.genai.types.ReplayFile.Builder
-
Clears the value of replayId field.
- clearRequest() - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Clears the value of request field.
- clearRequired() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of required field.
- clearRequiredChars() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- clearResolution() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of resolution field.
- clearResourceName() - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Clears the value of resourceName field.
- clearResponse() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.InlinedResponse.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Clears the value of response field.
- clearResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Clears the value of response field.
- clearResponseId() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of responseId field.
- clearResponseJsonSchema() - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Clears the value of responseJsonSchema field.
- clearResponseJsonSchema() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of responseJsonSchema field.
- clearResponseJsonSchema() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of responseJsonSchema field.
- clearResponseLogprobs() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of responseLogprobs field.
- clearResponseLogprobs() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of responseLogprobs field.
- clearResponseMimeType() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of responseMimeType field.
- clearResponseMimeType() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of responseMimeType field.
- clearResponseModalities() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of responseModalities field.
- clearResponseModalities() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of responseModalities field.
- clearResponseModalities() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of responseModalities field.
- clearResponseSchema() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of responseSchema field.
- clearResponseSchema() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of responseSchema field.
- clearResponseTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of responseTokenCount field.
- clearResponseTokensDetails() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of responseTokensDetails field.
- clearResumable() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Clears the value of resumable field.
- clearRetrieval() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of retrieval field.
- clearRetrievalConfig() - Method in class com.google.genai.types.ToolConfig.Builder
-
Clears the value of retrievalConfig field.
- clearRetrievalMetadata() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of retrievalMetadata field.
- clearRetrievalQueries() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of retrievalQueries field.
- clearRetrievedContext() - Method in class com.google.genai.types.GroundingChunk.Builder
-
Clears the value of retrievedContext field.
- clearRetrievedUrl() - Method in class com.google.genai.types.UrlMetadata.Builder
-
Clears the value of retrievedUrl field.
- clearRetryOptions() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of retryOptions field.
- clearReturnRawOutput() - Method in class com.google.genai.types.Metric.Builder
-
Clears the value of returnRawOutput field.
- clearReview() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of review field.
- clearReviewId() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of reviewId field.
- clearReviewSnippets() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Clears the value of reviewSnippets field.
- clearRight() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Clears the value of right field.
- clearRight() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Clears the value of right field.
- clearRole() - Method in class com.google.genai.types.Content.Builder
-
Clears the value of role field.
- clearRole() - Method in class com.google.genai.types.TokensInfo.Builder
-
Clears the value of role field.
- clearRoutingConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of routingConfig field.
- clearRoutingConfig() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of routingConfig field.
- clearSafetyAttributes() - Method in class com.google.genai.types.GeneratedImage.Builder
-
Clears the value of safetyAttributes field.
- clearSafetyFilterLevel() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of safetyFilterLevel field.
- clearSafetyFilterLevel() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of safetyFilterLevel field.
- clearSafetyFilterLevel() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of safetyFilterLevel field.
- clearSafetyFilterLevel() - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Clears the value of safetyFilterLevel field.
- clearSafetyFilterLevel() - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Clears the value of safetyFilterLevel field.
- clearSafetyRatings() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of safetyRatings field.
- clearSafetyRatings() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Clears the value of safetyRatings field.
- clearSafetySettings() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of safetySettings field.
- clearSamples() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - clearSamplingCount() - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Clears the value of samplingCount field.
- clearScheduling() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of scheduling field.
- clearScore() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional float score = 2; - clearScore() - Method in class com.google.genai.types.EntityLabel.Builder
-
Clears the value of score field.
- clearScore() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
-
Clears the value of score field.
- clearScores() - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Clears the value of scores field.
- clearScoresDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of scoresDistribution field.
- clearScoreVariancePerExampleDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of scoreVariancePerExampleDistribution field.
- clearScribbleImage() - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Clears the value of scribbleImage field.
- clearSdkBlob() - Method in class com.google.genai.types.SearchEntryPoint.Builder
-
Clears the value of sdkBlob field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.CreateFileResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.DeleteCachedContentResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.DeleteFileResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.DeleteModelResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.EditImageResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.TuningOperation.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkHttpResponse() - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Clears the value of sdkHttpResponse field.
- clearSdkResponseSegments() - Method in class com.google.genai.types.ReplayResponse.Builder
-
Clears the value of sdkResponseSegments field.
- clearSearchEntryPoint() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of searchEntryPoint field.
- clearSearchTemplate() - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Clears the value of searchTemplate field.
- clearSeed() - Method in class com.google.genai.types.EditImageConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of seed field.
- clearSeed() - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Clears the value of seed field.
- clearSeedSentencepiecesFile() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- clearSeedSentencepieceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The size of seed sentencepieces.
- clearSegment() - Method in class com.google.genai.types.GroundingSupport.Builder
-
Clears the value of segment field.
- clearSegmentationClasses() - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Clears the value of segmentationClasses field.
- clearSelfTestData() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- clearSelfTestSampleSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Size of self-test samples, which are encoded in the model file.
- clearServerContent() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of serverContent field.
- clearServiceAccount() - Method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
-
Clears the value of serviceAccount field.
- clearServiceAccount() - Method in class com.google.genai.types.AuthConfigOauthConfig.Builder
-
Clears the value of serviceAccount field.
- clearServiceAccount() - Method in class com.google.genai.types.AuthConfigOidcConfig.Builder
-
Clears the value of serviceAccount field.
- clearServiceAccount() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of serviceAccount field.
- clearSessionId() - Method in class com.google.genai.types.LiveServerSetupComplete.Builder
-
Clears the value of sessionId field.
- clearSessionResumption() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of sessionResumption field.
- clearSessionResumption() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of sessionResumption field.
- clearSessionResumptionUpdate() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of sessionResumptionUpdate field.
- clearSetup() - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Clears the value of setup field.
- clearSetupComplete() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of setupComplete field.
- clearSeverity() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of severity field.
- clearSeverityScore() - Method in class com.google.genai.types.SafetyRating.Builder
-
Clears the value of severityScore field.
- clearSha256Hash() - Method in class com.google.genai.types.File.Builder
-
Clears the value of sha256Hash field.
- clearShouldReturnHttpResponse() - Method in class com.google.genai.types.CreateFileConfig.Builder
-
Clears the value of shouldReturnHttpResponse field.
- clearShouldReturnHttpResponse() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of shouldReturnHttpResponse field.
- clearShouldReturnHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Clears the value of shouldReturnHttpResponse field.
- clearShrinkingFactor() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- clearShuffleInputSentence() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional bool shuffle_input_sentence = 19 [default = true]; - clearSilenceDurationMs() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Clears the value of silenceDurationMs field.
- clearSimilarityTopK() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of similarityTopK field.
- clearSimpleSearchParams() - Method in class com.google.genai.types.ExternalApi.Builder
-
Clears the value of simpleSearchParams field.
- clearSizeBytes() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of sizeBytes field.
- clearSizeBytes() - Method in class com.google.genai.types.File.Builder
-
Clears the value of sizeBytes field.
- clearSizeBytes() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of sizeBytes field.
- clearSkipInApiMode() - Method in class com.google.genai.types.TestTableItem.Builder
-
Clears the value of skipInApiMode field.
- clearSlidingWindow() - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
-
Clears the value of slidingWindow field.
- clearSource() - Method in class com.google.genai.types.File.Builder
-
Clears the value of source field.
- clearSource() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of source field.
- clearSource() - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Clears the value of source field.
- clearSource() - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Clears the value of source field.
- clearSourceFlaggingUris() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of sourceFlaggingUris field.
- clearSourceId() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
-
Clears the value of sourceId field.
- clearSpeaker() - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
-
Clears the value of speaker field.
- clearSpeakerVoiceConfigs() - Method in class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
-
Clears the value of speakerVoiceConfigs field.
- clearSpeechConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of speechConfig field.
- clearSpeechConfig() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of speechConfig field.
- clearSpeechConfig() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of speechConfig field.
- clearSplitByNumber() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- clearSplitByUnicodeScript() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Uses Unicode script to split sentence pieces.
- clearSplitByWhitespace() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Use a white space to split sentence pieces.
- clearSplitDigits() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Split all digits (0-9) into separate pieces.
- clearSrc() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of src field.
- clearSrc() - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Clears the value of src field.
- clearSrc() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Clears the value of src field.
- clearStartIndex() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of startIndex field.
- clearStartIndex() - Method in class com.google.genai.types.Segment.Builder
-
Clears the value of startIndex field.
- clearStartOffset() - Method in class com.google.genai.types.VideoMetadata.Builder
-
Clears the value of startOffset field.
- clearStartOfSpeechSensitivity() - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Clears the value of startOfSpeechSensitivity field.
- clearStartTime() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of startTime field.
- clearStartTime() - Method in class com.google.genai.types.Interval.Builder
-
Clears the value of startTime field.
- clearStartTime() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of startTime field.
- clearState() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of state field.
- clearState() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of state field.
- clearState() - Method in class com.google.genai.types.File.Builder
-
Clears the value of state field.
- clearState() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of state field.
- clearStatistics() - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Clears the value of statistics field.
- clearStatusCode() - Method in class com.google.genai.types.ReplayResponse.Builder
-
Clears the value of statusCode field.
- clearStep() - Method in class com.google.genai.types.Checkpoint.Builder
-
Clears the value of step field.
- clearStep() - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Clears the value of step field.
- clearStopSequences() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of stopSequences field.
- clearStopSequences() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of stopSequences field.
- clearStoreContext() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of storeContext field.
- clearStreamFunctionCallArguments() - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Clears the value of streamFunctionCallArguments field.
- clearStringListValue() - Method in class com.google.genai.types.CustomMetadata.Builder
-
Clears the value of stringListValue field.
- clearStringValue() - Method in class com.google.genai.types.CustomMetadata.Builder
-
Clears the value of stringValue field.
- clearStringValue() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of stringValue field.
- clearStyleDescription() - Method in class com.google.genai.types.StyleReferenceConfig.Builder
-
Clears the value of styleDescription field.
- clearStyleImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of styleImageConfig field.
- clearSubjectDescription() - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Clears the value of subjectDescription field.
- clearSubjectImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Clears the value of subjectImageConfig field.
- clearSubjectType() - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Clears the value of subjectType field.
- clearSuccessfulCount() - Method in class com.google.genai.types.CompletionStats.Builder
-
Clears the value of successfulCount field.
- clearSuccessfulForecastPointCount() - Method in class com.google.genai.types.CompletionStats.Builder
-
Clears the value of successfulForecastPointCount field.
- clearSum() - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Clears the value of sum field.
- clearSum() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Clears the value of sum field.
- clearSupervisedTuningDataStats() - Method in class com.google.genai.types.TuningDataStats.Builder
-
Clears the value of supervisedTuningDataStats field.
- clearSupervisedTuningSpec() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of supervisedTuningSpec field.
- clearSupportedActions() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of supportedActions field.
- clearSystemInstruction() - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Clears the value of systemInstruction field.
- clearSystemInstruction() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of systemInstruction field.
- clearSystemInstruction() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of systemInstruction field.
- clearSystemInstruction() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of systemInstruction field.
- clearSystemInstruction() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of systemInstruction field.
- clearTargetTokens() - Method in class com.google.genai.types.SlidingWindow.Builder
-
Clears the value of targetTokens field.
- clearTaskType() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of taskType field.
- clearTemperature() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of temperature field.
- clearTemperature() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of temperature field.
- clearTemperature() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of temperature field.
- clearTemperature() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of temperature field.
- clearTestMethod() - Method in class com.google.genai.types.TestTableFile.Builder
-
Clears the value of testMethod field.
- clearTestTable() - Method in class com.google.genai.types.TestTableFile.Builder
-
Clears the value of testTable field.
- clearText() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.RagChunk.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.Segment.Builder
-
Clears the value of text field.
- clearText() - Method in class com.google.genai.types.Transcription.Builder
-
Clears the value of text field.
- clearTextCount() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Clears the value of textCount field.
- clearTextInput() - Method in class com.google.genai.types.TuningExample.Builder
-
Clears the value of textInput field.
- clearThinking() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of thinking field.
- clearThinkingBudget() - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Clears the value of thinkingBudget field.
- clearThinkingConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of thinkingConfig field.
- clearThinkingConfig() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of thinkingConfig field.
- clearThinkingConfig() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of thinkingConfig field.
- clearThinkingLevel() - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Clears the value of thinkingLevel field.
- clearThought() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of thought field.
- clearThoughtSignature() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of thoughtSignature field.
- clearThoughtsTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of thoughtsTokenCount field.
- clearThoughtsTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of thoughtsTokenCount field.
- clearThreshold() - Method in class com.google.genai.types.SafetySetting.Builder
-
Clears the value of threshold field.
- clearTimeLeft() - Method in class com.google.genai.types.LiveServerGoAway.Builder
-
Clears the value of timeLeft field.
- clearTimeout() - Method in class com.google.genai.types.HttpOptions.Builder
-
Clears the value of timeout field.
- clearTimeRangeFilter() - Method in class com.google.genai.types.GoogleSearch.Builder
-
Clears the value of timeRangeFilter field.
- clearTitle() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Clears the value of title field.
- clearTitle() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of title field.
- clearToken() - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Clears the value of token field.
- clearTokenCount() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of tokenCount field.
- clearTokenCount() - Method in class com.google.genai.types.ContentEmbeddingStatistics.Builder
-
Clears the value of tokenCount field.
- clearTokenCount() - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Clears the value of tokenCount field.
- clearTokenCount() - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
-
Clears the value of tokenCount field.
- clearTokenId() - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Clears the value of tokenId field.
- clearTokenIds() - Method in class com.google.genai.types.TokensInfo.Builder
-
Clears the value of tokenIds field.
- clearTokens() - Method in class com.google.genai.types.TokensInfo.Builder
-
Clears the value of tokens field.
- clearTokensInfo() - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Clears the value of tokensInfo field.
- clearTokensInfo() - Method in class com.google.genai.types.ComputeTokensResult.Builder
-
Clears the value of tokensInfo field.
- clearToolCall() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of toolCall field.
- clearToolCallCancellation() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of toolCallCancellation field.
- clearToolConfig() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of toolConfig field.
- clearToolConfig() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of toolConfig field.
- clearToolResponse() - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Clears the value of toolResponse field.
- clearTools() - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Clears the value of tools field.
- clearTools() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of tools field.
- clearTools() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of tools field.
- clearTools() - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Clears the value of tools field.
- clearTools() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of tools field.
- clearToolUsePromptTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of toolUsePromptTokenCount field.
- clearToolUsePromptTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of toolUsePromptTokenCount field.
- clearToolUsePromptTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of toolUsePromptTokensDetails field.
- clearToolUsePromptTokensDetails() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of toolUsePromptTokensDetails field.
- clearTopCandidates() - Method in class com.google.genai.types.LogprobsResult.Builder
-
Clears the value of topCandidates field.
- clearTopK() - Method in class com.google.genai.types.FileSearch.Builder
-
Clears the value of topK field.
- clearTopK() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of topK field.
- clearTopK() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of topK field.
- clearTopK() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of topK field.
- clearTopK() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of topK field.
- clearTopK() - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Clears the value of topK field.
- clearTopP() - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Clears the value of topP field.
- clearTopP() - Method in class com.google.genai.types.GenerationConfig.Builder
-
Clears the value of topP field.
- clearTopP() - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Clears the value of topP field.
- clearTopP() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of topP field.
- clearTotalBillableCharacterCount() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of totalBillableCharacterCount field.
- clearTotalBillableCharacterCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of totalBillableCharacterCount field.
- clearTotalBillableTokenCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of totalBillableTokenCount field.
- clearTotalBillableTokenCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of totalBillableTokenCount field.
- clearTotalTokenCount() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Clears the value of totalTokenCount field.
- clearTotalTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of totalTokenCount field.
- clearTotalTokenCount() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of totalTokenCount field.
- clearTotalTokens() - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Clears the value of totalTokens field.
- clearTotalTokens() - Method in class com.google.genai.types.CountTokensResult.Builder
-
Clears the value of totalTokens field.
- clearTotalTruncatedExampleCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of totalTruncatedExampleCount field.
- clearTotalTuningCharacterCount() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of totalTuningCharacterCount field.
- clearTotalTuningCharacterCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of totalTuningCharacterCount field.
- clearTrafficType() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Clears the value of trafficType field.
- clearTrafficType() - Method in class com.google.genai.types.UsageMetadata.Builder
-
Clears the value of trafficType field.
- clearTrainerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- clearTrainExtremelyLargeCorpus() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- clearTrainingDataset() - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Clears the value of trainingDataset field.
- clearTrainingDataset() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Clears the value of trainingDataset field.
- clearTrainingDatasetStats() - Method in class com.google.genai.types.DistillationDataStats.Builder
-
Clears the value of trainingDatasetStats field.
- clearTrainingDatasetUri() - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Clears the value of trainingDatasetUri field.
- clearTrainingDatasetUri() - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Clears the value of trainingDatasetUri field.
- clearTrainingDatasetUri() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Clears the value of trainingDatasetUri field.
- clearTrainingDatasetUri() - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Clears the value of trainingDatasetUri field.
- clearTrainingSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.
- clearTransparent() - Method in class com.google.genai.types.SessionResumptionConfig.Builder
-
Clears the value of transparent field.
- clearTreatWhitespaceAsSuffix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- clearTriggerTokens() - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
-
Clears the value of triggerTokens field.
- clearTruncated() - Method in class com.google.genai.types.ContentEmbeddingStatistics.Builder
-
Clears the value of truncated field.
- clearTruncatedExampleIndices() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of truncatedExampleIndices field.
- clearTtl() - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Clears the value of ttl field.
- clearTtl() - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Clears the value of ttl field.
- clearTunedModel() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of tunedModel field.
- clearTunedModelDisplayName() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of tunedModelDisplayName field.
- clearTunedModelDisplayName() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of tunedModelDisplayName field.
- clearTunedModelInfo() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of tunedModelInfo field.
- clearTunedModelName() - Method in class com.google.genai.types.PreTunedModel.Builder
-
Clears the value of tunedModelName field.
- clearTuningDatasetExampleCount() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of tuningDatasetExampleCount field.
- clearTuningDatasetExampleCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of tuningDatasetExampleCount field.
- clearTuningDatasetExampleCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of tuningDatasetExampleCount field.
- clearTuningDataStats() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of tuningDataStats field.
- clearTuningJobs() - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Clears the value of tuningJobs field.
- clearTuningMode() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Clears the value of tuningMode field.
- clearTuningStepCount() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of tuningStepCount field.
- clearTuningStepCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of tuningStepCount field.
- clearTuningStepCount() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of tuningStepCount field.
- clearTuningTask() - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Clears the value of tuningTask field.
- clearTurnComplete() - Method in class com.google.genai.types.LiveClientContent.Builder
-
Clears the value of turnComplete field.
- clearTurnComplete() - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Clears the value of turnComplete field.
- clearTurnComplete() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of turnComplete field.
- clearTurnCompleteReason() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of turnCompleteReason field.
- clearTurnCoverage() - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Clears the value of turnCoverage field.
- clearTurns() - Method in class com.google.genai.types.LiveClientContent.Builder
-
Clears the value of turns field.
- clearTurns() - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Clears the value of turns field.
- clearType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - clearType() - Method in class com.google.genai.types.Schema.Builder
-
Clears the value of type field.
- clearUnkId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- clearUnkPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - clearUnkSurface() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- clearUpdateTime() - Method in class com.google.genai.types.BatchJob.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.Document.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.File.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.FileSearchStore.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Clears the value of updateTime field.
- clearUpdateTime() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of updateTime field.
- clearUpscaleFactor() - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Clears the value of upscaleFactor field.
- clearUpscaleFactor() - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Clears the value of upscaleFactor field.
- clearUri() - Method in class com.google.genai.types.Citation.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.File.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Clears the value of uri field.
- clearUri() - Method in class com.google.genai.types.Video.Builder
-
Clears the value of uri field.
- clearUrl() - Method in class com.google.genai.types.ReplayRequest.Builder
-
Clears the value of url field.
- clearUrlContext() - Method in class com.google.genai.types.Tool.Builder
-
Clears the value of urlContext field.
- clearUrlContextMetadata() - Method in class com.google.genai.types.Candidate.Builder
-
Clears the value of urlContextMetadata field.
- clearUrlContextMetadata() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of urlContextMetadata field.
- clearUrlMetadata() - Method in class com.google.genai.types.UrlContextMetadata.Builder
-
Clears the value of urlMetadata field.
- clearUrlRetrievalStatus() - Method in class com.google.genai.types.UrlMetadata.Builder
-
Clears the value of urlRetrievalStatus field.
- clearUsageMetadata() - Method in class com.google.genai.types.CachedContent.Builder
-
Clears the value of usageMetadata field.
- clearUsageMetadata() - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Clears the value of usageMetadata field.
- clearUsageMetadata() - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Clears the value of usageMetadata field.
- clearUseAllVocab() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
use all symbols for vocab extraction.
- clearUserDatasetExamples() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of userDatasetExamples field.
- clearUserDatasetExamples() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of userDatasetExamples field.
- clearUserDatasetExamples() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of userDatasetExamples field.
- clearUserDefinedSymbols() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- clearUserInputTokenDistribution() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of userInputTokenDistribution field.
- clearUserInputTokenDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of userInputTokenDistribution field.
- clearUserInputTokenDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of userInputTokenDistribution field.
- clearUserMessagePerExampleDistribution() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of userMessagePerExampleDistribution field.
- clearUserMessagePerExampleDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of userMessagePerExampleDistribution field.
- clearUserOutputTokenDistribution() - Method in class com.google.genai.types.DatasetStats.Builder
-
Clears the value of userOutputTokenDistribution field.
- clearUserOutputTokenDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Clears the value of userOutputTokenDistribution field.
- clearUserOutputTokenDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Clears the value of userOutputTokenDistribution field.
- clearValidationDataset() - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Clears the value of validationDataset field.
- clearValidationDatasetUri() - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Clears the value of validationDatasetUri field.
- clearValidationDatasetUri() - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Clears the value of validationDatasetUri field.
- clearValidationDatasetUri() - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Clears the value of validationDatasetUri field.
- clearValidationDatasetUri() - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Clears the value of validationDatasetUri field.
- clearValues() - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Clears the value of values field.
- clearValues() - Method in class com.google.genai.types.StringList.Builder
-
Clears the value of values field.
- clearVectorDistanceThreshold() - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Clears the value of vectorDistanceThreshold field.
- clearVectorDistanceThreshold() - Method in class com.google.genai.types.VertexRagStore.Builder
-
Clears the value of vectorDistanceThreshold field.
- clearVectorSimilarityThreshold() - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Clears the value of vectorSimilarityThreshold field.
- clearVeoTuningSpec() - Method in class com.google.genai.types.TuningJob.Builder
-
Clears the value of veoTuningSpec field.
- clearVersion() - Method in class com.google.genai.types.Model.Builder
-
Clears the value of version field.
- clearVertexAiSearch() - Method in class com.google.genai.types.Retrieval.Builder
-
Clears the value of vertexAiSearch field.
- clearVertexDatasetResource() - Method in class com.google.genai.types.TuningDataset.Builder
-
Clears the value of vertexDatasetResource field.
- clearVertexDatasetResource() - Method in class com.google.genai.types.TuningValidationDataset.Builder
-
Clears the value of vertexDatasetResource field.
- clearVertexRagStore() - Method in class com.google.genai.types.Retrieval.Builder
-
Clears the value of vertexRagStore field.
- clearVideo() - Method in class com.google.genai.types.GeneratedVideo.Builder
-
Clears the value of video field.
- clearVideo() - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Clears the value of video field.
- clearVideo() - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Clears the value of video field.
- clearVideo() - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Clears the value of video field.
- clearVideo() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Clears the value of video field.
- clearVideoBytes() - Method in class com.google.genai.types.Video.Builder
-
Clears the value of videoBytes field.
- clearVideoDurationSeconds() - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Clears the value of videoDurationSeconds field.
- clearVideoMetadata() - Method in class com.google.genai.types.File.Builder
-
Clears the value of videoMetadata field.
- clearVideoMetadata() - Method in class com.google.genai.types.Part.Builder
-
Clears the value of videoMetadata field.
- clearVocabSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Vocabulary size.
- clearVocabularyOutputPieceScore() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- clearVoiceConfig() - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
-
Clears the value of voiceConfig field.
- clearVoiceConfig() - Method in class com.google.genai.types.SpeechConfig.Builder
-
Clears the value of voiceConfig field.
- clearVoiceName() - Method in class com.google.genai.types.PrebuiltVoiceConfig.Builder
-
Clears the value of voiceName field.
- clearWaitingForInput() - Method in class com.google.genai.types.LiveServerContent.Builder
-
Clears the value of waitingForInput field.
- clearWeb() - Method in class com.google.genai.types.GroundingChunk.Builder
-
Clears the value of web field.
- clearWebSearchQueries() - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Clears the value of webSearchQueries field.
- clearWhiteSpaceConfig() - Method in class com.google.genai.types.ChunkingConfig.Builder
-
Clears the value of whiteSpaceConfig field.
- clearWillContinue() - Method in class com.google.genai.types.FunctionCall.Builder
-
Clears the value of willContinue field.
- clearWillContinue() - Method in class com.google.genai.types.FunctionResponse.Builder
-
Clears the value of willContinue field.
- clearWillContinue() - Method in class com.google.genai.types.PartialArg.Builder
-
Clears the value of willContinue field.
- clearYear() - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Clears the value of year field.
- Client - Class in com.google.genai
-
Client class for GenAI.
- Client() - Constructor for class com.google.genai.Client
-
Constructs a Client instance with environment variables.
- Client.Async - Class in com.google.genai
-
Async class for GenAI.
- Client.Builder - Class in com.google.genai
-
Builder for
Client. - clientContent() - Method in class com.google.genai.types.LiveClientMessage
-
Incremental update of the current conversation delivered from the client.
- clientContent(LiveClientContent) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for clientContent.
- clientContent(LiveClientContent.Builder) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for clientContent builder.
- ClientException - Exception in com.google.genai.errors
-
Client exception raised by the GenAI API.
- ClientException(int, String, String) - Constructor for exception com.google.genai.errors.ClientException
-
Creates a new ClientException with the specified message.
- clientOptions(ClientOptions) - Method in class com.google.genai.Client.Builder
-
Sets the
ClientOptionsfor the API client. - ClientOptions - Class in com.google.genai.types
-
Client options to be used in the client instantiation.
- ClientOptions() - Constructor for class com.google.genai.types.ClientOptions
- ClientOptions.Builder - Class in com.google.genai.types
-
Builder for ClientOptions.
- clone() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- clone() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- clone() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- clone() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- clone() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- clone() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- close() - Method in class com.google.genai.AsyncSession
-
Closes the WebSocket connection.
- close() - Method in class com.google.genai.Client
-
Closes the Client instance together with its instantiated http client.
- close() - Method in class com.google.genai.ResponseStream
- code() - Method in exception com.google.genai.errors.ApiException
-
Returns the status code from the API response.
- code() - Method in class com.google.genai.types.ExecutableCode
-
Required.
- code() - Method in class com.google.genai.types.FileStatus
-
The status code.
- code() - Method in class com.google.genai.types.GoogleRpcStatus
-
The status code, which should be an enum value of google.rpc.Code.
- code() - Method in class com.google.genai.types.JobError
-
The status code.
- code(Integer) - Method in class com.google.genai.types.FileStatus.Builder
-
Setter for code.
- code(Integer) - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Setter for code.
- code(Integer) - Method in class com.google.genai.types.JobError.Builder
-
Setter for code.
- code(String) - Method in class com.google.genai.types.ExecutableCode.Builder
-
Setter for code.
- codeExecution() - Method in class com.google.genai.types.Tool
-
Optional.
- codeExecution(ToolCodeExecution) - Method in class com.google.genai.types.Tool.Builder
-
Setter for codeExecution.
- codeExecution(ToolCodeExecution.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for codeExecution builder.
- codeExecutionResult() - Method in class com.google.genai.types.GenerateContentResponse
-
Returns the code execution result in the response.
- codeExecutionResult() - Method in class com.google.genai.types.Part
-
Optional.
- codeExecutionResult(CodeExecutionResult) - Method in class com.google.genai.types.Part.Builder
-
Setter for codeExecutionResult.
- codeExecutionResult(CodeExecutionResult.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for codeExecutionResult builder.
- CodeExecutionResult - Class in com.google.genai.types
-
Result of executing the [ExecutableCode].
- CodeExecutionResult() - Constructor for class com.google.genai.types.CodeExecutionResult
- CodeExecutionResult.Builder - Class in com.google.genai.types
-
Builder for CodeExecutionResult.
- com.google.genai - package com.google.genai
- com.google.genai.errors - package com.google.genai.errors
- com.google.genai.proto - package com.google.genai.proto
- com.google.genai.types - package com.google.genai.types
- comment() - Method in class com.google.genai.types.TestTableFile
- comment(String) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for comment.
- completion() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion
-
Single turn completion for the given prompt.
- completion(Content) - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
-
Setter for completion.
- completion(Content.Builder) - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
-
Setter for completion builder.
- completions() - Method in class com.google.genai.types.GeminiPreferenceExample
-
List of completions for a given prompt.
- completions(GeminiPreferenceExampleCompletion...) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for completions.
- completions(GeminiPreferenceExampleCompletion.Builder...) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for completions builder.
- completions(List<GeminiPreferenceExampleCompletion>) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for completions.
- completionStats() - Method in class com.google.genai.types.BatchJob
-
Statistics on completed and failed prediction instances.
- completionStats(CompletionStats) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for completionStats.
- completionStats(CompletionStats.Builder) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for completionStats builder.
- CompletionStats - Class in com.google.genai.types
-
Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch.
- CompletionStats() - Constructor for class com.google.genai.types.CompletionStats
- CompletionStats.Builder - Class in com.google.genai.types
-
Builder for CompletionStats.
- compressionQuality() - Method in class com.google.genai.types.GenerateVideosConfig
-
Compression quality of the generated videos.
- compressionQuality(VideoCompressionQuality) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for compressionQuality.
- compressionQuality(VideoCompressionQuality.Known) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for compressionQuality given a known enum.
- compressionQuality(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for compressionQuality given a string.
- computerUse() - Method in class com.google.genai.types.Tool
-
Optional.
- computerUse(ComputerUse) - Method in class com.google.genai.types.Tool.Builder
-
Setter for computerUse.
- computerUse(ComputerUse.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for computerUse builder.
- ComputerUse - Class in com.google.genai.types
-
Tool to support computer use.
- ComputerUse() - Constructor for class com.google.genai.types.ComputerUse
- ComputerUse.Builder - Class in com.google.genai.types
-
Builder for ComputerUse.
- computeTokens(Content) - Method in class com.google.genai.LocalTokenizer
-
Computes the token ids and string pieces for a single content object.
- computeTokens(String) - Method in class com.google.genai.LocalTokenizer
-
Computes the token ids and string pieces for a text string.
- computeTokens(String, String, ComputeTokensConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously computes tokens given a GenAI model and a text string.
- computeTokens(String, String, ComputeTokensConfig) - Method in class com.google.genai.Models
-
Computes tokens given a GenAI model and a text string.
- computeTokens(String, List<Content>, ComputeTokensConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously computes tokens given a GenAI model and a list of content.
- computeTokens(String, List<Content>, ComputeTokensConfig) - Method in class com.google.genai.Models
-
Computes tokens given a GenAI model and a list of content.
- computeTokens(List<Content>) - Method in class com.google.genai.LocalTokenizer
-
Computes the tokens ids and string pieces in the input.
- ComputeTokensConfig - Class in com.google.genai.types
-
Optional parameters for computing tokens.
- ComputeTokensConfig() - Constructor for class com.google.genai.types.ComputeTokensConfig
- ComputeTokensConfig.Builder - Class in com.google.genai.types
-
Builder for ComputeTokensConfig.
- ComputeTokensParameters - Class in com.google.genai.types
-
Parameters for computing tokens.
- ComputeTokensParameters() - Constructor for class com.google.genai.types.ComputeTokensParameters
- ComputeTokensParameters.Builder - Class in com.google.genai.types
-
Builder for ComputeTokensParameters.
- ComputeTokensResponse - Class in com.google.genai.types
-
Response for computing tokens.
- ComputeTokensResponse() - Constructor for class com.google.genai.types.ComputeTokensResponse
- ComputeTokensResponse.Builder - Class in com.google.genai.types
-
Builder for ComputeTokensResponse.
- ComputeTokensResult - Class in com.google.genai.types
-
Local tokenizer compute tokens result.
- ComputeTokensResult() - Constructor for class com.google.genai.types.ComputeTokensResult
- ComputeTokensResult.Builder - Class in com.google.genai.types
-
Builder for ComputeTokensResult.
- confidenceScores() - Method in class com.google.genai.types.GroundingSupport
-
Confidence score of the support references.
- confidenceScores(Float...) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for confidenceScores.
- confidenceScores(List<Float>) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for confidenceScores.
- confidenceThreshold() - Method in class com.google.genai.types.SegmentImageConfig
-
The confidence score threshold for the detections as a decimal value.
- confidenceThreshold(Float) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for confidenceThreshold.
- config() - Method in class com.google.genai.types.CancelBatchJobParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.CancelTuningJobParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.ComputeTokensParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.ControlReferenceImage
-
Configuration for the control reference image.
- config() - Method in class com.google.genai.types.CountTokensParameters
-
Configuration for counting tokens.
- config() - Method in class com.google.genai.types.CreateBatchJobParameters
-
Optional parameters for creating a BatchJob.
- config() - Method in class com.google.genai.types.CreateCachedContentParameters
-
Configuration that contains optional parameters.
- config() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
Optional parameters for creating a BatchJob.
- config() - Method in class com.google.genai.types.CreateFileParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.CreateFileSearchStoreParameters
-
Optional parameters for creating a file search store.
- config() - Method in class com.google.genai.types.CreateTuningJobParameters
-
Configuration for the tuning job.
- config() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
Configuration for the tuning job.
- config() - Method in class com.google.genai.types.DeleteBatchJobParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.DeleteCachedContentParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.DeleteDocumentParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.DeleteFileParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.DeleteModelParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.EditImageParameters
-
Configuration for editing.
- config() - Method in class com.google.genai.types.EmbedContentBatch
-
Configuration that contains optional parameters.
- config() - Method in class com.google.genai.types.EmbedContentParameters
-
Configuration that contains optional parameters.
- config() - Method in class com.google.genai.types.FetchPredictOperationParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.GenerateContentParameters
-
Configuration that contains optional model parameters.
- config() - Method in class com.google.genai.types.GenerateImagesParameters
-
Configuration for generating images.
- config() - Method in class com.google.genai.types.GenerateVideosParameters
-
Configuration for generating videos.
- config() - Method in class com.google.genai.types.GetBatchJobParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.GetCachedContentParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.GetDocumentParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.GetFileParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.GetFileSearchStoreParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.GetModelParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.GetOperationParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.GetTuningJobParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.ImportFileParameters
-
Optional parameters for the request.
- config() - Method in class com.google.genai.types.InlinedRequest
-
Configuration that contains optional model parameters.
- config() - Method in class com.google.genai.types.ListBatchJobsParameters
- config() - Method in class com.google.genai.types.ListCachedContentsParameters
-
Configuration that contains optional parameters.
- config() - Method in class com.google.genai.types.ListDocumentsParameters
- config() - Method in class com.google.genai.types.ListFileSearchStoresParameters
-
Optional parameters for the list request.
- config() - Method in class com.google.genai.types.ListFilesParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.ListModelsParameters
- config() - Method in class com.google.genai.types.ListTuningJobsParameters
- config() - Method in class com.google.genai.types.LiveConnectParameters
-
Optional configuration parameters for the request.
- config() - Method in class com.google.genai.types.MaskReferenceImage
-
Configuration for the mask reference image.
- config() - Method in class com.google.genai.types.RecontextImageParameters
-
Configuration for image recontextualization.
- config() - Method in class com.google.genai.types.SegmentImageParameters
-
Configuration for image segmentation.
- config() - Method in class com.google.genai.types.StyleReferenceImage
-
Configuration for the style reference image.
- config() - Method in class com.google.genai.types.SubjectReferenceImage
-
Configuration for the subject reference image.
- config() - Method in class com.google.genai.types.UpdateCachedContentParameters
-
Configuration that contains optional parameters.
- config() - Method in class com.google.genai.types.UpdateModelParameters
- config() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters
-
Used to override the default configuration.
- config() - Method in class com.google.genai.types.UpscaleImageAPIParameters
-
Configuration for upscaling.
- config() - Method in class com.google.genai.types.UpscaleImageParameters
-
Configuration for upscaling.
- config(CancelBatchJobConfig) - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
-
Setter for config.
- config(CancelBatchJobConfig.Builder) - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
-
Setter for config builder.
- config(CancelTuningJobConfig) - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
-
Setter for config.
- config(CancelTuningJobConfig.Builder) - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
-
Setter for config builder.
- config(ComputeTokensConfig) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for config.
- config(ComputeTokensConfig.Builder) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for config builder.
- config(ControlReferenceConfig) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for config.
- config(ControlReferenceConfig.Builder) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for config builder.
- config(CountTokensConfig) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for config.
- config(CountTokensConfig.Builder) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for config builder.
- config(CreateBatchJobConfig) - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Setter for config.
- config(CreateBatchJobConfig.Builder) - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Setter for config builder.
- config(CreateCachedContentConfig) - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
-
Setter for config.
- config(CreateCachedContentConfig.Builder) - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
-
Setter for config builder.
- config(CreateEmbeddingsBatchJobConfig) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Setter for config.
- config(CreateEmbeddingsBatchJobConfig.Builder) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Setter for config builder.
- config(CreateFileConfig) - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Setter for config.
- config(CreateFileConfig.Builder) - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Setter for config builder.
- config(CreateFileSearchStoreConfig) - Method in class com.google.genai.types.CreateFileSearchStoreParameters.Builder
-
Setter for config.
- config(CreateFileSearchStoreConfig.Builder) - Method in class com.google.genai.types.CreateFileSearchStoreParameters.Builder
-
Setter for config builder.
- config(CreateTuningJobConfig) - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Setter for config.
- config(CreateTuningJobConfig) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for config.
- config(CreateTuningJobConfig.Builder) - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Setter for config builder.
- config(CreateTuningJobConfig.Builder) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for config builder.
- config(DeleteBatchJobConfig) - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
-
Setter for config.
- config(DeleteBatchJobConfig.Builder) - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
-
Setter for config builder.
- config(DeleteCachedContentConfig) - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
-
Setter for config.
- config(DeleteCachedContentConfig.Builder) - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
-
Setter for config builder.
- config(DeleteDocumentConfig) - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
-
Setter for config.
- config(DeleteDocumentConfig.Builder) - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
-
Setter for config builder.
- config(DeleteFileConfig) - Method in class com.google.genai.types.DeleteFileParameters.Builder
-
Setter for config.
- config(DeleteFileConfig.Builder) - Method in class com.google.genai.types.DeleteFileParameters.Builder
-
Setter for config builder.
- config(DeleteFileSearchStoreConfig) - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
-
Setter for config.
- config(DeleteFileSearchStoreConfig.Builder) - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
-
Setter for config builder.
- config(DeleteModelConfig) - Method in class com.google.genai.types.DeleteModelParameters.Builder
-
Setter for config.
- config(DeleteModelConfig.Builder) - Method in class com.google.genai.types.DeleteModelParameters.Builder
-
Setter for config builder.
- config(EditImageConfig) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for config.
- config(EditImageConfig.Builder) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for config builder.
- config(EmbedContentConfig) - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Setter for config.
- config(EmbedContentConfig) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for config.
- config(EmbedContentConfig.Builder) - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Setter for config builder.
- config(EmbedContentConfig.Builder) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for config builder.
- config(FetchPredictOperationConfig) - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Setter for config.
- config(FetchPredictOperationConfig.Builder) - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Setter for config builder.
- config(GenerateContentConfig) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for config.
- config(GenerateContentConfig) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for config.
- config(GenerateContentConfig.Builder) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for config builder.
- config(GenerateContentConfig.Builder) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for config builder.
- config(GenerateImagesConfig) - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Setter for config.
- config(GenerateImagesConfig.Builder) - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Setter for config builder.
- config(GenerateVideosConfig) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for config.
- config(GenerateVideosConfig.Builder) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for config builder.
- config(GetBatchJobConfig) - Method in class com.google.genai.types.GetBatchJobParameters.Builder
-
Setter for config.
- config(GetBatchJobConfig.Builder) - Method in class com.google.genai.types.GetBatchJobParameters.Builder
-
Setter for config builder.
- config(GetCachedContentConfig) - Method in class com.google.genai.types.GetCachedContentParameters.Builder
-
Setter for config.
- config(GetCachedContentConfig.Builder) - Method in class com.google.genai.types.GetCachedContentParameters.Builder
-
Setter for config builder.
- config(GetDocumentConfig) - Method in class com.google.genai.types.GetDocumentParameters.Builder
-
Setter for config.
- config(GetDocumentConfig.Builder) - Method in class com.google.genai.types.GetDocumentParameters.Builder
-
Setter for config builder.
- config(GetFileConfig) - Method in class com.google.genai.types.GetFileParameters.Builder
-
Setter for config.
- config(GetFileConfig.Builder) - Method in class com.google.genai.types.GetFileParameters.Builder
-
Setter for config builder.
- config(GetFileSearchStoreConfig) - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
-
Setter for config.
- config(GetFileSearchStoreConfig.Builder) - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
-
Setter for config builder.
- config(GetModelConfig) - Method in class com.google.genai.types.GetModelParameters.Builder
-
Setter for config.
- config(GetModelConfig.Builder) - Method in class com.google.genai.types.GetModelParameters.Builder
-
Setter for config builder.
- config(GetOperationConfig) - Method in class com.google.genai.types.GetOperationParameters.Builder
-
Setter for config.
- config(GetOperationConfig.Builder) - Method in class com.google.genai.types.GetOperationParameters.Builder
-
Setter for config builder.
- config(GetTuningJobConfig) - Method in class com.google.genai.types.GetTuningJobParameters.Builder
-
Setter for config.
- config(GetTuningJobConfig.Builder) - Method in class com.google.genai.types.GetTuningJobParameters.Builder
-
Setter for config builder.
- config(ImportFileConfig) - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Setter for config.
- config(ImportFileConfig.Builder) - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Setter for config builder.
- config(ListBatchJobsConfig) - Method in class com.google.genai.types.ListBatchJobsParameters.Builder
-
Setter for config.
- config(ListBatchJobsConfig.Builder) - Method in class com.google.genai.types.ListBatchJobsParameters.Builder
-
Setter for config builder.
- config(ListCachedContentsConfig) - Method in class com.google.genai.types.ListCachedContentsParameters.Builder
-
Setter for config.
- config(ListCachedContentsConfig.Builder) - Method in class com.google.genai.types.ListCachedContentsParameters.Builder
-
Setter for config builder.
- config(ListDocumentsConfig) - Method in class com.google.genai.types.ListDocumentsParameters.Builder
-
Setter for config.
- config(ListDocumentsConfig.Builder) - Method in class com.google.genai.types.ListDocumentsParameters.Builder
-
Setter for config builder.
- config(ListFilesConfig) - Method in class com.google.genai.types.ListFilesParameters.Builder
-
Setter for config.
- config(ListFilesConfig.Builder) - Method in class com.google.genai.types.ListFilesParameters.Builder
-
Setter for config builder.
- config(ListFileSearchStoresConfig) - Method in class com.google.genai.types.ListFileSearchStoresParameters.Builder
-
Setter for config.
- config(ListFileSearchStoresConfig.Builder) - Method in class com.google.genai.types.ListFileSearchStoresParameters.Builder
-
Setter for config builder.
- config(ListModelsConfig) - Method in class com.google.genai.types.ListModelsParameters.Builder
-
Setter for config.
- config(ListModelsConfig.Builder) - Method in class com.google.genai.types.ListModelsParameters.Builder
-
Setter for config builder.
- config(ListTuningJobsConfig) - Method in class com.google.genai.types.ListTuningJobsParameters.Builder
-
Setter for config.
- config(ListTuningJobsConfig.Builder) - Method in class com.google.genai.types.ListTuningJobsParameters.Builder
-
Setter for config builder.
- config(LiveConnectConfig) - Method in class com.google.genai.types.LiveConnectParameters.Builder
-
Setter for config.
- config(LiveConnectConfig.Builder) - Method in class com.google.genai.types.LiveConnectParameters.Builder
-
Setter for config builder.
- config(MaskReferenceConfig) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for config.
- config(MaskReferenceConfig.Builder) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for config builder.
- config(RecontextImageConfig) - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Setter for config.
- config(RecontextImageConfig.Builder) - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Setter for config builder.
- config(SegmentImageConfig) - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Setter for config.
- config(SegmentImageConfig.Builder) - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Setter for config builder.
- config(StyleReferenceConfig) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for config.
- config(StyleReferenceConfig.Builder) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for config builder.
- config(SubjectReferenceConfig) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for config.
- config(SubjectReferenceConfig.Builder) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for config builder.
- config(UpdateCachedContentConfig) - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
-
Setter for config.
- config(UpdateCachedContentConfig.Builder) - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
-
Setter for config builder.
- config(UpdateModelConfig) - Method in class com.google.genai.types.UpdateModelParameters.Builder
-
Setter for config.
- config(UpdateModelConfig.Builder) - Method in class com.google.genai.types.UpdateModelParameters.Builder
-
Setter for config builder.
- config(UploadToFileSearchStoreConfig) - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
-
Setter for config.
- config(UploadToFileSearchStoreConfig.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
-
Setter for config builder.
- config(UpscaleImageAPIConfig) - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Setter for config.
- config(UpscaleImageConfig) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for config.
- config(UpscaleImageConfig.Builder) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for config builder.
- connect(String, LiveConnectConfig) - Method in class com.google.genai.AsyncLive
-
Connects to the live server.
- content() - Method in class com.google.genai.types.Candidate
-
Contains the multi-part content of the response.
- content(Content) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for content.
- content(Content.Builder) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for content builder.
- Content - Class in com.google.genai.types
-
Contains the multi-part content of a message.
- Content() - Constructor for class com.google.genai.types.Content
- Content.Builder - Class in com.google.genai.types
-
Builder for Content.
- ContentEmbedding - Class in com.google.genai.types
-
The embedding generated from an input content.
- ContentEmbedding() - Constructor for class com.google.genai.types.ContentEmbedding
- ContentEmbedding.Builder - Class in com.google.genai.types
-
Builder for ContentEmbedding.
- ContentEmbeddingStatistics - Class in com.google.genai.types
-
Statistics of the input text associated with the result of content embedding.
- ContentEmbeddingStatistics() - Constructor for class com.google.genai.types.ContentEmbeddingStatistics
- ContentEmbeddingStatistics.Builder - Class in com.google.genai.types
-
Builder for ContentEmbeddingStatistics.
- ContentReferenceImage - Class in com.google.genai.types
-
A content reference image.
- ContentReferenceImage() - Constructor for class com.google.genai.types.ContentReferenceImage
- ContentReferenceImage.Builder - Class in com.google.genai.types
-
Builder for ContentReferenceImage.
- contents() - Method in class com.google.genai.types.ComputeTokensParameters
-
Input content.
- contents() - Method in class com.google.genai.types.CountTokensParameters
-
Input content.
- contents() - Method in class com.google.genai.types.CreateCachedContentConfig
-
The content to cache.
- contents() - Method in class com.google.genai.types.EmbedContentBatch
-
The content to embed.
- contents() - Method in class com.google.genai.types.EmbedContentParameters
-
The content to embed.
- contents() - Method in class com.google.genai.types.GeminiPreferenceExample
-
Multi-turn contents that represents the Prompt.
- contents() - Method in class com.google.genai.types.GenerateContentParameters
-
Content of the request.
- contents() - Method in class com.google.genai.types.InlinedRequest
-
Content of the request.
- contents(Content...) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for contents.
- contents(Content...) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for contents.
- contents(Content.Builder...) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for contents builder.
- contents(Content.Builder...) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for contents builder.
- contents(List<Content>) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.EmbedContentBatch.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.GeminiPreferenceExample.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for contents.
- contents(List<Content>) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for contents.
- contentType() - Method in class com.google.genai.types.SafetyAttributes
-
Internal use only.
- contentType(String) - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Setter for contentType.
- contextWindowCompression() - Method in class com.google.genai.types.LiveClientSetup
-
Configures context window compression mechanism.
- contextWindowCompression() - Method in class com.google.genai.types.LiveConnectConfig
-
Configures context window compression mechanism.
- contextWindowCompression(ContextWindowCompressionConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for contextWindowCompression.
- contextWindowCompression(ContextWindowCompressionConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for contextWindowCompression.
- contextWindowCompression(ContextWindowCompressionConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for contextWindowCompression builder.
- contextWindowCompression(ContextWindowCompressionConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for contextWindowCompression builder.
- ContextWindowCompressionConfig - Class in com.google.genai.types
-
Enables context window compression -- mechanism managing model context window so it does not exceed given length.
- ContextWindowCompressionConfig() - Constructor for class com.google.genai.types.ContextWindowCompressionConfig
- ContextWindowCompressionConfig.Builder - Class in com.google.genai.types
-
Builder for ContextWindowCompressionConfig.
- CONTROL - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
control symbols.
- CONTROL_REFERENCE_TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.ControlReferenceType.Known
- CONTROL_SYMBOLS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- CONTROL_TYPE_CANNY - Enum constant in enum com.google.genai.types.ControlReferenceType.Known
- CONTROL_TYPE_DEFAULT - Enum constant in enum com.google.genai.types.ControlReferenceType.Known
- CONTROL_TYPE_FACE_MESH - Enum constant in enum com.google.genai.types.ControlReferenceType.Known
- CONTROL_TYPE_SCRIBBLE - Enum constant in enum com.google.genai.types.ControlReferenceType.Known
- CONTROL_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
control symbols.
- controlImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI
-
Configuration for the control reference image.
- controlImageConfig(ControlReferenceConfig) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for controlImageConfig.
- controlImageConfig(ControlReferenceConfig.Builder) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for controlImageConfig builder.
- ControlReferenceConfig - Class in com.google.genai.types
-
Configuration for a Control reference image.
- ControlReferenceConfig() - Constructor for class com.google.genai.types.ControlReferenceConfig
- ControlReferenceConfig.Builder - Class in com.google.genai.types
-
Builder for ControlReferenceConfig.
- ControlReferenceImage - Class in com.google.genai.types
-
A control reference image.
- ControlReferenceImage() - Constructor for class com.google.genai.types.ControlReferenceImage
- ControlReferenceImage.Builder - Class in com.google.genai.types
-
Builder for ControlReferenceImage.
- ControlReferenceType - Class in com.google.genai.types
-
Enum representing the control type of a control reference image.
- ControlReferenceType(ControlReferenceType.Known) - Constructor for class com.google.genai.types.ControlReferenceType
- ControlReferenceType(String) - Constructor for class com.google.genai.types.ControlReferenceType
- ControlReferenceType.Known - Enum in com.google.genai.types
-
Enum representing the known values for ControlReferenceType.
- controlType() - Method in class com.google.genai.types.ControlReferenceConfig
-
The type of control reference image to use.
- controlType(ControlReferenceType) - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Setter for controlType.
- controlType(ControlReferenceType.Known) - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Setter for controlType given a known enum.
- controlType(String) - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Setter for controlType given a string.
- count() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Output only.
- count() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Output only.
- count(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Setter for count.
- count(Long) - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Setter for count.
- countTokens(Content) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a single content object using default configuration.
- countTokens(Content, CountTokensConfig) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a single content object.
- countTokens(String) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a text string using default configuration.
- countTokens(String, CountTokensConfig) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a text string.
- countTokens(String, String, CountTokensConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously counts tokens given a GenAI model and a text string.
- countTokens(String, String, CountTokensConfig) - Method in class com.google.genai.Models
-
Counts tokens given a GenAI model and a text string.
- countTokens(String, List<Content>, CountTokensConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously counts tokens given a GenAI model and a list of content.
- countTokens(String, List<Content>, CountTokensConfig) - Method in class com.google.genai.Models
-
Counts tokens given a GenAI model and a list of content.
- countTokens(List<Content>) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a list of content objects using default configuration.
- countTokens(List<Content>, CountTokensConfig) - Method in class com.google.genai.LocalTokenizer
-
Counts the number of tokens in a given text.
- CountTokensConfig - Class in com.google.genai.types
-
Config for the count_tokens method.
- CountTokensConfig() - Constructor for class com.google.genai.types.CountTokensConfig
- CountTokensConfig.Builder - Class in com.google.genai.types
-
Builder for CountTokensConfig.
- CountTokensParameters - Class in com.google.genai.types
-
Parameters for counting tokens.
- CountTokensParameters() - Constructor for class com.google.genai.types.CountTokensParameters
- CountTokensParameters.Builder - Class in com.google.genai.types
-
Builder for CountTokensParameters.
- CountTokensResponse - Class in com.google.genai.types
-
Response for counting tokens.
- CountTokensResponse() - Constructor for class com.google.genai.types.CountTokensResponse
- CountTokensResponse.Builder - Class in com.google.genai.types
-
Builder for CountTokensResponse.
- CountTokensResult - Class in com.google.genai.types
-
Local tokenizer count tokens result.
- CountTokensResult() - Constructor for class com.google.genai.types.CountTokensResult
- CountTokensResult.Builder - Class in com.google.genai.types
-
Builder for CountTokensResult.
- create(CreateFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
- create(CreateFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
- create(String) - Method in class com.google.genai.AsyncChats
-
Creates a new async chat session.
- create(String) - Method in class com.google.genai.Chats
-
Creates a new chat session.
- create(String, BatchJobSource, CreateBatchJobConfig) - Method in class com.google.genai.AsyncBatches
-
Asynchronously creates a batch job.
- create(String, BatchJobSource, CreateBatchJobConfig) - Method in class com.google.genai.Batches
-
Makes an API request to create the batch job.
- create(String, CreateCachedContentConfig) - Method in class com.google.genai.AsyncCaches
-
Asynchronously creates a cached content resource.
- create(String, CreateCachedContentConfig) - Method in class com.google.genai.Caches
-
Creates a cached content resource.
- create(String, GenerateContentConfig) - Method in class com.google.genai.AsyncChats
-
Creates a new async chat session.
- create(String, GenerateContentConfig) - Method in class com.google.genai.Chats
-
Creates a new chat session.
- CreateBatchJobConfig - Class in com.google.genai.types
-
Config for optional parameters.
- CreateBatchJobConfig() - Constructor for class com.google.genai.types.CreateBatchJobConfig
- CreateBatchJobConfig.Builder - Class in com.google.genai.types
-
Builder for CreateBatchJobConfig.
- CreateBatchJobParameters - Class in com.google.genai.types
-
Config for batches.create parameters.
- CreateBatchJobParameters() - Constructor for class com.google.genai.types.CreateBatchJobParameters
- CreateBatchJobParameters.Builder - Class in com.google.genai.types
-
Builder for CreateBatchJobParameters.
- CreateCachedContentConfig - Class in com.google.genai.types
-
Optional configuration for cached content creation.
- CreateCachedContentConfig() - Constructor for class com.google.genai.types.CreateCachedContentConfig
- CreateCachedContentConfig.Builder - Class in com.google.genai.types
-
Builder for CreateCachedContentConfig.
- CreateCachedContentParameters - Class in com.google.genai.types
-
Parameters for caches.create method.
- CreateCachedContentParameters() - Constructor for class com.google.genai.types.CreateCachedContentParameters
- CreateCachedContentParameters.Builder - Class in com.google.genai.types
-
Builder for CreateCachedContentParameters.
- createEmbeddings(String, EmbeddingsBatchJobSource, CreateEmbeddingsBatchJobConfig) - Method in class com.google.genai.AsyncBatches
-
Makes an API request to create the batch embeddings job.
- createEmbeddings(String, EmbeddingsBatchJobSource, CreateEmbeddingsBatchJobConfig) - Method in class com.google.genai.Batches
-
Makes an API request to create the batch embeddings job.
- CreateEmbeddingsBatchJobConfig - Class in com.google.genai.types
-
Config for optional parameters.
- CreateEmbeddingsBatchJobConfig() - Constructor for class com.google.genai.types.CreateEmbeddingsBatchJobConfig
- CreateEmbeddingsBatchJobConfig.Builder - Class in com.google.genai.types
-
Builder for CreateEmbeddingsBatchJobConfig.
- CreateEmbeddingsBatchJobParameters - Class in com.google.genai.types
-
Config for batches.create parameters.
- CreateEmbeddingsBatchJobParameters() - Constructor for class com.google.genai.types.CreateEmbeddingsBatchJobParameters
- CreateEmbeddingsBatchJobParameters.Builder - Class in com.google.genai.types
-
Builder for CreateEmbeddingsBatchJobParameters.
- CreateFileConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- CreateFileConfig() - Constructor for class com.google.genai.types.CreateFileConfig
- CreateFileConfig.Builder - Class in com.google.genai.types
-
Builder for CreateFileConfig.
- CreateFileParameters - Class in com.google.genai.types
-
Generates the parameters for the private _create method.
- CreateFileParameters() - Constructor for class com.google.genai.types.CreateFileParameters
- CreateFileParameters.Builder - Class in com.google.genai.types
-
Builder for CreateFileParameters.
- CreateFileResponse - Class in com.google.genai.types
-
Response for the create file method.
- CreateFileResponse() - Constructor for class com.google.genai.types.CreateFileResponse
- CreateFileResponse.Builder - Class in com.google.genai.types
-
Builder for CreateFileResponse.
- CreateFileSearchStoreConfig - Class in com.google.genai.types
-
Optional parameters for creating a file search store.
- CreateFileSearchStoreConfig() - Constructor for class com.google.genai.types.CreateFileSearchStoreConfig
- CreateFileSearchStoreConfig.Builder - Class in com.google.genai.types
-
Builder for CreateFileSearchStoreConfig.
- CreateFileSearchStoreParameters - Class in com.google.genai.types
-
Config for file_search_stores.create parameters.
- CreateFileSearchStoreParameters() - Constructor for class com.google.genai.types.CreateFileSearchStoreParameters
- CreateFileSearchStoreParameters.Builder - Class in com.google.genai.types
-
Builder for CreateFileSearchStoreParameters.
- createTime() - Method in class com.google.genai.types.BatchJob
-
The time when the BatchJob was created.
- createTime() - Method in class com.google.genai.types.CachedContent
-
Creation time of the cache entry.
- createTime() - Method in class com.google.genai.types.Document
-
Output only.
- createTime() - Method in class com.google.genai.types.File
-
Output only.
- createTime() - Method in class com.google.genai.types.FileSearchStore
-
The Timestamp of when the FileSearchStore was created.
- createTime() - Method in class com.google.genai.types.GenerateContentResponse
-
Timestamp when the request is made to the server.
- createTime() - Method in class com.google.genai.types.TunedModelInfo
-
Date and time when the base model was created.
- createTime() - Method in class com.google.genai.types.TuningJob
-
Output only.
- createTime(Instant) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.Document.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.File.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Setter for createTime.
- createTime(Instant) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for createTime.
- CreateTuningJobConfig - Class in com.google.genai.types
-
Fine-tuning job creation request - optional fields.
- CreateTuningJobConfig() - Constructor for class com.google.genai.types.CreateTuningJobConfig
- CreateTuningJobConfig.Builder - Class in com.google.genai.types
-
Builder for CreateTuningJobConfig.
- CreateTuningJobParameters - Class in com.google.genai.types
-
Fine-tuning job creation parameters - optional fields.
- CreateTuningJobParameters() - Constructor for class com.google.genai.types.CreateTuningJobParameters
- CreateTuningJobParameters.Builder - Class in com.google.genai.types
-
Builder for CreateTuningJobParameters.
- CreateTuningJobParametersPrivate - Class in com.google.genai.types
-
Fine-tuning job creation parameters - optional fields.
- CreateTuningJobParametersPrivate() - Constructor for class com.google.genai.types.CreateTuningJobParametersPrivate
- CreateTuningJobParametersPrivate.Builder - Class in com.google.genai.types
-
Builder for CreateTuningJobParametersPrivate.
- credentials(GoogleCredentials) - Method in class com.google.genai.Client.Builder
-
Sets the
GoogleCredentialsfor Vertex AI APIs. - credentialSecret() - Method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig
-
Required.
- credentialSecret(String) - Method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
-
Setter for credentialSecret.
- customBaseModel() - Method in class com.google.genai.types.TuningJob
-
Optional.
- customBaseModel(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for customBaseModel.
- customMetadata() - Method in class com.google.genai.types.Document
-
Optional.
- customMetadata() - Method in class com.google.genai.types.ImportFileConfig
-
User provided custom metadata stored as key-value pairs used for querying.
- customMetadata() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
User provided custom metadata stored as key-value pairs used for querying.
- customMetadata(CustomMetadata...) - Method in class com.google.genai.types.Document.Builder
-
Setter for customMetadata.
- customMetadata(CustomMetadata...) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for customMetadata.
- customMetadata(CustomMetadata...) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for customMetadata.
- customMetadata(CustomMetadata.Builder...) - Method in class com.google.genai.types.Document.Builder
-
Setter for customMetadata builder.
- customMetadata(CustomMetadata.Builder...) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for customMetadata builder.
- customMetadata(CustomMetadata.Builder...) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for customMetadata builder.
- customMetadata(List<CustomMetadata>) - Method in class com.google.genai.types.Document.Builder
-
Setter for customMetadata.
- customMetadata(List<CustomMetadata>) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for customMetadata.
- customMetadata(List<CustomMetadata>) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for customMetadata.
- CustomMetadata - Class in com.google.genai.types
-
User provided metadata stored as key-value pairs.
- CustomMetadata() - Constructor for class com.google.genai.types.CustomMetadata
- CustomMetadata.Builder - Class in com.google.genai.types
-
Builder for CustomMetadata.
D
- data() - Method in class com.google.genai.types.Blob
-
Required.
- data() - Method in class com.google.genai.types.FunctionResponseBlob
-
Required.
- data(byte[]) - Method in class com.google.genai.types.Blob.Builder
-
Setter for data.
- data(byte[]) - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Setter for data.
- DatasetDistribution - Class in com.google.genai.types
-
Distribution computed over a tuning dataset.
- DatasetDistribution() - Constructor for class com.google.genai.types.DatasetDistribution
- DatasetDistribution.Builder - Class in com.google.genai.types
-
Builder for DatasetDistribution.
- DatasetDistributionDistributionBucket - Class in com.google.genai.types
-
Dataset bucket used to create a histogram for the distribution given a population of values.
- DatasetDistributionDistributionBucket() - Constructor for class com.google.genai.types.DatasetDistributionDistributionBucket
- DatasetDistributionDistributionBucket.Builder - Class in com.google.genai.types
-
Builder for DatasetDistributionDistributionBucket.
- DatasetStats - Class in com.google.genai.types
-
Statistics computed over a tuning dataset.
- DatasetStats() - Constructor for class com.google.genai.types.DatasetStats
- DatasetStats.Builder - Class in com.google.genai.types
-
Builder for DatasetStats.
- datastore() - Method in class com.google.genai.types.VertexAISearch
-
Optional.
- datastore(String) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for datastore.
- dataStore() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec
-
Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
- dataStore(String) - Method in class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
-
Setter for dataStore.
- dataStoreSpecs() - Method in class com.google.genai.types.VertexAISearch
-
Specifications that define the specific DataStores to be searched, along with configurations for those data stores.
- dataStoreSpecs(VertexAISearchDataStoreSpec...) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for dataStoreSpecs.
- dataStoreSpecs(VertexAISearchDataStoreSpec.Builder...) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for dataStoreSpecs builder.
- dataStoreSpecs(List<VertexAISearchDataStoreSpec>) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for dataStoreSpecs.
- day() - Method in class com.google.genai.types.GoogleTypeDate
-
Day of a month.
- day(Integer) - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Setter for day.
- default_() - Method in class com.google.genai.types.Schema
-
Optional.
- default_(Object) - Method in class com.google.genai.types.Schema.Builder
-
Setter for default_.
- defaultCheckpointId() - Method in class com.google.genai.types.Model
-
The default checkpoint id of a model version.
- defaultCheckpointId() - Method in class com.google.genai.types.UpdateModelConfig
- defaultCheckpointId(String) - Method in class com.google.genai.types.Model.Builder
-
Setter for defaultCheckpointId.
- defaultCheckpointId(String) - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Setter for defaultCheckpointId.
- delete(String, DeleteBatchJobConfig) - Method in class com.google.genai.AsyncBatches
-
Asynchronously deletes a batch job resource.
- delete(String, DeleteBatchJobConfig) - Method in class com.google.genai.Batches
-
Deletes a batch job resource.
- delete(String, DeleteCachedContentConfig) - Method in class com.google.genai.AsyncCaches
-
Asynchronously deletes a cached content resource.
- delete(String, DeleteCachedContentConfig) - Method in class com.google.genai.Caches
-
Deletes a cached content resource.
- delete(String, DeleteDocumentConfig) - Method in class com.google.genai.AsyncDocuments
- delete(String, DeleteDocumentConfig) - Method in class com.google.genai.Documents
- delete(String, DeleteFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously deletes a remotely stored file.
- delete(String, DeleteFileConfig) - Method in class com.google.genai.Files
-
Deletes a remotely stored file.
- delete(String, DeleteFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
- delete(String, DeleteFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
- delete(String, DeleteModelConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously fetches information about a model by name.
- delete(String, DeleteModelConfig) - Method in class com.google.genai.Models
-
Fetches information about a model by name.
- DeleteBatchJobConfig - Class in com.google.genai.types
-
Optional parameters for models.get method.
- DeleteBatchJobConfig() - Constructor for class com.google.genai.types.DeleteBatchJobConfig
- DeleteBatchJobConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteBatchJobConfig.
- DeleteBatchJobParameters - Class in com.google.genai.types
-
Config for batches.delete parameters.
- DeleteBatchJobParameters() - Constructor for class com.google.genai.types.DeleteBatchJobParameters
- DeleteBatchJobParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteBatchJobParameters.
- DeleteCachedContentConfig - Class in com.google.genai.types
-
Optional parameters for caches.delete method.
- DeleteCachedContentConfig() - Constructor for class com.google.genai.types.DeleteCachedContentConfig
- DeleteCachedContentConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteCachedContentConfig.
- DeleteCachedContentParameters - Class in com.google.genai.types
-
Parameters for caches.delete method.
- DeleteCachedContentParameters() - Constructor for class com.google.genai.types.DeleteCachedContentParameters
- DeleteCachedContentParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteCachedContentParameters.
- DeleteCachedContentResponse - Class in com.google.genai.types
-
Empty response for caches.delete method.
- DeleteCachedContentResponse() - Constructor for class com.google.genai.types.DeleteCachedContentResponse
- DeleteCachedContentResponse.Builder - Class in com.google.genai.types
-
Builder for DeleteCachedContentResponse.
- DeleteDocumentConfig - Class in com.google.genai.types
-
Config for optional parameters.
- DeleteDocumentConfig() - Constructor for class com.google.genai.types.DeleteDocumentConfig
- DeleteDocumentConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteDocumentConfig.
- DeleteDocumentParameters - Class in com.google.genai.types
-
Config for documents.delete parameters.
- DeleteDocumentParameters() - Constructor for class com.google.genai.types.DeleteDocumentParameters
- DeleteDocumentParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteDocumentParameters.
- DeleteFileConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- DeleteFileConfig() - Constructor for class com.google.genai.types.DeleteFileConfig
- DeleteFileConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteFileConfig.
- DeleteFileParameters - Class in com.google.genai.types
-
Generates the parameters for the get method.
- DeleteFileParameters() - Constructor for class com.google.genai.types.DeleteFileParameters
- DeleteFileParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteFileParameters.
- DeleteFileResponse - Class in com.google.genai.types
-
Response for the delete file method.
- DeleteFileResponse() - Constructor for class com.google.genai.types.DeleteFileResponse
- DeleteFileResponse.Builder - Class in com.google.genai.types
-
Builder for DeleteFileResponse.
- DeleteFileSearchStoreConfig - Class in com.google.genai.types
-
Optional parameters for deleting a FileSearchStore.
- DeleteFileSearchStoreConfig() - Constructor for class com.google.genai.types.DeleteFileSearchStoreConfig
- DeleteFileSearchStoreConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteFileSearchStoreConfig.
- DeleteFileSearchStoreParameters - Class in com.google.genai.types
-
Config for file_search_stores.delete parameters.
- DeleteFileSearchStoreParameters() - Constructor for class com.google.genai.types.DeleteFileSearchStoreParameters
- DeleteFileSearchStoreParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteFileSearchStoreParameters.
- DeleteModelConfig - Class in com.google.genai.types
-
Configuration for deleting a tuned model.
- DeleteModelConfig() - Constructor for class com.google.genai.types.DeleteModelConfig
- DeleteModelConfig.Builder - Class in com.google.genai.types
-
Builder for DeleteModelConfig.
- DeleteModelParameters - Class in com.google.genai.types
-
Parameters for deleting a tuned model.
- DeleteModelParameters() - Constructor for class com.google.genai.types.DeleteModelParameters
- DeleteModelParameters.Builder - Class in com.google.genai.types
-
Builder for DeleteModelParameters.
- DeleteModelResponse - Class in com.google.genai.types
-
None
- DeleteModelResponse() - Constructor for class com.google.genai.types.DeleteModelResponse
- DeleteModelResponse.Builder - Class in com.google.genai.types
-
Builder for DeleteModelResponse.
- DeleteResourceJob - Class in com.google.genai.types
-
The return value of delete operation.
- DeleteResourceJob() - Constructor for class com.google.genai.types.DeleteResourceJob
- DeleteResourceJob.Builder - Class in com.google.genai.types
-
Builder for DeleteResourceJob.
- DENORMALIZER_SPEC_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
- deployedModelId() - Method in class com.google.genai.types.Endpoint
-
ID of the model that's deployed to the endpoint.
- deployedModelId(String) - Method in class com.google.genai.types.Endpoint.Builder
-
Setter for deployedModelId.
- description() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The description of the TuningJob
- description() - Method in class com.google.genai.types.FunctionDeclaration
-
Optional.
- description() - Method in class com.google.genai.types.Model
-
Description of the model.
- description() - Method in class com.google.genai.types.Schema
-
Optional.
- description() - Method in class com.google.genai.types.TuningJob
-
Optional.
- description() - Method in class com.google.genai.types.UpdateModelConfig
- description(String) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for description.
- description(String) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for description.
- description(String) - Method in class com.google.genai.types.Model.Builder
-
Setter for description.
- description(String) - Method in class com.google.genai.types.Schema.Builder
-
Setter for description.
- description(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for description.
- description(String) - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Setter for description.
- dest() - Method in class com.google.genai.types.BatchJob
-
Configuration for the output data.
- dest() - Method in class com.google.genai.types.CreateBatchJobConfig
-
GCS or BigQuery URI prefix for the output predictions.
- dest(BatchJobDestination) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for dest.
- dest(BatchJobDestination) - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Setter for dest.
- dest(BatchJobDestination.Builder) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for dest builder.
- dest(BatchJobDestination.Builder) - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Setter for dest builder.
- details() - Method in class com.google.genai.types.FileStatus
-
A list of messages that carry the error details.
- details() - Method in class com.google.genai.types.GoogleRpcStatus
-
A list of messages that carry the error details.
- details() - Method in class com.google.genai.types.JobError
-
A list of messages that carry the error details.
- details(String...) - Method in class com.google.genai.types.JobError.Builder
-
Setter for details.
- details(List<String>) - Method in class com.google.genai.types.JobError.Builder
-
Setter for details.
- details(List<Map<String, Object>>) - Method in class com.google.genai.types.FileStatus.Builder
-
Setter for details.
- details(List<Map<String, Object>>) - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Setter for details.
- details(Map<String, Object>...) - Method in class com.google.genai.types.FileStatus.Builder
-
Setter for details.
- details(Map<String, Object>...) - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Setter for details.
- DIFFERENTIAL_PRIVACY_CLIPPING_THRESHOLD_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- DIFFERENTIAL_PRIVACY_NOISE_LEVEL_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- disable() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
Whether to disable automatic function calling.
- disable(boolean) - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Setter for disable.
- disableAttribution() - Method in class com.google.genai.types.Retrieval
-
Optional.
- disableAttribution(boolean) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for disableAttribution.
- disabled() - Method in class com.google.genai.types.AutomaticActivityDetection
-
If enabled, detected voice and text input count as activity.
- disabled(boolean) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for disabled.
- displayName() - Method in class com.google.genai.types.BatchJob
-
The display name of the BatchJob.
- displayName() - Method in class com.google.genai.types.Blob
-
Optional.
- displayName() - Method in class com.google.genai.types.CachedContent
-
The user-generated meaningful display name of the cached content.
- displayName() - Method in class com.google.genai.types.CreateBatchJobConfig
-
The user-defined name of this BatchJob.
- displayName() - Method in class com.google.genai.types.CreateCachedContentConfig
-
The user-generated meaningful display name of the cached content.
- displayName() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig
-
The user-defined name of this BatchJob.
- displayName() - Method in class com.google.genai.types.CreateFileSearchStoreConfig
-
The human-readable display name for the file search store.
- displayName() - Method in class com.google.genai.types.Document
-
The human-readable display name for the Document.
- displayName() - Method in class com.google.genai.types.File
-
Optional.
- displayName() - Method in class com.google.genai.types.FileData
-
Optional.
- displayName() - Method in class com.google.genai.types.FileSearchStore
-
The human-readable display name for the FileSearchStore.
- displayName() - Method in class com.google.genai.types.FunctionResponseBlob
-
Optional.
- displayName() - Method in class com.google.genai.types.FunctionResponseFileData
-
Optional.
- displayName() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
Name of the author of the Photo or Review.
- displayName() - Method in class com.google.genai.types.Model
-
Display name of the model.
- displayName() - Method in class com.google.genai.types.UpdateModelConfig
- displayName() - Method in class com.google.genai.types.UploadFileConfig
-
Optional display name of the file.
- displayName() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Display name of the created document.
- displayName(String) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.Blob.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.Document.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.File.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.FileData.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.Model.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Setter for displayName.
- displayName(String) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for displayName.
- distillationDataStats() - Method in class com.google.genai.types.TuningDataStats
-
Output only.
- distillationDataStats(DistillationDataStats) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for distillationDataStats.
- distillationDataStats(DistillationDataStats.Builder) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for distillationDataStats builder.
- DistillationDataStats - Class in com.google.genai.types
-
Statistics computed for datasets used for distillation.
- DistillationDataStats() - Constructor for class com.google.genai.types.DistillationDataStats
- DistillationDataStats.Builder - Class in com.google.genai.types
-
Builder for DistillationDataStats.
- Document - Class in com.google.genai.types
-
A Document is a collection of Chunks.
- Document() - Constructor for class com.google.genai.types.Document
- DOCUMENT - Enum constant in enum com.google.genai.types.MediaModality.Known
-
Document, e.g.
- DOCUMENT_STATE_UNSPECIFIED - Enum constant in enum com.google.genai.types.DocumentState.Known
- Document.Builder - Class in com.google.genai.types
-
Builder for Document.
- documentName() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Output only.
- documentName() - Method in class com.google.genai.types.ImportFileResponse
-
The identifier for the Document imported.
- documentName() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
The identifier for the Document imported.
- documentName(String) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for documentName.
- documentName(String) - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Setter for documentName.
- documentName(String) - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Setter for documentName.
- documents - Variable in class com.google.genai.AsyncFileSearchStores
- documents - Variable in class com.google.genai.FileSearchStores
- documents() - Method in class com.google.genai.types.ListDocumentsResponse
-
The returned `Document`s.
- documents(Document...) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for documents.
- documents(Document.Builder...) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for documents builder.
- documents(List<Document>) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for documents.
- Documents - Class in com.google.genai
- Documents(ApiClient) - Constructor for class com.google.genai.Documents
- DocumentState - Class in com.google.genai.types
-
State for the lifecycle of a Document.
- DocumentState(DocumentState.Known) - Constructor for class com.google.genai.types.DocumentState
- DocumentState(String) - Constructor for class com.google.genai.types.DocumentState
- DocumentState.Known - Enum in com.google.genai.types
-
Enum representing the known values for DocumentState.
- domain() - Method in class com.google.genai.types.GroundingChunkWeb
-
Domain of the (original) URI.
- domain(String) - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Setter for domain.
- done() - Method in class com.google.genai.types.DeleteResourceJob
- done() - Method in class com.google.genai.types.Operation
-
If the value is `false`, it means the operation is still in progress.
- done() - Method in class com.google.genai.types.TuningOperation
-
If the value is `false`, it means the operation is still in progress.
- done(boolean) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for done.
- done(boolean) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for done.
- done(boolean) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for done.
- done(boolean) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for done.
- done(boolean) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for done.
- DONT_ALLOW - Enum constant in enum com.google.genai.types.PersonGeneration.Known
-
Block generation of images of people.
- download(File, String, DownloadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously downloads a file from the GenAI API to the provided path.
- download(File, String, DownloadFileConfig) - Method in class com.google.genai.Files
-
Downloads a file from the API.
- download(GeneratedVideo, String, DownloadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously downloads a generated video from the GenAI API to the provided path.
- download(GeneratedVideo, String, DownloadFileConfig) - Method in class com.google.genai.Files
-
Downloads a generated video from the API.
- download(Video, String, DownloadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously downloads a video from the GenAI API to the provided path.
- download(Video, String, DownloadFileConfig) - Method in class com.google.genai.Files
-
Downloads a video from the API.
- download(String, String, DownloadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously downloads a file from the GenAI API to the provided path.
- download(String, String, DownloadFileConfig) - Method in class com.google.genai.Files
-
Downloads a file from the API.
- DownloadFileConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- DownloadFileConfig() - Constructor for class com.google.genai.types.DownloadFileConfig
- DownloadFileConfig.Builder - Class in com.google.genai.types
-
Builder for DownloadFileConfig.
- downloadUri() - Method in class com.google.genai.types.File
-
Output only.
- downloadUri(String) - Method in class com.google.genai.types.File.Builder
-
Setter for downloadUri.
- droppedExampleReasons() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- droppedExampleReasons(String...) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for droppedExampleReasons.
- droppedExampleReasons(List<String>) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for droppedExampleReasons.
- durationSeconds() - Method in class com.google.genai.types.GenerateVideosConfig
-
Duration of the clip for video generation in seconds.
- durationSeconds(Integer) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for durationSeconds.
- DYNAMIC_RETRIEVAL_CONFIG_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.DynamicRetrievalConfigMode.Known
- dynamicRetrievalConfig() - Method in class com.google.genai.types.GoogleSearchRetrieval
-
Specifies the dynamic retrieval configuration for the given source.
- dynamicRetrievalConfig(DynamicRetrievalConfig) - Method in class com.google.genai.types.GoogleSearchRetrieval.Builder
-
Setter for dynamicRetrievalConfig.
- dynamicRetrievalConfig(DynamicRetrievalConfig.Builder) - Method in class com.google.genai.types.GoogleSearchRetrieval.Builder
-
Setter for dynamicRetrievalConfig builder.
- DynamicRetrievalConfig - Class in com.google.genai.types
-
Describes the options to customize dynamic retrieval.
- DynamicRetrievalConfig() - Constructor for class com.google.genai.types.DynamicRetrievalConfig
- DynamicRetrievalConfig.Builder - Class in com.google.genai.types
-
Builder for DynamicRetrievalConfig.
- DynamicRetrievalConfigMode - Class in com.google.genai.types
-
Config for the dynamic retrieval config mode.
- DynamicRetrievalConfigMode(DynamicRetrievalConfigMode.Known) - Constructor for class com.google.genai.types.DynamicRetrievalConfigMode
- DynamicRetrievalConfigMode(String) - Constructor for class com.google.genai.types.DynamicRetrievalConfigMode
- DynamicRetrievalConfigMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for DynamicRetrievalConfigMode.
- dynamicThreshold() - Method in class com.google.genai.types.DynamicRetrievalConfig
-
Optional.
- dynamicThreshold(Float) - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Setter for dynamicThreshold.
E
- EDIT_MODE_BGSWAP - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_CONTROLLED_EDITING - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_DEFAULT - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_INPAINT_INSERTION - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_INPAINT_REMOVAL - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_OUTPAINT - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_PRODUCT_IMAGE - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_STYLE - Enum constant in enum com.google.genai.types.EditMode.Known
- EDIT_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.EditMode.Known
- editImage(String, String, List<ReferenceImage>, EditImageConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously edits an image given a GenAI model, a prompt, and a list of reference images.
- editImage(String, String, List<ReferenceImage>, EditImageConfig) - Method in class com.google.genai.Models
-
Edits an image given a GenAI model, a prompt, and a list of reference images.
- EditImageConfig - Class in com.google.genai.types
-
Configuration for editing an image.
- EditImageConfig() - Constructor for class com.google.genai.types.EditImageConfig
- EditImageConfig.Builder - Class in com.google.genai.types
-
Builder for EditImageConfig.
- EditImageParameters - Class in com.google.genai.types
-
Parameters for the request to edit an image.
- EditImageParameters() - Constructor for class com.google.genai.types.EditImageParameters
- EditImageParameters.Builder - Class in com.google.genai.types
-
Builder for EditImageParameters.
- EditImageResponse - Class in com.google.genai.types
-
Response for the request to edit an image.
- EditImageResponse() - Constructor for class com.google.genai.types.EditImageResponse
- EditImageResponse.Builder - Class in com.google.genai.types
-
Builder for EditImageResponse.
- editMode() - Method in class com.google.genai.types.EditImageConfig
-
Describes the editing mode for the request.
- editMode(EditMode) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for editMode.
- editMode(EditMode.Known) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for editMode given a known enum.
- editMode(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for editMode given a string.
- EditMode - Class in com.google.genai.types
-
Enum representing the editing mode.
- EditMode(EditMode.Known) - Constructor for class com.google.genai.types.EditMode
- EditMode(String) - Constructor for class com.google.genai.types.EditMode
- EditMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for EditMode.
- ELASTIC_SEARCH - Enum constant in enum com.google.genai.types.ApiSpec.Known
-
Elastic search API spec.
- elasticSearchParams() - Method in class com.google.genai.types.ExternalApi
-
Parameters for the elastic search API.
- elasticSearchParams(ExternalApiElasticSearchParams) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for elasticSearchParams.
- elasticSearchParams(ExternalApiElasticSearchParams.Builder) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for elasticSearchParams builder.
- embedContent(String, String, EmbedContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously embeds content given a GenAI model and a text string.
- embedContent(String, String, EmbedContentConfig) - Method in class com.google.genai.Models
-
Embeds content given a GenAI model and a text string.
- embedContent(String, List<String>, EmbedContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously embeds content given a GenAI model and a list of text strings.
- embedContent(String, List<String>, EmbedContentConfig) - Method in class com.google.genai.Models
-
Embeds content given a GenAI model and a list of text strings.
- EmbedContentBatch - Class in com.google.genai.types
-
Parameters for the embed_content method.
- EmbedContentBatch() - Constructor for class com.google.genai.types.EmbedContentBatch
- EmbedContentBatch.Builder - Class in com.google.genai.types
-
Builder for EmbedContentBatch.
- EmbedContentConfig - Class in com.google.genai.types
-
Optional parameters for the embed_content method.
- EmbedContentConfig() - Constructor for class com.google.genai.types.EmbedContentConfig
- EmbedContentConfig.Builder - Class in com.google.genai.types
-
Builder for EmbedContentConfig.
- EmbedContentMetadata - Class in com.google.genai.types
-
Request-level metadata for the Vertex Embed Content API.
- EmbedContentMetadata() - Constructor for class com.google.genai.types.EmbedContentMetadata
- EmbedContentMetadata.Builder - Class in com.google.genai.types
-
Builder for EmbedContentMetadata.
- EmbedContentParameters - Class in com.google.genai.types
-
Parameters for the embed_content method.
- EmbedContentParameters() - Constructor for class com.google.genai.types.EmbedContentParameters
- EmbedContentParameters.Builder - Class in com.google.genai.types
-
Builder for EmbedContentParameters.
- EmbedContentResponse - Class in com.google.genai.types
-
Response for the embed_content method.
- EmbedContentResponse() - Constructor for class com.google.genai.types.EmbedContentResponse
- EmbedContentResponse.Builder - Class in com.google.genai.types
-
Builder for EmbedContentResponse.
- embedding() - Method in class com.google.genai.types.SingleEmbedContentResponse
-
The response to the request.
- embedding(ContentEmbedding) - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
-
Setter for embedding.
- embedding(ContentEmbedding.Builder) - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
-
Setter for embedding builder.
- embeddings() - Method in class com.google.genai.types.EmbedContentResponse
-
The embeddings for each request, in the same order as provided in the batch request.
- embeddings(ContentEmbedding...) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for embeddings.
- embeddings(ContentEmbedding.Builder...) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for embeddings builder.
- embeddings(List<ContentEmbedding>) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for embeddings.
- EmbeddingsBatchJobSource - Class in com.google.genai.types
-
None
- EmbeddingsBatchJobSource() - Constructor for class com.google.genai.types.EmbeddingsBatchJobSource
- EmbeddingsBatchJobSource.Builder - Class in com.google.genai.types
-
Builder for EmbeddingsBatchJobSource.
- EN - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
English
- ENABLE_DIFFERENTIAL_PRIVACY_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- enableAffectiveDialog() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- enableAffectiveDialog() - Method in class com.google.genai.types.LiveConnectConfig
-
If enabled, the model will detect emotions and adapt its responses accordingly.
- enableAffectiveDialog(boolean) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for enableAffectiveDialog.
- enableAffectiveDialog(boolean) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for enableAffectiveDialog.
- enableControlImageComputation() - Method in class com.google.genai.types.ControlReferenceConfig
-
Defaults to False.
- enableControlImageComputation(boolean) - Method in class com.google.genai.types.ControlReferenceConfig.Builder
-
Setter for enableControlImageComputation.
- enableEnhancedCivicAnswers() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- enableEnhancedCivicAnswers(boolean) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for enableEnhancedCivicAnswers.
- enableWidget() - Method in class com.google.genai.types.GoogleMaps
-
Optional.
- enableWidget(boolean) - Method in class com.google.genai.types.GoogleMaps.Builder
-
Setter for enableWidget.
- encryptionSpec() - Method in class com.google.genai.types.TuningJob
-
Customer-managed encryption key options for a TuningJob.
- encryptionSpec(EncryptionSpec) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for encryptionSpec.
- encryptionSpec(EncryptionSpec.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for encryptionSpec builder.
- EncryptionSpec - Class in com.google.genai.types
-
Represents a customer-managed encryption key spec that can be applied to a top-level resource.
- EncryptionSpec() - Constructor for class com.google.genai.types.EncryptionSpec
- EncryptionSpec.Builder - Class in com.google.genai.types
-
Builder for EncryptionSpec.
- END_SENSITIVITY_HIGH - Enum constant in enum com.google.genai.types.EndSensitivity.Known
-
Automatic detection ends speech more often.
- END_SENSITIVITY_LOW - Enum constant in enum com.google.genai.types.EndSensitivity.Known
-
Automatic detection ends speech less often.
- END_SENSITIVITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.EndSensitivity.Known
-
The default is END_SENSITIVITY_LOW.
- endIndex() - Method in class com.google.genai.types.Citation
-
Output only.
- endIndex() - Method in class com.google.genai.types.Segment
-
Output only.
- endIndex(Integer) - Method in class com.google.genai.types.Citation.Builder
-
Setter for endIndex.
- endIndex(Integer) - Method in class com.google.genai.types.Segment.Builder
-
Setter for endIndex.
- endOffset() - Method in class com.google.genai.types.VideoMetadata
-
Optional.
- endOffset(Duration) - Method in class com.google.genai.types.VideoMetadata.Builder
-
Setter for endOffset.
- endOfSpeechSensitivity() - Method in class com.google.genai.types.AutomaticActivityDetection
-
Determines how likely detected speech is ended.
- endOfSpeechSensitivity(EndSensitivity) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for endOfSpeechSensitivity.
- endOfSpeechSensitivity(EndSensitivity.Known) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for endOfSpeechSensitivity given a known enum.
- endOfSpeechSensitivity(String) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for endOfSpeechSensitivity given a string.
- endpoint() - Method in class com.google.genai.types.ExternalApi
-
The endpoint of the external API.
- endpoint() - Method in class com.google.genai.types.TunedModel
-
Output only.
- endpoint() - Method in class com.google.genai.types.TunedModelCheckpoint
-
The Endpoint resource name that the checkpoint is deployed to.
- endpoint(String) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for endpoint.
- endpoint(String) - Method in class com.google.genai.types.TunedModel.Builder
-
Setter for endpoint.
- endpoint(String) - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Setter for endpoint.
- Endpoint - Class in com.google.genai.types
-
An endpoint where you deploy models.
- Endpoint() - Constructor for class com.google.genai.types.Endpoint
- Endpoint.Builder - Class in com.google.genai.types
-
Builder for Endpoint.
- endpoints() - Method in class com.google.genai.types.Model
-
List of deployed models created from this base model.
- endpoints(Endpoint...) - Method in class com.google.genai.types.Model.Builder
-
Setter for endpoints.
- endpoints(Endpoint.Builder...) - Method in class com.google.genai.types.Model.Builder
-
Setter for endpoints builder.
- endpoints(List<Endpoint>) - Method in class com.google.genai.types.Model.Builder
-
Setter for endpoints.
- EndSensitivity - Class in com.google.genai.types
-
End of speech sensitivity.
- EndSensitivity(EndSensitivity.Known) - Constructor for class com.google.genai.types.EndSensitivity
- EndSensitivity(String) - Constructor for class com.google.genai.types.EndSensitivity
- EndSensitivity.Known - Enum in com.google.genai.types
-
Enum representing the known values for EndSensitivity.
- endTime() - Method in class com.google.genai.types.BatchJob
-
The time when the BatchJob was completed.
- endTime() - Method in class com.google.genai.types.Interval
-
Optional.
- endTime() - Method in class com.google.genai.types.TuningJob
-
Output only.
- endTime(Instant) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for endTime.
- endTime(Instant) - Method in class com.google.genai.types.Interval.Builder
-
Setter for endTime.
- endTime(Instant) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for endTime.
- engine() - Method in class com.google.genai.types.VertexAISearch
-
Optional.
- engine(String) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for engine.
- enhancedPrompt() - Method in class com.google.genai.types.GeneratedImage
-
The rewritten prompt used for the image generation if the prompt enhancer is enabled.
- enhancedPrompt(String) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for enhancedPrompt.
- enhanceInputImage() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Whether to add an image enhancing step before upscaling.
- enhanceInputImage() - Method in class com.google.genai.types.UpscaleImageConfig
-
Whether to add an image enhancing step before upscaling.
- enhanceInputImage(boolean) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for enhanceInputImage.
- enhanceInputImage(boolean) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for enhanceInputImage.
- enhancePrompt() - Method in class com.google.genai.types.GenerateImagesConfig
-
Whether to use the prompt rewriting logic.
- enhancePrompt() - Method in class com.google.genai.types.GenerateVideosConfig
-
Whether to use the prompt rewriting logic.
- enhancePrompt() - Method in class com.google.genai.types.RecontextImageConfig
-
Whether to use the prompt rewriting logic.
- enhancePrompt(boolean) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for enhancePrompt.
- enhancePrompt(boolean) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for enhancePrompt.
- enhancePrompt(boolean) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for enhancePrompt.
- enterpriseWebSearch() - Method in class com.google.genai.types.Tool
-
Optional.
- enterpriseWebSearch(EnterpriseWebSearch) - Method in class com.google.genai.types.Tool.Builder
-
Setter for enterpriseWebSearch.
- enterpriseWebSearch(EnterpriseWebSearch.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for enterpriseWebSearch builder.
- EnterpriseWebSearch - Class in com.google.genai.types
-
Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.
- EnterpriseWebSearch() - Constructor for class com.google.genai.types.EnterpriseWebSearch
- EnterpriseWebSearch.Builder - Class in com.google.genai.types
-
Builder for EnterpriseWebSearch.
- EntityLabel - Class in com.google.genai.types
-
An entity representing the segmented area.
- EntityLabel() - Constructor for class com.google.genai.types.EntityLabel
- EntityLabel.Builder - Class in com.google.genai.types
-
Builder for EntityLabel.
- enum_() - Method in class com.google.genai.types.Schema
-
Optional.
- enum_(String...) - Method in class com.google.genai.types.Schema.Builder
-
Setter for enum_.
- enum_(List<String>) - Method in class com.google.genai.types.Schema.Builder
-
Setter for enum_.
- environment() - Method in class com.google.genai.types.ComputerUse
-
Required.
- environment(Environment) - Method in class com.google.genai.types.ComputerUse.Builder
-
Setter for environment.
- environment(Environment.Known) - Method in class com.google.genai.types.ComputerUse.Builder
-
Setter for environment given a known enum.
- environment(String) - Method in class com.google.genai.types.ComputerUse.Builder
-
Setter for environment given a string.
- Environment - Class in com.google.genai.types
-
The environment being operated.
- Environment(Environment.Known) - Constructor for class com.google.genai.types.Environment
- Environment(String) - Constructor for class com.google.genai.types.Environment
- ENVIRONMENT_BROWSER - Enum constant in enum com.google.genai.types.Environment.Known
-
Operates in a web browser.
- ENVIRONMENT_UNSPECIFIED - Enum constant in enum com.google.genai.types.Environment.Known
-
Defaults to browser.
- Environment.Known - Enum in com.google.genai.types
-
Enum representing the known values for Environment.
- EOS_ID_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- EOS_PIECE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- epoch() - Method in class com.google.genai.types.Checkpoint
-
The epoch of the checkpoint.
- epoch() - Method in class com.google.genai.types.TunedModelCheckpoint
-
The epoch of the checkpoint.
- epoch(Long) - Method in class com.google.genai.types.Checkpoint.Builder
-
Setter for epoch.
- epoch(Long) - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Setter for epoch.
- epochCount() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Number of complete passes the model makes over the entire training dataset during training.
- epochCount() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Optional.
- epochCount() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Optional.
- epochCount() - Method in class com.google.genai.types.VeoHyperParameters
-
Optional.
- epochCount(Integer) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for epochCount.
- epochCount(Long) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for epochCount.
- epochCount(Long) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for epochCount.
- epochCount(Long) - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Setter for epochCount.
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- equals(Object) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- equals(Object) - Method in class com.google.genai.types.ActivityHandling
- equals(Object) - Method in class com.google.genai.types.AdapterSize
- equals(Object) - Method in class com.google.genai.types.ApiSpec
- equals(Object) - Method in class com.google.genai.types.AuthType
- equals(Object) - Method in class com.google.genai.types.Behavior
- equals(Object) - Method in class com.google.genai.types.BlockedReason
- equals(Object) - Method in class com.google.genai.types.ControlReferenceType
- equals(Object) - Method in class com.google.genai.types.DocumentState
- equals(Object) - Method in class com.google.genai.types.DynamicRetrievalConfigMode
- equals(Object) - Method in class com.google.genai.types.EditMode
- equals(Object) - Method in class com.google.genai.types.EndSensitivity
- equals(Object) - Method in class com.google.genai.types.Environment
- equals(Object) - Method in class com.google.genai.types.FeatureSelectionPreference
- equals(Object) - Method in class com.google.genai.types.FileSource
- equals(Object) - Method in class com.google.genai.types.FileState
- equals(Object) - Method in class com.google.genai.types.FinishReason
- equals(Object) - Method in class com.google.genai.types.FunctionCallingConfigMode
- equals(Object) - Method in class com.google.genai.types.FunctionResponseScheduling
- equals(Object) - Method in class com.google.genai.types.HarmBlockMethod
- equals(Object) - Method in class com.google.genai.types.HarmBlockThreshold
- equals(Object) - Method in class com.google.genai.types.HarmCategory
- equals(Object) - Method in class com.google.genai.types.HarmProbability
- equals(Object) - Method in class com.google.genai.types.HarmSeverity
- equals(Object) - Method in class com.google.genai.types.HttpElementLocation
- equals(Object) - Method in class com.google.genai.types.ImagePromptLanguage
- equals(Object) - Method in class com.google.genai.types.JobState
- equals(Object) - Method in class com.google.genai.types.Language
- equals(Object) - Method in class com.google.genai.types.MaskReferenceMode
- equals(Object) - Method in class com.google.genai.types.MediaModality
- equals(Object) - Method in class com.google.genai.types.MediaResolution
- equals(Object) - Method in class com.google.genai.types.Modality
- equals(Object) - Method in class com.google.genai.types.Mode
- equals(Object) - Method in class com.google.genai.types.ModelRoutingPreference
- equals(Object) - Method in class com.google.genai.types.NullValue
- equals(Object) - Method in class com.google.genai.types.Outcome
- equals(Object) - Method in class com.google.genai.types.PartMediaResolutionLevel
- equals(Object) - Method in class com.google.genai.types.PersonGeneration
- equals(Object) - Method in class com.google.genai.types.PhishBlockThreshold
- equals(Object) - Method in class com.google.genai.types.SafetyFilterLevel
- equals(Object) - Method in class com.google.genai.types.SegmentMode
- equals(Object) - Method in class com.google.genai.types.StartSensitivity
- equals(Object) - Method in class com.google.genai.types.SubjectReferenceType
- equals(Object) - Method in class com.google.genai.types.ThinkingLevel
- equals(Object) - Method in class com.google.genai.types.TrafficType
- equals(Object) - Method in class com.google.genai.types.TuningMethod
- equals(Object) - Method in class com.google.genai.types.TuningMode
- equals(Object) - Method in class com.google.genai.types.TuningTask
- equals(Object) - Method in class com.google.genai.types.TurnCompleteReason
- equals(Object) - Method in class com.google.genai.types.TurnCoverage
- equals(Object) - Method in class com.google.genai.types.Type
- equals(Object) - Method in class com.google.genai.types.UrlRetrievalStatus
- equals(Object) - Method in class com.google.genai.types.VideoCompressionQuality
- equals(Object) - Method in class com.google.genai.types.VideoGenerationMaskMode
- equals(Object) - Method in class com.google.genai.types.VideoGenerationReferenceType
- error() - Method in class com.google.genai.types.BatchJob
-
Output only.
- error() - Method in class com.google.genai.types.DeleteResourceJob
- error() - Method in class com.google.genai.types.File
-
Output only.
- error() - Method in class com.google.genai.types.InlinedEmbedContentResponse
-
The error encountered while processing the request.
- error() - Method in class com.google.genai.types.InlinedResponse
-
The error encountered while processing the request.
- error() - Method in class com.google.genai.types.Operation
-
The error result of the operation in case of failure or cancellation.
- error() - Method in class com.google.genai.types.TuningJob
-
Output only.
- error() - Method in class com.google.genai.types.TuningOperation
-
The error result of the operation in case of failure or cancellation.
- error(FileStatus) - Method in class com.google.genai.types.File.Builder
-
Setter for error.
- error(FileStatus.Builder) - Method in class com.google.genai.types.File.Builder
-
Setter for error builder.
- error(GoogleRpcStatus) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for error.
- error(GoogleRpcStatus.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for error builder.
- error(JobError) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for error.
- error(JobError) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for error.
- error(JobError) - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Setter for error.
- error(JobError) - Method in class com.google.genai.types.InlinedResponse.Builder
-
Setter for error.
- error(JobError.Builder) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for error builder.
- error(JobError.Builder) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for error builder.
- error(JobError.Builder) - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Setter for error builder.
- error(JobError.Builder) - Method in class com.google.genai.types.InlinedResponse.Builder
-
Setter for error builder.
- error(Map<String, Object>) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for error.
- error(Map<String, Object>) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for error.
- error(Map<String, Object>) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for error.
- error(Map<String, Object>) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for error.
- ES - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Spanish
- ESCAPE_WHITESPACES_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- evaluationConfig() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Evaluation config for the tuning job.
- evaluationConfig() - Method in class com.google.genai.types.TuningJob
-
Evaluation config for the tuning job.
- evaluationConfig(EvaluationConfig) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for evaluationConfig.
- evaluationConfig(EvaluationConfig) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for evaluationConfig.
- evaluationConfig(EvaluationConfig.Builder) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for evaluationConfig builder.
- evaluationConfig(EvaluationConfig.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for evaluationConfig builder.
- EvaluationConfig - Class in com.google.genai.types
-
Evaluation config for tuning.
- EvaluationConfig() - Constructor for class com.google.genai.types.EvaluationConfig
- EvaluationConfig.Builder - Class in com.google.genai.types
-
Builder for EvaluationConfig.
- example() - Method in class com.google.genai.types.Schema
-
Optional.
- example(Object) - Method in class com.google.genai.types.Schema.Builder
-
Setter for example.
- examples() - Method in class com.google.genai.types.TuningDataset
-
Inline examples with simple input/output text.
- examples(TuningExample...) - Method in class com.google.genai.types.TuningDataset.Builder
-
Setter for examples.
- examples(TuningExample.Builder...) - Method in class com.google.genai.types.TuningDataset.Builder
-
Setter for examples builder.
- examples(List<TuningExample>) - Method in class com.google.genai.types.TuningDataset.Builder
-
Setter for examples.
- exceptionIfMldev() - Method in class com.google.genai.types.TestTableItem
-
Expects an exception for MLDev matching the string.
- exceptionIfMldev(String) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for exceptionIfMldev.
- exceptionIfVertex() - Method in class com.google.genai.types.TestTableItem
-
Expects an exception for Vertex matching the string.
- exceptionIfVertex(String) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for exceptionIfVertex.
- excludeDomains() - Method in class com.google.genai.types.EnterpriseWebSearch
-
Optional.
- excludeDomains() - Method in class com.google.genai.types.GoogleSearch
-
Optional.
- excludeDomains(String...) - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Setter for excludeDomains.
- excludeDomains(String...) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for excludeDomains.
- excludeDomains(List<String>) - Method in class com.google.genai.types.EnterpriseWebSearch.Builder
-
Setter for excludeDomains.
- excludeDomains(List<String>) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for excludeDomains.
- excludedPredefinedFunctions() - Method in class com.google.genai.types.ComputerUse
-
By default, predefined functions are included in the final model call.
- excludedPredefinedFunctions(String...) - Method in class com.google.genai.types.ComputerUse.Builder
-
Setter for excludedPredefinedFunctions.
- excludedPredefinedFunctions(List<String>) - Method in class com.google.genai.types.ComputerUse.Builder
-
Setter for excludedPredefinedFunctions.
- executableCode() - Method in class com.google.genai.types.GenerateContentResponse
-
Returns the executable code in the response.
- executableCode() - Method in class com.google.genai.types.Part
-
Optional.
- executableCode(ExecutableCode) - Method in class com.google.genai.types.Part.Builder
-
Setter for executableCode.
- executableCode(ExecutableCode.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for executableCode builder.
- ExecutableCode - Class in com.google.genai.types
-
Code generated by the model that is meant to be executed, and the result returned to the model.
- ExecutableCode() - Constructor for class com.google.genai.types.ExecutableCode
- ExecutableCode.Builder - Class in com.google.genai.types
-
Builder for ExecutableCode.
- expBase() - Method in class com.google.genai.types.HttpRetryOptions
-
Multiplier by which the delay increases after each attempt.
- expBase(Double) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for expBase.
- EXPECTED_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- experiment() - Method in class com.google.genai.types.TuningJob
-
Output only.
- experiment(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for experiment.
- expirationTime() - Method in class com.google.genai.types.File
-
Output only.
- expirationTime(Instant) - Method in class com.google.genai.types.File.Builder
-
Setter for expirationTime.
- expireTime() - Method in class com.google.genai.types.CachedContent
-
Expiration time of the cached content.
- expireTime() - Method in class com.google.genai.types.CreateCachedContentConfig
-
Timestamp of when this resource is considered expired.
- expireTime() - Method in class com.google.genai.types.UpdateCachedContentConfig
-
Timestamp of when this resource is considered expired.
- expireTime(Instant) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for expireTime.
- expireTime(Instant) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for expireTime.
- expireTime(Instant) - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Setter for expireTime.
- exportLastCheckpointOnly() - Method in class com.google.genai.types.CreateTuningJobConfig
-
If set to true, disable intermediate checkpoints and only the last checkpoint will be exported.
- exportLastCheckpointOnly() - Method in class com.google.genai.types.PreferenceOptimizationSpec
-
Optional.
- exportLastCheckpointOnly() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Optional.
- exportLastCheckpointOnly(boolean) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for exportLastCheckpointOnly.
- exportLastCheckpointOnly(boolean) - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Setter for exportLastCheckpointOnly.
- exportLastCheckpointOnly(boolean) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for exportLastCheckpointOnly.
- externalApi() - Method in class com.google.genai.types.Retrieval
-
Use data source powered by external API for grounding.
- externalApi(ExternalApi) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for externalApi.
- externalApi(ExternalApi.Builder) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for externalApi builder.
- ExternalApi - Class in com.google.genai.types
-
Retrieve from data source powered by external API for grounding.
- ExternalApi() - Constructor for class com.google.genai.types.ExternalApi
- ExternalApi.Builder - Class in com.google.genai.types
-
Builder for ExternalApi.
- ExternalApiElasticSearchParams - Class in com.google.genai.types
-
The search parameters to use for the ELASTIC_SEARCH spec.
- ExternalApiElasticSearchParams() - Constructor for class com.google.genai.types.ExternalApiElasticSearchParams
- ExternalApiElasticSearchParams.Builder - Class in com.google.genai.types
-
Builder for ExternalApiElasticSearchParams.
- ExternalApiSimpleSearchParams - Class in com.google.genai.types
-
The search parameters to use for SIMPLE_SEARCH spec.
- ExternalApiSimpleSearchParams() - Constructor for class com.google.genai.types.ExternalApiSimpleSearchParams
- ExternalApiSimpleSearchParams.Builder - Class in com.google.genai.types
-
Builder for ExternalApiSimpleSearchParams.
- extraBody() - Method in class com.google.genai.types.HttpOptions
-
Extra parameters to add to the request body.
- extraBody(Map<String, Object>) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for extraBody.
F
- FAILED - Enum constant in enum com.google.genai.types.FileState.Known
- failedCount() - Method in class com.google.genai.types.CompletionStats
-
Output only.
- failedCount(Long) - Method in class com.google.genai.types.CompletionStats.Builder
-
Setter for failedCount.
- failedDocumentsCount() - Method in class com.google.genai.types.FileSearchStore
-
The number of documents in the FileSearchStore that have failed processing.
- failedDocumentsCount(Long) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for failedDocumentsCount.
- FEATURE_SELECTION_PREFERENCE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FeatureSelectionPreference.Known
- featureSelectionPreference() - Method in class com.google.genai.types.ModelSelectionConfig
-
Options for feature selection preference.
- featureSelectionPreference(FeatureSelectionPreference) - Method in class com.google.genai.types.ModelSelectionConfig.Builder
-
Setter for featureSelectionPreference.
- featureSelectionPreference(FeatureSelectionPreference.Known) - Method in class com.google.genai.types.ModelSelectionConfig.Builder
-
Setter for featureSelectionPreference given a known enum.
- featureSelectionPreference(String) - Method in class com.google.genai.types.ModelSelectionConfig.Builder
-
Setter for featureSelectionPreference given a string.
- FeatureSelectionPreference - Class in com.google.genai.types
-
Options for feature selection preference.
- FeatureSelectionPreference(FeatureSelectionPreference.Known) - Constructor for class com.google.genai.types.FeatureSelectionPreference
- FeatureSelectionPreference(String) - Constructor for class com.google.genai.types.FeatureSelectionPreference
- FeatureSelectionPreference.Known - Enum in com.google.genai.types
-
Enum representing the known values for FeatureSelectionPreference.
- FetchPredictOperationConfig - Class in com.google.genai.types
-
None
- FetchPredictOperationConfig() - Constructor for class com.google.genai.types.FetchPredictOperationConfig
- FetchPredictOperationConfig.Builder - Class in com.google.genai.types
-
Builder for FetchPredictOperationConfig.
- FetchPredictOperationParameters - Class in com.google.genai.types
-
Parameters for the fetchPredictOperation method.
- FetchPredictOperationParameters() - Constructor for class com.google.genai.types.FetchPredictOperationParameters
- FetchPredictOperationParameters.Builder - Class in com.google.genai.types
-
Builder for FetchPredictOperationParameters.
- fetchPredictOperationParametersToMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- fetchPredictOperationParametersToVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- file() - Method in class com.google.genai.types.CreateFileParameters
-
The file to be uploaded.
- file(File) - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Setter for file.
- file(File.Builder) - Method in class com.google.genai.types.CreateFileParameters.Builder
-
Setter for file builder.
- File - Class in com.google.genai.types
-
A file uploaded to the API.
- File() - Constructor for class com.google.genai.types.File
- FILE_SOURCE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FileSource.Known
- FILE_STATE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FileState.Known
- File.Builder - Class in com.google.genai.types
-
Builder for File.
- fileData() - Method in class com.google.genai.types.FunctionResponsePart
-
Optional.
- fileData() - Method in class com.google.genai.types.Part
-
Optional.
- fileData(FileData) - Method in class com.google.genai.types.Part.Builder
-
Setter for fileData.
- fileData(FileData.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for fileData builder.
- fileData(FunctionResponseFileData) - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Setter for fileData.
- fileData(FunctionResponseFileData.Builder) - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Setter for fileData builder.
- FileData - Class in com.google.genai.types
-
URI based data.
- FileData() - Constructor for class com.google.genai.types.FileData
- FileData.Builder - Class in com.google.genai.types
-
Builder for FileData.
- fileName() - Method in class com.google.genai.types.BatchJobDestination
-
The Gemini Developer API's file resource name of the output data (e.g.
- fileName() - Method in class com.google.genai.types.BatchJobSource
-
The Gemini Developer API's file resource name of the input data (e.g.
- fileName() - Method in class com.google.genai.types.EmbeddingsBatchJobSource
-
The Gemini Developer API's file resource name of the input data (e.g.
- fileName() - Method in class com.google.genai.types.ImportFileParameters
-
The name of the File API File to import.
- fileName(String) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for fileName.
- fileName(String) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for fileName.
- fileName(String) - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
-
Setter for fileName.
- fileName(String) - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Setter for fileName.
- files - Variable in class com.google.genai.Client.Async
- files - Variable in class com.google.genai.Client
- files() - Method in class com.google.genai.types.ListFilesResponse
-
The list of `File`s.
- files(File...) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for files.
- files(File.Builder...) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for files builder.
- files(List<File>) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for files.
- Files - Class in com.google.genai
-
Provides methods for interacting with the available GenAI files.
- Files(ApiClient) - Constructor for class com.google.genai.Files
- fileSearch() - Method in class com.google.genai.types.Tool
-
Optional.
- fileSearch(FileSearch) - Method in class com.google.genai.types.Tool.Builder
-
Setter for fileSearch.
- fileSearch(FileSearch.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for fileSearch builder.
- FileSearch - Class in com.google.genai.types
-
Tool to retrieve knowledge from the File Search Stores.
- FileSearch() - Constructor for class com.google.genai.types.FileSearch
- FileSearch.Builder - Class in com.google.genai.types
-
Builder for FileSearch.
- FileSearchStore - Class in com.google.genai.types
-
A collection of Documents.
- FileSearchStore() - Constructor for class com.google.genai.types.FileSearchStore
- FileSearchStore.Builder - Class in com.google.genai.types
-
Builder for FileSearchStore.
- fileSearchStoreName() - Method in class com.google.genai.types.ImportFileParameters
-
The resource name of the FileSearchStore.
- fileSearchStoreName() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters
-
The resource name of the FileSearchStore.
- fileSearchStoreName(String) - Method in class com.google.genai.types.ImportFileParameters.Builder
-
Setter for fileSearchStoreName.
- fileSearchStoreName(String) - Method in class com.google.genai.types.UploadToFileSearchStoreParameters.Builder
-
Setter for fileSearchStoreName.
- fileSearchStoreNames() - Method in class com.google.genai.types.FileSearch
-
The names of the file_search_stores to retrieve from.
- fileSearchStoreNames(String...) - Method in class com.google.genai.types.FileSearch.Builder
-
Setter for fileSearchStoreNames.
- fileSearchStoreNames(List<String>) - Method in class com.google.genai.types.FileSearch.Builder
-
Setter for fileSearchStoreNames.
- fileSearchStores - Variable in class com.google.genai.Client.Async
- fileSearchStores - Variable in class com.google.genai.Client
- fileSearchStores() - Method in class com.google.genai.types.ListFileSearchStoresResponse
-
The returned file search stores.
- fileSearchStores(FileSearchStore...) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for fileSearchStores.
- fileSearchStores(FileSearchStore.Builder...) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for fileSearchStores builder.
- fileSearchStores(List<FileSearchStore>) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for fileSearchStores.
- FileSearchStores - Class in com.google.genai
- FileSearchStores(ApiClient) - Constructor for class com.google.genai.FileSearchStores
- FileSource - Class in com.google.genai.types
-
Source of the File.
- FileSource(FileSource.Known) - Constructor for class com.google.genai.types.FileSource
- FileSource(String) - Constructor for class com.google.genai.types.FileSource
- FileSource.Known - Enum in com.google.genai.types
-
Enum representing the known values for FileSource.
- FileState - Class in com.google.genai.types
-
State for the lifecycle of a File.
- FileState(FileState.Known) - Constructor for class com.google.genai.types.FileState
- FileState(String) - Constructor for class com.google.genai.types.FileState
- FileState.Known - Enum in com.google.genai.types
-
Enum representing the known values for FileState.
- FileStatus - Class in com.google.genai.types
-
Status of a File that uses a common error model.
- FileStatus() - Constructor for class com.google.genai.types.FileStatus
- FileStatus.Builder - Class in com.google.genai.types
-
Builder for FileStatus.
- fileUri() - Method in class com.google.genai.types.FileData
-
Required.
- fileUri() - Method in class com.google.genai.types.FunctionResponseFileData
-
Required.
- fileUri(String) - Method in class com.google.genai.types.FileData.Builder
-
Setter for fileUri.
- fileUri(String) - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Setter for fileUri.
- filter() - Method in class com.google.genai.types.ListBatchJobsConfig
- filter() - Method in class com.google.genai.types.ListModelsConfig
- filter() - Method in class com.google.genai.types.ListTuningJobsConfig
- filter() - Method in class com.google.genai.types.RagRetrievalConfig
-
Optional.
- filter() - Method in class com.google.genai.types.VertexAISearch
-
Optional.
- filter() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec
-
Optional.
- filter(RagRetrievalConfigFilter) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for filter.
- filter(RagRetrievalConfigFilter.Builder) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for filter builder.
- filter(String) - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Setter for filter.
- filter(String) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for filter.
- filter(String) - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Setter for filter.
- filter(String) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for filter.
- filter(String) - Method in class com.google.genai.types.VertexAISearchDataStoreSpec.Builder
-
Setter for filter.
- FINISH_REASON_UNSPECIFIED - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The finish reason is unspecified.
- finished() - Method in class com.google.genai.types.Transcription
-
The bool indicates the end of the transcription.
- finished(boolean) - Method in class com.google.genai.types.Transcription.Builder
-
Setter for finished.
- finishMessage() - Method in class com.google.genai.types.Candidate
-
Describes the reason the model stopped generating tokens.
- finishMessage(String) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for finishMessage.
- finishReason() - Method in class com.google.genai.types.Candidate
-
The reason why the model stopped generating tokens.
- finishReason() - Method in class com.google.genai.types.GenerateContentResponse
-
Gets the finish reason in a GenerateContentResponse.
- finishReason(FinishReason) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for finishReason.
- finishReason(FinishReason.Known) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for finishReason given a known enum.
- finishReason(String) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for finishReason given a string.
- FinishReason - Class in com.google.genai.types
-
Output only.
- FinishReason(FinishReason.Known) - Constructor for class com.google.genai.types.FinishReason
- FinishReason(String) - Constructor for class com.google.genai.types.FinishReason
- FinishReason.Known - Enum in com.google.genai.types
-
Enum representing the known values for FinishReason.
- firstPage() - Method in class com.google.genai.types.RagChunkPageSpan
-
Page where chunk starts in the document.
- firstPage(Integer) - Method in class com.google.genai.types.RagChunkPageSpan.Builder
-
Setter for firstPage.
- flagContentUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
-
A link where users can flag a problem with the generated answer.
- flagContentUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
A link where users can flag a problem with the review.
- flagContentUri() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri
-
A link where users can flag a problem with the source (place or review).
- flagContentUri(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Setter for flagContentUri.
- flagContentUri(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for flagContentUri.
- flagContentUri(String) - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
-
Setter for flagContentUri.
- force() - Method in class com.google.genai.types.DeleteDocumentConfig
-
If set to true, any `Chunk`s and objects related to this `Document` will also be deleted.
- force() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig
-
If set to true, any Documents and objects related to this FileSearchStore will also be deleted.
- force(boolean) - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
-
Setter for force.
- force(boolean) - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
-
Setter for force.
- forEach(Consumer<? super T>) - Method in class com.google.genai.AsyncPager
-
Asynchronously processes each item fetched by this pager.
- FOREGROUND - Enum constant in enum com.google.genai.types.SegmentMode.Known
- format() - Method in class com.google.genai.types.BatchJobDestination
-
Storage format of the output files.
- format() - Method in class com.google.genai.types.BatchJobSource
-
Storage format of the input files.
- format() - Method in class com.google.genai.types.Schema
-
Optional.
- format(String) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for format.
- format(String) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for format.
- format(String) - Method in class com.google.genai.types.Schema.Builder
-
Setter for format.
- forNumber(int) - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- forNumber(int) - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- fps() - Method in class com.google.genai.types.GenerateVideosConfig
-
Frames per second for video generation.
- fps() - Method in class com.google.genai.types.VideoMetadata
-
Optional.
- fps(Double) - Method in class com.google.genai.types.VideoMetadata.Builder
-
Setter for fps.
- fps(Integer) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for fps.
- frequencyPenalty() - Method in class com.google.genai.types.GenerateContentConfig
-
Positive values penalize tokens that repeatedly appear in the generated text, increasing the probability of generating more diverse content.
- frequencyPenalty() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- frequencyPenalty(Float) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for frequencyPenalty.
- frequencyPenalty(Float) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for frequencyPenalty.
- fromApiResponse(JsonNode, boolean) - Method in class com.google.genai.types.GenerateVideosOperation
- fromApiResponse(JsonNode, boolean) - Method in class com.google.genai.types.ImportFileOperation
- fromApiResponse(JsonNode, boolean) - Method in class com.google.genai.types.Operation
-
Creates a new Operation object from an API response.
- fromApiResponse(JsonNode, boolean) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation
- fromBytes(byte[], String) - Static method in class com.google.genai.types.FunctionResponsePart
-
Constructs a FunctionResponsePart with FunctionResponseBlob from a byte array and MIME type.
- fromBytes(byte[], String) - Static method in class com.google.genai.types.Part
-
Constructs a InlineData Part from a byte array and MIME type.
- fromFile(String) - Static method in class com.google.genai.types.Image
-
Creates an Image object from a local file.
- fromFile(String, String) - Static method in class com.google.genai.types.Image
-
Creates an Image object from a local file and mime type.
- fromFunctionCall(String, Map<String, Object>) - Static method in class com.google.genai.types.Part
-
Constructs a FunctionCall Part from a function name and args.
- fromFunctionResponse(String, Map<String, Object>, FunctionResponsePart...) - Static method in class com.google.genai.types.Part
-
Constructs a FunctionResponse Part from a function name, response and function response parts.
- fromJson(String) - Static method in class com.google.genai.types.ActivityEnd
-
Deserializes a JSON string to a ActivityEnd object.
- fromJson(String) - Static method in class com.google.genai.types.ActivityStart
-
Deserializes a JSON string to a ActivityStart object.
- fromJson(String) - Static method in class com.google.genai.types.ApiAuth
-
Deserializes a JSON string to a ApiAuth object.
- fromJson(String) - Static method in class com.google.genai.types.ApiAuthApiKeyConfig
-
Deserializes a JSON string to a ApiAuthApiKeyConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ApiKeyConfig
-
Deserializes a JSON string to a ApiKeyConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AudioTranscriptionConfig
-
Deserializes a JSON string to a AudioTranscriptionConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AuthConfig
-
Deserializes a JSON string to a AuthConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig
-
Deserializes a JSON string to a AuthConfigGoogleServiceAccountConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig
-
Deserializes a JSON string to a AuthConfigHttpBasicAuthConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AuthConfigOauthConfig
-
Deserializes a JSON string to a AuthConfigOauthConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AuthConfigOidcConfig
-
Deserializes a JSON string to a AuthConfigOidcConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AutomaticActivityDetection
-
Deserializes a JSON string to a AutomaticActivityDetection object.
- fromJson(String) - Static method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
Deserializes a JSON string to a AutomaticFunctionCallingConfig object.
- fromJson(String) - Static method in class com.google.genai.types.AutoraterConfig
-
Deserializes a JSON string to a AutoraterConfig object.
- fromJson(String) - Static method in class com.google.genai.types.BatchJob
-
Deserializes a JSON string to a BatchJob object.
- fromJson(String) - Static method in class com.google.genai.types.BatchJobDestination
-
Deserializes a JSON string to a BatchJobDestination object.
- fromJson(String) - Static method in class com.google.genai.types.BatchJobSource
-
Deserializes a JSON string to a BatchJobSource object.
- fromJson(String) - Static method in class com.google.genai.types.Blob
-
Deserializes a JSON string to a Blob object.
- fromJson(String) - Static method in class com.google.genai.types.CachedContent
-
Deserializes a JSON string to a CachedContent object.
- fromJson(String) - Static method in class com.google.genai.types.CachedContentUsageMetadata
-
Deserializes a JSON string to a CachedContentUsageMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.CancelBatchJobConfig
-
Deserializes a JSON string to a CancelBatchJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CancelBatchJobParameters
-
Deserializes a JSON string to a CancelBatchJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CancelTuningJobConfig
-
Deserializes a JSON string to a CancelTuningJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CancelTuningJobParameters
-
Deserializes a JSON string to a CancelTuningJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.Candidate
-
Deserializes a JSON string to a Candidate object.
- fromJson(String) - Static method in class com.google.genai.types.Checkpoint
-
Deserializes a JSON string to a Checkpoint object.
- fromJson(String) - Static method in class com.google.genai.types.ChunkingConfig
-
Deserializes a JSON string to a ChunkingConfig object.
- fromJson(String) - Static method in class com.google.genai.types.Citation
-
Deserializes a JSON string to a Citation object.
- fromJson(String) - Static method in class com.google.genai.types.CitationMetadata
-
Deserializes a JSON string to a CitationMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.ClientOptions
-
Deserializes a JSON string to a ClientOptions object.
- fromJson(String) - Static method in class com.google.genai.types.CodeExecutionResult
-
Deserializes a JSON string to a CodeExecutionResult object.
- fromJson(String) - Static method in class com.google.genai.types.CompletionStats
-
Deserializes a JSON string to a CompletionStats object.
- fromJson(String) - Static method in class com.google.genai.types.ComputerUse
-
Deserializes a JSON string to a ComputerUse object.
- fromJson(String) - Static method in class com.google.genai.types.ComputeTokensConfig
-
Deserializes a JSON string to a ComputeTokensConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ComputeTokensParameters
-
Deserializes a JSON string to a ComputeTokensParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ComputeTokensResponse
-
Deserializes a JSON string to a ComputeTokensResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ComputeTokensResult
-
Deserializes a JSON string to a ComputeTokensResult object.
- fromJson(String) - Static method in class com.google.genai.types.Content
-
Deserializes a JSON string to a Content object.
- fromJson(String) - Static method in class com.google.genai.types.ContentEmbedding
-
Deserializes a JSON string to a ContentEmbedding object.
- fromJson(String) - Static method in class com.google.genai.types.ContentEmbeddingStatistics
-
Deserializes a JSON string to a ContentEmbeddingStatistics object.
- fromJson(String) - Static method in class com.google.genai.types.ContentReferenceImage
-
Deserializes a JSON string to a ContentReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.ContextWindowCompressionConfig
-
Deserializes a JSON string to a ContextWindowCompressionConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ControlReferenceConfig
-
Deserializes a JSON string to a ControlReferenceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ControlReferenceImage
-
Deserializes a JSON string to a ControlReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.CountTokensConfig
-
Deserializes a JSON string to a CountTokensConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CountTokensParameters
-
Deserializes a JSON string to a CountTokensParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CountTokensResponse
-
Deserializes a JSON string to a CountTokensResponse object.
- fromJson(String) - Static method in class com.google.genai.types.CountTokensResult
-
Deserializes a JSON string to a CountTokensResult object.
- fromJson(String) - Static method in class com.google.genai.types.CreateBatchJobConfig
-
Deserializes a JSON string to a CreateBatchJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateBatchJobParameters
-
Deserializes a JSON string to a CreateBatchJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateCachedContentConfig
-
Deserializes a JSON string to a CreateCachedContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateCachedContentParameters
-
Deserializes a JSON string to a CreateCachedContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig
-
Deserializes a JSON string to a CreateEmbeddingsBatchJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
Deserializes a JSON string to a CreateEmbeddingsBatchJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateFileConfig
-
Deserializes a JSON string to a CreateFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateFileParameters
-
Deserializes a JSON string to a CreateFileParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateFileResponse
-
Deserializes a JSON string to a CreateFileResponse object.
- fromJson(String) - Static method in class com.google.genai.types.CreateFileSearchStoreConfig
-
Deserializes a JSON string to a CreateFileSearchStoreConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateFileSearchStoreParameters
-
Deserializes a JSON string to a CreateFileSearchStoreParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateTuningJobConfig
-
Deserializes a JSON string to a CreateTuningJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.CreateTuningJobParameters
-
Deserializes a JSON string to a CreateTuningJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
Deserializes a JSON string to a CreateTuningJobParametersPrivate object.
- fromJson(String) - Static method in class com.google.genai.types.CustomMetadata
-
Deserializes a JSON string to a CustomMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.DatasetDistribution
-
Deserializes a JSON string to a DatasetDistribution object.
- fromJson(String) - Static method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Deserializes a JSON string to a DatasetDistributionDistributionBucket object.
- fromJson(String) - Static method in class com.google.genai.types.DatasetStats
-
Deserializes a JSON string to a DatasetStats object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteBatchJobConfig
-
Deserializes a JSON string to a DeleteBatchJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteBatchJobParameters
-
Deserializes a JSON string to a DeleteBatchJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteCachedContentConfig
-
Deserializes a JSON string to a DeleteCachedContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteCachedContentParameters
-
Deserializes a JSON string to a DeleteCachedContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteCachedContentResponse
-
Deserializes a JSON string to a DeleteCachedContentResponse object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteDocumentConfig
-
Deserializes a JSON string to a DeleteDocumentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteDocumentParameters
-
Deserializes a JSON string to a DeleteDocumentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteFileConfig
-
Deserializes a JSON string to a DeleteFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteFileParameters
-
Deserializes a JSON string to a DeleteFileParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteFileResponse
-
Deserializes a JSON string to a DeleteFileResponse object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteFileSearchStoreConfig
-
Deserializes a JSON string to a DeleteFileSearchStoreConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteFileSearchStoreParameters
-
Deserializes a JSON string to a DeleteFileSearchStoreParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteModelConfig
-
Deserializes a JSON string to a DeleteModelConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteModelParameters
-
Deserializes a JSON string to a DeleteModelParameters object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteModelResponse
-
Deserializes a JSON string to a DeleteModelResponse object.
- fromJson(String) - Static method in class com.google.genai.types.DeleteResourceJob
-
Deserializes a JSON string to a DeleteResourceJob object.
- fromJson(String) - Static method in class com.google.genai.types.DistillationDataStats
-
Deserializes a JSON string to a DistillationDataStats object.
- fromJson(String) - Static method in class com.google.genai.types.Document
-
Deserializes a JSON string to a Document object.
- fromJson(String) - Static method in class com.google.genai.types.DownloadFileConfig
-
Deserializes a JSON string to a DownloadFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.DynamicRetrievalConfig
-
Deserializes a JSON string to a DynamicRetrievalConfig object.
- fromJson(String) - Static method in class com.google.genai.types.EditImageConfig
-
Deserializes a JSON string to a EditImageConfig object.
- fromJson(String) - Static method in class com.google.genai.types.EditImageParameters
-
Deserializes a JSON string to a EditImageParameters object.
- fromJson(String) - Static method in class com.google.genai.types.EditImageResponse
-
Deserializes a JSON string to a EditImageResponse object.
- fromJson(String) - Static method in class com.google.genai.types.EmbedContentBatch
-
Deserializes a JSON string to a EmbedContentBatch object.
- fromJson(String) - Static method in class com.google.genai.types.EmbedContentConfig
-
Deserializes a JSON string to a EmbedContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.EmbedContentMetadata
-
Deserializes a JSON string to a EmbedContentMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.EmbedContentParameters
-
Deserializes a JSON string to a EmbedContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.EmbedContentResponse
-
Deserializes a JSON string to a EmbedContentResponse object.
- fromJson(String) - Static method in class com.google.genai.types.EmbeddingsBatchJobSource
-
Deserializes a JSON string to a EmbeddingsBatchJobSource object.
- fromJson(String) - Static method in class com.google.genai.types.EncryptionSpec
-
Deserializes a JSON string to a EncryptionSpec object.
- fromJson(String) - Static method in class com.google.genai.types.Endpoint
-
Deserializes a JSON string to a Endpoint object.
- fromJson(String) - Static method in class com.google.genai.types.EnterpriseWebSearch
-
Deserializes a JSON string to a EnterpriseWebSearch object.
- fromJson(String) - Static method in class com.google.genai.types.EntityLabel
-
Deserializes a JSON string to a EntityLabel object.
- fromJson(String) - Static method in class com.google.genai.types.EvaluationConfig
-
Deserializes a JSON string to a EvaluationConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ExecutableCode
-
Deserializes a JSON string to a ExecutableCode object.
- fromJson(String) - Static method in class com.google.genai.types.ExternalApi
-
Deserializes a JSON string to a ExternalApi object.
- fromJson(String) - Static method in class com.google.genai.types.ExternalApiElasticSearchParams
-
Deserializes a JSON string to a ExternalApiElasticSearchParams object.
- fromJson(String) - Static method in class com.google.genai.types.ExternalApiSimpleSearchParams
-
Deserializes a JSON string to a ExternalApiSimpleSearchParams object.
- fromJson(String) - Static method in class com.google.genai.types.FetchPredictOperationConfig
-
Deserializes a JSON string to a FetchPredictOperationConfig object.
- fromJson(String) - Static method in class com.google.genai.types.FetchPredictOperationParameters
-
Deserializes a JSON string to a FetchPredictOperationParameters object.
- fromJson(String) - Static method in class com.google.genai.types.File
-
Deserializes a JSON string to a File object.
- fromJson(String) - Static method in class com.google.genai.types.FileData
-
Deserializes a JSON string to a FileData object.
- fromJson(String) - Static method in class com.google.genai.types.FileSearch
-
Deserializes a JSON string to a FileSearch object.
- fromJson(String) - Static method in class com.google.genai.types.FileSearchStore
-
Deserializes a JSON string to a FileSearchStore object.
- fromJson(String) - Static method in class com.google.genai.types.FileStatus
-
Deserializes a JSON string to a FileStatus object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionCall
-
Deserializes a JSON string to a FunctionCall object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionCallingConfig
-
Deserializes a JSON string to a FunctionCallingConfig object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionDeclaration
-
Deserializes a JSON string to a FunctionDeclaration object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionResponse
-
Deserializes a JSON string to a FunctionResponse object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionResponseBlob
-
Deserializes a JSON string to a FunctionResponseBlob object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionResponseFileData
-
Deserializes a JSON string to a FunctionResponseFileData object.
- fromJson(String) - Static method in class com.google.genai.types.FunctionResponsePart
-
Deserializes a JSON string to a FunctionResponsePart object.
- fromJson(String) - Static method in class com.google.genai.types.GcsDestination
-
Deserializes a JSON string to a GcsDestination object.
- fromJson(String) - Static method in class com.google.genai.types.GeminiPreferenceExample
-
Deserializes a JSON string to a GeminiPreferenceExample object.
- fromJson(String) - Static method in class com.google.genai.types.GeminiPreferenceExampleCompletion
-
Deserializes a JSON string to a GeminiPreferenceExampleCompletion object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateContentConfig
-
Deserializes a JSON string to a GenerateContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateContentParameters
-
Deserializes a JSON string to a GenerateContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateContentResponse
-
Deserializes a JSON string to a GenerateContentResponse object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Deserializes a JSON string to a GenerateContentResponsePromptFeedback object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Deserializes a JSON string to a GenerateContentResponseUsageMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.GeneratedImage
-
Deserializes a JSON string to a GeneratedImage object.
- fromJson(String) - Static method in class com.google.genai.types.GeneratedImageMask
-
Deserializes a JSON string to a GeneratedImageMask object.
- fromJson(String) - Static method in class com.google.genai.types.GeneratedVideo
-
Deserializes a JSON string to a GeneratedVideo object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateImagesConfig
-
Deserializes a JSON string to a GenerateImagesConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateImagesParameters
-
Deserializes a JSON string to a GenerateImagesParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateImagesResponse
-
Deserializes a JSON string to a GenerateImagesResponse object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateVideosConfig
-
Deserializes a JSON string to a GenerateVideosConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateVideosOperation
-
Deserializes a JSON string to a GenerateVideosOperation object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateVideosParameters
-
Deserializes a JSON string to a GenerateVideosParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateVideosResponse
-
Deserializes a JSON string to a GenerateVideosResponse object.
- fromJson(String) - Static method in class com.google.genai.types.GenerateVideosSource
-
Deserializes a JSON string to a GenerateVideosSource object.
- fromJson(String) - Static method in class com.google.genai.types.GenerationConfig
-
Deserializes a JSON string to a GenerationConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GenerationConfigRoutingConfig
-
Deserializes a JSON string to a GenerationConfigRoutingConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
-
Deserializes a JSON string to a GenerationConfigRoutingConfigAutoRoutingMode object.
- fromJson(String) - Static method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
-
Deserializes a JSON string to a GenerationConfigRoutingConfigManualRoutingMode object.
- fromJson(String) - Static method in class com.google.genai.types.GetBatchJobConfig
-
Deserializes a JSON string to a GetBatchJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetBatchJobParameters
-
Deserializes a JSON string to a GetBatchJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetCachedContentConfig
-
Deserializes a JSON string to a GetCachedContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetCachedContentParameters
-
Deserializes a JSON string to a GetCachedContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetDocumentConfig
-
Deserializes a JSON string to a GetDocumentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetDocumentParameters
-
Deserializes a JSON string to a GetDocumentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetFileConfig
-
Deserializes a JSON string to a GetFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetFileParameters
-
Deserializes a JSON string to a GetFileParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetFileSearchStoreConfig
-
Deserializes a JSON string to a GetFileSearchStoreConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetFileSearchStoreParameters
-
Deserializes a JSON string to a GetFileSearchStoreParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetModelConfig
-
Deserializes a JSON string to a GetModelConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetModelParameters
-
Deserializes a JSON string to a GetModelParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetOperationConfig
-
Deserializes a JSON string to a GetOperationConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetOperationParameters
-
Deserializes a JSON string to a GetOperationParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GetTuningJobConfig
-
Deserializes a JSON string to a GetTuningJobConfig object.
- fromJson(String) - Static method in class com.google.genai.types.GetTuningJobParameters
-
Deserializes a JSON string to a GetTuningJobParameters object.
- fromJson(String) - Static method in class com.google.genai.types.GoogleMaps
-
Deserializes a JSON string to a GoogleMaps object.
- fromJson(String) - Static method in class com.google.genai.types.GoogleRpcStatus
-
Deserializes a JSON string to a GoogleRpcStatus object.
- fromJson(String) - Static method in class com.google.genai.types.GoogleSearch
-
Deserializes a JSON string to a GoogleSearch object.
- fromJson(String) - Static method in class com.google.genai.types.GoogleSearchRetrieval
-
Deserializes a JSON string to a GoogleSearchRetrieval object.
- fromJson(String) - Static method in class com.google.genai.types.GoogleTypeDate
-
Deserializes a JSON string to a GoogleTypeDate object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunk
-
Deserializes a JSON string to a GroundingChunk object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkMaps
-
Deserializes a JSON string to a GroundingChunkMaps object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
-
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSources object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSourcesReviewSnippet object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Deserializes a JSON string to a GroundingChunkRetrievedContext object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingChunkWeb
-
Deserializes a JSON string to a GroundingChunkWeb object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingMetadata
-
Deserializes a JSON string to a GroundingMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri
-
Deserializes a JSON string to a GroundingMetadataSourceFlaggingUri object.
- fromJson(String) - Static method in class com.google.genai.types.GroundingSupport
-
Deserializes a JSON string to a GroundingSupport object.
- fromJson(String) - Static method in class com.google.genai.types.HttpOptions
-
Deserializes a JSON string to a HttpOptions object.
- fromJson(String) - Static method in class com.google.genai.types.HttpResponse
-
Deserializes a JSON string to a HttpResponse object.
- fromJson(String) - Static method in class com.google.genai.types.HttpRetryOptions
-
Deserializes a JSON string to a HttpRetryOptions object.
- fromJson(String) - Static method in class com.google.genai.types.Image
-
Deserializes a JSON string to a Image object.
- fromJson(String) - Static method in class com.google.genai.types.ImageConfig
-
Deserializes a JSON string to a ImageConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ImportFileConfig
-
Deserializes a JSON string to a ImportFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ImportFileOperation
-
Deserializes a JSON string to a ImportFileOperation object.
- fromJson(String) - Static method in class com.google.genai.types.ImportFileParameters
-
Deserializes a JSON string to a ImportFileParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ImportFileResponse
-
Deserializes a JSON string to a ImportFileResponse object.
- fromJson(String) - Static method in class com.google.genai.types.InlinedEmbedContentResponse
-
Deserializes a JSON string to a InlinedEmbedContentResponse object.
- fromJson(String) - Static method in class com.google.genai.types.InlinedRequest
-
Deserializes a JSON string to a InlinedRequest object.
- fromJson(String) - Static method in class com.google.genai.types.InlinedResponse
-
Deserializes a JSON string to a InlinedResponse object.
- fromJson(String) - Static method in class com.google.genai.types.Interval
-
Deserializes a JSON string to a Interval object.
- fromJson(String) - Static method in class com.google.genai.types.JobError
-
Deserializes a JSON string to a JobError object.
- fromJson(String) - Static method in class com.google.genai.types.LatLng
-
Deserializes a JSON string to a LatLng object.
- fromJson(String) - Static method in class com.google.genai.types.ListBatchJobsConfig
-
Deserializes a JSON string to a ListBatchJobsConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListBatchJobsParameters
-
Deserializes a JSON string to a ListBatchJobsParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListBatchJobsResponse
-
Deserializes a JSON string to a ListBatchJobsResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListCachedContentsConfig
-
Deserializes a JSON string to a ListCachedContentsConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListCachedContentsParameters
-
Deserializes a JSON string to a ListCachedContentsParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListCachedContentsResponse
-
Deserializes a JSON string to a ListCachedContentsResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListDocumentsConfig
-
Deserializes a JSON string to a ListDocumentsConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListDocumentsParameters
-
Deserializes a JSON string to a ListDocumentsParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListDocumentsResponse
-
Deserializes a JSON string to a ListDocumentsResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListFilesConfig
-
Deserializes a JSON string to a ListFilesConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListFileSearchStoresConfig
-
Deserializes a JSON string to a ListFileSearchStoresConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListFileSearchStoresParameters
-
Deserializes a JSON string to a ListFileSearchStoresParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListFileSearchStoresResponse
-
Deserializes a JSON string to a ListFileSearchStoresResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListFilesParameters
-
Deserializes a JSON string to a ListFilesParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListFilesResponse
-
Deserializes a JSON string to a ListFilesResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListModelsConfig
-
Deserializes a JSON string to a ListModelsConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListModelsParameters
-
Deserializes a JSON string to a ListModelsParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListModelsResponse
-
Deserializes a JSON string to a ListModelsResponse object.
- fromJson(String) - Static method in class com.google.genai.types.ListTuningJobsConfig
-
Deserializes a JSON string to a ListTuningJobsConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ListTuningJobsParameters
-
Deserializes a JSON string to a ListTuningJobsParameters object.
- fromJson(String) - Static method in class com.google.genai.types.ListTuningJobsResponse
-
Deserializes a JSON string to a ListTuningJobsResponse object.
- fromJson(String) - Static method in class com.google.genai.types.LiveClientContent
-
Deserializes a JSON string to a LiveClientContent object.
- fromJson(String) - Static method in class com.google.genai.types.LiveClientMessage
-
Deserializes a JSON string to a LiveClientMessage object.
- fromJson(String) - Static method in class com.google.genai.types.LiveClientRealtimeInput
-
Deserializes a JSON string to a LiveClientRealtimeInput object.
- fromJson(String) - Static method in class com.google.genai.types.LiveClientSetup
-
Deserializes a JSON string to a LiveClientSetup object.
- fromJson(String) - Static method in class com.google.genai.types.LiveClientToolResponse
-
Deserializes a JSON string to a LiveClientToolResponse object.
- fromJson(String) - Static method in class com.google.genai.types.LiveConnectConfig
-
Deserializes a JSON string to a LiveConnectConfig object.
- fromJson(String) - Static method in class com.google.genai.types.LiveConnectParameters
-
Deserializes a JSON string to a LiveConnectParameters object.
- fromJson(String) - Static method in class com.google.genai.types.LiveSendClientContentParameters
-
Deserializes a JSON string to a LiveSendClientContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Deserializes a JSON string to a LiveSendRealtimeInputParameters object.
- fromJson(String) - Static method in class com.google.genai.types.LiveSendToolResponseParameters
-
Deserializes a JSON string to a LiveSendToolResponseParameters object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerContent
-
Deserializes a JSON string to a LiveServerContent object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerGoAway
-
Deserializes a JSON string to a LiveServerGoAway object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerMessage
-
Deserializes a JSON string to a LiveServerMessage object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
Deserializes a JSON string to a LiveServerSessionResumptionUpdate object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerSetupComplete
-
Deserializes a JSON string to a LiveServerSetupComplete object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerToolCall
-
Deserializes a JSON string to a LiveServerToolCall object.
- fromJson(String) - Static method in class com.google.genai.types.LiveServerToolCallCancellation
-
Deserializes a JSON string to a LiveServerToolCallCancellation object.
- fromJson(String) - Static method in class com.google.genai.types.LogprobsResult
-
Deserializes a JSON string to a LogprobsResult object.
- fromJson(String) - Static method in class com.google.genai.types.LogprobsResultCandidate
-
Deserializes a JSON string to a LogprobsResultCandidate object.
- fromJson(String) - Static method in class com.google.genai.types.LogprobsResultTopCandidates
-
Deserializes a JSON string to a LogprobsResultTopCandidates object.
- fromJson(String) - Static method in class com.google.genai.types.MaskReferenceConfig
-
Deserializes a JSON string to a MaskReferenceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.MaskReferenceImage
-
Deserializes a JSON string to a MaskReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.Metric
-
Deserializes a JSON string to a Metric object.
- fromJson(String) - Static method in class com.google.genai.types.ModalityTokenCount
-
Deserializes a JSON string to a ModalityTokenCount object.
- fromJson(String) - Static method in class com.google.genai.types.Model
-
Deserializes a JSON string to a Model object.
- fromJson(String) - Static method in class com.google.genai.types.ModelSelectionConfig
-
Deserializes a JSON string to a ModelSelectionConfig object.
- fromJson(String) - Static method in class com.google.genai.types.MultiSpeakerVoiceConfig
-
Deserializes a JSON string to a MultiSpeakerVoiceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.OutputConfig
-
Deserializes a JSON string to a OutputConfig object.
- fromJson(String) - Static method in class com.google.genai.types.Part
-
Deserializes a JSON string to a Part object.
- fromJson(String) - Static method in class com.google.genai.types.PartialArg
-
Deserializes a JSON string to a PartialArg object.
- fromJson(String) - Static method in class com.google.genai.types.PartMediaResolution
-
Deserializes a JSON string to a PartMediaResolution object.
- fromJson(String) - Static method in class com.google.genai.types.PartnerModelTuningSpec
-
Deserializes a JSON string to a PartnerModelTuningSpec object.
- fromJson(String) - Static method in class com.google.genai.types.PrebuiltVoiceConfig
-
Deserializes a JSON string to a PrebuiltVoiceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Deserializes a JSON string to a PreferenceOptimizationDataStats object.
- fromJson(String) - Static method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Deserializes a JSON string to a PreferenceOptimizationHyperParameters object.
- fromJson(String) - Static method in class com.google.genai.types.PreferenceOptimizationSpec
-
Deserializes a JSON string to a PreferenceOptimizationSpec object.
- fromJson(String) - Static method in class com.google.genai.types.PreTunedModel
-
Deserializes a JSON string to a PreTunedModel object.
- fromJson(String) - Static method in class com.google.genai.types.ProactivityConfig
-
Deserializes a JSON string to a ProactivityConfig object.
- fromJson(String) - Static method in class com.google.genai.types.ProductImage
-
Deserializes a JSON string to a ProductImage object.
- fromJson(String) - Static method in class com.google.genai.types.RagChunk
-
Deserializes a JSON string to a RagChunk object.
- fromJson(String) - Static method in class com.google.genai.types.RagChunkPageSpan
-
Deserializes a JSON string to a RagChunkPageSpan object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfig
-
Deserializes a JSON string to a RagRetrievalConfig object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfigFilter
-
Deserializes a JSON string to a RagRetrievalConfigFilter object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfigHybridSearch
-
Deserializes a JSON string to a RagRetrievalConfigHybridSearch object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfigRanking
-
Deserializes a JSON string to a RagRetrievalConfigRanking object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker
-
Deserializes a JSON string to a RagRetrievalConfigRankingLlmRanker object.
- fromJson(String) - Static method in class com.google.genai.types.RagRetrievalConfigRankingRankService
-
Deserializes a JSON string to a RagRetrievalConfigRankingRankService object.
- fromJson(String) - Static method in class com.google.genai.types.RawReferenceImage
-
Deserializes a JSON string to a RawReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.RealtimeInputConfig
-
Deserializes a JSON string to a RealtimeInputConfig object.
- fromJson(String) - Static method in class com.google.genai.types.RecontextImageConfig
-
Deserializes a JSON string to a RecontextImageConfig object.
- fromJson(String) - Static method in class com.google.genai.types.RecontextImageParameters
-
Deserializes a JSON string to a RecontextImageParameters object.
- fromJson(String) - Static method in class com.google.genai.types.RecontextImageResponse
-
Deserializes a JSON string to a RecontextImageResponse object.
- fromJson(String) - Static method in class com.google.genai.types.RecontextImageSource
-
Deserializes a JSON string to a RecontextImageSource object.
- fromJson(String) - Static method in class com.google.genai.types.ReferenceImageAPI
-
Deserializes a JSON string to a ReferenceImageAPI object.
- fromJson(String) - Static method in class com.google.genai.types.ReplayFile
-
Deserializes a JSON string to a ReplayFile object.
- fromJson(String) - Static method in class com.google.genai.types.ReplayInteraction
-
Deserializes a JSON string to a ReplayInteraction object.
- fromJson(String) - Static method in class com.google.genai.types.ReplayRequest
-
Deserializes a JSON string to a ReplayRequest object.
- fromJson(String) - Static method in class com.google.genai.types.ReplayResponse
-
Deserializes a JSON string to a ReplayResponse object.
- fromJson(String) - Static method in class com.google.genai.types.Retrieval
-
Deserializes a JSON string to a Retrieval object.
- fromJson(String) - Static method in class com.google.genai.types.RetrievalConfig
-
Deserializes a JSON string to a RetrievalConfig object.
- fromJson(String) - Static method in class com.google.genai.types.RetrievalMetadata
-
Deserializes a JSON string to a RetrievalMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.SafetyAttributes
-
Deserializes a JSON string to a SafetyAttributes object.
- fromJson(String) - Static method in class com.google.genai.types.SafetyRating
-
Deserializes a JSON string to a SafetyRating object.
- fromJson(String) - Static method in class com.google.genai.types.SafetySetting
-
Deserializes a JSON string to a SafetySetting object.
- fromJson(String) - Static method in class com.google.genai.types.Schema
-
Deserializes a JSON string to a Schema object.
- fromJson(String) - Static method in class com.google.genai.types.ScribbleImage
-
Deserializes a JSON string to a ScribbleImage object.
- fromJson(String) - Static method in class com.google.genai.types.SearchEntryPoint
-
Deserializes a JSON string to a SearchEntryPoint object.
- fromJson(String) - Static method in class com.google.genai.types.Segment
-
Deserializes a JSON string to a Segment object.
- fromJson(String) - Static method in class com.google.genai.types.SegmentImageConfig
-
Deserializes a JSON string to a SegmentImageConfig object.
- fromJson(String) - Static method in class com.google.genai.types.SegmentImageParameters
-
Deserializes a JSON string to a SegmentImageParameters object.
- fromJson(String) - Static method in class com.google.genai.types.SegmentImageResponse
-
Deserializes a JSON string to a SegmentImageResponse object.
- fromJson(String) - Static method in class com.google.genai.types.SegmentImageSource
-
Deserializes a JSON string to a SegmentImageSource object.
- fromJson(String) - Static method in class com.google.genai.types.SessionResumptionConfig
-
Deserializes a JSON string to a SessionResumptionConfig object.
- fromJson(String) - Static method in class com.google.genai.types.SingleEmbedContentResponse
-
Deserializes a JSON string to a SingleEmbedContentResponse object.
- fromJson(String) - Static method in class com.google.genai.types.SlidingWindow
-
Deserializes a JSON string to a SlidingWindow object.
- fromJson(String) - Static method in class com.google.genai.types.SpeakerVoiceConfig
-
Deserializes a JSON string to a SpeakerVoiceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.SpeechConfig
-
Deserializes a JSON string to a SpeechConfig object.
- fromJson(String) - Static method in class com.google.genai.types.StringList
-
Deserializes a JSON string to a StringList object.
- fromJson(String) - Static method in class com.google.genai.types.StyleReferenceConfig
-
Deserializes a JSON string to a StyleReferenceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.StyleReferenceImage
-
Deserializes a JSON string to a StyleReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.SubjectReferenceConfig
-
Deserializes a JSON string to a SubjectReferenceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.SubjectReferenceImage
-
Deserializes a JSON string to a SubjectReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.SupervisedHyperParameters
-
Deserializes a JSON string to a SupervisedHyperParameters object.
- fromJson(String) - Static method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Deserializes a JSON string to a SupervisedTuningDatasetDistribution object.
- fromJson(String) - Static method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Deserializes a JSON string to a SupervisedTuningDatasetDistributionDatasetBucket object.
- fromJson(String) - Static method in class com.google.genai.types.SupervisedTuningDataStats
-
Deserializes a JSON string to a SupervisedTuningDataStats object.
- fromJson(String) - Static method in class com.google.genai.types.SupervisedTuningSpec
-
Deserializes a JSON string to a SupervisedTuningSpec object.
- fromJson(String) - Static method in class com.google.genai.types.TestTableFile
-
Deserializes a JSON string to a TestTableFile object.
- fromJson(String) - Static method in class com.google.genai.types.TestTableItem
-
Deserializes a JSON string to a TestTableItem object.
- fromJson(String) - Static method in class com.google.genai.types.ThinkingConfig
-
Deserializes a JSON string to a ThinkingConfig object.
- fromJson(String) - Static method in class com.google.genai.types.TokensInfo
-
Deserializes a JSON string to a TokensInfo object.
- fromJson(String) - Static method in class com.google.genai.types.Tool
-
Deserializes a JSON string to a Tool object.
- fromJson(String) - Static method in class com.google.genai.types.ToolCodeExecution
-
Deserializes a JSON string to a ToolCodeExecution object.
- fromJson(String) - Static method in class com.google.genai.types.ToolConfig
-
Deserializes a JSON string to a ToolConfig object.
- fromJson(String) - Static method in class com.google.genai.types.Transcription
-
Deserializes a JSON string to a Transcription object.
- fromJson(String) - Static method in class com.google.genai.types.TunedModel
-
Deserializes a JSON string to a TunedModel object.
- fromJson(String) - Static method in class com.google.genai.types.TunedModelCheckpoint
-
Deserializes a JSON string to a TunedModelCheckpoint object.
- fromJson(String) - Static method in class com.google.genai.types.TunedModelInfo
-
Deserializes a JSON string to a TunedModelInfo object.
- fromJson(String) - Static method in class com.google.genai.types.TuningDataset
-
Deserializes a JSON string to a TuningDataset object.
- fromJson(String) - Static method in class com.google.genai.types.TuningDataStats
-
Deserializes a JSON string to a TuningDataStats object.
- fromJson(String) - Static method in class com.google.genai.types.TuningExample
-
Deserializes a JSON string to a TuningExample object.
- fromJson(String) - Static method in class com.google.genai.types.TuningJob
-
Deserializes a JSON string to a TuningJob object.
- fromJson(String) - Static method in class com.google.genai.types.TuningOperation
-
Deserializes a JSON string to a TuningOperation object.
- fromJson(String) - Static method in class com.google.genai.types.TuningValidationDataset
-
Deserializes a JSON string to a TuningValidationDataset object.
- fromJson(String) - Static method in class com.google.genai.types.UpdateCachedContentConfig
-
Deserializes a JSON string to a UpdateCachedContentConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UpdateCachedContentParameters
-
Deserializes a JSON string to a UpdateCachedContentParameters object.
- fromJson(String) - Static method in class com.google.genai.types.UpdateModelConfig
-
Deserializes a JSON string to a UpdateModelConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UpdateModelParameters
-
Deserializes a JSON string to a UpdateModelParameters object.
- fromJson(String) - Static method in class com.google.genai.types.UploadFileConfig
-
Deserializes a JSON string to a UploadFileConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Deserializes a JSON string to a UploadToFileSearchStoreConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UploadToFileSearchStoreOperation
-
Deserializes a JSON string to a UploadToFileSearchStoreOperation object.
- fromJson(String) - Static method in class com.google.genai.types.UploadToFileSearchStoreParameters
-
Deserializes a JSON string to a UploadToFileSearchStoreParameters object.
- fromJson(String) - Static method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
Deserializes a JSON string to a UploadToFileSearchStoreResponse object.
- fromJson(String) - Static method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse
-
Deserializes a JSON string to a UploadToFileSearchStoreResumableResponse object.
- fromJson(String) - Static method in class com.google.genai.types.UpscaleImageAPIConfig
-
Deserializes a JSON string to a UpscaleImageAPIConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UpscaleImageAPIParameters
-
Deserializes a JSON string to a UpscaleImageAPIParameters object.
- fromJson(String) - Static method in class com.google.genai.types.UpscaleImageConfig
-
Deserializes a JSON string to a UpscaleImageConfig object.
- fromJson(String) - Static method in class com.google.genai.types.UpscaleImageParameters
-
Deserializes a JSON string to a UpscaleImageParameters object.
- fromJson(String) - Static method in class com.google.genai.types.UpscaleImageResponse
-
Deserializes a JSON string to a UpscaleImageResponse object.
- fromJson(String) - Static method in class com.google.genai.types.UrlContext
-
Deserializes a JSON string to a UrlContext object.
- fromJson(String) - Static method in class com.google.genai.types.UrlContextMetadata
-
Deserializes a JSON string to a UrlContextMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.UrlMetadata
-
Deserializes a JSON string to a UrlMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.UsageMetadata
-
Deserializes a JSON string to a UsageMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.VeoHyperParameters
-
Deserializes a JSON string to a VeoHyperParameters object.
- fromJson(String) - Static method in class com.google.genai.types.VeoTuningSpec
-
Deserializes a JSON string to a VeoTuningSpec object.
- fromJson(String) - Static method in class com.google.genai.types.VertexAISearch
-
Deserializes a JSON string to a VertexAISearch object.
- fromJson(String) - Static method in class com.google.genai.types.VertexAISearchDataStoreSpec
-
Deserializes a JSON string to a VertexAISearchDataStoreSpec object.
- fromJson(String) - Static method in class com.google.genai.types.VertexRagStore
-
Deserializes a JSON string to a VertexRagStore object.
- fromJson(String) - Static method in class com.google.genai.types.VertexRagStoreRagResource
-
Deserializes a JSON string to a VertexRagStoreRagResource object.
- fromJson(String) - Static method in class com.google.genai.types.Video
-
Deserializes a JSON string to a Video object.
- fromJson(String) - Static method in class com.google.genai.types.VideoGenerationMask
-
Deserializes a JSON string to a VideoGenerationMask object.
- fromJson(String) - Static method in class com.google.genai.types.VideoGenerationReferenceImage
-
Deserializes a JSON string to a VideoGenerationReferenceImage object.
- fromJson(String) - Static method in class com.google.genai.types.VideoMetadata
-
Deserializes a JSON string to a VideoMetadata object.
- fromJson(String) - Static method in class com.google.genai.types.VoiceConfig
-
Deserializes a JSON string to a VoiceConfig object.
- fromJson(String) - Static method in class com.google.genai.types.WhiteSpaceConfig
-
Deserializes a JSON string to a WhiteSpaceConfig object.
- fromMethod(Method, String...) - Static method in class com.google.genai.types.FunctionDeclaration
-
Creates a FunctionDeclaration instance from a
Methodinstance. - fromMethod(String, Method, String...) - Static method in class com.google.genai.types.FunctionDeclaration
-
Creates a FunctionDeclaration instance from a
Methodinstance. - fromParts(Part...) - Static method in class com.google.genai.types.Content
-
Constructs a Content from parts, assuming the role is "user".
- fromText(String) - Static method in class com.google.genai.types.Part
-
Constructs a Text Part from a text string.
- fromUri(String, String) - Static method in class com.google.genai.types.FunctionResponsePart
-
Constructs a FunctionResponsePart with FunctionResponseFileData from a file URI and MIME type.
- fromUri(String, String) - Static method in class com.google.genai.types.Part
-
Constructs a FileData Part from a file URI and MIME type.
- FUNCTION_CALLING_CONFIG_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
- FUNCTION_RESPONSE_SCHEDULING_UNSPECIFIED - Enum constant in enum com.google.genai.types.FunctionResponseScheduling.Known
- functionCall() - Method in class com.google.genai.types.Part
-
Optional.
- functionCall(FunctionCall) - Method in class com.google.genai.types.Part.Builder
-
Setter for functionCall.
- functionCall(FunctionCall.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for functionCall builder.
- FunctionCall - Class in com.google.genai.types
-
A function call.
- FunctionCall() - Constructor for class com.google.genai.types.FunctionCall
- FunctionCall.Builder - Class in com.google.genai.types
-
Builder for FunctionCall.
- functionCallingConfig() - Method in class com.google.genai.types.ToolConfig
-
Optional.
- functionCallingConfig(FunctionCallingConfig) - Method in class com.google.genai.types.ToolConfig.Builder
-
Setter for functionCallingConfig.
- functionCallingConfig(FunctionCallingConfig.Builder) - Method in class com.google.genai.types.ToolConfig.Builder
-
Setter for functionCallingConfig builder.
- FunctionCallingConfig - Class in com.google.genai.types
-
Function calling config.
- FunctionCallingConfig() - Constructor for class com.google.genai.types.FunctionCallingConfig
- FunctionCallingConfig.Builder - Class in com.google.genai.types
-
Builder for FunctionCallingConfig.
- FunctionCallingConfigMode - Class in com.google.genai.types
-
Config for the function calling config mode.
- FunctionCallingConfigMode(FunctionCallingConfigMode.Known) - Constructor for class com.google.genai.types.FunctionCallingConfigMode
- FunctionCallingConfigMode(String) - Constructor for class com.google.genai.types.FunctionCallingConfigMode
- FunctionCallingConfigMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for FunctionCallingConfigMode.
- functionCalls() - Method in class com.google.genai.types.GenerateContentResponse
-
Returns the list of function calls in the response.
- functionCalls() - Method in class com.google.genai.types.LiveServerToolCall
-
The function call to be executed.
- functionCalls(FunctionCall...) - Method in class com.google.genai.types.LiveServerToolCall.Builder
-
Setter for functionCalls.
- functionCalls(FunctionCall.Builder...) - Method in class com.google.genai.types.LiveServerToolCall.Builder
-
Setter for functionCalls builder.
- functionCalls(List<FunctionCall>) - Method in class com.google.genai.types.LiveServerToolCall.Builder
-
Setter for functionCalls.
- FunctionDeclaration - Class in com.google.genai.types
-
Defines a function that the model can generate JSON inputs for.
- FunctionDeclaration() - Constructor for class com.google.genai.types.FunctionDeclaration
- FunctionDeclaration.Builder - Class in com.google.genai.types
-
Builder for FunctionDeclaration.
- functionDeclarations() - Method in class com.google.genai.types.Tool
-
List of function declarations that the tool supports.
- functionDeclarations(FunctionDeclaration...) - Method in class com.google.genai.types.Tool.Builder
-
Setter for functionDeclarations.
- functionDeclarations(FunctionDeclaration.Builder...) - Method in class com.google.genai.types.Tool.Builder
-
Setter for functionDeclarations builder.
- functionDeclarations(List<FunctionDeclaration>) - Method in class com.google.genai.types.Tool.Builder
-
Setter for functionDeclarations.
- functionResponse() - Method in class com.google.genai.types.Part
-
Optional.
- functionResponse(FunctionResponse) - Method in class com.google.genai.types.Part.Builder
-
Setter for functionResponse.
- functionResponse(FunctionResponse.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for functionResponse builder.
- FunctionResponse - Class in com.google.genai.types
-
A function response.
- FunctionResponse() - Constructor for class com.google.genai.types.FunctionResponse
- FunctionResponse.Builder - Class in com.google.genai.types
-
Builder for FunctionResponse.
- FunctionResponseBlob - Class in com.google.genai.types
-
Raw media bytes for function response.
- FunctionResponseBlob() - Constructor for class com.google.genai.types.FunctionResponseBlob
- FunctionResponseBlob.Builder - Class in com.google.genai.types
-
Builder for FunctionResponseBlob.
- FunctionResponseFileData - Class in com.google.genai.types
-
URI based data for function response.
- FunctionResponseFileData() - Constructor for class com.google.genai.types.FunctionResponseFileData
- FunctionResponseFileData.Builder - Class in com.google.genai.types
-
Builder for FunctionResponseFileData.
- FunctionResponsePart - Class in com.google.genai.types
-
A datatype containing media that is part of a `FunctionResponse` message.
- FunctionResponsePart() - Constructor for class com.google.genai.types.FunctionResponsePart
- FunctionResponsePart.Builder - Class in com.google.genai.types
-
Builder for FunctionResponsePart.
- functionResponses() - Method in class com.google.genai.types.LiveClientToolResponse
-
The response to the function calls.
- functionResponses() - Method in class com.google.genai.types.LiveSendToolResponseParameters
-
Tool responses to send to the session.
- functionResponses(FunctionResponse...) - Method in class com.google.genai.types.LiveClientToolResponse.Builder
-
Setter for functionResponses.
- functionResponses(FunctionResponse...) - Method in class com.google.genai.types.LiveSendToolResponseParameters.Builder
-
Setter for functionResponses.
- functionResponses(FunctionResponse.Builder...) - Method in class com.google.genai.types.LiveClientToolResponse.Builder
-
Setter for functionResponses builder.
- functionResponses(FunctionResponse.Builder...) - Method in class com.google.genai.types.LiveSendToolResponseParameters.Builder
-
Setter for functionResponses builder.
- functionResponses(List<FunctionResponse>) - Method in class com.google.genai.types.LiveClientToolResponse.Builder
-
Setter for functionResponses.
- functionResponses(List<FunctionResponse>) - Method in class com.google.genai.types.LiveSendToolResponseParameters.Builder
-
Setter for functionResponses.
- FunctionResponseScheduling - Class in com.google.genai.types
-
Specifies how the response should be scheduled in the conversation.
- FunctionResponseScheduling(FunctionResponseScheduling.Known) - Constructor for class com.google.genai.types.FunctionResponseScheduling
- FunctionResponseScheduling(String) - Constructor for class com.google.genai.types.FunctionResponseScheduling
- FunctionResponseScheduling.Known - Enum in com.google.genai.types
-
Enum representing the known values for FunctionResponseScheduling.
- functions() - Method in class com.google.genai.types.Tool
-
The java.lang.reflect.Method instance.
- functions(Method...) - Method in class com.google.genai.types.Tool.Builder
-
Setter for functions.
- functions(List<Method>) - Method in class com.google.genai.types.Tool.Builder
-
Setter for functions.
G
- gcsDestination() - Method in class com.google.genai.types.OutputConfig
-
Cloud storage destination for evaluation output.
- gcsDestination(GcsDestination) - Method in class com.google.genai.types.OutputConfig.Builder
-
Setter for gcsDestination.
- gcsDestination(GcsDestination.Builder) - Method in class com.google.genai.types.OutputConfig.Builder
-
Setter for gcsDestination builder.
- GcsDestination - Class in com.google.genai.types
-
The Google Cloud Storage location where the output is to be written to.
- GcsDestination() - Constructor for class com.google.genai.types.GcsDestination
- GcsDestination.Builder - Class in com.google.genai.types
-
Builder for GcsDestination.
- gcsUri() - Method in class com.google.genai.types.BatchJobDestination
-
The Google Cloud Storage URI to the output file.
- gcsUri() - Method in class com.google.genai.types.BatchJobSource
-
The Google Cloud Storage URIs to input files.
- gcsUri() - Method in class com.google.genai.types.Image
-
The Cloud Storage URI of the image.
- gcsUri() - Method in class com.google.genai.types.TuningDataset
-
GCS URI of the file containing training dataset in JSONL format.
- gcsUri() - Method in class com.google.genai.types.TuningValidationDataset
-
GCS URI of the file containing validation dataset in JSONL format.
- gcsUri(String) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for gcsUri.
- gcsUri(String) - Method in class com.google.genai.types.Image.Builder
-
Setter for gcsUri.
- gcsUri(String) - Method in class com.google.genai.types.TuningDataset.Builder
-
Setter for gcsUri.
- gcsUri(String) - Method in class com.google.genai.types.TuningValidationDataset.Builder
-
Setter for gcsUri.
- gcsUri(String...) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for gcsUri.
- gcsUri(List<String>) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for gcsUri.
- GeminiPreferenceExample - Class in com.google.genai.types
-
Input example for preference optimization.
- GeminiPreferenceExample() - Constructor for class com.google.genai.types.GeminiPreferenceExample
- GeminiPreferenceExample.Builder - Class in com.google.genai.types
-
Builder for GeminiPreferenceExample.
- GeminiPreferenceExampleCompletion - Class in com.google.genai.types
-
Completion and its preference score.
- GeminiPreferenceExampleCompletion() - Constructor for class com.google.genai.types.GeminiPreferenceExampleCompletion
- GeminiPreferenceExampleCompletion.Builder - Class in com.google.genai.types
-
Builder for GeminiPreferenceExampleCompletion.
- GenAiIOException - Exception in com.google.genai.errors
-
IO exception raised in the GenAI SDK.
- GenAiIOException(String) - Constructor for exception com.google.genai.errors.GenAiIOException
-
Creates a new GenAiIoException with the specified message.
- GenAiIOException(String, IOException) - Constructor for exception com.google.genai.errors.GenAiIOException
-
Creates a new GenAiIoException with the specified message and the original IOException.
- GenAiIOException(Throwable) - Constructor for exception com.google.genai.errors.GenAiIOException
-
Creates a new GenAiIoException with the specified cause.
- generateAudio() - Method in class com.google.genai.types.GenerateVideosConfig
-
Whether to generate audio along with the video.
- generateAudio(boolean) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for generateAudio.
- generateContent(String, Content, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content given a GenAI model and a content object.
- generateContent(String, Content, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content given a GenAI model and a content object.
- generateContent(String, String, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content given a GenAI model and a text string.
- generateContent(String, String, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content given a GenAI model and a text string.
- generateContent(String, List<Content>, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content given a GenAI model and a list of content.
- generateContent(String, List<Content>, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content given a GenAI model and a list of content.
- GenerateContentConfig - Class in com.google.genai.types
-
Optional model configuration parameters.
- GenerateContentConfig() - Constructor for class com.google.genai.types.GenerateContentConfig
- GenerateContentConfig.Builder - Class in com.google.genai.types
-
Builder for GenerateContentConfig.
- GenerateContentParameters - Class in com.google.genai.types
-
Config for models.generate_content parameters.
- GenerateContentParameters() - Constructor for class com.google.genai.types.GenerateContentParameters
- GenerateContentParameters.Builder - Class in com.google.genai.types
-
Builder for GenerateContentParameters.
- GenerateContentResponse - Class in com.google.genai.types
-
Response message for PredictionService.GenerateContent.
- GenerateContentResponse() - Constructor for class com.google.genai.types.GenerateContentResponse
- GenerateContentResponse.Builder - Class in com.google.genai.types
-
Builder for GenerateContentResponse.
- GenerateContentResponsePromptFeedback - Class in com.google.genai.types
-
Content filter results for a prompt sent in the request.
- GenerateContentResponsePromptFeedback() - Constructor for class com.google.genai.types.GenerateContentResponsePromptFeedback
- GenerateContentResponsePromptFeedback.Builder - Class in com.google.genai.types
-
Builder for GenerateContentResponsePromptFeedback.
- GenerateContentResponseUsageMetadata - Class in com.google.genai.types
-
Usage metadata about the content generation request and response.
- GenerateContentResponseUsageMetadata() - Constructor for class com.google.genai.types.GenerateContentResponseUsageMetadata
- GenerateContentResponseUsageMetadata.Builder - Class in com.google.genai.types
-
Builder for GenerateContentResponseUsageMetadata.
- generateContentStream(String, Content, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content with streaming support given a GenAI model and a content object.
- generateContentStream(String, Content, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content with streaming support given a GenAI model and a content object.
- generateContentStream(String, String, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content with streaming support given a GenAI model and a text string.
- generateContentStream(String, String, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content with streaming support given a GenAI model and a text string.
- generateContentStream(String, List<Content>, GenerateContentConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates content with streaming support given a GenAI model and a list of content.
- generateContentStream(String, List<Content>, GenerateContentConfig) - Method in class com.google.genai.Models
-
Generates content with streaming support given a GenAI model and a list of content.
- GENERATED - Enum constant in enum com.google.genai.types.FileSource.Known
- GeneratedImage - Class in com.google.genai.types
-
An output image.
- GeneratedImage() - Constructor for class com.google.genai.types.GeneratedImage
- GeneratedImage.Builder - Class in com.google.genai.types
-
Builder for GeneratedImage.
- GeneratedImageMask - Class in com.google.genai.types
-
A generated image mask.
- GeneratedImageMask() - Constructor for class com.google.genai.types.GeneratedImageMask
- GeneratedImageMask.Builder - Class in com.google.genai.types
-
Builder for GeneratedImageMask.
- generatedImages() - Method in class com.google.genai.types.EditImageResponse
-
Generated images.
- generatedImages() - Method in class com.google.genai.types.GenerateImagesResponse
-
List of generated images.
- generatedImages() - Method in class com.google.genai.types.RecontextImageResponse
-
List of generated images.
- generatedImages() - Method in class com.google.genai.types.UpscaleImageResponse
-
Generated images.
- generatedImages(GeneratedImage...) - Method in class com.google.genai.types.EditImageResponse.Builder
-
Setter for generatedImages.
- generatedImages(GeneratedImage...) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for generatedImages.
- generatedImages(GeneratedImage...) - Method in class com.google.genai.types.RecontextImageResponse.Builder
-
Setter for generatedImages.
- generatedImages(GeneratedImage...) - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Setter for generatedImages.
- generatedImages(GeneratedImage.Builder...) - Method in class com.google.genai.types.EditImageResponse.Builder
-
Setter for generatedImages builder.
- generatedImages(GeneratedImage.Builder...) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for generatedImages builder.
- generatedImages(GeneratedImage.Builder...) - Method in class com.google.genai.types.RecontextImageResponse.Builder
-
Setter for generatedImages builder.
- generatedImages(GeneratedImage.Builder...) - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Setter for generatedImages builder.
- generatedImages(List<GeneratedImage>) - Method in class com.google.genai.types.EditImageResponse.Builder
-
Setter for generatedImages.
- generatedImages(List<GeneratedImage>) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for generatedImages.
- generatedImages(List<GeneratedImage>) - Method in class com.google.genai.types.RecontextImageResponse.Builder
-
Setter for generatedImages.
- generatedImages(List<GeneratedImage>) - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Setter for generatedImages.
- generatedMasks() - Method in class com.google.genai.types.SegmentImageResponse
-
List of generated image masks.
- generatedMasks(GeneratedImageMask...) - Method in class com.google.genai.types.SegmentImageResponse.Builder
-
Setter for generatedMasks.
- generatedMasks(GeneratedImageMask.Builder...) - Method in class com.google.genai.types.SegmentImageResponse.Builder
-
Setter for generatedMasks builder.
- generatedMasks(List<GeneratedImageMask>) - Method in class com.google.genai.types.SegmentImageResponse.Builder
-
Setter for generatedMasks.
- GeneratedVideo - Class in com.google.genai.types
-
A generated video.
- GeneratedVideo() - Constructor for class com.google.genai.types.GeneratedVideo
- GeneratedVideo.Builder - Class in com.google.genai.types
-
Builder for GeneratedVideo.
- generatedVideoFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- generatedVideoFromVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- generatedVideos() - Method in class com.google.genai.types.GenerateVideosResponse
-
List of the generated videos
- generatedVideos(GeneratedVideo...) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for generatedVideos.
- generatedVideos(GeneratedVideo.Builder...) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for generatedVideos builder.
- generatedVideos(List<GeneratedVideo>) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for generatedVideos.
- generateImages(String, String, GenerateImagesConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates images given a GenAI model and a prompt.
- generateImages(String, String, GenerateImagesConfig) - Method in class com.google.genai.Models
-
Generates images given a GenAI model and a prompt.
- GenerateImagesConfig - Class in com.google.genai.types
-
The config for generating an images.
- GenerateImagesConfig() - Constructor for class com.google.genai.types.GenerateImagesConfig
- GenerateImagesConfig.Builder - Class in com.google.genai.types
-
Builder for GenerateImagesConfig.
- GenerateImagesParameters - Class in com.google.genai.types
-
The parameters for generating images.
- GenerateImagesParameters() - Constructor for class com.google.genai.types.GenerateImagesParameters
- GenerateImagesParameters.Builder - Class in com.google.genai.types
-
Builder for GenerateImagesParameters.
- GenerateImagesResponse - Class in com.google.genai.types
-
The output images response.
- GenerateImagesResponse() - Constructor for class com.google.genai.types.GenerateImagesResponse
- GenerateImagesResponse.Builder - Class in com.google.genai.types
-
Builder for GenerateImagesResponse.
- generateVideos(String, GenerateVideosSource, GenerateVideosConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates videos given a GenAI model, and a GenerateVideosSource source.
- generateVideos(String, GenerateVideosSource, GenerateVideosConfig) - Method in class com.google.genai.Models
-
Generates videos given a GenAI model, and a GenerateVideosSource source.
- generateVideos(String, String, Image, GenerateVideosConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates videos given a GenAI model, and an input (text, image).
- generateVideos(String, String, Image, GenerateVideosConfig) - Method in class com.google.genai.Models
-
Generates videos given a GenAI model, and an input (text, image).
- generateVideos(String, String, Image, Video, GenerateVideosConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously generates videos given a GenAI model, and an input (text, image, or video).
- generateVideos(String, String, Image, Video, GenerateVideosConfig) - Method in class com.google.genai.Models
-
Generates videos given a GenAI model, and an input (text, image, or video).
- GenerateVideosConfig - Class in com.google.genai.types
-
Configuration for generating videos.
- GenerateVideosConfig() - Constructor for class com.google.genai.types.GenerateVideosConfig
- GenerateVideosConfig.Builder - Class in com.google.genai.types
-
Builder for GenerateVideosConfig.
- GenerateVideosOperation - Class in com.google.genai.types
-
A video generation operation.
- GenerateVideosOperation() - Constructor for class com.google.genai.types.GenerateVideosOperation
- GenerateVideosOperation.Builder - Class in com.google.genai.types
-
Builder for GenerateVideosOperation.
- generateVideosOperationFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- generateVideosOperationFromVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- GenerateVideosParameters - Class in com.google.genai.types
-
Class that represents the parameters for generating videos.
- GenerateVideosParameters() - Constructor for class com.google.genai.types.GenerateVideosParameters
- GenerateVideosParameters.Builder - Class in com.google.genai.types
-
Builder for GenerateVideosParameters.
- GenerateVideosResponse - Class in com.google.genai.types
-
Response with generated videos.
- GenerateVideosResponse() - Constructor for class com.google.genai.types.GenerateVideosResponse
- GenerateVideosResponse.Builder - Class in com.google.genai.types
-
Builder for GenerateVideosResponse.
- generateVideosResponseFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- generateVideosResponseFromVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- GenerateVideosSource - Class in com.google.genai.types
-
A set of source input(s) for video generation.
- GenerateVideosSource() - Constructor for class com.google.genai.types.GenerateVideosSource
- GenerateVideosSource.Builder - Class in com.google.genai.types
-
Builder for GenerateVideosSource.
- generationComplete() - Method in class com.google.genai.types.LiveServerContent
-
If true, indicates that the model is done generating.
- generationComplete(boolean) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for generationComplete.
- generationConfig() - Method in class com.google.genai.types.AutoraterConfig
-
Configuration options for model generation and outputs.
- generationConfig() - Method in class com.google.genai.types.CountTokensConfig
-
Configuration that the model uses to generate the response.
- generationConfig() - Method in class com.google.genai.types.LiveClientSetup
-
The generation configuration for the session.
- generationConfig(GenerationConfig) - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Setter for generationConfig.
- generationConfig(GenerationConfig) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for generationConfig.
- generationConfig(GenerationConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for generationConfig.
- generationConfig(GenerationConfig.Builder) - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Setter for generationConfig builder.
- generationConfig(GenerationConfig.Builder) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for generationConfig builder.
- generationConfig(GenerationConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for generationConfig builder.
- GenerationConfig - Class in com.google.genai.types
-
Generation config.
- GenerationConfig() - Constructor for class com.google.genai.types.GenerationConfig
- GenerationConfig.Builder - Class in com.google.genai.types
-
Builder for GenerationConfig.
- GenerationConfigRoutingConfig - Class in com.google.genai.types
-
The configuration for routing the request to a specific model.
- GenerationConfigRoutingConfig() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfig
- GenerationConfigRoutingConfig.Builder - Class in com.google.genai.types
-
Builder for GenerationConfigRoutingConfig.
- GenerationConfigRoutingConfigAutoRoutingMode - Class in com.google.genai.types
-
When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.
- GenerationConfigRoutingConfigAutoRoutingMode() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
- GenerationConfigRoutingConfigAutoRoutingMode.Builder - Class in com.google.genai.types
-
Builder for GenerationConfigRoutingConfigAutoRoutingMode.
- GenerationConfigRoutingConfigManualRoutingMode - Class in com.google.genai.types
-
When manual routing is set, the specified model will be used directly.
- GenerationConfigRoutingConfigManualRoutingMode() - Constructor for class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
- GenerationConfigRoutingConfigManualRoutingMode.Builder - Class in com.google.genai.types
-
Builder for GenerationConfigRoutingConfigManualRoutingMode.
- get(String, GetBatchJobConfig) - Method in class com.google.genai.AsyncBatches
-
Asynchronously gets a batch job resource.
- get(String, GetBatchJobConfig) - Method in class com.google.genai.Batches
-
Gets a batch job resource.
- get(String, GetCachedContentConfig) - Method in class com.google.genai.AsyncCaches
-
Asynchronously gets a cached content resource.
- get(String, GetCachedContentConfig) - Method in class com.google.genai.Caches
-
Gets a cached content resource.
- get(String, GetDocumentConfig) - Method in class com.google.genai.AsyncDocuments
- get(String, GetDocumentConfig) - Method in class com.google.genai.Documents
- get(String, GetFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously retrieves the file information from the service.
- get(String, GetFileConfig) - Method in class com.google.genai.Files
-
Retrieves the file information from the service.
- get(String, GetFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
- get(String, GetFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
- get(String, GetModelConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously fetches information about a model by name.
- get(String, GetModelConfig) - Method in class com.google.genai.Models
-
Fetches information about a model by name.
- get(String, GetTuningJobConfig) - Method in class com.google.genai.AsyncTunings
-
Asynchronously makes an API request to get a tuning job.
- get(String, GetTuningJobConfig) - Method in class com.google.genai.Tunings
-
Makes an API request to get a tuning job.
- get(U, GetOperationConfig) - Method in class com.google.genai.AsyncOperations
-
Gets the status of an Operation.
- get(U, GetOperationConfig) - Method in class com.google.genai.Operations
-
Gets the status of an Operation.
- getAcceptLanguage(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- getAcceptLanguage(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
List of the languages this model can accept.
- getAcceptLanguage(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
List of the languages this model can accept.
- getAcceptLanguageBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- getAcceptLanguageBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
List of the languages this model can accept.
- getAcceptLanguageBytes(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
List of the languages this model can accept.
- getAcceptLanguageCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- getAcceptLanguageCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
List of the languages this model can accept.
- getAcceptLanguageCount() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
List of the languages this model can accept.
- getAcceptLanguageList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- getAcceptLanguageList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
List of the languages this model can accept.
- getAcceptLanguageList() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
List of the languages this model can accept.
- getAddDummyPrefix() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- getAddDummyPrefix() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- getAddDummyPrefix() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- getAllowWhitespaceOnlyPieces() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- getAllowWhitespaceOnlyPieces() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- getAllowWhitespaceOnlyPieces() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- GetBatchJobConfig - Class in com.google.genai.types
-
Optional parameters.
- GetBatchJobConfig() - Constructor for class com.google.genai.types.GetBatchJobConfig
- GetBatchJobConfig.Builder - Class in com.google.genai.types
-
Builder for GetBatchJobConfig.
- GetBatchJobParameters - Class in com.google.genai.types
-
Config for batches.get parameters.
- GetBatchJobParameters() - Constructor for class com.google.genai.types.GetBatchJobParameters
- GetBatchJobParameters.Builder - Class in com.google.genai.types
-
Builder for GetBatchJobParameters.
- getBosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<s>
- getBosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
<s>
- getBosId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
<s>
- getBosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - getBosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string bos_piece = 46 [default = "<s>"]; - getBosPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string bos_piece = 46 [default = "<s>"]; - getBosPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - getBosPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string bos_piece = 46 [default = "<s>"]; - getBosPieceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string bos_piece = 46 [default = "<s>"]; - getByteFallback() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Decomposes unknown pieces into UTF-8 bytes.
- getByteFallback() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Decomposes unknown pieces into UTF-8 bytes.
- getByteFallback() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Decomposes unknown pieces into UTF-8 bytes.
- GetCachedContentConfig - Class in com.google.genai.types
-
Optional parameters for caches.get method.
- GetCachedContentConfig() - Constructor for class com.google.genai.types.GetCachedContentConfig
- GetCachedContentConfig.Builder - Class in com.google.genai.types
-
Builder for GetCachedContentConfig.
- GetCachedContentParameters - Class in com.google.genai.types
-
Parameters for caches.get method.
- GetCachedContentParameters() - Constructor for class com.google.genai.types.GetCachedContentParameters
- GetCachedContentParameters.Builder - Class in com.google.genai.types
-
Builder for GetCachedContentParameters.
- getCharacterCoverage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Training parameters.
- getCharacterCoverage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Training parameters.
- getCharacterCoverage() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Training parameters.
- getControlSymbols(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbols(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbols(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsBytes(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsCount() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getControlSymbolsList() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- getDefaultInstance() - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- getDefaultInstanceForType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- getDenormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- getDenormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text de-normalization.
- getDenormalizerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text de-normalization.
- getDenormalizerSpecBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- getDenormalizerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- getDenormalizerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text de-normalization.
- getDenormalizerSpecOrBuilder() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text de-normalization.
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- getDescriptor() - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- getDescriptor() - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- getDescriptor() - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- getDescriptorForType() - Method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- getDescriptorForType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- getDescriptorForType() - Method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- getDifferentialPrivacyClippingThreshold() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Clipping threshold to apply after adding noise.
- getDifferentialPrivacyClippingThreshold() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Clipping threshold to apply after adding noise.
- getDifferentialPrivacyClippingThreshold() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Clipping threshold to apply after adding noise.
- getDifferentialPrivacyNoiseLevel() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Set these parameters if you need DP version of sentencepiece.
- getDifferentialPrivacyNoiseLevel() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Set these parameters if you need DP version of sentencepiece.
- getDifferentialPrivacyNoiseLevel() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Set these parameters if you need DP version of sentencepiece.
- GetDocumentConfig - Class in com.google.genai.types
-
Optional Config.
- GetDocumentConfig() - Constructor for class com.google.genai.types.GetDocumentConfig
- GetDocumentConfig.Builder - Class in com.google.genai.types
-
Builder for GetDocumentConfig.
- GetDocumentParameters - Class in com.google.genai.types
-
Parameters for documents.get.
- GetDocumentParameters() - Constructor for class com.google.genai.types.GetDocumentParameters
- GetDocumentParameters.Builder - Class in com.google.genai.types
-
Builder for GetDocumentParameters.
- getEnableDifferentialPrivacy() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Whether to use DP version of sentencepiece.
- getEnableDifferentialPrivacy() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Whether to use DP version of sentencepiece.
- getEnableDifferentialPrivacy() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Whether to use DP version of sentencepiece.
- getEosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
</s>
- getEosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
</s>
- getEosId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
</s>
- getEosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - getEosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string eos_piece = 47 [default = "</s>"]; - getEosPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string eos_piece = 47 [default = "</s>"]; - getEosPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - getEosPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string eos_piece = 47 [default = "</s>"]; - getEosPieceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string eos_piece = 47 [default = "</s>"]; - getEscapeWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Replaces whitespace with meta symbol.
- getEscapeWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Replaces whitespace with meta symbol.
- getEscapeWhitespaces() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Replaces whitespace with meta symbol.
- getExpected() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - getExpected() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string expected = 2; - getExpected() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string expected = 2; - getExpectedBytes() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - getExpectedBytes() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string expected = 2; - getExpectedBytes() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string expected = 2; - GetFileConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- GetFileConfig() - Constructor for class com.google.genai.types.GetFileConfig
- GetFileConfig.Builder - Class in com.google.genai.types
-
Builder for GetFileConfig.
- GetFileParameters - Class in com.google.genai.types
-
Generates the parameters for the get method.
- GetFileParameters() - Constructor for class com.google.genai.types.GetFileParameters
- GetFileParameters.Builder - Class in com.google.genai.types
-
Builder for GetFileParameters.
- GetFileSearchStoreConfig - Class in com.google.genai.types
-
Optional parameters for getting a FileSearchStore.
- GetFileSearchStoreConfig() - Constructor for class com.google.genai.types.GetFileSearchStoreConfig
- GetFileSearchStoreConfig.Builder - Class in com.google.genai.types
-
Builder for GetFileSearchStoreConfig.
- GetFileSearchStoreParameters - Class in com.google.genai.types
-
Config for file_search_stores.get parameters.
- GetFileSearchStoreParameters() - Constructor for class com.google.genai.types.GetFileSearchStoreParameters
- GetFileSearchStoreParameters.Builder - Class in com.google.genai.types
-
Builder for GetFileSearchStoreParameters.
- getHardVocabLimit() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
`vocab_size` is treated as hard limit.
- getHardVocabLimit() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
`vocab_size` is treated as hard limit.
- getHardVocabLimit() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
`vocab_size` is treated as hard limit.
- getHistory(boolean) - Method in class com.google.genai.Chat
-
Returns the chat history.
- getInput() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - getInput() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string input = 1; - getInput() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string input = 1; - getInput(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInput(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInput(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputBytes() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - getInputBytes() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string input = 1; - getInputBytes() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string input = 1; - getInputBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputBytes(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputCount() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputFormat() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputFormat() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputFormat() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputFormatBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputFormatBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputFormatBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- getInputList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputList() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- getInputSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Maximum size of sentences the trainer loads from `input` parameter.
- getInputSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Maximum size of sentences the trainer loads from `input` parameter.
- getInputSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Maximum size of sentences the trainer loads from `input` parameter.
- getMaxSentenceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The maximum sentence length in byte.
- getMaxSentenceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
The maximum sentence length in byte.
- getMaxSentenceLength() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
The maximum sentence length in byte.
- getMaxSentencepieceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- getMaxSentencepieceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- getMaxSentencepieceLength() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- getMiningSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- getMiningSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- getMiningSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- GetModelConfig - Class in com.google.genai.types
-
Optional parameters for models.get method.
- GetModelConfig() - Constructor for class com.google.genai.types.GetModelConfig
- GetModelConfig.Builder - Class in com.google.genai.types
-
Builder for GetModelConfig.
- GetModelParameters - Class in com.google.genai.types
-
None
- GetModelParameters() - Constructor for class com.google.genai.types.GetModelParameters
- GetModelParameters.Builder - Class in com.google.genai.types
-
Builder for GetModelParameters.
- getModelPrefix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- getModelPrefix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Output model file prefix.
- getModelPrefix() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Output model file prefix.
- getModelPrefixBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- getModelPrefixBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Output model file prefix.
- getModelPrefixBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Output model file prefix.
- getModelType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - getModelType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - getModelType() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - getName() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- getName() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
name of normalization rule.
- getName() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
name of normalization rule.
- getNameBytes() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- getNameBytes() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
name of normalization rule.
- getNameBytes() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
name of normalization rule.
- getNormalizationRuleTsv() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- getNormalizationRuleTsv() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Custom normalization rule file in TSV format.
- getNormalizationRuleTsv() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Custom normalization rule file in TSV format.
- getNormalizationRuleTsvBytes() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- getNormalizationRuleTsvBytes() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Custom normalization rule file in TSV format.
- getNormalizationRuleTsvBytes() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Custom normalization rule file in TSV format.
- getNormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- getNormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text normalization.
- getNormalizerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text normalization.
- getNormalizerSpecBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- getNormalizerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- getNormalizerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text normalization.
- getNormalizerSpecOrBuilder() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text normalization.
- getNumber() - Method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- getNumber() - Method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- getNumSubIterations() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of EM sub iterations.
- getNumSubIterations() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Number of EM sub iterations.
- getNumSubIterations() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Number of EM sub iterations.
- getNumThreads() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of threads in the training.
- getNumThreads() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Number of threads in the training.
- getNumThreads() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Number of threads in the training.
- GetOperationConfig - Class in com.google.genai.types
-
None
- GetOperationConfig() - Constructor for class com.google.genai.types.GetOperationConfig
- GetOperationConfig.Builder - Class in com.google.genai.types
-
Builder for GetOperationConfig.
- GetOperationParameters - Class in com.google.genai.types
-
Parameters for the GET method.
- GetOperationParameters() - Constructor for class com.google.genai.types.GetOperationParameters
- GetOperationParameters.Builder - Class in com.google.genai.types
-
Builder for GetOperationParameters.
- getOperationParametersToMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- getOperationParametersToVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- getPadId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<pad> (padding)
- getPadId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
<pad> (padding)
- getPadId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
<pad> (padding)
- getPadPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - getPadPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string pad_piece = 48 [default = "<pad>"]; - getPadPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string pad_piece = 48 [default = "<pad>"]; - getPadPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - getPadPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string pad_piece = 48 [default = "<pad>"]; - getPadPieceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string pad_piece = 48 [default = "<pad>"]; - getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- getParserForType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- getPiece() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- getPiece() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
piece must not be empty.
- getPiece() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
piece must not be empty.
- getPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- getPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
piece must not be empty.
- getPieceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
piece must not be empty.
- getPieces(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPieces(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Sentence pieces with scores.
- getPieces(int) - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Sentence pieces with scores.
- getPiecesBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesCount() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesCount() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Sentence pieces with scores.
- getPiecesCount() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Sentence pieces with scores.
- getPiecesList() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesList() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Sentence pieces with scores.
- getPiecesList() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Sentence pieces with scores.
- getPiecesOrBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesOrBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Sentence pieces with scores.
- getPiecesOrBuilder(int) - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Sentence pieces with scores.
- getPiecesOrBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- getPiecesOrBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Sentence pieces with scores.
- getPiecesOrBuilderList() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Sentence pieces with scores.
- getPrecompiledCharsmap() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- getPrecompiledCharsmap() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- getPrecompiledCharsmap() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- getPretokenizationDelimiter() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- getPretokenizationDelimiter() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines the pre-tokenization delimiter.
- getPretokenizationDelimiter() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines the pre-tokenization delimiter.
- getPretokenizationDelimiterBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- getPretokenizationDelimiterBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines the pre-tokenization delimiter.
- getPretokenizationDelimiterBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines the pre-tokenization delimiter.
- getRemoveExtraWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Removes leading, trailing, and duplicate internal whitespace.
- getRemoveExtraWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Removes leading, trailing, and duplicate internal whitespace.
- getRemoveExtraWhitespaces() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Removes leading, trailing, and duplicate internal whitespace.
- getRequiredChars() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- getRequiredChars() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines required characters.
- getRequiredChars() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines required characters.
- getRequiredCharsBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- getRequiredCharsBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines required characters.
- getRequiredCharsBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines required characters.
- getSamples(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamples(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamples(int) - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestDataOrBuilder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesCount() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesCount() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesCount() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestDataOrBuilder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesList() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesList() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesList() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestDataOrBuilder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilder(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilder(int) - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestDataOrBuilder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilderList() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getSamplesOrBuilderList() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestDataOrBuilder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - getScore() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional float score = 2; - getScore() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
optional float score = 2; - getScore() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
optional float score = 2; - getSeedSentencepiecesFile() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepiecesFile() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepiecesFile() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepiecesFileBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepiecesFileBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepiecesFileBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- getSeedSentencepieceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The size of seed sentencepieces.
- getSeedSentencepieceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
The size of seed sentencepieces.
- getSeedSentencepieceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
The size of seed sentencepieces.
- getSelfTestData() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestData() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestData() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestDataBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestDataOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestDataOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestDataOrBuilder() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Stores sample input and its expected segmentation to verify the model.
- getSelfTestSampleSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Size of self-test samples, which are encoded in the model file.
- getSelfTestSampleSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Size of self-test samples, which are encoded in the model file.
- getSelfTestSampleSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Size of self-test samples, which are encoded in the model file.
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- getSerializedSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- getShrinkingFactor() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- getShrinkingFactor() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- getShrinkingFactor() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- getShuffleInputSentence() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional bool shuffle_input_sentence = 19 [default = true]; - getShuffleInputSentence() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional bool shuffle_input_sentence = 19 [default = true]; - getShuffleInputSentence() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional bool shuffle_input_sentence = 19 [default = true]; - getSplitByNumber() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- getSplitByNumber() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- getSplitByNumber() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- getSplitByUnicodeScript() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Uses Unicode script to split sentence pieces.
- getSplitByUnicodeScript() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Uses Unicode script to split sentence pieces.
- getSplitByUnicodeScript() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Uses Unicode script to split sentence pieces.
- getSplitByWhitespace() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Use a white space to split sentence pieces.
- getSplitByWhitespace() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Use a white space to split sentence pieces.
- getSplitByWhitespace() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Use a white space to split sentence pieces.
- getSplitDigits() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Split all digits (0-9) into separate pieces.
- getSplitDigits() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Split all digits (0-9) into separate pieces.
- getSplitDigits() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Split all digits (0-9) into separate pieces.
- getTrainerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- getTrainerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec used to generate this model file.
- getTrainerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec used to generate this model file.
- getTrainerSpecBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- getTrainerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- getTrainerSpecOrBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec used to generate this model file.
- getTrainerSpecOrBuilder() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec used to generate this model file.
- getTrainExtremelyLargeCorpus() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- getTrainExtremelyLargeCorpus() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- getTrainExtremelyLargeCorpus() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- getTrainingSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- getTrainingSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- getTrainingSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- getTreatWhitespaceAsSuffix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- getTreatWhitespaceAsSuffix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- getTreatWhitespaceAsSuffix() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- GetTuningJobConfig - Class in com.google.genai.types
-
Optional parameters for tunings.get method.
- GetTuningJobConfig() - Constructor for class com.google.genai.types.GetTuningJobConfig
- GetTuningJobConfig.Builder - Class in com.google.genai.types
-
Builder for GetTuningJobConfig.
- GetTuningJobParameters - Class in com.google.genai.types
-
Parameters for the get method.
- GetTuningJobParameters() - Constructor for class com.google.genai.types.GetTuningJobParameters
- GetTuningJobParameters.Builder - Class in com.google.genai.types
-
Builder for GetTuningJobParameters.
- getType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - getType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - getType() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - getUnkId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- getUnkId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- getUnkId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- getUnkPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkPieceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkPieceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string unk_piece = 45 [default = "<unk>"]; - getUnkSurface() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUnkSurface() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUnkSurface() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUnkSurfaceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUnkSurfaceBytes() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUnkSurfaceBytes() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- getUseAllVocab() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
use all symbols for vocab extraction.
- getUseAllVocab() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
use all symbols for vocab extraction.
- getUseAllVocab() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
use all symbols for vocab extraction.
- getUserDefinedSymbols(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- getUserDefinedSymbols(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines user defined symbols.
- getUserDefinedSymbols(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines user defined symbols.
- getUserDefinedSymbolsBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- getUserDefinedSymbolsBytes(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines user defined symbols.
- getUserDefinedSymbolsBytes(int) - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines user defined symbols.
- getUserDefinedSymbolsCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- getUserDefinedSymbolsCount() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines user defined symbols.
- getUserDefinedSymbolsCount() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines user defined symbols.
- getUserDefinedSymbolsList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- getUserDefinedSymbolsList() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines user defined symbols.
- getUserDefinedSymbolsList() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines user defined symbols.
- getValueDescriptor() - Method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- getValueDescriptor() - Method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- getVideosOperation(GenerateVideosOperation, GetOperationConfig) - Method in class com.google.genai.AsyncOperations
-
Gets the status of a GenerateVideosOperation.
- getVideosOperation(GenerateVideosOperation, GetOperationConfig) - Method in class com.google.genai.Operations
-
Gets the status of a GenerateVideosOperation.
- getVocabSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Vocabulary size.
- getVocabSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Vocabulary size.
- getVocabSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Vocabulary size.
- getVocabularyOutputPieceScore() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- getVocabularyOutputPieceScore() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- getVocabularyOutputPieceScore() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- goAway() - Method in class com.google.genai.types.LiveServerMessage
-
Server will disconnect soon.
- goAway(LiveServerGoAway) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for goAway.
- goAway(LiveServerGoAway.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for goAway builder.
- GOOGLE_SERVICE_ACCOUNT_AUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
Google Service Account Auth.
- googleMaps() - Method in class com.google.genai.types.Tool
-
Optional.
- googleMaps(GoogleMaps) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleMaps.
- googleMaps(GoogleMaps.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleMaps builder.
- GoogleMaps - Class in com.google.genai.types
-
Tool to retrieve public maps data for grounding, powered by Google.
- GoogleMaps() - Constructor for class com.google.genai.types.GoogleMaps
- GoogleMaps.Builder - Class in com.google.genai.types
-
Builder for GoogleMaps.
- googleMapsUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
A link to show the review on Google Maps.
- googleMapsUri(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for googleMapsUri.
- googleMapsWidgetContextToken() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- googleMapsWidgetContextToken(String) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for googleMapsWidgetContextToken.
- GoogleRpcStatus - Class in com.google.genai.types
-
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
- GoogleRpcStatus() - Constructor for class com.google.genai.types.GoogleRpcStatus
- GoogleRpcStatus.Builder - Class in com.google.genai.types
-
Builder for GoogleRpcStatus.
- googleSearch() - Method in class com.google.genai.types.Tool
-
Optional.
- googleSearch(GoogleSearch) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleSearch.
- googleSearch(GoogleSearch.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleSearch builder.
- GoogleSearch - Class in com.google.genai.types
-
GoogleSearch tool type.
- GoogleSearch() - Constructor for class com.google.genai.types.GoogleSearch
- GoogleSearch.Builder - Class in com.google.genai.types
-
Builder for GoogleSearch.
- googleSearchDynamicRetrievalScore() - Method in class com.google.genai.types.RetrievalMetadata
-
Optional.
- googleSearchDynamicRetrievalScore(Float) - Method in class com.google.genai.types.RetrievalMetadata.Builder
-
Setter for googleSearchDynamicRetrievalScore.
- googleSearchRetrieval() - Method in class com.google.genai.types.Tool
-
Optional.
- googleSearchRetrieval(GoogleSearchRetrieval) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleSearchRetrieval.
- googleSearchRetrieval(GoogleSearchRetrieval.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for googleSearchRetrieval builder.
- GoogleSearchRetrieval - Class in com.google.genai.types
-
Tool to retrieve public web data for grounding, powered by Google.
- GoogleSearchRetrieval() - Constructor for class com.google.genai.types.GoogleSearchRetrieval
- GoogleSearchRetrieval.Builder - Class in com.google.genai.types
-
Builder for GoogleSearchRetrieval.
- googleServiceAccountConfig() - Method in class com.google.genai.types.AuthConfig
-
Config for Google Service Account auth.
- googleServiceAccountConfig(AuthConfigGoogleServiceAccountConfig) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for googleServiceAccountConfig.
- googleServiceAccountConfig(AuthConfigGoogleServiceAccountConfig.Builder) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for googleServiceAccountConfig builder.
- GoogleTypeDate - Class in com.google.genai.types
-
Represents a whole or partial calendar date, such as a birthday.
- GoogleTypeDate() - Constructor for class com.google.genai.types.GoogleTypeDate
- GoogleTypeDate.Builder - Class in com.google.genai.types
-
Builder for GoogleTypeDate.
- GroundingChunk - Class in com.google.genai.types
-
Grounding chunk.
- GroundingChunk() - Constructor for class com.google.genai.types.GroundingChunk
- GroundingChunk.Builder - Class in com.google.genai.types
-
Builder for GroundingChunk.
- groundingChunkIndices() - Method in class com.google.genai.types.GroundingSupport
-
A list of indices (into 'grounding_chunk') specifying the citations associated with the claim.
- groundingChunkIndices(Integer...) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for groundingChunkIndices.
- groundingChunkIndices(List<Integer>) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for groundingChunkIndices.
- GroundingChunkMaps - Class in com.google.genai.types
-
Chunk from Google Maps.
- GroundingChunkMaps() - Constructor for class com.google.genai.types.GroundingChunkMaps
- GroundingChunkMaps.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkMaps.
- GroundingChunkMapsPlaceAnswerSources - Class in com.google.genai.types
-
Sources used to generate the place answer.
- GroundingChunkMapsPlaceAnswerSources() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
- GroundingChunkMapsPlaceAnswerSources.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkMapsPlaceAnswerSources.
- GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution - Class in com.google.genai.types
-
Author attribution for a photo or review.
- GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
- GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.
- GroundingChunkMapsPlaceAnswerSourcesReviewSnippet - Class in com.google.genai.types
-
Encapsulates a review snippet.
- GroundingChunkMapsPlaceAnswerSourcesReviewSnippet() - Constructor for class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
- GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.
- GroundingChunkRetrievedContext - Class in com.google.genai.types
-
Chunk from context retrieved by the retrieval tools.
- GroundingChunkRetrievedContext() - Constructor for class com.google.genai.types.GroundingChunkRetrievedContext
- GroundingChunkRetrievedContext.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkRetrievedContext.
- groundingChunks() - Method in class com.google.genai.types.GroundingMetadata
-
List of supporting references retrieved from specified grounding source.
- groundingChunks(GroundingChunk...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingChunks.
- groundingChunks(GroundingChunk.Builder...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingChunks builder.
- groundingChunks(List<GroundingChunk>) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingChunks.
- GroundingChunkWeb - Class in com.google.genai.types
-
Chunk from the web.
- GroundingChunkWeb() - Constructor for class com.google.genai.types.GroundingChunkWeb
- GroundingChunkWeb.Builder - Class in com.google.genai.types
-
Builder for GroundingChunkWeb.
- groundingMetadata() - Method in class com.google.genai.types.Candidate
-
Output only.
- groundingMetadata() - Method in class com.google.genai.types.LiveServerContent
-
Metadata returned to client when grounding is enabled.
- groundingMetadata(GroundingMetadata) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for groundingMetadata.
- groundingMetadata(GroundingMetadata) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for groundingMetadata.
- groundingMetadata(GroundingMetadata.Builder) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for groundingMetadata builder.
- groundingMetadata(GroundingMetadata.Builder) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for groundingMetadata builder.
- GroundingMetadata - Class in com.google.genai.types
-
Metadata returned to client when grounding is enabled.
- GroundingMetadata() - Constructor for class com.google.genai.types.GroundingMetadata
- GroundingMetadata.Builder - Class in com.google.genai.types
-
Builder for GroundingMetadata.
- GroundingMetadataSourceFlaggingUri - Class in com.google.genai.types
-
Source content flagging uri for a place or review.
- GroundingMetadataSourceFlaggingUri() - Constructor for class com.google.genai.types.GroundingMetadataSourceFlaggingUri
- GroundingMetadataSourceFlaggingUri.Builder - Class in com.google.genai.types
-
Builder for GroundingMetadataSourceFlaggingUri.
- GroundingSupport - Class in com.google.genai.types
-
Grounding support.
- GroundingSupport() - Constructor for class com.google.genai.types.GroundingSupport
- GroundingSupport.Builder - Class in com.google.genai.types
-
Builder for GroundingSupport.
- groundingSupports() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- groundingSupports(GroundingSupport...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingSupports.
- groundingSupports(GroundingSupport.Builder...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingSupports builder.
- groundingSupports(List<GroundingSupport>) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for groundingSupports.
- guidanceScale() - Method in class com.google.genai.types.EditImageConfig
-
Controls how much the model adheres to the text prompt.
- guidanceScale() - Method in class com.google.genai.types.GenerateImagesConfig
-
Controls how much the model adheres to the text prompt.
- guidanceScale(Float) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for guidanceScale.
- guidanceScale(Float) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for guidanceScale.
H
- handle() - Method in class com.google.genai.types.SessionResumptionConfig
-
Session resumption handle of previous session (session to restore).
- handle(String) - Method in class com.google.genai.types.SessionResumptionConfig.Builder
-
Setter for handle.
- HARD_VOCAB_LIMIT_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- HARM_BLOCK_METHOD_UNSPECIFIED - Enum constant in enum com.google.genai.types.HarmBlockMethod.Known
-
The harm block method is unspecified.
- HARM_BLOCK_THRESHOLD_UNSPECIFIED - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Unspecified harm block threshold.
- HARM_CATEGORY_CIVIC_INTEGRITY - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
Deprecated: Election filter is not longer supported.
- HARM_CATEGORY_DANGEROUS_CONTENT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is dangerous content.
- HARM_CATEGORY_HARASSMENT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is harassment.
- HARM_CATEGORY_HATE_SPEECH - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is hate speech.
- HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is image dangerous content.
- HARM_CATEGORY_IMAGE_HARASSMENT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is image harassment.
- HARM_CATEGORY_IMAGE_HATE - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is image hate.
- HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is image sexually explicit content.
- HARM_CATEGORY_JAILBREAK - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is for jailbreak prompts.
- HARM_CATEGORY_SEXUALLY_EXPLICIT - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is sexually explicit content.
- HARM_CATEGORY_UNSPECIFIED - Enum constant in enum com.google.genai.types.HarmCategory.Known
-
The harm category is unspecified.
- HARM_PROBABILITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.HarmProbability.Known
-
Harm probability unspecified.
- HARM_SEVERITY_HIGH - Enum constant in enum com.google.genai.types.HarmSeverity.Known
-
High level of harm severity.
- HARM_SEVERITY_LOW - Enum constant in enum com.google.genai.types.HarmSeverity.Known
-
Low level of harm severity.
- HARM_SEVERITY_MEDIUM - Enum constant in enum com.google.genai.types.HarmSeverity.Known
-
Medium level of harm severity.
- HARM_SEVERITY_NEGLIGIBLE - Enum constant in enum com.google.genai.types.HarmSeverity.Known
-
Negligible level of harm severity.
- HARM_SEVERITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.HarmSeverity.Known
-
Harm severity unspecified.
- HarmBlockMethod - Class in com.google.genai.types
-
Specify if the threshold is used for probability or severity score.
- HarmBlockMethod(HarmBlockMethod.Known) - Constructor for class com.google.genai.types.HarmBlockMethod
- HarmBlockMethod(String) - Constructor for class com.google.genai.types.HarmBlockMethod
- HarmBlockMethod.Known - Enum in com.google.genai.types
-
Enum representing the known values for HarmBlockMethod.
- HarmBlockThreshold - Class in com.google.genai.types
-
The harm block threshold.
- HarmBlockThreshold(HarmBlockThreshold.Known) - Constructor for class com.google.genai.types.HarmBlockThreshold
- HarmBlockThreshold(String) - Constructor for class com.google.genai.types.HarmBlockThreshold
- HarmBlockThreshold.Known - Enum in com.google.genai.types
-
Enum representing the known values for HarmBlockThreshold.
- HarmCategory - Class in com.google.genai.types
-
Harm category.
- HarmCategory(HarmCategory.Known) - Constructor for class com.google.genai.types.HarmCategory
- HarmCategory(String) - Constructor for class com.google.genai.types.HarmCategory
- HarmCategory.Known - Enum in com.google.genai.types
-
Enum representing the known values for HarmCategory.
- HarmProbability - Class in com.google.genai.types
-
Output only.
- HarmProbability(HarmProbability.Known) - Constructor for class com.google.genai.types.HarmProbability
- HarmProbability(String) - Constructor for class com.google.genai.types.HarmProbability
- HarmProbability.Known - Enum in com.google.genai.types
-
Enum representing the known values for HarmProbability.
- HarmSeverity - Class in com.google.genai.types
-
Output only.
- HarmSeverity(HarmSeverity.Known) - Constructor for class com.google.genai.types.HarmSeverity
- HarmSeverity(String) - Constructor for class com.google.genai.types.HarmSeverity
- HarmSeverity.Known - Enum in com.google.genai.types
-
Enum representing the known values for HarmSeverity.
- hasAddDummyPrefix() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- hasAddDummyPrefix() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- hasAddDummyPrefix() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- hasAllowWhitespaceOnlyPieces() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- hasAllowWhitespaceOnlyPieces() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- hasAllowWhitespaceOnlyPieces() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- hasBosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<s>
- hasBosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
<s>
- hasBosId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
<s>
- hasBosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - hasBosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string bos_piece = 46 [default = "<s>"]; - hasBosPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string bos_piece = 46 [default = "<s>"]; - hasByteFallback() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Decomposes unknown pieces into UTF-8 bytes.
- hasByteFallback() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Decomposes unknown pieces into UTF-8 bytes.
- hasByteFallback() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Decomposes unknown pieces into UTF-8 bytes.
- hasCharacterCoverage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Training parameters.
- hasCharacterCoverage() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Training parameters.
- hasCharacterCoverage() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Training parameters.
- hasDenormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- hasDenormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text de-normalization.
- hasDenormalizerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text de-normalization.
- hasDifferentialPrivacyClippingThreshold() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Clipping threshold to apply after adding noise.
- hasDifferentialPrivacyClippingThreshold() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Clipping threshold to apply after adding noise.
- hasDifferentialPrivacyClippingThreshold() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Clipping threshold to apply after adding noise.
- hasDifferentialPrivacyNoiseLevel() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Set these parameters if you need DP version of sentencepiece.
- hasDifferentialPrivacyNoiseLevel() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Set these parameters if you need DP version of sentencepiece.
- hasDifferentialPrivacyNoiseLevel() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Set these parameters if you need DP version of sentencepiece.
- hasEnableDifferentialPrivacy() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Whether to use DP version of sentencepiece.
- hasEnableDifferentialPrivacy() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Whether to use DP version of sentencepiece.
- hasEnableDifferentialPrivacy() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Whether to use DP version of sentencepiece.
- hasEosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
</s>
- hasEosId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
</s>
- hasEosId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
</s>
- hasEosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - hasEosPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string eos_piece = 47 [default = "</s>"]; - hasEosPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string eos_piece = 47 [default = "</s>"]; - hasEscapeWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Replaces whitespace with meta symbol.
- hasEscapeWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Replaces whitespace with meta symbol.
- hasEscapeWhitespaces() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Replaces whitespace with meta symbol.
- hasExpected() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - hasExpected() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string expected = 2; - hasExpected() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string expected = 2; - hasHardVocabLimit() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
`vocab_size` is treated as hard limit.
- hasHardVocabLimit() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
`vocab_size` is treated as hard limit.
- hasHardVocabLimit() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
`vocab_size` is treated as hard limit.
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- hashCode() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- hashCode() - Method in class com.google.genai.types.ActivityHandling
- hashCode() - Method in class com.google.genai.types.AdapterSize
- hashCode() - Method in class com.google.genai.types.ApiSpec
- hashCode() - Method in class com.google.genai.types.AuthType
- hashCode() - Method in class com.google.genai.types.Behavior
- hashCode() - Method in class com.google.genai.types.BlockedReason
- hashCode() - Method in class com.google.genai.types.ControlReferenceType
- hashCode() - Method in class com.google.genai.types.DocumentState
- hashCode() - Method in class com.google.genai.types.DynamicRetrievalConfigMode
- hashCode() - Method in class com.google.genai.types.EditMode
- hashCode() - Method in class com.google.genai.types.EndSensitivity
- hashCode() - Method in class com.google.genai.types.Environment
- hashCode() - Method in class com.google.genai.types.FeatureSelectionPreference
- hashCode() - Method in class com.google.genai.types.FileSource
- hashCode() - Method in class com.google.genai.types.FileState
- hashCode() - Method in class com.google.genai.types.FinishReason
- hashCode() - Method in class com.google.genai.types.FunctionCallingConfigMode
- hashCode() - Method in class com.google.genai.types.FunctionResponseScheduling
- hashCode() - Method in class com.google.genai.types.HarmBlockMethod
- hashCode() - Method in class com.google.genai.types.HarmBlockThreshold
- hashCode() - Method in class com.google.genai.types.HarmCategory
- hashCode() - Method in class com.google.genai.types.HarmProbability
- hashCode() - Method in class com.google.genai.types.HarmSeverity
- hashCode() - Method in class com.google.genai.types.HttpElementLocation
- hashCode() - Method in class com.google.genai.types.ImagePromptLanguage
- hashCode() - Method in class com.google.genai.types.JobState
- hashCode() - Method in class com.google.genai.types.Language
- hashCode() - Method in class com.google.genai.types.MaskReferenceMode
- hashCode() - Method in class com.google.genai.types.MediaModality
- hashCode() - Method in class com.google.genai.types.MediaResolution
- hashCode() - Method in class com.google.genai.types.Modality
- hashCode() - Method in class com.google.genai.types.Mode
- hashCode() - Method in class com.google.genai.types.ModelRoutingPreference
- hashCode() - Method in class com.google.genai.types.NullValue
- hashCode() - Method in class com.google.genai.types.Outcome
- hashCode() - Method in class com.google.genai.types.PartMediaResolutionLevel
- hashCode() - Method in class com.google.genai.types.PersonGeneration
- hashCode() - Method in class com.google.genai.types.PhishBlockThreshold
- hashCode() - Method in class com.google.genai.types.SafetyFilterLevel
- hashCode() - Method in class com.google.genai.types.SegmentMode
- hashCode() - Method in class com.google.genai.types.StartSensitivity
- hashCode() - Method in class com.google.genai.types.SubjectReferenceType
- hashCode() - Method in class com.google.genai.types.ThinkingLevel
- hashCode() - Method in class com.google.genai.types.TrafficType
- hashCode() - Method in class com.google.genai.types.TuningMethod
- hashCode() - Method in class com.google.genai.types.TuningMode
- hashCode() - Method in class com.google.genai.types.TuningTask
- hashCode() - Method in class com.google.genai.types.TurnCompleteReason
- hashCode() - Method in class com.google.genai.types.TurnCoverage
- hashCode() - Method in class com.google.genai.types.Type
- hashCode() - Method in class com.google.genai.types.UrlRetrievalStatus
- hashCode() - Method in class com.google.genai.types.VideoCompressionQuality
- hashCode() - Method in class com.google.genai.types.VideoGenerationMaskMode
- hashCode() - Method in class com.google.genai.types.VideoGenerationReferenceType
- hasInput() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - hasInput() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
optional string input = 1; - hasInput() - Method in interface com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
-
optional string input = 1; - hasInputFormat() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- hasInputFormat() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- hasInputFormat() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- hasInputSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Maximum size of sentences the trainer loads from `input` parameter.
- hasInputSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Maximum size of sentences the trainer loads from `input` parameter.
- hasInputSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Maximum size of sentences the trainer loads from `input` parameter.
- hasMaxSentenceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The maximum sentence length in byte.
- hasMaxSentenceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
The maximum sentence length in byte.
- hasMaxSentenceLength() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
The maximum sentence length in byte.
- hasMaxSentencepieceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- hasMaxSentencepieceLength() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- hasMaxSentencepieceLength() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- hasMiningSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- hasMiningSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- hasMiningSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Deprecated.com.google.genai.proto.TrainerSpec.mining_sentence_size is deprecated. See sentencepiece_model.proto;l=96
- hasModelPrefix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- hasModelPrefix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Output model file prefix.
- hasModelPrefix() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Output model file prefix.
- hasModelType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - hasModelType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - hasModelType() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - hasName() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- hasName() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
name of normalization rule.
- hasName() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
name of normalization rule.
- hasNormalizationRuleTsv() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- hasNormalizationRuleTsv() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Custom normalization rule file in TSV format.
- hasNormalizationRuleTsv() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Custom normalization rule file in TSV format.
- hasNormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- hasNormalizerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec for text normalization.
- hasNormalizerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec for text normalization.
- hasNumSubIterations() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of EM sub iterations.
- hasNumSubIterations() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Number of EM sub iterations.
- hasNumSubIterations() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Number of EM sub iterations.
- hasNumThreads() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of threads in the training.
- hasNumThreads() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Number of threads in the training.
- hasNumThreads() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Number of threads in the training.
- hasPadId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<pad> (padding)
- hasPadId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
<pad> (padding)
- hasPadId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
<pad> (padding)
- hasPadPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - hasPadPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string pad_piece = 48 [default = "<pad>"]; - hasPadPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string pad_piece = 48 [default = "<pad>"]; - hasPiece() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- hasPiece() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
piece must not be empty.
- hasPiece() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
piece must not be empty.
- hasPrecompiledCharsmap() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- hasPrecompiledCharsmap() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- hasPrecompiledCharsmap() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- hasPretokenizationDelimiter() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- hasPretokenizationDelimiter() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines the pre-tokenization delimiter.
- hasPretokenizationDelimiter() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines the pre-tokenization delimiter.
- hasRemoveExtraWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Removes leading, trailing, and duplicate internal whitespace.
- hasRemoveExtraWhitespaces() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Removes leading, trailing, and duplicate internal whitespace.
- hasRemoveExtraWhitespaces() - Method in interface com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
-
Removes leading, trailing, and duplicate internal whitespace.
- hasRequiredChars() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- hasRequiredChars() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Defines required characters.
- hasRequiredChars() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Defines required characters.
- hasScore() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional float score = 2; - hasScore() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
optional float score = 2; - hasScore() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
optional float score = 2; - hasSeedSentencepiecesFile() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- hasSeedSentencepiecesFile() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- hasSeedSentencepiecesFile() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- hasSeedSentencepieceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The size of seed sentencepieces.
- hasSeedSentencepieceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
The size of seed sentencepieces.
- hasSeedSentencepieceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
The size of seed sentencepieces.
- hasSelfTestData() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- hasSelfTestData() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Stores sample input and its expected segmentation to verify the model.
- hasSelfTestData() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Stores sample input and its expected segmentation to verify the model.
- hasSelfTestSampleSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Size of self-test samples, which are encoded in the model file.
- hasSelfTestSampleSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Size of self-test samples, which are encoded in the model file.
- hasSelfTestSampleSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Size of self-test samples, which are encoded in the model file.
- hasShrinkingFactor() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- hasShrinkingFactor() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- hasShrinkingFactor() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- hasShuffleInputSentence() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional bool shuffle_input_sentence = 19 [default = true]; - hasShuffleInputSentence() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional bool shuffle_input_sentence = 19 [default = true]; - hasShuffleInputSentence() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional bool shuffle_input_sentence = 19 [default = true]; - hasSplitByNumber() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- hasSplitByNumber() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- hasSplitByNumber() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- hasSplitByUnicodeScript() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Uses Unicode script to split sentence pieces.
- hasSplitByUnicodeScript() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Uses Unicode script to split sentence pieces.
- hasSplitByUnicodeScript() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Uses Unicode script to split sentence pieces.
- hasSplitByWhitespace() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Use a white space to split sentence pieces.
- hasSplitByWhitespace() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Use a white space to split sentence pieces.
- hasSplitByWhitespace() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Use a white space to split sentence pieces.
- hasSplitDigits() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Split all digits (0-9) into separate pieces.
- hasSplitDigits() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Split all digits (0-9) into separate pieces.
- hasSplitDigits() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Split all digits (0-9) into separate pieces.
- hasTrainerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- hasTrainerSpec() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Spec used to generate this model file.
- hasTrainerSpec() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
-
Spec used to generate this model file.
- hasTrainExtremelyLargeCorpus() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- hasTrainExtremelyLargeCorpus() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- hasTrainExtremelyLargeCorpus() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- hasTrainingSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- hasTrainingSentenceSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- hasTrainingSentenceSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Deprecated.com.google.genai.proto.TrainerSpec.training_sentence_size is deprecated. See sentencepiece_model.proto;l=99
- hasTreatWhitespaceAsSuffix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- hasTreatWhitespaceAsSuffix() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- hasTreatWhitespaceAsSuffix() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- hasType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - hasType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - hasType() - Method in interface com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - hasUnion() - Method in class com.google.genai.types.TestTableItem
-
True if the parameters contain an unsupported union type.
- hasUnion(boolean) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for hasUnion.
- hasUnkId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- hasUnkId() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- hasUnkId() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- hasUnkPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - hasUnkPiece() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
optional string unk_piece = 45 [default = "<unk>"]; - hasUnkPiece() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
optional string unk_piece = 45 [default = "<unk>"]; - hasUnkSurface() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- hasUnkSurface() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- hasUnkSurface() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- hasUseAllVocab() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
use all symbols for vocab extraction.
- hasUseAllVocab() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
use all symbols for vocab extraction.
- hasUseAllVocab() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
use all symbols for vocab extraction.
- hasVocabSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Vocabulary size.
- hasVocabSize() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Vocabulary size.
- hasVocabSize() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
Vocabulary size.
- hasVocabularyOutputPieceScore() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- hasVocabularyOutputPieceScore() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- hasVocabularyOutputPieceScore() - Method in interface com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- headers() - Method in class com.google.genai.types.HttpOptions
-
Additional HTTP headers to be sent with the request.
- headers() - Method in class com.google.genai.types.HttpResponse
-
Used to retain the processed HTTP headers in the response.
- headers() - Method in class com.google.genai.types.ReplayRequest
- headers() - Method in class com.google.genai.types.ReplayResponse
- headers(Map<String, String>) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for headers.
- headers(Map<String, String>) - Method in class com.google.genai.types.HttpResponse.Builder
-
Setter for headers.
- headers(Map<String, String>) - Method in class com.google.genai.types.ReplayRequest.Builder
-
Setter for headers.
- headers(Map<String, String>) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for headers.
- HI - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Hindi
- HIGH - Enum constant in enum com.google.genai.types.HarmProbability.Known
-
High level of harm.
- HIGH - Enum constant in enum com.google.genai.types.ThinkingLevel.Known
-
High thinking level.
- HTTP_BASIC_AUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
HTTP Basic Auth.
- HTTP_ELEMENT_LOCATION_UNSPECIFIED - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
- HTTP_IN_BODY - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
-
Element is in the HTTP request body.
- HTTP_IN_COOKIE - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
-
Element is in the HTTP request cookie.
- HTTP_IN_HEADER - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
-
Element is in the HTTP request header.
- HTTP_IN_PATH - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
-
Element is in the HTTP request path.
- HTTP_IN_QUERY - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
-
Element is in the HTTP request query.
- HTTP_IN_UNSPECIFIED - Enum constant in enum com.google.genai.types.HttpElementLocation.Known
- HttpApiClient - Class in com.google.genai
-
Base client for the HTTP APIs.
- httpBasicAuthConfig() - Method in class com.google.genai.types.AuthConfig
-
Config for HTTP Basic auth.
- httpBasicAuthConfig(AuthConfigHttpBasicAuthConfig) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for httpBasicAuthConfig.
- httpBasicAuthConfig(AuthConfigHttpBasicAuthConfig.Builder) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for httpBasicAuthConfig builder.
- httpElementLocation() - Method in class com.google.genai.types.ApiKeyConfig
-
Optional.
- httpElementLocation(HttpElementLocation) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for httpElementLocation.
- httpElementLocation(HttpElementLocation.Known) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for httpElementLocation given a known enum.
- httpElementLocation(String) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for httpElementLocation given a string.
- HttpElementLocation - Class in com.google.genai.types
-
The location of the API key.
- HttpElementLocation(HttpElementLocation.Known) - Constructor for class com.google.genai.types.HttpElementLocation
- HttpElementLocation(String) - Constructor for class com.google.genai.types.HttpElementLocation
- HttpElementLocation.Known - Enum in com.google.genai.types
-
Enum representing the known values for HttpElementLocation.
- httpOptions() - Method in class com.google.genai.types.CancelBatchJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CancelTuningJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ComputeTokensConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CountTokensConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateBatchJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateCachedContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateFileSearchStoreConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteBatchJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteCachedContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteDocumentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DeleteModelConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.DownloadFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.EditImageConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.EmbedContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.FetchPredictOperationConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GenerateContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GenerateImagesConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GenerateVideosConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetBatchJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetCachedContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetDocumentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetFileSearchStoreConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetModelConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetOperationConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.GetTuningJobConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ImportFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListBatchJobsConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListCachedContentsConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListDocumentsConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListFilesConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListFileSearchStoresConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListModelsConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.ListTuningJobsConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.LiveConnectConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.RecontextImageConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.SegmentImageConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UpdateCachedContentConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UpdateModelConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UploadFileConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Used to override HTTP request options.
- httpOptions() - Method in class com.google.genai.types.UpscaleImageConfig
-
Used to override HTTP request options.
- httpOptions(HttpOptions) - Method in class com.google.genai.Client.Builder
-
Sets the
HttpOptionsfor the API client. - httpOptions(HttpOptions) - Method in class com.google.genai.types.CancelBatchJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CancelTuningJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ComputeTokensConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteBatchJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteCachedContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DeleteModelConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.DownloadFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.FetchPredictOperationConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetBatchJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetCachedContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetDocumentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetFileSearchStoreConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetModelConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetOperationConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.GetTuningJobConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for httpOptions.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CancelBatchJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CancelTuningJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ComputeTokensConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateBatchJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateFileSearchStoreConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteBatchJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteCachedContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteDocumentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteFileSearchStoreConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DeleteModelConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.DownloadFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.FetchPredictOperationConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetBatchJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetCachedContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetDocumentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetFileSearchStoreConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetModelConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetOperationConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.GetTuningJobConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ImportFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UpdateModelConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for httpOptions builder.
- httpOptions(HttpOptions.Builder) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for httpOptions builder.
- HttpOptions - Class in com.google.genai.types
-
HTTP options to be used in each of the requests.
- HttpOptions() - Constructor for class com.google.genai.types.HttpOptions
- HttpOptions.Builder - Class in com.google.genai.types
-
Builder for HttpOptions.
- HttpResponse - Class in com.google.genai.types
-
A wrapper class for the http response.
- HttpResponse() - Constructor for class com.google.genai.types.HttpResponse
- HttpResponse.Builder - Class in com.google.genai.types
-
Builder for HttpResponse.
- HttpRetryOptions - Class in com.google.genai.types
-
HTTP retry options to be used in each of the requests.
- HttpRetryOptions() - Constructor for class com.google.genai.types.HttpRetryOptions
- HttpRetryOptions.Builder - Class in com.google.genai.types
-
Builder for HttpRetryOptions.
- httpStatusCodes() - Method in class com.google.genai.types.HttpRetryOptions
-
List of HTTP status codes that should trigger a retry.
- httpStatusCodes(Integer...) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for httpStatusCodes.
- httpStatusCodes(List<Integer>) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for httpStatusCodes.
- hybridSearch() - Method in class com.google.genai.types.RagRetrievalConfig
-
Optional.
- hybridSearch(RagRetrievalConfigHybridSearch) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for hybridSearch.
- hybridSearch(RagRetrievalConfigHybridSearch.Builder) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for hybridSearch builder.
- hyperParameters() - Method in class com.google.genai.types.PartnerModelTuningSpec
-
Hyperparameters for tuning.
- hyperParameters() - Method in class com.google.genai.types.PreferenceOptimizationSpec
-
Optional.
- hyperParameters() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Optional.
- hyperParameters() - Method in class com.google.genai.types.VeoTuningSpec
-
Optional.
- hyperParameters(PreferenceOptimizationHyperParameters) - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Setter for hyperParameters.
- hyperParameters(PreferenceOptimizationHyperParameters.Builder) - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Setter for hyperParameters builder.
- hyperParameters(SupervisedHyperParameters) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for hyperParameters.
- hyperParameters(SupervisedHyperParameters.Builder) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for hyperParameters builder.
- hyperParameters(VeoHyperParameters) - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Setter for hyperParameters.
- hyperParameters(VeoHyperParameters.Builder) - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Setter for hyperParameters builder.
- hyperParameters(Map<String, Object>) - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Setter for hyperParameters.
I
- id() - Method in class com.google.genai.types.FunctionCall
-
The unique id of the function call.
- id() - Method in class com.google.genai.types.FunctionResponse
-
Optional.
- id(String) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for id.
- id(String) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for id.
- ids() - Method in class com.google.genai.types.LiveServerToolCallCancellation
-
The ids of the tool calls to be cancelled.
- ids(String...) - Method in class com.google.genai.types.LiveServerToolCallCancellation.Builder
-
Setter for ids.
- ids(List<String>) - Method in class com.google.genai.types.LiveServerToolCallCancellation.Builder
-
Setter for ids.
- idToken() - Method in class com.google.genai.types.AuthConfigOidcConfig
-
OpenID Connect formatted ID token for extension endpoint.
- idToken(String) - Method in class com.google.genai.types.AuthConfigOidcConfig.Builder
-
Setter for idToken.
- ignoreCallHistory() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
If automatic function calling is enabled, whether to ignore call history to the response.
- ignoreCallHistory(boolean) - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Setter for ignoreCallHistory.
- ignoreKeys() - Method in class com.google.genai.types.TestTableItem
-
Keys to ignore when comparing the request and response.
- ignoreKeys(String...) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for ignoreKeys.
- ignoreKeys(List<String>) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for ignoreKeys.
- image() - Method in class com.google.genai.types.GeneratedImage
-
The output image data.
- image() - Method in class com.google.genai.types.GenerateVideosParameters
-
The input image for generating the videos.
- image() - Method in class com.google.genai.types.GenerateVideosSource
-
The input image for generating the videos.
- image() - Method in class com.google.genai.types.ScribbleImage
-
The brush scribble to guide segmentation.
- image() - Method in class com.google.genai.types.SegmentImageSource
-
The image to be segmented.
- image() - Method in class com.google.genai.types.UpscaleImageAPIParameters
-
The input image to upscale.
- image() - Method in class com.google.genai.types.UpscaleImageParameters
-
The input image to upscale.
- image() - Method in class com.google.genai.types.VideoGenerationMask
-
The image mask to use for generating videos.
- image() - Method in class com.google.genai.types.VideoGenerationReferenceImage
-
The reference image.
- image(Image) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.ScribbleImage.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Setter for image.
- image(Image) - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Setter for image.
- image(Image.Builder) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.ScribbleImage.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Setter for image builder.
- image(Image.Builder) - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Setter for image builder.
- Image - Class in com.google.genai.types
-
An image.
- Image() - Constructor for class com.google.genai.types.Image
- IMAGE - Enum constant in enum com.google.genai.types.MediaModality.Known
-
Images.
- IMAGE - Enum constant in enum com.google.genai.types.Modality.Known
-
Indicates the model should return images.
- IMAGE_PROHIBITED_CONTENT - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Image generation stopped because the generated images have prohibited content.
- IMAGE_PROMPT_LANGUAGE_UNSPECIFIED - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
- IMAGE_SAFETY - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked because it contains content that is unsafe for image generation.
- IMAGE_SAFETY - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation stopped because generated images have safety violations.
- Image.Builder - Class in com.google.genai.types
-
Builder for Image.
- imageBytes() - Method in class com.google.genai.types.Image
-
The image bytes data.
- imageBytes(byte[]) - Method in class com.google.genai.types.Image.Builder
-
Setter for imageBytes.
- imageConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
The image generation configuration.
- imageConfig(ImageConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for imageConfig.
- imageConfig(ImageConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for imageConfig builder.
- ImageConfig - Class in com.google.genai.types
-
The image generation configuration to be used in GenerateContentConfig.
- ImageConfig() - Constructor for class com.google.genai.types.ImageConfig
- ImageConfig.Builder - Class in com.google.genai.types
-
Builder for ImageConfig.
- imageCount() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Number of images.
- imageCount(Integer) - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Setter for imageCount.
- imagePreservationFactor() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
With a higher image preservation factor, the original image pixels are more respected.
- imagePreservationFactor() - Method in class com.google.genai.types.UpscaleImageConfig
-
With a higher image preservation factor, the original image pixels are more respected.
- imagePreservationFactor(Float) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for imagePreservationFactor.
- imagePreservationFactor(Float) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for imagePreservationFactor.
- ImagePromptLanguage - Class in com.google.genai.types
-
Enum that specifies the language of the text in the prompt.
- ImagePromptLanguage(ImagePromptLanguage.Known) - Constructor for class com.google.genai.types.ImagePromptLanguage
- ImagePromptLanguage(String) - Constructor for class com.google.genai.types.ImagePromptLanguage
- ImagePromptLanguage.Known - Enum in com.google.genai.types
-
Enum representing the known values for ImagePromptLanguage.
- images() - Method in class com.google.genai.types.GenerateImagesResponse
-
Returns the list of images from the response.
- imageSize() - Method in class com.google.genai.types.GenerateImagesConfig
-
The size of the largest dimension of the generated image.
- imageSize() - Method in class com.google.genai.types.ImageConfig
-
Optional.
- imageSize(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for imageSize.
- imageSize(String) - Method in class com.google.genai.types.ImageConfig.Builder
-
Setter for imageSize.
- importFile(String, String, ImportFileConfig) - Method in class com.google.genai.AsyncFileSearchStores
- importFile(String, String, ImportFileConfig) - Method in class com.google.genai.FileSearchStores
- ImportFileConfig - Class in com.google.genai.types
-
Optional parameters for importing a file.
- ImportFileConfig() - Constructor for class com.google.genai.types.ImportFileConfig
- ImportFileConfig.Builder - Class in com.google.genai.types
-
Builder for ImportFileConfig.
- ImportFileOperation - Class in com.google.genai.types
-
Long-running operation for importing a file to a FileSearchStore.
- ImportFileOperation() - Constructor for class com.google.genai.types.ImportFileOperation
- ImportFileOperation.Builder - Class in com.google.genai.types
-
Builder for ImportFileOperation.
- importFileOperationFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- ImportFileParameters - Class in com.google.genai.types
-
Config for file_search_stores.import_file parameters.
- ImportFileParameters() - Constructor for class com.google.genai.types.ImportFileParameters
- ImportFileParameters.Builder - Class in com.google.genai.types
-
Builder for ImportFileParameters.
- ImportFileResponse - Class in com.google.genai.types
-
Response for ImportFile to import a File API file with a file search store.
- ImportFileResponse() - Constructor for class com.google.genai.types.ImportFileResponse
- ImportFileResponse.Builder - Class in com.google.genai.types
-
Builder for ImportFileResponse.
- importFileResponseFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- includeRaiReason() - Method in class com.google.genai.types.EditImageConfig
-
Whether to include the Responsible AI filter reason if the image is filtered out of the response.
- includeRaiReason() - Method in class com.google.genai.types.GenerateImagesConfig
-
Whether to include the Responsible AI filter reason if the image is filtered out of the response.
- includeRaiReason() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Whether to include a reason for filtered-out images in the response.
- includeRaiReason() - Method in class com.google.genai.types.UpscaleImageConfig
-
Whether to include a reason for filtered-out images in the response.
- includeRaiReason(boolean) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for includeRaiReason.
- includeRaiReason(boolean) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for includeRaiReason.
- includeRaiReason(boolean) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for includeRaiReason.
- includeRaiReason(boolean) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for includeRaiReason.
- includeSafetyAttributes() - Method in class com.google.genai.types.EditImageConfig
-
Whether to report the safety scores of each generated image and the positive prompt in the response.
- includeSafetyAttributes() - Method in class com.google.genai.types.GenerateImagesConfig
-
Whether to report the safety scores of each generated image and the positive prompt in the response.
- includeSafetyAttributes(boolean) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for includeSafetyAttributes.
- includeSafetyAttributes(boolean) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for includeSafetyAttributes.
- includeThoughts() - Method in class com.google.genai.types.ThinkingConfig
-
Indicates whether to include thoughts in the response.
- includeThoughts(boolean) - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Setter for includeThoughts.
- incompleteCount() - Method in class com.google.genai.types.CompletionStats
-
Output only.
- incompleteCount(Long) - Method in class com.google.genai.types.CompletionStats.Builder
-
Setter for incompleteCount.
- index() - Method in class com.google.genai.types.Candidate
-
Output only.
- index() - Method in class com.google.genai.types.ExternalApiElasticSearchParams
-
The ElasticSearch index to use.
- index(Integer) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for index.
- index(String) - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Setter for index.
- initialDelay() - Method in class com.google.genai.types.HttpRetryOptions
-
Initial delay before the first retry, in fractions of a second.
- initialDelay(Double) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for initialDelay.
- inlineData() - Method in class com.google.genai.types.FunctionResponsePart
-
Optional.
- inlineData() - Method in class com.google.genai.types.Part
-
Optional.
- inlineData(Blob) - Method in class com.google.genai.types.Part.Builder
-
Setter for inlineData.
- inlineData(Blob.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for inlineData builder.
- inlineData(FunctionResponseBlob) - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Setter for inlineData.
- inlineData(FunctionResponseBlob.Builder) - Method in class com.google.genai.types.FunctionResponsePart.Builder
-
Setter for inlineData builder.
- InlinedEmbedContentResponse - Class in com.google.genai.types
-
Config for `inlined_embedding_responses` parameter.
- InlinedEmbedContentResponse() - Constructor for class com.google.genai.types.InlinedEmbedContentResponse
- InlinedEmbedContentResponse.Builder - Class in com.google.genai.types
-
Builder for InlinedEmbedContentResponse.
- inlinedEmbedContentResponses() - Method in class com.google.genai.types.BatchJobDestination
-
The responses to the requests in the batch.
- inlinedEmbedContentResponses(InlinedEmbedContentResponse...) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedEmbedContentResponses.
- inlinedEmbedContentResponses(InlinedEmbedContentResponse.Builder...) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedEmbedContentResponses builder.
- inlinedEmbedContentResponses(List<InlinedEmbedContentResponse>) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedEmbedContentResponses.
- InlinedRequest - Class in com.google.genai.types
-
Config for inlined request.
- InlinedRequest() - Constructor for class com.google.genai.types.InlinedRequest
- InlinedRequest.Builder - Class in com.google.genai.types
-
Builder for InlinedRequest.
- inlinedRequests() - Method in class com.google.genai.types.BatchJobSource
-
The Gemini Developer API's inlined input data to run batch job.
- inlinedRequests() - Method in class com.google.genai.types.EmbeddingsBatchJobSource
-
The Gemini Developer API's inlined input data to run batch job.
- inlinedRequests(EmbedContentBatch) - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
-
Setter for inlinedRequests.
- inlinedRequests(EmbedContentBatch.Builder) - Method in class com.google.genai.types.EmbeddingsBatchJobSource.Builder
-
Setter for inlinedRequests builder.
- inlinedRequests(InlinedRequest...) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for inlinedRequests.
- inlinedRequests(InlinedRequest.Builder...) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for inlinedRequests builder.
- inlinedRequests(List<InlinedRequest>) - Method in class com.google.genai.types.BatchJobSource.Builder
-
Setter for inlinedRequests.
- InlinedResponse - Class in com.google.genai.types
-
Config for `inlined_responses` parameter.
- InlinedResponse() - Constructor for class com.google.genai.types.InlinedResponse
- InlinedResponse.Builder - Class in com.google.genai.types
-
Builder for InlinedResponse.
- inlinedResponses() - Method in class com.google.genai.types.BatchJobDestination
-
The responses to the requests in the batch.
- inlinedResponses(InlinedResponse...) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedResponses.
- inlinedResponses(InlinedResponse.Builder...) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedResponses builder.
- inlinedResponses(List<InlinedResponse>) - Method in class com.google.genai.types.BatchJobDestination.Builder
-
Setter for inlinedResponses.
- INPUT_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- INPUT_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- INPUT_FORMAT_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- INPUT_SENTENCE_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- inputAudioTranscription() - Method in class com.google.genai.types.LiveClientSetup
-
The transcription of the input aligns with the input audio language.
- inputAudioTranscription() - Method in class com.google.genai.types.LiveConnectConfig
-
The transcription of the input aligns with the input audio language.
- inputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for inputAudioTranscription.
- inputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for inputAudioTranscription.
- inputAudioTranscription(AudioTranscriptionConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for inputAudioTranscription builder.
- inputAudioTranscription(AudioTranscriptionConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for inputAudioTranscription builder.
- inputTokenLimit() - Method in class com.google.genai.types.Model
-
The maximum number of input tokens that the model can handle.
- inputTokenLimit(Integer) - Method in class com.google.genai.types.Model.Builder
-
Setter for inputTokenLimit.
- inputTranscription() - Method in class com.google.genai.types.LiveServerContent
-
Input transcription.
- inputTranscription(Transcription) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for inputTranscription.
- inputTranscription(Transcription.Builder) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for inputTranscription builder.
- INSERT - Enum constant in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
The image mask contains a masked rectangular region which is applied on the first frame of the input video.
- INTEGER - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI integer type
- interactions() - Method in class com.google.genai.types.ReplayFile
- interactions(ReplayInteraction...) - Method in class com.google.genai.types.ReplayFile.Builder
-
Setter for interactions.
- interactions(ReplayInteraction.Builder...) - Method in class com.google.genai.types.ReplayFile.Builder
-
Setter for interactions builder.
- interactions(List<ReplayInteraction>) - Method in class com.google.genai.types.ReplayFile.Builder
-
Setter for interactions.
- INTERACTIVE - Enum constant in enum com.google.genai.types.SegmentMode.Known
- internalGetValueMap() - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
- internalGetValueMap() - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
- INTERRUPT - Enum constant in enum com.google.genai.types.FunctionResponseScheduling.Known
-
Add the result to the conversation context, interrupt ongoing generation and prompt to generate output.
- interrupted() - Method in class com.google.genai.types.LiveServerContent
-
If true, indicates that a client message has interrupted current model generation.
- interrupted(boolean) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for interrupted.
- Interval - Class in com.google.genai.types
-
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
- Interval() - Constructor for class com.google.genai.types.Interval
- Interval.Builder - Class in com.google.genai.types
-
Builder for Interval.
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- isInitialized() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- items() - Method in class com.google.genai.types.Schema
-
Optional.
- items(Schema) - Method in class com.google.genai.types.Schema.Builder
-
Setter for items.
- items(Schema.Builder) - Method in class com.google.genai.types.Schema.Builder
-
Setter for items builder.
- iterator() - Method in class com.google.genai.Pager
-
Returns an iterator for the Pager.
- iterator() - Method in class com.google.genai.ResponseStream
J
- JA - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Japanese
- JAILBREAK - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked as a jailbreak attempt.
- jitter() - Method in class com.google.genai.types.HttpRetryOptions
-
Randomness factor for the delay.
- jitter(Double) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for jitter.
- JOB_STATE_CANCELLED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job has been cancelled.
- JOB_STATE_CANCELLING - Enum constant in enum com.google.genai.types.JobState.Known
-
The job is being cancelled.
- JOB_STATE_EXPIRED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job has expired.
- JOB_STATE_FAILED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job failed.
- JOB_STATE_PARTIALLY_SUCCEEDED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job is partially succeeded, some results may be missing due to errors.
- JOB_STATE_PAUSED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job has been stopped, and can be resumed.
- JOB_STATE_PENDING - Enum constant in enum com.google.genai.types.JobState.Known
-
The service is preparing to run the job.
- JOB_STATE_QUEUED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job has been just created or resumed and processing has not yet begun.
- JOB_STATE_RUNNING - Enum constant in enum com.google.genai.types.JobState.Known
-
The job is in progress.
- JOB_STATE_SUCCEEDED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job completed successfully.
- JOB_STATE_UNSPECIFIED - Enum constant in enum com.google.genai.types.JobState.Known
-
The job state is unspecified.
- JOB_STATE_UPDATING - Enum constant in enum com.google.genai.types.JobState.Known
-
The job is being updated.
- JobError - Class in com.google.genai.types
-
Job error.
- JobError() - Constructor for class com.google.genai.types.JobError
- JobError.Builder - Class in com.google.genai.types
-
Builder for JobError.
- JobState - Class in com.google.genai.types
-
Job state.
- JobState(JobState.Known) - Constructor for class com.google.genai.types.JobState
- JobState(String) - Constructor for class com.google.genai.types.JobState
- JobState.Known - Enum in com.google.genai.types
-
Enum representing the known values for JobState.
- jsonPath() - Method in class com.google.genai.types.PartialArg
-
Required.
- jsonPath(String) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for jsonPath.
- JsonSerializable - Class in com.google.genai
-
A class that can be serialized to JSON and deserialized from JSON.
- JsonSerializable() - Constructor for class com.google.genai.JsonSerializable
- judgeModelSystemInstruction() - Method in class com.google.genai.types.Metric
-
The system instruction for the judge model.
- judgeModelSystemInstruction(String) - Method in class com.google.genai.types.Metric.Builder
-
Setter for judgeModelSystemInstruction.
K
- key() - Method in class com.google.genai.types.CustomMetadata
-
Required.
- key(String) - Method in class com.google.genai.types.CustomMetadata.Builder
-
Setter for key.
- kmsKeyName() - Method in class com.google.genai.types.CreateCachedContentConfig
-
The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
- kmsKeyName() - Method in class com.google.genai.types.EncryptionSpec
-
Required.
- kmsKeyName(String) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for kmsKeyName.
- kmsKeyName(String) - Method in class com.google.genai.types.EncryptionSpec.Builder
-
Setter for kmsKeyName.
- knownEnum() - Method in class com.google.genai.types.ActivityHandling
- knownEnum() - Method in class com.google.genai.types.AdapterSize
- knownEnum() - Method in class com.google.genai.types.ApiSpec
- knownEnum() - Method in class com.google.genai.types.AuthType
- knownEnum() - Method in class com.google.genai.types.Behavior
- knownEnum() - Method in class com.google.genai.types.BlockedReason
- knownEnum() - Method in class com.google.genai.types.ControlReferenceType
- knownEnum() - Method in class com.google.genai.types.DocumentState
- knownEnum() - Method in class com.google.genai.types.DynamicRetrievalConfigMode
- knownEnum() - Method in class com.google.genai.types.EditMode
- knownEnum() - Method in class com.google.genai.types.EndSensitivity
- knownEnum() - Method in class com.google.genai.types.Environment
- knownEnum() - Method in class com.google.genai.types.FeatureSelectionPreference
- knownEnum() - Method in class com.google.genai.types.FileSource
- knownEnum() - Method in class com.google.genai.types.FileState
- knownEnum() - Method in class com.google.genai.types.FinishReason
- knownEnum() - Method in class com.google.genai.types.FunctionCallingConfigMode
- knownEnum() - Method in class com.google.genai.types.FunctionResponseScheduling
- knownEnum() - Method in class com.google.genai.types.HarmBlockMethod
- knownEnum() - Method in class com.google.genai.types.HarmBlockThreshold
- knownEnum() - Method in class com.google.genai.types.HarmCategory
- knownEnum() - Method in class com.google.genai.types.HarmProbability
- knownEnum() - Method in class com.google.genai.types.HarmSeverity
- knownEnum() - Method in class com.google.genai.types.HttpElementLocation
- knownEnum() - Method in class com.google.genai.types.ImagePromptLanguage
- knownEnum() - Method in class com.google.genai.types.JobState
- knownEnum() - Method in class com.google.genai.types.Language
- knownEnum() - Method in class com.google.genai.types.MaskReferenceMode
- knownEnum() - Method in class com.google.genai.types.MediaModality
- knownEnum() - Method in class com.google.genai.types.MediaResolution
- knownEnum() - Method in class com.google.genai.types.Modality
- knownEnum() - Method in class com.google.genai.types.Mode
- knownEnum() - Method in class com.google.genai.types.ModelRoutingPreference
- knownEnum() - Method in class com.google.genai.types.NullValue
- knownEnum() - Method in class com.google.genai.types.Outcome
- knownEnum() - Method in class com.google.genai.types.PartMediaResolutionLevel
- knownEnum() - Method in class com.google.genai.types.PersonGeneration
- knownEnum() - Method in class com.google.genai.types.PhishBlockThreshold
- knownEnum() - Method in class com.google.genai.types.SafetyFilterLevel
- knownEnum() - Method in class com.google.genai.types.SegmentMode
- knownEnum() - Method in class com.google.genai.types.StartSensitivity
- knownEnum() - Method in class com.google.genai.types.SubjectReferenceType
- knownEnum() - Method in class com.google.genai.types.ThinkingLevel
- knownEnum() - Method in class com.google.genai.types.TrafficType
- knownEnum() - Method in class com.google.genai.types.TuningMethod
- knownEnum() - Method in class com.google.genai.types.TuningMode
- knownEnum() - Method in class com.google.genai.types.TuningTask
- knownEnum() - Method in class com.google.genai.types.TurnCompleteReason
- knownEnum() - Method in class com.google.genai.types.TurnCoverage
- knownEnum() - Method in class com.google.genai.types.Type
- knownEnum() - Method in class com.google.genai.types.UrlRetrievalStatus
- knownEnum() - Method in class com.google.genai.types.VideoCompressionQuality
- knownEnum() - Method in class com.google.genai.types.VideoGenerationMaskMode
- knownEnum() - Method in class com.google.genai.types.VideoGenerationReferenceType
- KO - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Korean
L
- label() - Method in class com.google.genai.types.EntityLabel
-
The label of the segmented entity.
- label(String) - Method in class com.google.genai.types.EntityLabel.Builder
-
Setter for label.
- labels() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Optional.
- labels() - Method in class com.google.genai.types.EditImageConfig
-
User specified labels to track billing usage.
- labels() - Method in class com.google.genai.types.GenerateContentConfig
-
Labels with user-defined metadata to break down billed charges.
- labels() - Method in class com.google.genai.types.GeneratedImageMask
-
The detected entities on the segmented area.
- labels() - Method in class com.google.genai.types.GenerateImagesConfig
-
User specified labels to track billing usage.
- labels() - Method in class com.google.genai.types.Model
-
Labels with user-defined metadata to organize your models.
- labels() - Method in class com.google.genai.types.RecontextImageConfig
-
User specified labels to track billing usage.
- labels() - Method in class com.google.genai.types.SegmentImageConfig
-
User specified labels to track billing usage.
- labels() - Method in class com.google.genai.types.TuningJob
-
Optional.
- labels() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
User specified labels to track billing usage.
- labels() - Method in class com.google.genai.types.UpscaleImageConfig
-
User specified labels to track billing usage.
- labels(EntityLabel...) - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Setter for labels.
- labels(EntityLabel.Builder...) - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Setter for labels builder.
- labels(List<EntityLabel>) - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.Model.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for labels.
- labels(Map<String, String>) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for labels.
- language() - Method in class com.google.genai.types.EditImageConfig
-
Language of the text in the prompt.
- language() - Method in class com.google.genai.types.ExecutableCode
-
Required.
- language() - Method in class com.google.genai.types.GenerateImagesConfig
-
Language of the text in the prompt.
- language(ImagePromptLanguage) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for language.
- language(ImagePromptLanguage) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for language.
- language(ImagePromptLanguage.Known) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for language given a known enum.
- language(ImagePromptLanguage.Known) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for language given a known enum.
- language(Language) - Method in class com.google.genai.types.ExecutableCode.Builder
-
Setter for language.
- language(Language.Known) - Method in class com.google.genai.types.ExecutableCode.Builder
-
Setter for language given a known enum.
- language(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for language given a string.
- language(String) - Method in class com.google.genai.types.ExecutableCode.Builder
-
Setter for language given a string.
- language(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for language given a string.
- Language - Class in com.google.genai.types
-
Programming language of the `code`.
- Language(Language.Known) - Constructor for class com.google.genai.types.Language
- Language(String) - Constructor for class com.google.genai.types.Language
- LANGUAGE - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The token generation stopped because of using an unsupported language.
- LANGUAGE_UNSPECIFIED - Enum constant in enum com.google.genai.types.Language.Known
-
Unspecified language.
- Language.Known - Enum in com.google.genai.types
-
Enum representing the known values for Language.
- languageCode() - Method in class com.google.genai.types.RetrievalConfig
-
The language code of the user.
- languageCode() - Method in class com.google.genai.types.SpeechConfig
-
Optional.
- languageCode(String) - Method in class com.google.genai.types.RetrievalConfig.Builder
-
Setter for languageCode.
- languageCode(String) - Method in class com.google.genai.types.SpeechConfig.Builder
-
Setter for languageCode.
- lastConsumedClientMessageIndex() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
Index of last message sent by client that is included in state represented by this SessionResumptionToken.
- lastConsumedClientMessageIndex(Long) - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Setter for lastConsumedClientMessageIndex.
- lastFrame() - Method in class com.google.genai.types.GenerateVideosConfig
-
Image to use as the last frame of generated videos.
- lastFrame(Image) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for lastFrame.
- lastFrame(Image.Builder) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for lastFrame builder.
- lastPage() - Method in class com.google.genai.types.RagChunkPageSpan
-
Page where chunk ends in the document.
- lastPage(Integer) - Method in class com.google.genai.types.RagChunkPageSpan.Builder
-
Setter for lastPage.
- latitude() - Method in class com.google.genai.types.LatLng
-
The latitude in degrees.
- latitude(Double) - Method in class com.google.genai.types.LatLng.Builder
-
Setter for latitude.
- latLng() - Method in class com.google.genai.types.RetrievalConfig
-
Optional.
- latLng(LatLng) - Method in class com.google.genai.types.RetrievalConfig.Builder
-
Setter for latLng.
- latLng(LatLng.Builder) - Method in class com.google.genai.types.RetrievalConfig.Builder
-
Setter for latLng builder.
- LatLng - Class in com.google.genai.types
-
An object that represents a latitude/longitude pair.
- LatLng() - Constructor for class com.google.genai.types.LatLng
- LatLng.Builder - Class in com.google.genai.types
-
Builder for LatLng.
- learningRate() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The learning rate hyperparameter for tuning.
- learningRate() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Optional.
- learningRate(Double) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for learningRate.
- learningRate(Float) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for learningRate.
- learningRateMultiplier() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Multiplier for adjusting the default learning rate.
- learningRateMultiplier() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Optional.
- learningRateMultiplier() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Optional.
- learningRateMultiplier() - Method in class com.google.genai.types.VeoHyperParameters
-
Optional.
- learningRateMultiplier(Double) - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
-
Setter for learningRateMultiplier.
- learningRateMultiplier(Double) - Method in class com.google.genai.types.SupervisedHyperParameters.Builder
-
Setter for learningRateMultiplier.
- learningRateMultiplier(Double) - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Setter for learningRateMultiplier.
- learningRateMultiplier(Float) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for learningRateMultiplier.
- left() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Output only.
- left() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Output only.
- left(Double) - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Setter for left.
- left(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Setter for left.
- level() - Method in class com.google.genai.types.PartMediaResolution
-
The tokenization quality used for given media.
- level(PartMediaResolutionLevel) - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Setter for level.
- level(PartMediaResolutionLevel.Known) - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Setter for level given a known enum.
- level(String) - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Setter for level given a string.
- license() - Method in class com.google.genai.types.Citation
-
Output only.
- license(String) - Method in class com.google.genai.types.Citation.Builder
-
Setter for license.
- list(ListBatchJobsConfig) - Method in class com.google.genai.AsyncBatches
-
Asynchronously makes an API request to list the available batch jobs.
- list(ListBatchJobsConfig) - Method in class com.google.genai.Batches
-
Makes an API request to list the available batch jobs.
- list(ListCachedContentsConfig) - Method in class com.google.genai.AsyncCaches
-
Asynchronously makes an API request to list the available cached contents.
- list(ListCachedContentsConfig) - Method in class com.google.genai.Caches
-
Makes an API request to list the available cached contents.
- list(ListFilesConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously makes an API request to list the available files.
- list(ListFilesConfig) - Method in class com.google.genai.Files
-
makes an API request to list the available files.
- list(ListFileSearchStoresConfig) - Method in class com.google.genai.AsyncFileSearchStores
-
Asynchronously makes an API request to list the available file search stores.
- list(ListFileSearchStoresConfig) - Method in class com.google.genai.FileSearchStores
-
Makes an API request to list the available file search stores.
- list(ListModelsConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously makes an API request to list the available models.
- list(ListModelsConfig) - Method in class com.google.genai.Models
-
Makes an API request to list the available models.
- list(ListTuningJobsConfig) - Method in class com.google.genai.AsyncTunings
-
Asynchronously makes an API request to list the available tuning jobs.
- list(ListTuningJobsConfig) - Method in class com.google.genai.Tunings
-
Makes an API request to list the available tuning jobs.
- list(String, ListDocumentsConfig) - Method in class com.google.genai.AsyncDocuments
-
Asynchronously makes an API request to list the available documents.
- list(String, ListDocumentsConfig) - Method in class com.google.genai.Documents
-
Makes an API request to list the available documents.
- ListBatchJobsConfig - Class in com.google.genai.types
-
Config for optional parameters.
- ListBatchJobsConfig() - Constructor for class com.google.genai.types.ListBatchJobsConfig
- ListBatchJobsConfig.Builder - Class in com.google.genai.types
-
Builder for ListBatchJobsConfig.
- ListBatchJobsParameters - Class in com.google.genai.types
-
Config for batches.list parameters.
- ListBatchJobsParameters() - Constructor for class com.google.genai.types.ListBatchJobsParameters
- ListBatchJobsParameters.Builder - Class in com.google.genai.types
-
Builder for ListBatchJobsParameters.
- ListBatchJobsResponse - Class in com.google.genai.types
-
Config for batches.list return value.
- ListBatchJobsResponse() - Constructor for class com.google.genai.types.ListBatchJobsResponse
- ListBatchJobsResponse.Builder - Class in com.google.genai.types
-
Builder for ListBatchJobsResponse.
- ListCachedContentsConfig - Class in com.google.genai.types
-
Config for caches.list method.
- ListCachedContentsConfig() - Constructor for class com.google.genai.types.ListCachedContentsConfig
- ListCachedContentsConfig.Builder - Class in com.google.genai.types
-
Builder for ListCachedContentsConfig.
- ListCachedContentsParameters - Class in com.google.genai.types
-
Parameters for caches.list method.
- ListCachedContentsParameters() - Constructor for class com.google.genai.types.ListCachedContentsParameters
- ListCachedContentsParameters.Builder - Class in com.google.genai.types
-
Builder for ListCachedContentsParameters.
- ListCachedContentsResponse - Class in com.google.genai.types
-
None
- ListCachedContentsResponse() - Constructor for class com.google.genai.types.ListCachedContentsResponse
- ListCachedContentsResponse.Builder - Class in com.google.genai.types
-
Builder for ListCachedContentsResponse.
- ListDocumentsConfig - Class in com.google.genai.types
-
Config for optional parameters.
- ListDocumentsConfig() - Constructor for class com.google.genai.types.ListDocumentsConfig
- ListDocumentsConfig.Builder - Class in com.google.genai.types
-
Builder for ListDocumentsConfig.
- ListDocumentsParameters - Class in com.google.genai.types
-
Config for documents.list parameters.
- ListDocumentsParameters() - Constructor for class com.google.genai.types.ListDocumentsParameters
- ListDocumentsParameters.Builder - Class in com.google.genai.types
-
Builder for ListDocumentsParameters.
- ListDocumentsResponse - Class in com.google.genai.types
-
Config for documents.list return value.
- ListDocumentsResponse() - Constructor for class com.google.genai.types.ListDocumentsResponse
- ListDocumentsResponse.Builder - Class in com.google.genai.types
-
Builder for ListDocumentsResponse.
- ListFilesConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- ListFilesConfig() - Constructor for class com.google.genai.types.ListFilesConfig
- ListFilesConfig.Builder - Class in com.google.genai.types
-
Builder for ListFilesConfig.
- ListFileSearchStoresConfig - Class in com.google.genai.types
-
Optional parameters for listing FileSearchStore.
- ListFileSearchStoresConfig() - Constructor for class com.google.genai.types.ListFileSearchStoresConfig
- ListFileSearchStoresConfig.Builder - Class in com.google.genai.types
-
Builder for ListFileSearchStoresConfig.
- ListFileSearchStoresParameters - Class in com.google.genai.types
-
Config for file_search_stores.list parameters.
- ListFileSearchStoresParameters() - Constructor for class com.google.genai.types.ListFileSearchStoresParameters
- ListFileSearchStoresParameters.Builder - Class in com.google.genai.types
-
Builder for ListFileSearchStoresParameters.
- ListFileSearchStoresResponse - Class in com.google.genai.types
-
Config for file_search_stores.list return value.
- ListFileSearchStoresResponse() - Constructor for class com.google.genai.types.ListFileSearchStoresResponse
- ListFileSearchStoresResponse.Builder - Class in com.google.genai.types
-
Builder for ListFileSearchStoresResponse.
- ListFilesParameters - Class in com.google.genai.types
-
Generates the parameters for the list method.
- ListFilesParameters() - Constructor for class com.google.genai.types.ListFilesParameters
- ListFilesParameters.Builder - Class in com.google.genai.types
-
Builder for ListFilesParameters.
- ListFilesResponse - Class in com.google.genai.types
-
Response for the list files method.
- ListFilesResponse() - Constructor for class com.google.genai.types.ListFilesResponse
- ListFilesResponse.Builder - Class in com.google.genai.types
-
Builder for ListFilesResponse.
- ListModelsConfig - Class in com.google.genai.types
-
None
- ListModelsConfig() - Constructor for class com.google.genai.types.ListModelsConfig
- ListModelsConfig.Builder - Class in com.google.genai.types
-
Builder for ListModelsConfig.
- ListModelsParameters - Class in com.google.genai.types
-
None
- ListModelsParameters() - Constructor for class com.google.genai.types.ListModelsParameters
- ListModelsParameters.Builder - Class in com.google.genai.types
-
Builder for ListModelsParameters.
- ListModelsResponse - Class in com.google.genai.types
-
None
- ListModelsResponse() - Constructor for class com.google.genai.types.ListModelsResponse
- ListModelsResponse.Builder - Class in com.google.genai.types
-
Builder for ListModelsResponse.
- ListTuningJobsConfig - Class in com.google.genai.types
-
Configuration for the list tuning jobs method.
- ListTuningJobsConfig() - Constructor for class com.google.genai.types.ListTuningJobsConfig
- ListTuningJobsConfig.Builder - Class in com.google.genai.types
-
Builder for ListTuningJobsConfig.
- ListTuningJobsParameters - Class in com.google.genai.types
-
Parameters for the list tuning jobs method.
- ListTuningJobsParameters() - Constructor for class com.google.genai.types.ListTuningJobsParameters
- ListTuningJobsParameters.Builder - Class in com.google.genai.types
-
Builder for ListTuningJobsParameters.
- ListTuningJobsResponse - Class in com.google.genai.types
-
Response for the list tuning jobs method.
- ListTuningJobsResponse() - Constructor for class com.google.genai.types.ListTuningJobsResponse
- ListTuningJobsResponse.Builder - Class in com.google.genai.types
-
Builder for ListTuningJobsResponse.
- live - Variable in class com.google.genai.Client.Async
- LiveClientContent - Class in com.google.genai.types
-
Incremental update of the current conversation delivered from the client.
- LiveClientContent() - Constructor for class com.google.genai.types.LiveClientContent
- LiveClientContent.Builder - Class in com.google.genai.types
-
Builder for LiveClientContent.
- LiveClientMessage - Class in com.google.genai.types
-
Messages sent by the client in the API call.
- LiveClientMessage() - Constructor for class com.google.genai.types.LiveClientMessage
- LiveClientMessage.Builder - Class in com.google.genai.types
-
Builder for LiveClientMessage.
- LiveClientRealtimeInput - Class in com.google.genai.types
-
User input that is sent in real time.
- LiveClientRealtimeInput() - Constructor for class com.google.genai.types.LiveClientRealtimeInput
- LiveClientRealtimeInput.Builder - Class in com.google.genai.types
-
Builder for LiveClientRealtimeInput.
- LiveClientSetup - Class in com.google.genai.types
-
Message contains configuration that will apply for the duration of the streaming session.
- LiveClientSetup() - Constructor for class com.google.genai.types.LiveClientSetup
- LiveClientSetup.Builder - Class in com.google.genai.types
-
Builder for LiveClientSetup.
- LiveClientToolResponse - Class in com.google.genai.types
-
Client generated response to a `ToolCall` received from the server.
- LiveClientToolResponse() - Constructor for class com.google.genai.types.LiveClientToolResponse
- LiveClientToolResponse.Builder - Class in com.google.genai.types
-
Builder for LiveClientToolResponse.
- LiveConnectConfig - Class in com.google.genai.types
-
Session config for the API connection.
- LiveConnectConfig() - Constructor for class com.google.genai.types.LiveConnectConfig
- LiveConnectConfig.Builder - Class in com.google.genai.types
-
Builder for LiveConnectConfig.
- LiveConnectParameters - Class in com.google.genai.types
-
Parameters for connecting to the live API.
- LiveConnectParameters() - Constructor for class com.google.genai.types.LiveConnectParameters
- LiveConnectParameters.Builder - Class in com.google.genai.types
-
Builder for LiveConnectParameters.
- LiveSendClientContentParameters - Class in com.google.genai.types
-
Parameters for sending client content to the live API.
- LiveSendClientContentParameters() - Constructor for class com.google.genai.types.LiveSendClientContentParameters
- LiveSendClientContentParameters.Builder - Class in com.google.genai.types
-
Builder for LiveSendClientContentParameters.
- LiveSendRealtimeInputParameters - Class in com.google.genai.types
-
Parameters for sending realtime input to the live API.
- LiveSendRealtimeInputParameters() - Constructor for class com.google.genai.types.LiveSendRealtimeInputParameters
- LiveSendRealtimeInputParameters.Builder - Class in com.google.genai.types
-
Builder for LiveSendRealtimeInputParameters.
- LiveSendToolResponseParameters - Class in com.google.genai.types
-
Parameters for sending tool responses to the live API.
- LiveSendToolResponseParameters() - Constructor for class com.google.genai.types.LiveSendToolResponseParameters
- LiveSendToolResponseParameters.Builder - Class in com.google.genai.types
-
Builder for LiveSendToolResponseParameters.
- LiveServerContent - Class in com.google.genai.types
-
Incremental server update generated by the model in response to client messages.
- LiveServerContent() - Constructor for class com.google.genai.types.LiveServerContent
- LiveServerContent.Builder - Class in com.google.genai.types
-
Builder for LiveServerContent.
- LiveServerGoAway - Class in com.google.genai.types
-
Server will not be able to service client soon.
- LiveServerGoAway() - Constructor for class com.google.genai.types.LiveServerGoAway
- LiveServerGoAway.Builder - Class in com.google.genai.types
-
Builder for LiveServerGoAway.
- LiveServerMessage - Class in com.google.genai.types
-
Response message for API call.
- LiveServerMessage() - Constructor for class com.google.genai.types.LiveServerMessage
- LiveServerMessage.Builder - Class in com.google.genai.types
-
Builder for LiveServerMessage.
- LiveServerSessionResumptionUpdate - Class in com.google.genai.types
-
Update of the session resumption state.
- LiveServerSessionResumptionUpdate() - Constructor for class com.google.genai.types.LiveServerSessionResumptionUpdate
- LiveServerSessionResumptionUpdate.Builder - Class in com.google.genai.types
-
Builder for LiveServerSessionResumptionUpdate.
- LiveServerSetupComplete - Class in com.google.genai.types
-
Sent in response to a `LiveGenerateContentSetup` message from the client.
- LiveServerSetupComplete() - Constructor for class com.google.genai.types.LiveServerSetupComplete
- LiveServerSetupComplete.Builder - Class in com.google.genai.types
-
Builder for LiveServerSetupComplete.
- LiveServerToolCall - Class in com.google.genai.types
-
Request for the client to execute the `function_calls` and return the responses with the matching `id`s.
- LiveServerToolCall() - Constructor for class com.google.genai.types.LiveServerToolCall
- LiveServerToolCall.Builder - Class in com.google.genai.types
-
Builder for LiveServerToolCall.
- LiveServerToolCallCancellation - Class in com.google.genai.types
-
Notification for the client that a previously issued `ToolCallMessage` with the specified `id`s should have been not executed and should be cancelled.
- LiveServerToolCallCancellation() - Constructor for class com.google.genai.types.LiveServerToolCallCancellation
- LiveServerToolCallCancellation.Builder - Class in com.google.genai.types
-
Builder for LiveServerToolCallCancellation.
- llmRanker() - Method in class com.google.genai.types.RagRetrievalConfigRanking
-
Optional.
- llmRanker(RagRetrievalConfigRankingLlmRanker) - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Setter for llmRanker.
- llmRanker(RagRetrievalConfigRankingLlmRanker.Builder) - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Setter for llmRanker builder.
- LocalTokenizer - Class in com.google.genai
-
[Experimental] Text Only Local Tokenizer.
- LocalTokenizer(String) - Constructor for class com.google.genai.LocalTokenizer
-
Creates a new LocalTokenizer for the specified model.
- location() - Method in class com.google.genai.HttpApiClient
-
Returns the location for Vertex AI APIs.
- location() - Method in class com.google.genai.Client
-
Returns the location for Vertex AI APIs.
- location(String) - Method in class com.google.genai.Client.Builder
-
Sets the location for Vertex AI APIs.
- logProbability() - Method in class com.google.genai.types.LogprobsResultCandidate
-
The candidate's log probability.
- logProbability(Float) - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Setter for logProbability.
- logprobs() - Method in class com.google.genai.types.GenerateContentConfig
-
Number of top candidate tokens to return the log probabilities for at each generation step.
- logprobs() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- logprobs(Integer) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for logprobs.
- logprobs(Integer) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for logprobs.
- logprobsResult() - Method in class com.google.genai.types.Candidate
-
Output only.
- logprobsResult(LogprobsResult) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for logprobsResult.
- logprobsResult(LogprobsResult.Builder) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for logprobsResult builder.
- LogprobsResult - Class in com.google.genai.types
-
Logprobs Result
- LogprobsResult() - Constructor for class com.google.genai.types.LogprobsResult
- LogprobsResult.Builder - Class in com.google.genai.types
-
Builder for LogprobsResult.
- LogprobsResultCandidate - Class in com.google.genai.types
-
Candidate for the logprobs token and score.
- LogprobsResultCandidate() - Constructor for class com.google.genai.types.LogprobsResultCandidate
- LogprobsResultCandidate.Builder - Class in com.google.genai.types
-
Builder for LogprobsResultCandidate.
- LogprobsResultTopCandidates - Class in com.google.genai.types
-
Candidates with top log probabilities at each decoding step.
- LogprobsResultTopCandidates() - Constructor for class com.google.genai.types.LogprobsResultTopCandidates
- LogprobsResultTopCandidates.Builder - Class in com.google.genai.types
-
Builder for LogprobsResultTopCandidates.
- longitude() - Method in class com.google.genai.types.LatLng
-
The longitude in degrees.
- longitude(Double) - Method in class com.google.genai.types.LatLng.Builder
-
Setter for longitude.
- LOSSLESS - Enum constant in enum com.google.genai.types.VideoCompressionQuality.Known
-
Lossless video compression quality.
- LOW - Enum constant in enum com.google.genai.types.HarmProbability.Known
-
Low level of harm.
- LOW - Enum constant in enum com.google.genai.types.ThinkingLevel.Known
-
Low thinking level.
M
- MALFORMED_FUNCTION_CALL - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The function call generated by the model is invalid.
- MALFORMED_FUNCTION_CALL - Enum constant in enum com.google.genai.types.TurnCompleteReason.Known
-
The function call generated by the model is invalid.
- manualMode() - Method in class com.google.genai.types.GenerationConfigRoutingConfig
-
Manual routing.
- manualMode(GenerationConfigRoutingConfigManualRoutingMode) - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Setter for manualMode.
- manualMode(GenerationConfigRoutingConfigManualRoutingMode.Builder) - Method in class com.google.genai.types.GenerationConfigRoutingConfig.Builder
-
Setter for manualMode builder.
- maps() - Method in class com.google.genai.types.GroundingChunk
-
Grounding chunk from Google Maps.
- maps(GroundingChunkMaps) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for maps.
- maps(GroundingChunkMaps.Builder) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for maps builder.
- mask() - Method in class com.google.genai.types.GeneratedImageMask
-
The generated image mask.
- mask() - Method in class com.google.genai.types.GenerateVideosConfig
-
The mask to use for generating videos.
- mask(Image) - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Setter for mask.
- mask(Image.Builder) - Method in class com.google.genai.types.GeneratedImageMask.Builder
-
Setter for mask builder.
- mask(VideoGenerationMask) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for mask.
- mask(VideoGenerationMask.Builder) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for mask builder.
- MASK_MODE_BACKGROUND - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- MASK_MODE_DEFAULT - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- MASK_MODE_FOREGROUND - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- MASK_MODE_SEMANTIC - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- MASK_MODE_USER_PROVIDED - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- MASK_REFERENCE_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.MaskReferenceMode.Known
- maskDilation() - Method in class com.google.genai.types.MaskReferenceConfig
-
Dilation percentage of the mask provided.
- maskDilation() - Method in class com.google.genai.types.SegmentImageConfig
-
A decimal value representing how much dilation to apply to the masks.
- maskDilation(Float) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for maskDilation.
- maskDilation(Float) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for maskDilation.
- maskImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI
-
Configuration for the mask reference image.
- maskImageConfig(MaskReferenceConfig) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for maskImageConfig.
- maskImageConfig(MaskReferenceConfig.Builder) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for maskImageConfig builder.
- maskMode() - Method in class com.google.genai.types.MaskReferenceConfig
-
Prompts the model to generate a mask instead of you needing to provide one (unless MASK_MODE_USER_PROVIDED is used).
- maskMode() - Method in class com.google.genai.types.VideoGenerationMask
-
Describes how the mask will be used.
- maskMode(MaskReferenceMode) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for maskMode.
- maskMode(MaskReferenceMode.Known) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for maskMode given a known enum.
- maskMode(VideoGenerationMaskMode) - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Setter for maskMode.
- maskMode(VideoGenerationMaskMode.Known) - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Setter for maskMode given a known enum.
- maskMode(String) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for maskMode given a string.
- maskMode(String) - Method in class com.google.genai.types.VideoGenerationMask.Builder
-
Setter for maskMode given a string.
- MaskReferenceConfig - Class in com.google.genai.types
-
Configuration for a Mask reference image.
- MaskReferenceConfig() - Constructor for class com.google.genai.types.MaskReferenceConfig
- MaskReferenceConfig.Builder - Class in com.google.genai.types
-
Builder for MaskReferenceConfig.
- MaskReferenceImage - Class in com.google.genai.types
-
A mask reference image.
- MaskReferenceImage() - Constructor for class com.google.genai.types.MaskReferenceImage
- MaskReferenceImage.Builder - Class in com.google.genai.types
-
Builder for MaskReferenceImage.
- MaskReferenceMode - Class in com.google.genai.types
-
Enum representing the mask mode of a mask reference image.
- MaskReferenceMode(MaskReferenceMode.Known) - Constructor for class com.google.genai.types.MaskReferenceMode
- MaskReferenceMode(String) - Constructor for class com.google.genai.types.MaskReferenceMode
- MaskReferenceMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for MaskReferenceMode.
- max() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- max() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- max(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for max.
- max(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for max.
- MAX_READ_LENGTH_PROPERTY - Static variable in class com.google.genai.JsonSerializable
-
System property to override the default max JSON string length (20MB) in read constraints.
- MAX_SENTENCE_LENGTH_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- MAX_SENTENCEPIECE_LENGTH_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- MAX_TOKENS - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation reached the configured maximum output tokens.
- maxConnections() - Method in class com.google.genai.types.ClientOptions
-
The maximum number of connections allowed in the pool.
- maxConnections(Integer) - Method in class com.google.genai.types.ClientOptions.Builder
-
Setter for maxConnections.
- maxConnectionsPerHost() - Method in class com.google.genai.types.ClientOptions
-
The maximum number of connections allowed per host.
- maxConnectionsPerHost(Integer) - Method in class com.google.genai.types.ClientOptions.Builder
-
Setter for maxConnectionsPerHost.
- maxDelay() - Method in class com.google.genai.types.HttpRetryOptions
-
Maximum delay between retries, in fractions of a second.
- maxDelay(Double) - Method in class com.google.genai.types.HttpRetryOptions.Builder
-
Setter for maxDelay.
- maximum() - Method in class com.google.genai.types.Schema
-
Optional.
- maximum(Double) - Method in class com.google.genai.types.Schema.Builder
-
Setter for maximum.
- maximumRemoteCalls() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
If automatic function calling is enabled, maximum number of remote calls for automatic function calling.
- maximumRemoteCalls(Integer) - Method in class com.google.genai.types.AutomaticFunctionCallingConfig.Builder
-
Setter for maximumRemoteCalls.
- maxItems() - Method in class com.google.genai.types.Schema
-
Optional.
- maxItems(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for maxItems.
- maxLength() - Method in class com.google.genai.types.Schema
-
Optional.
- maxLength(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for maxLength.
- maxOutputTokens() - Method in class com.google.genai.types.GenerateContentConfig
-
Maximum number of tokens that can be generated in the response.
- maxOutputTokens() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- maxOutputTokens() - Method in class com.google.genai.types.LiveConnectConfig
-
Maximum number of tokens that can be generated in the response.
- maxOutputTokens(Integer) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for maxOutputTokens.
- maxOutputTokens(Integer) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for maxOutputTokens.
- maxOutputTokens(Integer) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for maxOutputTokens.
- maxOverlapTokens() - Method in class com.google.genai.types.WhiteSpaceConfig
-
Maximum number of overlapping tokens between two adjacent chunks.
- maxOverlapTokens(Integer) - Method in class com.google.genai.types.WhiteSpaceConfig.Builder
-
Setter for maxOverlapTokens.
- maxPredictions() - Method in class com.google.genai.types.SegmentImageConfig
-
The maximum number of predictions to return up to, by top confidence score.
- maxPredictions(Integer) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for maxPredictions.
- maxProperties() - Method in class com.google.genai.types.Schema
-
Optional.
- maxProperties(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for maxProperties.
- maxResults() - Method in class com.google.genai.types.VertexAISearch
-
Optional.
- maxResults(Integer) - Method in class com.google.genai.types.VertexAISearch.Builder
-
Setter for maxResults.
- maxTemperature() - Method in class com.google.genai.types.Model
-
The maximum temperature value used for sampling set when the dataset was saved.
- maxTemperature(Float) - Method in class com.google.genai.types.Model.Builder
-
Setter for maxTemperature.
- maxTokensPerChunk() - Method in class com.google.genai.types.WhiteSpaceConfig
-
Maximum number of tokens per chunk.
- maxTokensPerChunk(Integer) - Method in class com.google.genai.types.WhiteSpaceConfig.Builder
-
Setter for maxTokensPerChunk.
- mean() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- mean() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- mean(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for mean.
- mean(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for mean.
- media() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Realtime input to send to the session.
- media(Blob) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for media.
- media(Blob.Builder) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for media builder.
- MEDIA_MODALITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.MediaModality.Known
- MEDIA_RESOLUTION_HIGH - Enum constant in enum com.google.genai.types.MediaResolution.Known
-
Media resolution set to high (zoomed reframing with 256 tokens).
- MEDIA_RESOLUTION_HIGH - Enum constant in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Media resolution set to high.
- MEDIA_RESOLUTION_LOW - Enum constant in enum com.google.genai.types.MediaResolution.Known
-
Media resolution set to low (64 tokens).
- MEDIA_RESOLUTION_LOW - Enum constant in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Media resolution set to low.
- MEDIA_RESOLUTION_MEDIUM - Enum constant in enum com.google.genai.types.MediaResolution.Known
-
Media resolution set to medium (256 tokens).
- MEDIA_RESOLUTION_MEDIUM - Enum constant in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Media resolution set to medium.
- MEDIA_RESOLUTION_UNSPECIFIED - Enum constant in enum com.google.genai.types.MediaResolution.Known
-
Media resolution has not been set
- MEDIA_RESOLUTION_UNSPECIFIED - Enum constant in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Media resolution has not been set.
- mediaChunks() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
Inlined bytes data for media input.
- mediaChunks(Blob...) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for mediaChunks.
- mediaChunks(Blob.Builder...) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for mediaChunks builder.
- mediaChunks(List<Blob>) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for mediaChunks.
- MediaModality - Class in com.google.genai.types
-
Server content modalities.
- MediaModality(MediaModality.Known) - Constructor for class com.google.genai.types.MediaModality
- MediaModality(String) - Constructor for class com.google.genai.types.MediaModality
- MediaModality.Known - Enum in com.google.genai.types
-
Enum representing the known values for MediaModality.
- median() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- median() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- median(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for median.
- median(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for median.
- mediaResolution() - Method in class com.google.genai.types.GenerateContentConfig
-
If specified, the media resolution specified will be used.
- mediaResolution() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- mediaResolution() - Method in class com.google.genai.types.LiveConnectConfig
-
If specified, the media resolution specified will be used.
- mediaResolution() - Method in class com.google.genai.types.Part
-
Media resolution for the input media.
- mediaResolution(MediaResolution) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for mediaResolution.
- mediaResolution(MediaResolution) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for mediaResolution.
- mediaResolution(MediaResolution) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for mediaResolution.
- mediaResolution(MediaResolution.Known) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for mediaResolution given a known enum.
- mediaResolution(MediaResolution.Known) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for mediaResolution given a known enum.
- mediaResolution(MediaResolution.Known) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for mediaResolution given a known enum.
- mediaResolution(PartMediaResolution) - Method in class com.google.genai.types.Part.Builder
-
Setter for mediaResolution.
- mediaResolution(PartMediaResolution.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for mediaResolution builder.
- mediaResolution(String) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for mediaResolution given a string.
- mediaResolution(String) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for mediaResolution given a string.
- mediaResolution(String) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for mediaResolution given a string.
- MediaResolution - Class in com.google.genai.types
-
The media resolution to use.
- MediaResolution(MediaResolution.Known) - Constructor for class com.google.genai.types.MediaResolution
- MediaResolution(String) - Constructor for class com.google.genai.types.MediaResolution
- MediaResolution.Known - Enum in com.google.genai.types
-
Enum representing the known values for MediaResolution.
- MEDIUM - Enum constant in enum com.google.genai.types.HarmProbability.Known
-
Medium level of harm.
- mergeDenormalizerSpec(SentencepieceModel.NormalizerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- mergeFrom(SentencepieceModel.ModelProto) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- mergeFrom(SentencepieceModel.ModelProto.SentencePiece) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- mergeFrom(SentencepieceModel.NormalizerSpec) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- mergeFrom(SentencepieceModel.SelfTestData) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- mergeFrom(SentencepieceModel.SelfTestData.Sample) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- mergeFrom(SentencepieceModel.TrainerSpec) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- mergeFrom(Message) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- mergeNormalizerSpec(SentencepieceModel.NormalizerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- mergeSelfTestData(SentencepieceModel.SelfTestData) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- mergeTrainerSpec(SentencepieceModel.TrainerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- message() - Method in exception com.google.genai.errors.ApiException
-
Returns the error message from the API response.
- message() - Method in class com.google.genai.types.FileStatus
-
A list of messages that carry the error details.
- message() - Method in class com.google.genai.types.GoogleRpcStatus
-
A developer-facing error message, which should be in English.
- message() - Method in class com.google.genai.types.JobError
-
A developer-facing error message, which should be in English.
- message(String) - Method in class com.google.genai.types.FileStatus.Builder
-
Setter for message.
- message(String) - Method in class com.google.genai.types.GoogleRpcStatus.Builder
-
Setter for message.
- message(String) - Method in class com.google.genai.types.JobError.Builder
-
Setter for message.
- metadata() - Method in class com.google.genai.types.EmbedContentResponse
-
Vertex API only.
- metadata() - Method in class com.google.genai.types.InlinedRequest
-
The metadata to be associated with the request.
- metadata() - Method in class com.google.genai.types.Operation
-
Service-specific metadata associated with the operation.
- metadata() - Method in class com.google.genai.types.TuningOperation
-
Service-specific metadata associated with the operation.
- metadata(EmbedContentMetadata) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for metadata.
- metadata(EmbedContentMetadata.Builder) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for metadata builder.
- metadata(Map<String, Object>) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for metadata.
- metadata(Map<String, Object>) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for metadata.
- metadata(Map<String, Object>) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for metadata.
- metadata(Map<String, Object>) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for metadata.
- metadata(Map<String, String>) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for metadata.
- metadataFilter() - Method in class com.google.genai.types.FileSearch
-
Metadata filter to apply to the file search retrieval documents.
- metadataFilter() - Method in class com.google.genai.types.RagRetrievalConfigFilter
-
Optional.
- metadataFilter(String) - Method in class com.google.genai.types.FileSearch.Builder
-
Setter for metadataFilter.
- metadataFilter(String) - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Setter for metadataFilter.
- method() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING).
- method() - Method in class com.google.genai.types.ReplayRequest
- method() - Method in class com.google.genai.types.SafetySetting
-
Optional.
- method(HarmBlockMethod) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for method.
- method(HarmBlockMethod.Known) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for method given a known enum.
- method(TuningMethod) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for method.
- method(TuningMethod.Known) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for method given a known enum.
- method(String) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for method given a string.
- method(String) - Method in class com.google.genai.types.ReplayRequest.Builder
-
Setter for method.
- method(String) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for method given a string.
- Metric - Class in com.google.genai.types
-
The metric used for evaluation.
- Metric() - Constructor for class com.google.genai.types.Metric
- Metric.Builder - Class in com.google.genai.types
-
Builder for Metric.
- metrics() - Method in class com.google.genai.types.EvaluationConfig
-
The metrics used for evaluation.
- metrics(Metric...) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for metrics.
- metrics(Metric.Builder...) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for metrics builder.
- metrics(List<Metric>) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for metrics.
- mimeType() - Method in class com.google.genai.types.Blob
-
Required.
- mimeType() - Method in class com.google.genai.types.Document
-
The MIME type of the Document.
- mimeType() - Method in class com.google.genai.types.EmbedContentConfig
-
Vertex API only.
- mimeType() - Method in class com.google.genai.types.File
-
Output only.
- mimeType() - Method in class com.google.genai.types.FileData
-
Required.
- mimeType() - Method in class com.google.genai.types.FunctionResponseBlob
-
Required.
- mimeType() - Method in class com.google.genai.types.FunctionResponseFileData
-
Required.
- mimeType() - Method in class com.google.genai.types.Image
-
The MIME type of the image.
- mimeType() - Method in class com.google.genai.types.UploadFileConfig
-
mime_type: The MIME type of the file.
- mimeType() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
MIME type of the file to be uploaded.
- mimeType() - Method in class com.google.genai.types.Video
-
Video encoding, for example ``video/mp4``.
- mimeType(String) - Method in class com.google.genai.types.Blob.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.Document.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.File.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.FileData.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.FunctionResponseBlob.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.FunctionResponseFileData.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.Image.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for mimeType.
- mimeType(String) - Method in class com.google.genai.types.Video.Builder
-
Setter for mimeType.
- min() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- min() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- min(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for min.
- min(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for min.
- minimum() - Method in class com.google.genai.types.Schema
-
Optional.
- minimum(Double) - Method in class com.google.genai.types.Schema.Builder
-
Setter for minimum.
- MINING_SENTENCE_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- minItems() - Method in class com.google.genai.types.Schema
-
Optional.
- minItems(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for minItems.
- minLength() - Method in class com.google.genai.types.Schema
-
Optional.
- minLength(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for minLength.
- minProperties() - Method in class com.google.genai.types.Schema
-
Optional.
- minProperties(Long) - Method in class com.google.genai.types.Schema.Builder
-
Setter for minProperties.
- modality() - Method in class com.google.genai.types.ModalityTokenCount
-
The modality associated with this token count.
- modality(MediaModality) - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Setter for modality.
- modality(MediaModality.Known) - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Setter for modality given a known enum.
- modality(String) - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Setter for modality given a string.
- Modality - Class in com.google.genai.types
-
Server content modalities.
- Modality(Modality.Known) - Constructor for class com.google.genai.types.Modality
- Modality(String) - Constructor for class com.google.genai.types.Modality
- MODALITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.MediaModality.Known
-
The modality is unspecified.
- MODALITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.Modality.Known
-
The modality is unspecified.
- Modality.Known - Enum in com.google.genai.types
-
Enum representing the known values for Modality.
- ModalityTokenCount - Class in com.google.genai.types
-
Represents token counting info for a single modality.
- ModalityTokenCount() - Constructor for class com.google.genai.types.ModalityTokenCount
- ModalityTokenCount.Builder - Class in com.google.genai.types
-
Builder for ModalityTokenCount.
- mode() - Method in class com.google.genai.types.DynamicRetrievalConfig
-
The mode of the predictor to be used in dynamic retrieval.
- mode() - Method in class com.google.genai.types.FunctionCallingConfig
-
Optional.
- mode() - Method in class com.google.genai.types.SegmentImageConfig
-
The segmentation mode to use.
- mode() - Method in class com.google.genai.types.UpscaleImageAPIConfig
- mode(DynamicRetrievalConfigMode) - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Setter for mode.
- mode(DynamicRetrievalConfigMode.Known) - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Setter for mode given a known enum.
- mode(FunctionCallingConfigMode) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for mode.
- mode(FunctionCallingConfigMode.Known) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for mode given a known enum.
- mode(SegmentMode) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for mode.
- mode(SegmentMode.Known) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for mode given a known enum.
- mode(String) - Method in class com.google.genai.types.DynamicRetrievalConfig.Builder
-
Setter for mode given a string.
- mode(String) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for mode given a string.
- mode(String) - Method in class com.google.genai.types.SegmentImageConfig.Builder
-
Setter for mode given a string.
- mode(String) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for mode.
- Mode - Class in com.google.genai.types
-
The mode of the predictor to be used in dynamic retrieval.
- Mode(Mode.Known) - Constructor for class com.google.genai.types.Mode
- Mode(String) - Constructor for class com.google.genai.types.Mode
- MODE_DYNAMIC - Enum constant in enum com.google.genai.types.DynamicRetrievalConfigMode.Known
-
Run retrieval only when system decides it is necessary.
- MODE_DYNAMIC - Enum constant in enum com.google.genai.types.Mode.Known
-
Run retrieval only when system decides it is necessary.
- MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.DynamicRetrievalConfigMode.Known
-
Always trigger retrieval.
- MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
The function calling config mode is unspecified.
- MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.Mode.Known
-
Always trigger retrieval.
- Mode.Known - Enum in com.google.genai.types
-
Enum representing the known values for Mode.
- model() - Method in class com.google.genai.types.BatchJob
-
The name of the model that produces the predictions via the BatchJob.
- model() - Method in class com.google.genai.types.CachedContent
-
The name of the publisher model to use for cached content.
- model() - Method in class com.google.genai.types.ComputeTokensParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.CountTokensParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.CreateBatchJobParameters
-
The name of the model to produces the predictions via the BatchJob.
- model() - Method in class com.google.genai.types.CreateCachedContentParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
The name of the model to produces the predictions via the BatchJob.
- model() - Method in class com.google.genai.types.DeleteModelParameters
- model() - Method in class com.google.genai.types.EditImageParameters
-
The model to use.
- model() - Method in class com.google.genai.types.EmbedContentParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.GenerateContentParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.GenerateImagesParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.GenerateVideosParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.GetModelParameters
- model() - Method in class com.google.genai.types.InlinedRequest
-
ID of the model to use.
- model() - Method in class com.google.genai.types.LiveClientSetup
-
The fully qualified name of the publisher model or tuned model endpoint to use.
- model() - Method in class com.google.genai.types.LiveConnectParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.RecontextImageParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.SegmentImageParameters
-
ID of the model to use.
- model() - Method in class com.google.genai.types.TunedModel
-
Output only.
- model() - Method in class com.google.genai.types.UpdateModelParameters
- model() - Method in class com.google.genai.types.UpscaleImageAPIParameters
-
The model to use.
- model() - Method in class com.google.genai.types.UpscaleImageParameters
-
The model to use.
- model(String) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.ComputeTokensParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.CountTokensParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.CreateCachedContentParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.DeleteModelParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.EmbedContentParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.GenerateContentParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.GetModelParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.InlinedRequest.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.LiveConnectParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.TunedModel.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.UpdateModelParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Setter for model.
- model(String) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for model.
- Model - Class in com.google.genai.types
-
A trained machine learning model.
- Model() - Constructor for class com.google.genai.types.Model
- MODEL_ARMOR - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked by Model Armor.
- MODEL_PREFIX_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- MODEL_ROUTING_PREFERENCE_UNSPECIFIED - Enum constant in enum com.google.genai.types.ModelRoutingPreference.Known
- MODEL_TYPE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- Model.Builder - Class in com.google.genai.types
-
Builder for Model.
- modelName() - Method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
-
The model name to use.
- modelName() - Method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker
-
Optional.
- modelName() - Method in class com.google.genai.types.RagRetrievalConfigRankingRankService
-
Optional.
- modelName(String) - Method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode.Builder
-
Setter for modelName.
- modelName(String) - Method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker.Builder
-
Setter for modelName.
- modelName(String) - Method in class com.google.genai.types.RagRetrievalConfigRankingRankService.Builder
-
Setter for modelName.
- modelRoutingPreference() - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
-
The model routing preference.
- modelRoutingPreference(ModelRoutingPreference) - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
-
Setter for modelRoutingPreference.
- modelRoutingPreference(ModelRoutingPreference.Known) - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
-
Setter for modelRoutingPreference given a known enum.
- modelRoutingPreference(String) - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
-
Setter for modelRoutingPreference given a string.
- ModelRoutingPreference - Class in com.google.genai.types
-
The model routing preference.
- ModelRoutingPreference(ModelRoutingPreference.Known) - Constructor for class com.google.genai.types.ModelRoutingPreference
- ModelRoutingPreference(String) - Constructor for class com.google.genai.types.ModelRoutingPreference
- ModelRoutingPreference.Known - Enum in com.google.genai.types
-
Enum representing the known values for ModelRoutingPreference.
- models - Variable in class com.google.genai.Client.Async
- models - Variable in class com.google.genai.Client
- models() - Method in class com.google.genai.types.ListModelsResponse
- models(Model...) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for models.
- models(Model.Builder...) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for models builder.
- models(List<Model>) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for models.
- Models - Class in com.google.genai
-
Provides methods for interacting with the available GenAI models.
- Models(ApiClient) - Constructor for class com.google.genai.Models
- modelSelectionConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
Configuration for model selection.
- modelSelectionConfig() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- modelSelectionConfig(ModelSelectionConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for modelSelectionConfig.
- modelSelectionConfig(ModelSelectionConfig) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for modelSelectionConfig.
- modelSelectionConfig(ModelSelectionConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for modelSelectionConfig builder.
- modelSelectionConfig(ModelSelectionConfig.Builder) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for modelSelectionConfig builder.
- ModelSelectionConfig - Class in com.google.genai.types
-
Config for model selection.
- ModelSelectionConfig() - Constructor for class com.google.genai.types.ModelSelectionConfig
- ModelSelectionConfig.Builder - Class in com.google.genai.types
-
Builder for ModelSelectionConfig.
- modelTurn() - Method in class com.google.genai.types.LiveServerContent
-
The content that the model has generated as part of the current conversation with the user.
- modelTurn(Content) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for modelTurn.
- modelTurn(Content.Builder) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for modelTurn builder.
- modelVersion() - Method in class com.google.genai.types.GenerateContentResponse
-
Output only.
- modelVersion(String) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for modelVersion.
- month() - Method in class com.google.genai.types.GoogleTypeDate
-
Month of a year.
- month(Integer) - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Setter for month.
- multiSpeakerVoiceConfig() - Method in class com.google.genai.types.SpeechConfig
-
Optional.
- multiSpeakerVoiceConfig(MultiSpeakerVoiceConfig) - Method in class com.google.genai.types.SpeechConfig.Builder
-
Setter for multiSpeakerVoiceConfig.
- multiSpeakerVoiceConfig(MultiSpeakerVoiceConfig.Builder) - Method in class com.google.genai.types.SpeechConfig.Builder
-
Setter for multiSpeakerVoiceConfig builder.
- MultiSpeakerVoiceConfig - Class in com.google.genai.types
-
The configuration for the multi-speaker setup.
- MultiSpeakerVoiceConfig() - Constructor for class com.google.genai.types.MultiSpeakerVoiceConfig
- MultiSpeakerVoiceConfig.Builder - Class in com.google.genai.types
-
Builder for MultiSpeakerVoiceConfig.
N
- name() - Method in class com.google.genai.AsyncPager
-
Asynchronously returns the name of the item for this pager.
- name() - Method in class com.google.genai.Pager
-
Returns the name of the item for this pager.
- name() - Method in class com.google.genai.types.ApiKeyConfig
-
Optional.
- name() - Method in class com.google.genai.types.BatchJob
-
The resource name of the BatchJob.
- name() - Method in class com.google.genai.types.CachedContent
-
The server-generated resource name of the cached content.
- name() - Method in class com.google.genai.types.CancelBatchJobParameters
-
A fully-qualified BatchJob resource name or ID.
- name() - Method in class com.google.genai.types.CancelTuningJobParameters
-
The resource name of the tuning job.
- name() - Method in class com.google.genai.types.DeleteBatchJobParameters
-
A fully-qualified BatchJob resource name or ID.
- name() - Method in class com.google.genai.types.DeleteCachedContentParameters
-
The server-generated resource name of the cached content.
- name() - Method in class com.google.genai.types.DeleteDocumentParameters
-
The resource name of the Document.
- name() - Method in class com.google.genai.types.DeleteFileParameters
-
The name identifier for the file to be deleted.
- name() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters
-
The resource name of the FileSearchStore.
- name() - Method in class com.google.genai.types.DeleteResourceJob
- name() - Method in class com.google.genai.types.Document
-
The resource name of the Document.
- name() - Method in class com.google.genai.types.Endpoint
-
Resource name of the endpoint.
- name() - Method in class com.google.genai.types.File
-
The `File` resource name.
- name() - Method in class com.google.genai.types.FileSearchStore
-
The resource name of the FileSearchStore.
- name() - Method in class com.google.genai.types.FunctionCall
-
Optional.
- name() - Method in class com.google.genai.types.FunctionDeclaration
-
Required.
- name() - Method in class com.google.genai.types.FunctionResponse
-
Required.
- name() - Method in class com.google.genai.types.GetBatchJobParameters
-
A fully-qualified BatchJob resource name or ID.
- name() - Method in class com.google.genai.types.GetCachedContentParameters
-
The server-generated resource name of the cached content.
- name() - Method in class com.google.genai.types.GetDocumentParameters
-
The resource name of the Document.
- name() - Method in class com.google.genai.types.GetFileParameters
-
The name identifier for the file to retrieve.
- name() - Method in class com.google.genai.types.GetFileSearchStoreParameters
-
The resource name of the FileSearchStore.
- name() - Method in class com.google.genai.types.GetTuningJobParameters
- name() - Method in class com.google.genai.types.Metric
-
The name of the metric.
- name() - Method in class com.google.genai.types.Model
-
Resource name of the model.
- name() - Method in class com.google.genai.types.Operation
-
The server-assigned name, which is only unique within the same service that originally returns it.
- name() - Method in class com.google.genai.types.TestTableItem
-
The name of the test.
- name() - Method in class com.google.genai.types.TuningJob
-
Output only.
- name() - Method in class com.google.genai.types.TuningOperation
-
The server-assigned name, which is only unique within the same service that originally returns it.
- name() - Method in class com.google.genai.types.UpdateCachedContentParameters
-
The server-generated resource name of the cached content.
- name() - Method in class com.google.genai.types.UploadFileConfig
-
The name of the file in the destination (e.g., 'files/sample-image'.
- name(String) - Method in class com.google.genai.types.ApiKeyConfig.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.CancelBatchJobParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.CancelTuningJobParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteBatchJobParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteCachedContentParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteDocumentParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteFileParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteFileSearchStoreParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.Document.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.Endpoint.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.File.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetBatchJobParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetCachedContentParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetDocumentParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetFileParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetFileSearchStoreParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.GetTuningJobParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.Metric.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.Model.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.UpdateCachedContentParameters.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.UploadFileConfig.Builder
-
Setter for name.
- name(String) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for name.
- NAME_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- NEED_MORE_INPUT - Enum constant in enum com.google.genai.types.TurnCompleteReason.Known
-
Needs more input from the user.
- negativePrompt() - Method in class com.google.genai.types.EditImageConfig
-
Description of what to discourage in the generated images.
- negativePrompt() - Method in class com.google.genai.types.GenerateImagesConfig
-
Description of what to discourage in the generated images.
- negativePrompt() - Method in class com.google.genai.types.GenerateVideosConfig
-
Explicitly state what should not be included in the generated videos.
- negativePrompt(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for negativePrompt.
- negativePrompt(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for negativePrompt.
- negativePrompt(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for negativePrompt.
- NEGLIGIBLE - Enum constant in enum com.google.genai.types.HarmProbability.Known
-
Negligible level of harm.
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- newBuilder() - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- newBuilder(SentencepieceModel.ModelProto) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- newBuilder(SentencepieceModel.ModelProto.SentencePiece) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- newBuilder(SentencepieceModel.NormalizerSpec) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- newBuilder(SentencepieceModel.SelfTestData) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- newBuilder(SentencepieceModel.SelfTestData.Sample) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- newBuilder(SentencepieceModel.TrainerSpec) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- newBuilderForType() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- newHandle() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
New handle that represents state that can be resumed.
- newHandle(String) - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Setter for newHandle.
- nextPage() - Method in class com.google.genai.AsyncPager
-
Asynchronously fetches the next page of items.
- nextPage() - Method in class com.google.genai.Pager
-
Fetches the next page of items.
- nextPageToken() - Method in class com.google.genai.types.ListBatchJobsResponse
- nextPageToken() - Method in class com.google.genai.types.ListCachedContentsResponse
- nextPageToken() - Method in class com.google.genai.types.ListDocumentsResponse
-
A token, which can be sent as `page_token` to retrieve the next page.
- nextPageToken() - Method in class com.google.genai.types.ListFileSearchStoresResponse
- nextPageToken() - Method in class com.google.genai.types.ListFilesResponse
-
A token that can be sent as a `page_token` into a subsequent `ListFiles` call.
- nextPageToken() - Method in class com.google.genai.types.ListModelsResponse
- nextPageToken() - Method in class com.google.genai.types.ListTuningJobsResponse
-
A token to retrieve the next page of results.
- nextPageToken(String) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for nextPageToken.
- nextPageToken(String) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for nextPageToken.
- NO_AUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
No Auth.
- NO_IMAGE - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The model was expected to generate an image, but none was generated.
- NO_INTERRUPTION - Enum constant in enum com.google.genai.types.ActivityHandling.Known
-
The model's response will not be interrupted.
- NON_BLOCKING - Enum constant in enum com.google.genai.types.Behavior.Known
-
If set, the system will not wait to receive the function response.
- NONE - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Model will not predict any function calls.
- NORMAL - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
normal symbol
- NORMAL_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
normal symbol
- NORMALIZATION_RULE_TSV_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- NORMALIZER_SPEC_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
- NULL - Enum constant in enum com.google.genai.types.Type.Known
-
Null type
- NULL_VALUE - Enum constant in enum com.google.genai.types.NullValue.Known
- NULL_VALUE_UNSPECIFIED - Enum constant in enum com.google.genai.types.NullValue.Known
- nullable() - Method in class com.google.genai.types.Schema
-
Optional.
- nullable(boolean) - Method in class com.google.genai.types.Schema.Builder
-
Setter for nullable.
- nullValue() - Method in class com.google.genai.types.PartialArg
-
Optional.
- nullValue(NullValue) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for nullValue.
- nullValue(NullValue.Known) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for nullValue given a known enum.
- nullValue(String) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for nullValue given a string.
- NullValue - Class in com.google.genai.types
-
Optional.
- NullValue(NullValue.Known) - Constructor for class com.google.genai.types.NullValue
- NullValue(String) - Constructor for class com.google.genai.types.NullValue
- NullValue.Known - Enum in com.google.genai.types
-
Enum representing the known values for NullValue.
- NUM_SUB_ITERATIONS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- NUM_THREADS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- NUMBER - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI number type
- numberOfImages() - Method in class com.google.genai.types.EditImageConfig
-
Number of images to generate.
- numberOfImages() - Method in class com.google.genai.types.GenerateImagesConfig
-
Number of images to generate.
- numberOfImages() - Method in class com.google.genai.types.RecontextImageConfig
-
Number of images to generate.
- numberOfImages() - Method in class com.google.genai.types.UpscaleImageAPIConfig
- numberOfImages(Integer) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for numberOfImages.
- numberOfImages(Integer) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for numberOfImages.
- numberOfImages(Integer) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for numberOfImages.
- numberOfImages(Integer) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for numberOfImages.
- numberOfVideos() - Method in class com.google.genai.types.GenerateVideosConfig
-
Number of output videos.
- numberOfVideos(Integer) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for numberOfVideos.
- numberValue() - Method in class com.google.genai.types.PartialArg
-
Optional.
- numberValue(Double) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for numberValue.
- numericValue() - Method in class com.google.genai.types.CustomMetadata
-
The numeric value of the metadata to store.
- numericValue(Float) - Method in class com.google.genai.types.CustomMetadata.Builder
-
Setter for numericValue.
- numHits() - Method in class com.google.genai.types.ExternalApiElasticSearchParams
-
Optional.
- numHits(Integer) - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Setter for numHits.
- numTokens() - Method in class com.google.genai.types.PartMediaResolution
-
Specifies the required sequence length for media tokenization.
- numTokens(Integer) - Method in class com.google.genai.types.PartMediaResolution.Builder
-
Setter for numTokens.
O
- OAUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
OAuth auth.
- oauthConfig() - Method in class com.google.genai.types.AuthConfig
-
Config for user oauth.
- oauthConfig(AuthConfigOauthConfig) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for oauthConfig.
- oauthConfig(AuthConfigOauthConfig.Builder) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for oauthConfig builder.
- OBJECT - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI object type
- OFF - Enum constant in enum com.google.genai.types.HarmBlockThreshold.Known
-
Turn off the safety filter.
- OIDC_AUTH - Enum constant in enum com.google.genai.types.AuthType.Known
-
OpenID Connect (OIDC) Auth.
- oidcConfig() - Method in class com.google.genai.types.AuthConfig
-
Config for user OIDC auth.
- oidcConfig(AuthConfigOidcConfig) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for oidcConfig.
- oidcConfig(AuthConfigOidcConfig.Builder) - Method in class com.google.genai.types.AuthConfig.Builder
-
Setter for oidcConfig builder.
- ON_DEMAND - Enum constant in enum com.google.genai.types.TrafficType.Known
-
The request was processed using Pay-As-You-Go quota.
- Operation<T,
O extends Operation<T, O>> - Class in com.google.genai.types -
A long-running operation.
- Operation() - Constructor for class com.google.genai.types.Operation
- operationName() - Method in class com.google.genai.types.FetchPredictOperationParameters
-
The server-assigned name for the operation.
- operationName() - Method in class com.google.genai.types.GetOperationParameters
-
The server-assigned name for the operation.
- operationName(String) - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Setter for operationName.
- operationName(String) - Method in class com.google.genai.types.GetOperationParameters.Builder
-
Setter for operationName.
- operations - Variable in class com.google.genai.Client.Async
- operations - Variable in class com.google.genai.Client
- Operations - Class in com.google.genai
-
Provides methods for managing the long-running operations.
- Operations(ApiClient) - Constructor for class com.google.genai.Operations
- OperationsConverters - Class in com.google.genai
-
Internal SDK converter functions.
- OperationsConverters(ApiClient) - Constructor for class com.google.genai.OperationsConverters
- OPTIMIZED - Enum constant in enum com.google.genai.types.VideoCompressionQuality.Known
-
Optimized video compression quality.
- OTHER - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked for other reasons.
- OTHER - Enum constant in enum com.google.genai.types.FinishReason.Known
-
All other reasons that stopped the token generation.
- outcome() - Method in class com.google.genai.types.CodeExecutionResult
-
Required.
- outcome(Outcome) - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Setter for outcome.
- outcome(Outcome.Known) - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Setter for outcome given a known enum.
- outcome(String) - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Setter for outcome given a string.
- Outcome - Class in com.google.genai.types
-
Outcome of the code execution.
- Outcome(Outcome.Known) - Constructor for class com.google.genai.types.Outcome
- Outcome(String) - Constructor for class com.google.genai.types.Outcome
- OUTCOME_DEADLINE_EXCEEDED - Enum constant in enum com.google.genai.types.Outcome.Known
-
Code execution ran for too long, and was cancelled.
- OUTCOME_FAILED - Enum constant in enum com.google.genai.types.Outcome.Known
-
Code execution finished but with a failure.
- OUTCOME_OK - Enum constant in enum com.google.genai.types.Outcome.Known
-
Code execution completed successfully.
- OUTCOME_UNSPECIFIED - Enum constant in enum com.google.genai.types.Outcome.Known
-
Unspecified status.
- Outcome.Known - Enum in com.google.genai.types
-
Enum representing the known values for Outcome.
- OUTPAINT - Enum constant in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
The image mask contains a masked rectangular region where the input video will go.
- output() - Method in class com.google.genai.types.CodeExecutionResult
-
Optional.
- output() - Method in class com.google.genai.types.TuningExample
-
Required.
- output(String) - Method in class com.google.genai.types.CodeExecutionResult.Builder
-
Setter for output.
- output(String) - Method in class com.google.genai.types.TuningExample.Builder
-
Setter for output.
- outputAudioTranscription() - Method in class com.google.genai.types.LiveClientSetup
-
The transcription of the output aligns with the language code specified for the output audio.
- outputAudioTranscription() - Method in class com.google.genai.types.LiveConnectConfig
-
The transcription of the output aligns with the language code specified for the output audio.
- outputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for outputAudioTranscription.
- outputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for outputAudioTranscription.
- outputAudioTranscription(AudioTranscriptionConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for outputAudioTranscription builder.
- outputAudioTranscription(AudioTranscriptionConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for outputAudioTranscription builder.
- outputCompressionQuality() - Method in class com.google.genai.types.EditImageConfig
-
Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality() - Method in class com.google.genai.types.GenerateImagesConfig
-
Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality() - Method in class com.google.genai.types.ImageConfig
-
Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality() - Method in class com.google.genai.types.RecontextImageConfig
-
Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
The level of compression.
- outputCompressionQuality() - Method in class com.google.genai.types.UpscaleImageConfig
-
The level of compression.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for outputCompressionQuality.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for outputCompressionQuality.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.ImageConfig.Builder
-
Setter for outputCompressionQuality.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for outputCompressionQuality.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for outputCompressionQuality.
- outputCompressionQuality(Integer) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for outputCompressionQuality.
- outputConfig() - Method in class com.google.genai.types.EvaluationConfig
-
Config for evaluation output.
- outputConfig(OutputConfig) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for outputConfig.
- outputConfig(OutputConfig.Builder) - Method in class com.google.genai.types.EvaluationConfig.Builder
-
Setter for outputConfig builder.
- OutputConfig - Class in com.google.genai.types
-
Config for evaluation output.
- OutputConfig() - Constructor for class com.google.genai.types.OutputConfig
- OutputConfig.Builder - Class in com.google.genai.types
-
Builder for OutputConfig.
- outputDimensionality() - Method in class com.google.genai.types.EmbedContentConfig
-
Reduced dimension for the output embedding.
- outputDimensionality(Integer) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for outputDimensionality.
- outputGcsUri() - Method in class com.google.genai.types.EditImageConfig
-
Cloud Storage URI used to store the generated images.
- outputGcsUri() - Method in class com.google.genai.types.GenerateImagesConfig
-
Cloud Storage URI used to store the generated images.
- outputGcsUri() - Method in class com.google.genai.types.GenerateVideosConfig
-
The gcs bucket where to save the generated videos.
- outputGcsUri() - Method in class com.google.genai.types.RecontextImageConfig
-
Cloud Storage URI used to store the generated images.
- outputGcsUri() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Cloud Storage URI used to store the generated images.
- outputGcsUri() - Method in class com.google.genai.types.UpscaleImageConfig
-
Cloud Storage URI used to store the generated images.
- outputGcsUri(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for outputGcsUri.
- outputGcsUri(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for outputGcsUri.
- outputGcsUri(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for outputGcsUri.
- outputGcsUri(String) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for outputGcsUri.
- outputGcsUri(String) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for outputGcsUri.
- outputGcsUri(String) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for outputGcsUri.
- outputMimeType() - Method in class com.google.genai.types.EditImageConfig
-
MIME type of the generated image.
- outputMimeType() - Method in class com.google.genai.types.GenerateImagesConfig
-
MIME type of the generated image.
- outputMimeType() - Method in class com.google.genai.types.ImageConfig
-
MIME type of the generated image.
- outputMimeType() - Method in class com.google.genai.types.RecontextImageConfig
-
MIME type of the generated image.
- outputMimeType() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
The image format that the output should be saved as.
- outputMimeType() - Method in class com.google.genai.types.UpscaleImageConfig
-
The image format that the output should be saved as.
- outputMimeType(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for outputMimeType.
- outputMimeType(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for outputMimeType.
- outputMimeType(String) - Method in class com.google.genai.types.ImageConfig.Builder
-
Setter for outputMimeType.
- outputMimeType(String) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for outputMimeType.
- outputMimeType(String) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for outputMimeType.
- outputMimeType(String) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for outputMimeType.
- outputTokenLimit() - Method in class com.google.genai.types.Model
-
The maximum number of output tokens that the model can generate.
- outputTokenLimit(Integer) - Method in class com.google.genai.types.Model.Builder
-
Setter for outputTokenLimit.
- outputTranscription() - Method in class com.google.genai.types.LiveServerContent
-
Output transcription.
- outputTranscription(Transcription) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for outputTranscription.
- outputTranscription(Transcription.Builder) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for outputTranscription builder.
- outputUri() - Method in class com.google.genai.types.TuningJob
-
Optional.
- outputUri(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for outputUri.
- outputUriPrefix() - Method in class com.google.genai.types.GcsDestination
-
Required.
- outputUriPrefix(String) - Method in class com.google.genai.types.GcsDestination.Builder
-
Setter for outputUriPrefix.
- overrideReplayId() - Method in class com.google.genai.types.TestTableItem
-
Use if you don't want to use the default replay id which is derived from the test name.
- overrideReplayId(String) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for overrideReplayId.
- overwrittenThreshold() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- overwrittenThreshold(HarmBlockThreshold) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for overwrittenThreshold.
- overwrittenThreshold(HarmBlockThreshold.Known) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for overwrittenThreshold given a known enum.
- overwrittenThreshold(String) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for overwrittenThreshold given a string.
P
- p5() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- p5() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- p5(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for p5.
- p5(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for p5.
- p95() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- p95() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- p95(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for p95.
- p95(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for p95.
- PAD_ID_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- PAD_PIECE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- page() - Method in class com.google.genai.AsyncPager
-
Asynchronously returns the current page of items as a list.
- page() - Method in class com.google.genai.Pager
-
Returns the current page of items as a list.
- Pager<T extends JsonSerializable> - Class in com.google.genai
-
Pager class for iterating through paginated results.
- pageSize() - Method in class com.google.genai.AsyncPager
-
Asynchronously returns the page size for this pager.
- pageSize() - Method in class com.google.genai.Pager
-
Returns the page size for this pager.
- pageSize() - Method in class com.google.genai.types.ListBatchJobsConfig
- pageSize() - Method in class com.google.genai.types.ListCachedContentsConfig
- pageSize() - Method in class com.google.genai.types.ListDocumentsConfig
- pageSize() - Method in class com.google.genai.types.ListFilesConfig
- pageSize() - Method in class com.google.genai.types.ListFileSearchStoresConfig
- pageSize() - Method in class com.google.genai.types.ListModelsConfig
- pageSize() - Method in class com.google.genai.types.ListTuningJobsConfig
- pageSize(Integer) - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for pageSize.
- pageSize(Integer) - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Setter for pageSize.
- pageSpan() - Method in class com.google.genai.types.RagChunk
-
If populated, represents where the chunk starts and ends in the document.
- pageSpan(RagChunkPageSpan) - Method in class com.google.genai.types.RagChunk.Builder
-
Setter for pageSpan.
- pageSpan(RagChunkPageSpan.Builder) - Method in class com.google.genai.types.RagChunk.Builder
-
Setter for pageSpan builder.
- pageToken() - Method in class com.google.genai.types.ListBatchJobsConfig
- pageToken() - Method in class com.google.genai.types.ListCachedContentsConfig
- pageToken() - Method in class com.google.genai.types.ListDocumentsConfig
- pageToken() - Method in class com.google.genai.types.ListFilesConfig
- pageToken() - Method in class com.google.genai.types.ListFileSearchStoresConfig
- pageToken() - Method in class com.google.genai.types.ListModelsConfig
- pageToken() - Method in class com.google.genai.types.ListTuningJobsConfig
- pageToken(String) - Method in class com.google.genai.types.ListBatchJobsConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListCachedContentsConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListDocumentsConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListFilesConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListFileSearchStoresConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for pageToken.
- pageToken(String) - Method in class com.google.genai.types.ListTuningJobsConfig.Builder
-
Setter for pageToken.
- parameterNames() - Method in class com.google.genai.types.TestTableFile
- parameterNames(String...) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for parameterNames.
- parameterNames(List<String>) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for parameterNames.
- parameters() - Method in class com.google.genai.types.FunctionDeclaration
-
Optional.
- parameters() - Method in class com.google.genai.types.TestTableItem
-
The parameters to the test.
- parameters(Schema) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for parameters.
- parameters(Schema.Builder) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for parameters builder.
- parameters(Map<String, Object>) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for parameters.
- parametersJsonSchema() - Method in class com.google.genai.types.FunctionDeclaration
-
Optional.
- parametersJsonSchema(Object) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for parametersJsonSchema.
- parent() - Method in class com.google.genai.types.ImportFileResponse
-
The name of the FileSearchStore containing Documents.
- parent() - Method in class com.google.genai.types.ListDocumentsParameters
-
The resource name of the FileSearchStores.
- parent() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
The name of the FileSearchStore containing Documents.
- parent(String) - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Setter for parent.
- parent(String) - Method in class com.google.genai.types.ListDocumentsParameters.Builder
-
Setter for parent.
- parent(String) - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Setter for parent.
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseDelimitedFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(byte[]) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(ByteString) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(CodedInputStream) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(InputStream) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(ByteBuffer) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- parser() - Static method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
-
Deprecated.
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
-
Deprecated.
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
-
Deprecated.
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.SelfTestData
-
Deprecated.
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
-
Deprecated.
- PARSER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
-
Deprecated.
- Part - Class in com.google.genai.types
-
A datatype containing media content.
- Part() - Constructor for class com.google.genai.types.Part
- PART_MEDIA_RESOLUTION_LEVEL_UNSPECIFIED - Enum constant in enum com.google.genai.types.PartMediaResolutionLevel.Known
- Part.Builder - Class in com.google.genai.types
-
Builder for Part.
- PartialArg - Class in com.google.genai.types
-
Partial argument value of the function call.
- PartialArg() - Constructor for class com.google.genai.types.PartialArg
- PartialArg.Builder - Class in com.google.genai.types
-
Builder for PartialArg.
- partialArgs() - Method in class com.google.genai.types.FunctionCall
-
Optional.
- partialArgs(PartialArg...) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for partialArgs.
- partialArgs(PartialArg.Builder...) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for partialArgs builder.
- partialArgs(List<PartialArg>) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for partialArgs.
- partIndex() - Method in class com.google.genai.types.Segment
-
Output only.
- partIndex(Integer) - Method in class com.google.genai.types.Segment.Builder
-
Setter for partIndex.
- PartMediaResolution - Class in com.google.genai.types
-
Media resolution for the input media.
- PartMediaResolution() - Constructor for class com.google.genai.types.PartMediaResolution
- PartMediaResolution.Builder - Class in com.google.genai.types
-
Builder for PartMediaResolution.
- PartMediaResolutionLevel - Class in com.google.genai.types
-
The tokenization quality used for given media.
- PartMediaResolutionLevel(PartMediaResolutionLevel.Known) - Constructor for class com.google.genai.types.PartMediaResolutionLevel
- PartMediaResolutionLevel(String) - Constructor for class com.google.genai.types.PartMediaResolutionLevel
- PartMediaResolutionLevel.Known - Enum in com.google.genai.types
-
Enum representing the known values for PartMediaResolutionLevel.
- partnerModelTuningSpec() - Method in class com.google.genai.types.TuningJob
-
Tuning Spec for open sourced and third party Partner models.
- partnerModelTuningSpec(PartnerModelTuningSpec) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for partnerModelTuningSpec.
- partnerModelTuningSpec(PartnerModelTuningSpec.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for partnerModelTuningSpec builder.
- PartnerModelTuningSpec - Class in com.google.genai.types
-
Tuning spec for Partner models.
- PartnerModelTuningSpec() - Constructor for class com.google.genai.types.PartnerModelTuningSpec
- PartnerModelTuningSpec.Builder - Class in com.google.genai.types
-
Builder for PartnerModelTuningSpec.
- parts() - Method in class com.google.genai.types.Content
-
List of parts that constitute a single message.
- parts() - Method in class com.google.genai.types.FunctionResponse
-
List of parts that constitute a function response.
- parts() - Method in class com.google.genai.types.GenerateContentResponse
-
Returns the list of parts in the first candidate of the response.
- parts(FunctionResponsePart...) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for parts.
- parts(FunctionResponsePart.Builder...) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for parts builder.
- parts(Part...) - Method in class com.google.genai.types.Content.Builder
-
Setter for parts.
- parts(Part.Builder...) - Method in class com.google.genai.types.Content.Builder
-
Setter for parts builder.
- parts(List<FunctionResponsePart>) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for parts.
- parts(List<Part>) - Method in class com.google.genai.types.Content.Builder
-
Setter for parts.
- pattern() - Method in class com.google.genai.types.Schema
-
Optional.
- pattern(String) - Method in class com.google.genai.types.Schema.Builder
-
Setter for pattern.
- pendingDocumentsCount() - Method in class com.google.genai.types.FileSearchStore
-
The number of documents in the FileSearchStore that are being processed.
- pendingDocumentsCount(Long) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for pendingDocumentsCount.
- PERSON_GENERATION_UNSPECIFIED - Enum constant in enum com.google.genai.types.PersonGeneration.Known
- personGeneration() - Method in class com.google.genai.types.EditImageConfig
-
Allows generation of people by the model.
- personGeneration() - Method in class com.google.genai.types.GenerateImagesConfig
-
Allows generation of people by the model.
- personGeneration() - Method in class com.google.genai.types.GenerateVideosConfig
-
Whether allow to generate person videos, and restrict to specific ages.
- personGeneration() - Method in class com.google.genai.types.RecontextImageConfig
-
Whether allow to generate person images, and restrict to specific ages.
- personGeneration() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Allows generation of people by the model.
- personGeneration() - Method in class com.google.genai.types.UpscaleImageConfig
-
Allows generation of people by the model.
- personGeneration(PersonGeneration) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for personGeneration.
- personGeneration(PersonGeneration) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for personGeneration.
- personGeneration(PersonGeneration) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for personGeneration.
- personGeneration(PersonGeneration) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for personGeneration.
- personGeneration(PersonGeneration) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for personGeneration.
- personGeneration(PersonGeneration.Known) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for personGeneration given a known enum.
- personGeneration(PersonGeneration.Known) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for personGeneration given a known enum.
- personGeneration(PersonGeneration.Known) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for personGeneration given a known enum.
- personGeneration(PersonGeneration.Known) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for personGeneration given a known enum.
- personGeneration(PersonGeneration.Known) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for personGeneration given a known enum.
- personGeneration(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for personGeneration given a string.
- personGeneration(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for personGeneration given a string.
- personGeneration(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for personGeneration.
- personGeneration(String) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for personGeneration given a string.
- personGeneration(String) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for personGeneration given a string.
- personGeneration(String) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for personGeneration given a string.
- PersonGeneration - Class in com.google.genai.types
-
Enum that controls the generation of people.
- PersonGeneration(PersonGeneration.Known) - Constructor for class com.google.genai.types.PersonGeneration
- PersonGeneration(String) - Constructor for class com.google.genai.types.PersonGeneration
- PersonGeneration.Known - Enum in com.google.genai.types
-
Enum representing the known values for PersonGeneration.
- personImage() - Method in class com.google.genai.types.RecontextImageSource
-
Image of the person or subject who will be wearing the product(s).
- personImage(Image) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for personImage.
- personImage(Image.Builder) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for personImage builder.
- PHISH_BLOCK_THRESHOLD_UNSPECIFIED - Enum constant in enum com.google.genai.types.PhishBlockThreshold.Known
-
Defaults to unspecified.
- PhishBlockThreshold - Class in com.google.genai.types
-
Sites with confidence level chosen & above this value will be blocked from the search results.
- PhishBlockThreshold(PhishBlockThreshold.Known) - Constructor for class com.google.genai.types.PhishBlockThreshold
- PhishBlockThreshold(String) - Constructor for class com.google.genai.types.PhishBlockThreshold
- PhishBlockThreshold.Known - Enum in com.google.genai.types
-
Enum representing the known values for PhishBlockThreshold.
- photoUri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
Profile photo URI of the author of the Photo or Review.
- photoUri(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Setter for photoUri.
- PIECE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- PIECES_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
- pipelineJob() - Method in class com.google.genai.types.TuningJob
-
Output only.
- pipelineJob(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for pipelineJob.
- placeAnswerSources() - Method in class com.google.genai.types.GroundingChunkMaps
-
Sources used to generate the place answer.
- placeAnswerSources(GroundingChunkMapsPlaceAnswerSources) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for placeAnswerSources.
- placeAnswerSources(GroundingChunkMapsPlaceAnswerSources.Builder) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for placeAnswerSources builder.
- placeId() - Method in class com.google.genai.types.GroundingChunkMaps
-
This Place's resource name, in `places/{place_id}` format.
- placeId(String) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for placeId.
- positivePromptSafetyAttributes() - Method in class com.google.genai.types.GenerateImagesResponse
-
Safety attributes of the positive prompt.
- positivePromptSafetyAttributes(SafetyAttributes) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for positivePromptSafetyAttributes.
- positivePromptSafetyAttributes(SafetyAttributes.Builder) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for positivePromptSafetyAttributes builder.
- prebuiltVoiceConfig() - Method in class com.google.genai.types.VoiceConfig
-
The configuration for the prebuilt voice to use.
- prebuiltVoiceConfig(PrebuiltVoiceConfig) - Method in class com.google.genai.types.VoiceConfig.Builder
-
Setter for prebuiltVoiceConfig.
- prebuiltVoiceConfig(PrebuiltVoiceConfig.Builder) - Method in class com.google.genai.types.VoiceConfig.Builder
-
Setter for prebuiltVoiceConfig builder.
- PrebuiltVoiceConfig - Class in com.google.genai.types
-
The configuration for the prebuilt speaker to use.
- PrebuiltVoiceConfig() - Constructor for class com.google.genai.types.PrebuiltVoiceConfig
- PrebuiltVoiceConfig.Builder - Class in com.google.genai.types
-
Builder for PrebuiltVoiceConfig.
- PRECOMPILED_CHARSMAP_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- PREFERENCE_TUNING - Enum constant in enum com.google.genai.types.TuningMethod.Known
-
Preference optimization tuning.
- preferenceOptimizationDataStats() - Method in class com.google.genai.types.TuningDataStats
-
Output only.
- preferenceOptimizationDataStats(PreferenceOptimizationDataStats) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for preferenceOptimizationDataStats.
- preferenceOptimizationDataStats(PreferenceOptimizationDataStats.Builder) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for preferenceOptimizationDataStats builder.
- PreferenceOptimizationDataStats - Class in com.google.genai.types
-
Statistics computed for datasets used for preference optimization.
- PreferenceOptimizationDataStats() - Constructor for class com.google.genai.types.PreferenceOptimizationDataStats
- PreferenceOptimizationDataStats.Builder - Class in com.google.genai.types
-
Builder for PreferenceOptimizationDataStats.
- PreferenceOptimizationHyperParameters - Class in com.google.genai.types
-
Hyperparameters for Preference Optimization.
- PreferenceOptimizationHyperParameters() - Constructor for class com.google.genai.types.PreferenceOptimizationHyperParameters
- PreferenceOptimizationHyperParameters.Builder - Class in com.google.genai.types
-
Builder for PreferenceOptimizationHyperParameters.
- preferenceOptimizationSpec() - Method in class com.google.genai.types.TuningJob
-
Tuning Spec for Preference Optimization.
- preferenceOptimizationSpec(PreferenceOptimizationSpec) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for preferenceOptimizationSpec.
- preferenceOptimizationSpec(PreferenceOptimizationSpec.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for preferenceOptimizationSpec builder.
- PreferenceOptimizationSpec - Class in com.google.genai.types
-
Preference optimization tuning spec for tuning.
- PreferenceOptimizationSpec() - Constructor for class com.google.genai.types.PreferenceOptimizationSpec
- PreferenceOptimizationSpec.Builder - Class in com.google.genai.types
-
Builder for PreferenceOptimizationSpec.
- prefixPaddingMs() - Method in class com.google.genai.types.AutomaticActivityDetection
-
The required duration of detected speech before start-of-speech is committed.
- prefixPaddingMs(Integer) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for prefixPaddingMs.
- presencePenalty() - Method in class com.google.genai.types.GenerateContentConfig
-
Positive values penalize tokens that already appear in the generated text, increasing the probability of generating more diverse content.
- presencePenalty() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- presencePenalty(Float) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for presencePenalty.
- presencePenalty(Float) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for presencePenalty.
- PRETOKENIZATION_DELIMITER_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- preTunedModel() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
The PreTunedModel that is being tuned.
- preTunedModel() - Method in class com.google.genai.types.TuningJob
-
The pre-tuned model for continuous tuning.
- preTunedModel(PreTunedModel) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for preTunedModel.
- preTunedModel(PreTunedModel) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for preTunedModel.
- preTunedModel(PreTunedModel.Builder) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for preTunedModel builder.
- preTunedModel(PreTunedModel.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for preTunedModel builder.
- PreTunedModel - Class in com.google.genai.types
-
A pre-tuned model for continuous tuning.
- PreTunedModel() - Constructor for class com.google.genai.types.PreTunedModel
- PreTunedModel.Builder - Class in com.google.genai.types
-
Builder for PreTunedModel.
- preTunedModelCheckpointId() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The optional checkpoint id of the pre-tuned model to use for tuning, if applicable.
- preTunedModelCheckpointId(String) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for preTunedModelCheckpointId.
- PRIORITIZE_COST - Enum constant in enum com.google.genai.types.FeatureSelectionPreference.Known
- PRIORITIZE_COST - Enum constant in enum com.google.genai.types.ModelRoutingPreference.Known
- PRIORITIZE_QUALITY - Enum constant in enum com.google.genai.types.FeatureSelectionPreference.Known
- PRIORITIZE_QUALITY - Enum constant in enum com.google.genai.types.ModelRoutingPreference.Known
- proactiveAudio() - Method in class com.google.genai.types.ProactivityConfig
-
If enabled, the model can reject responding to the last prompt.
- proactiveAudio(boolean) - Method in class com.google.genai.types.ProactivityConfig.Builder
-
Setter for proactiveAudio.
- proactivity() - Method in class com.google.genai.types.LiveClientSetup
-
Configures the proactivity of the model.
- proactivity() - Method in class com.google.genai.types.LiveConnectConfig
-
Configures the proactivity of the model.
- proactivity(ProactivityConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for proactivity.
- proactivity(ProactivityConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for proactivity.
- proactivity(ProactivityConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for proactivity builder.
- proactivity(ProactivityConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for proactivity builder.
- ProactivityConfig - Class in com.google.genai.types
-
Config for proactivity features.
- ProactivityConfig() - Constructor for class com.google.genai.types.ProactivityConfig
- ProactivityConfig.Builder - Class in com.google.genai.types
-
Builder for ProactivityConfig.
- probability() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- probability(HarmProbability) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for probability.
- probability(HarmProbability.Known) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for probability given a known enum.
- probability(String) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for probability given a string.
- PROBABILITY - Enum constant in enum com.google.genai.types.HarmBlockMethod.Known
-
The harm block method uses the probability score.
- probabilityScore() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- probabilityScore(Float) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for probabilityScore.
- PROCESSING - Enum constant in enum com.google.genai.types.FileState.Known
- productImage() - Method in class com.google.genai.types.ProductImage
-
An image of the product to be recontextualized.
- productImage(Image) - Method in class com.google.genai.types.ProductImage.Builder
-
Setter for productImage.
- productImage(Image.Builder) - Method in class com.google.genai.types.ProductImage.Builder
-
Setter for productImage builder.
- ProductImage - Class in com.google.genai.types
-
An image of the product.
- ProductImage() - Constructor for class com.google.genai.types.ProductImage
- ProductImage.Builder - Class in com.google.genai.types
-
Builder for ProductImage.
- productImages() - Method in class com.google.genai.types.RecontextImageSource
-
A list of product images.
- productImages(ProductImage...) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for productImages.
- productImages(ProductImage.Builder...) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for productImages builder.
- productImages(List<ProductImage>) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for productImages.
- PROHIBITED_CONTENT - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked because it contains prohibited content.
- PROHIBITED_CONTENT - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation stopped for potentially containing prohibited content.
- project() - Method in class com.google.genai.HttpApiClient
-
Returns the project ID for Vertex AI APIs.
- project() - Method in class com.google.genai.Client
-
Returns the project ID for Vertex AI APIs.
- project(String) - Method in class com.google.genai.Client.Builder
-
Sets the project ID for Vertex AI APIs.
- prompt() - Method in class com.google.genai.types.EditImageParameters
-
A text description of the edit to apply to the image.
- prompt() - Method in class com.google.genai.types.GenerateImagesParameters
-
Text prompt that typically describes the images to output.
- prompt() - Method in class com.google.genai.types.GenerateVideosParameters
-
The text prompt for generating the videos.
- prompt() - Method in class com.google.genai.types.GenerateVideosSource
-
The text prompt for generating the videos.
- prompt() - Method in class com.google.genai.types.RecontextImageSource
-
A text prompt for guiding the model during image recontextualization.
- prompt() - Method in class com.google.genai.types.SegmentImageSource
-
A text prompt for guiding the model during image segmentation.
- prompt(String) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for prompt.
- prompt(String) - Method in class com.google.genai.types.GenerateImagesParameters.Builder
-
Setter for prompt.
- prompt(String) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for prompt.
- prompt(String) - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Setter for prompt.
- prompt(String) - Method in class com.google.genai.types.RecontextImageSource.Builder
-
Setter for prompt.
- prompt(String) - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Setter for prompt.
- PROMPT - Enum constant in enum com.google.genai.types.SegmentMode.Known
- promptFeedback() - Method in class com.google.genai.types.GenerateContentResponse
-
Output only.
- promptFeedback(GenerateContentResponsePromptFeedback) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for promptFeedback.
- promptFeedback(GenerateContentResponsePromptFeedback.Builder) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for promptFeedback builder.
- promptTemplate() - Method in class com.google.genai.types.Metric
-
The prompt template for the metric.
- promptTemplate(String) - Method in class com.google.genai.types.Metric.Builder
-
Setter for promptTemplate.
- promptTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
The total number of tokens in the prompt.
- promptTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Number of tokens in the prompt.
- promptTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for promptTokenCount.
- promptTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for promptTokenCount.
- promptTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- promptTokensDetails() - Method in class com.google.genai.types.UsageMetadata
-
List of modalities that were processed in the request input.
- promptTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for promptTokensDetails.
- promptTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for promptTokensDetails.
- promptTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for promptTokensDetails builder.
- promptTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for promptTokensDetails builder.
- promptTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for promptTokensDetails.
- promptTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for promptTokensDetails.
- properties() - Method in class com.google.genai.types.Schema
-
Optional.
- properties(Map<String, Schema>) - Method in class com.google.genai.types.Schema.Builder
-
Setter for properties.
- propertyOrdering() - Method in class com.google.genai.types.Schema
-
Optional.
- propertyOrdering(String...) - Method in class com.google.genai.types.Schema.Builder
-
Setter for propertyOrdering.
- propertyOrdering(List<String>) - Method in class com.google.genai.types.Schema.Builder
-
Setter for propertyOrdering.
- PROVISIONED_THROUGHPUT - Enum constant in enum com.google.genai.types.TrafficType.Known
-
Type for Provisioned Throughput traffic.
- PT - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Portuguese
- publicationDate() - Method in class com.google.genai.types.Citation
-
Output only.
- publicationDate(GoogleTypeDate) - Method in class com.google.genai.types.Citation.Builder
-
Setter for publicationDate.
- publicationDate(GoogleTypeDate.Builder) - Method in class com.google.genai.types.Citation.Builder
-
Setter for publicationDate builder.
- pubsubTopic() - Method in class com.google.genai.types.GenerateVideosConfig
-
The pubsub topic where to publish the video generation progress.
- pubsubTopic(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for pubsubTopic.
- PYTHON - Enum constant in enum com.google.genai.types.Language.Known
-
Python >= 3.10, with numpy and simpy available.
Q
- queryBase() - Method in class com.google.genai.types.ListModelsConfig
-
Set true to list base models, false to list tuned models.
- queryBase(boolean) - Method in class com.google.genai.types.ListModelsConfig.Builder
-
Setter for queryBase.
R
- ragChunk() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Additional context for the RAG retrieval result.
- ragChunk(RagChunk) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for ragChunk.
- ragChunk(RagChunk.Builder) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for ragChunk builder.
- RagChunk - Class in com.google.genai.types
-
A RagChunk includes the content of a chunk of a RagFile, and associated metadata.
- RagChunk() - Constructor for class com.google.genai.types.RagChunk
- RagChunk.Builder - Class in com.google.genai.types
-
Builder for RagChunk.
- RagChunkPageSpan - Class in com.google.genai.types
-
Represents where the chunk starts and ends in the document.
- RagChunkPageSpan() - Constructor for class com.google.genai.types.RagChunkPageSpan
- RagChunkPageSpan.Builder - Class in com.google.genai.types
-
Builder for RagChunkPageSpan.
- ragCorpora() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- ragCorpora(String...) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragCorpora.
- ragCorpora(List<String>) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragCorpora.
- ragCorpus() - Method in class com.google.genai.types.VertexRagStoreRagResource
-
Optional.
- ragCorpus(String) - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
-
Setter for ragCorpus.
- ragFileIds() - Method in class com.google.genai.types.VertexRagStoreRagResource
-
Optional.
- ragFileIds(String...) - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
-
Setter for ragFileIds.
- ragFileIds(List<String>) - Method in class com.google.genai.types.VertexRagStoreRagResource.Builder
-
Setter for ragFileIds.
- ragResources() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- ragResources(VertexRagStoreRagResource...) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragResources.
- ragResources(VertexRagStoreRagResource.Builder...) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragResources builder.
- ragResources(List<VertexRagStoreRagResource>) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragResources.
- ragRetrievalConfig() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- ragRetrievalConfig(RagRetrievalConfig) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragRetrievalConfig.
- ragRetrievalConfig(RagRetrievalConfig.Builder) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for ragRetrievalConfig builder.
- RagRetrievalConfig - Class in com.google.genai.types
-
Specifies the context retrieval config.
- RagRetrievalConfig() - Constructor for class com.google.genai.types.RagRetrievalConfig
- RagRetrievalConfig.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfig.
- RagRetrievalConfigFilter - Class in com.google.genai.types
-
Config for filters.
- RagRetrievalConfigFilter() - Constructor for class com.google.genai.types.RagRetrievalConfigFilter
- RagRetrievalConfigFilter.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfigFilter.
- RagRetrievalConfigHybridSearch - Class in com.google.genai.types
-
Config for Hybrid Search.
- RagRetrievalConfigHybridSearch() - Constructor for class com.google.genai.types.RagRetrievalConfigHybridSearch
- RagRetrievalConfigHybridSearch.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfigHybridSearch.
- RagRetrievalConfigRanking - Class in com.google.genai.types
-
Config for ranking and reranking.
- RagRetrievalConfigRanking() - Constructor for class com.google.genai.types.RagRetrievalConfigRanking
- RagRetrievalConfigRanking.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfigRanking.
- RagRetrievalConfigRankingLlmRanker - Class in com.google.genai.types
-
Config for LlmRanker.
- RagRetrievalConfigRankingLlmRanker() - Constructor for class com.google.genai.types.RagRetrievalConfigRankingLlmRanker
- RagRetrievalConfigRankingLlmRanker.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfigRankingLlmRanker.
- RagRetrievalConfigRankingRankService - Class in com.google.genai.types
-
Config for Rank Service.
- RagRetrievalConfigRankingRankService() - Constructor for class com.google.genai.types.RagRetrievalConfigRankingRankService
- RagRetrievalConfigRankingRankService.Builder - Class in com.google.genai.types
-
Builder for RagRetrievalConfigRankingRankService.
- raiFilteredReason() - Method in class com.google.genai.types.GeneratedImage
-
Responsible AI filter reason if the image is filtered out of the response.
- raiFilteredReason(String) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for raiFilteredReason.
- raiMediaFilteredCount() - Method in class com.google.genai.types.GenerateVideosResponse
-
Returns if any videos were filtered due to RAI policies.
- raiMediaFilteredCount(Integer) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for raiMediaFilteredCount.
- raiMediaFilteredReasons() - Method in class com.google.genai.types.GenerateVideosResponse
-
Returns rai failure reasons if any.
- raiMediaFilteredReasons(String...) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for raiMediaFilteredReasons.
- raiMediaFilteredReasons(List<String>) - Method in class com.google.genai.types.GenerateVideosResponse.Builder
-
Setter for raiMediaFilteredReasons.
- ranking() - Method in class com.google.genai.types.RagRetrievalConfig
-
Optional.
- ranking(RagRetrievalConfigRanking) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for ranking.
- ranking(RagRetrievalConfigRanking.Builder) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for ranking builder.
- rankService() - Method in class com.google.genai.types.RagRetrievalConfigRanking
-
Optional.
- rankService(RagRetrievalConfigRankingRankService) - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Setter for rankService.
- rankService(RagRetrievalConfigRankingRankService.Builder) - Method in class com.google.genai.types.RagRetrievalConfigRanking.Builder
-
Setter for rankService builder.
- RawReferenceImage - Class in com.google.genai.types
-
A raw reference image.
- RawReferenceImage() - Constructor for class com.google.genai.types.RawReferenceImage
- RawReferenceImage.Builder - Class in com.google.genai.types
-
Builder for RawReferenceImage.
- realtimeInput() - Method in class com.google.genai.types.LiveClientMessage
-
User input that is sent in real time.
- realtimeInput(LiveClientRealtimeInput) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for realtimeInput.
- realtimeInput(LiveClientRealtimeInput.Builder) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for realtimeInput builder.
- realtimeInputConfig() - Method in class com.google.genai.types.LiveClientSetup
-
Configures the realtime input behavior in BidiGenerateContent.
- realtimeInputConfig() - Method in class com.google.genai.types.LiveConnectConfig
-
Configures the realtime input behavior in BidiGenerateContent.
- realtimeInputConfig(RealtimeInputConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for realtimeInputConfig.
- realtimeInputConfig(RealtimeInputConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for realtimeInputConfig.
- realtimeInputConfig(RealtimeInputConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for realtimeInputConfig builder.
- realtimeInputConfig(RealtimeInputConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for realtimeInputConfig builder.
- RealtimeInputConfig - Class in com.google.genai.types
-
Marks the end of user activity.
- RealtimeInputConfig() - Constructor for class com.google.genai.types.RealtimeInputConfig
- RealtimeInputConfig.Builder - Class in com.google.genai.types
-
Builder for RealtimeInputConfig.
- realtimeInputParameters() - Method in class com.google.genai.types.LiveClientMessage
-
This is an alias for `realtime_input` field.
- realtimeInputParameters(LiveSendRealtimeInputParameters) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for realtimeInputParameters.
- realtimeInputParameters(LiveSendRealtimeInputParameters.Builder) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for realtimeInputParameters builder.
- receive(Consumer<LiveServerMessage>) - Method in class com.google.genai.AsyncSession
-
Registers a callback to receive messages from the live session.
- RECITATION - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The token generation stopped because of potential recitation.
- recontextImage(String, RecontextImageSource, RecontextImageConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously recontextualizes an image.
- recontextImage(String, RecontextImageSource, RecontextImageConfig) - Method in class com.google.genai.Models
-
Recontextualizes an image.
- RecontextImageConfig - Class in com.google.genai.types
-
Configuration for recontextualizing an image.
- RecontextImageConfig() - Constructor for class com.google.genai.types.RecontextImageConfig
- RecontextImageConfig.Builder - Class in com.google.genai.types
-
Builder for RecontextImageConfig.
- RecontextImageParameters - Class in com.google.genai.types
-
The parameters for recontextualizing an image.
- RecontextImageParameters() - Constructor for class com.google.genai.types.RecontextImageParameters
- RecontextImageParameters.Builder - Class in com.google.genai.types
-
Builder for RecontextImageParameters.
- RecontextImageResponse - Class in com.google.genai.types
-
The output images response.
- RecontextImageResponse() - Constructor for class com.google.genai.types.RecontextImageResponse
- RecontextImageResponse.Builder - Class in com.google.genai.types
-
Builder for RecontextImageResponse.
- RecontextImageSource - Class in com.google.genai.types
-
A set of source input(s) for image recontextualization.
- RecontextImageSource() - Constructor for class com.google.genai.types.RecontextImageSource
- RecontextImageSource.Builder - Class in com.google.genai.types
-
Builder for RecontextImageSource.
- referenceId() - Method in class com.google.genai.types.ContentReferenceImage
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.ControlReferenceImage
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.MaskReferenceImage
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.RawReferenceImage
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.ReferenceImageAPI
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.StyleReferenceImage
-
The id of the reference image.
- referenceId() - Method in class com.google.genai.types.SubjectReferenceImage
-
The id of the reference image.
- referenceId(Integer) - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for referenceId.
- referenceId(Integer) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for referenceId.
- referenceImage() - Method in class com.google.genai.types.ContentReferenceImage
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.ControlReferenceImage
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.MaskReferenceImage
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.RawReferenceImage
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.ReferenceImageAPI
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.StyleReferenceImage
-
The reference image for the editing operation.
- referenceImage() - Method in class com.google.genai.types.SubjectReferenceImage
-
The reference image for the editing operation.
- referenceImage(Image) - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for referenceImage.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for referenceImage builder.
- referenceImage(Image.Builder) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for referenceImage builder.
- ReferenceImage - Interface in com.google.genai.types
-
An interface for a Reference image.
- ReferenceImageAPI - Class in com.google.genai.types
-
Private class that represents a Reference image that is sent to API.
- ReferenceImageAPI() - Constructor for class com.google.genai.types.ReferenceImageAPI
- ReferenceImageAPI.Builder - Class in com.google.genai.types
-
Builder for ReferenceImageAPI.
- referenceImages() - Method in class com.google.genai.types.EditImageParameters
-
The reference images for editing.
- referenceImages() - Method in class com.google.genai.types.GenerateVideosConfig
-
The images to use as the references to generate the videos.
- referenceImages(ReferenceImageAPI...) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for referenceImages.
- referenceImages(VideoGenerationReferenceImage...) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for referenceImages.
- referenceImages(VideoGenerationReferenceImage.Builder...) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for referenceImages builder.
- referenceImages(List<ReferenceImageAPI>) - Method in class com.google.genai.types.EditImageParameters.Builder
-
Setter for referenceImages.
- referenceImages(List<VideoGenerationReferenceImage>) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for referenceImages.
- referenceType() - Method in class com.google.genai.types.ContentReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.ControlReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.MaskReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.RawReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.ReferenceImageAPI
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.StyleReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.SubjectReferenceImage
-
The type of the reference image.
- referenceType() - Method in class com.google.genai.types.VideoGenerationReferenceImage
-
The type of the reference image, which defines how the reference image will be used to generate the video.
- referenceType(VideoGenerationReferenceType) - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Setter for referenceType.
- referenceType(VideoGenerationReferenceType.Known) - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Setter for referenceType given a known enum.
- referenceType(String) - Method in class com.google.genai.types.ContentReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.ControlReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.MaskReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.RawReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.StyleReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.SubjectReferenceImage.Builder
-
Setter for referenceType.
- referenceType(String) - Method in class com.google.genai.types.VideoGenerationReferenceImage.Builder
-
Setter for referenceType given a string.
- registerAllExtensions(ExtensionRegistry) - Static method in class com.google.genai.proto.SentencepieceModel
- registerAllExtensions(ExtensionRegistryLite) - Static method in class com.google.genai.proto.SentencepieceModel
- relativePublishTimeDescription() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
- relativePublishTimeDescription(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for relativePublishTimeDescription.
- REMOVE - Enum constant in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
The image mask is used to determine an object in the first video frame to track.
- REMOVE_EXTRA_WHITESPACES_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- REMOVE_STATIC - Enum constant in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
The image mask is used to determine a region in the video.
- removePieces(int) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- removeSamples(int) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - renderedContent() - Method in class com.google.genai.types.SearchEntryPoint
-
Optional.
- renderedContent(String) - Method in class com.google.genai.types.SearchEntryPoint.Builder
-
Setter for renderedContent.
- ReplayFile - Class in com.google.genai.types
-
Represents a recorded session.
- ReplayFile() - Constructor for class com.google.genai.types.ReplayFile
- ReplayFile.Builder - Class in com.google.genai.types
-
Builder for ReplayFile.
- replayId() - Method in class com.google.genai.types.ReplayFile
- replayId(String) - Method in class com.google.genai.types.ReplayFile.Builder
-
Setter for replayId.
- ReplayInteraction - Class in com.google.genai.types
-
Represents a single interaction, request and response in a replay.
- ReplayInteraction() - Constructor for class com.google.genai.types.ReplayInteraction
- ReplayInteraction.Builder - Class in com.google.genai.types
-
Builder for ReplayInteraction.
- ReplayRequest - Class in com.google.genai.types
-
Represents a single request in a replay.
- ReplayRequest() - Constructor for class com.google.genai.types.ReplayRequest
- ReplayRequest.Builder - Class in com.google.genai.types
-
Builder for ReplayRequest.
- ReplayResponse - Class in com.google.genai.types
-
Represents a single response in a replay.
- ReplayResponse() - Constructor for class com.google.genai.types.ReplayResponse
- ReplayResponse.Builder - Class in com.google.genai.types
-
Builder for ReplayResponse.
- request() - Method in class com.google.genai.types.ReplayInteraction
- request(ReplayRequest) - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Setter for request.
- request(ReplayRequest.Builder) - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Setter for request builder.
- request(String, String, byte[], Optional<HttpOptions>) - Method in class com.google.genai.HttpApiClient
-
Sends a Http request given the http method, path, request bytes, and http options.
- request(String, String, String, Optional<HttpOptions>) - Method in class com.google.genai.HttpApiClient
-
Sends a Http request given the http method, path, request json string, and http options.
- required() - Method in class com.google.genai.types.Schema
-
Optional.
- required(String...) - Method in class com.google.genai.types.Schema.Builder
-
Setter for required.
- required(List<String>) - Method in class com.google.genai.types.Schema.Builder
-
Setter for required.
- REQUIRED_CHARS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- resolution() - Method in class com.google.genai.types.GenerateVideosConfig
-
The resolution for the generated video.
- resolution(String) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for resolution.
- resourceName() - Method in class com.google.genai.types.FetchPredictOperationParameters
- resourceName(String) - Method in class com.google.genai.types.FetchPredictOperationParameters.Builder
-
Setter for resourceName.
- response() - Method in class com.google.genai.types.FunctionDeclaration
-
Optional.
- response() - Method in class com.google.genai.types.FunctionResponse
-
Required.
- response() - Method in class com.google.genai.types.GenerateVideosOperation
-
The generated videos.
- response() - Method in class com.google.genai.types.ImportFileOperation
-
The result of the ImportFile operation, available when the operation is done.
- response() - Method in class com.google.genai.types.InlinedEmbedContentResponse
-
The response to the request.
- response() - Method in class com.google.genai.types.InlinedResponse
-
The response to the request.
- response() - Method in class com.google.genai.types.Operation
-
The result of the operation.
- response() - Method in class com.google.genai.types.ReplayInteraction
- response() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation
-
The result of the UploadToFileSearchStore operation, available when the operation is done.
- response(GenerateContentResponse) - Method in class com.google.genai.types.InlinedResponse.Builder
-
Setter for response.
- response(GenerateContentResponse.Builder) - Method in class com.google.genai.types.InlinedResponse.Builder
-
Setter for response builder.
- response(GenerateVideosResponse) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for response.
- response(GenerateVideosResponse.Builder) - Method in class com.google.genai.types.GenerateVideosOperation.Builder
-
Setter for response builder.
- response(ImportFileResponse) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for response.
- response(ImportFileResponse.Builder) - Method in class com.google.genai.types.ImportFileOperation.Builder
-
Setter for response builder.
- response(ReplayResponse) - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Setter for response.
- response(ReplayResponse.Builder) - Method in class com.google.genai.types.ReplayInteraction.Builder
-
Setter for response builder.
- response(Schema) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for response.
- response(Schema.Builder) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for response builder.
- response(SingleEmbedContentResponse) - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Setter for response.
- response(SingleEmbedContentResponse.Builder) - Method in class com.google.genai.types.InlinedEmbedContentResponse.Builder
-
Setter for response builder.
- response(UploadToFileSearchStoreResponse) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for response.
- response(UploadToFileSearchStoreResponse.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreOperation.Builder
-
Setter for response builder.
- response(Map<String, Object>) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for response.
- RESPONSE_REJECTED - Enum constant in enum com.google.genai.types.TurnCompleteReason.Known
-
The response is rejected by the model.
- responseId() - Method in class com.google.genai.types.GenerateContentResponse
-
Output only.
- responseId(String) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for responseId.
- responseJsonSchema() - Method in class com.google.genai.types.FunctionDeclaration
-
Optional.
- responseJsonSchema() - Method in class com.google.genai.types.GenerateContentConfig
-
Optional.
- responseJsonSchema() - Method in class com.google.genai.types.GenerationConfig
-
Output schema of the generated response.
- responseJsonSchema(Object) - Method in class com.google.genai.types.FunctionDeclaration.Builder
-
Setter for responseJsonSchema.
- responseJsonSchema(Object) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseJsonSchema.
- responseJsonSchema(Object) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseJsonSchema.
- responseLogprobs() - Method in class com.google.genai.types.GenerateContentConfig
-
Whether to return the log probabilities of the tokens that were chosen by the model at each step.
- responseLogprobs() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- responseLogprobs(boolean) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseLogprobs.
- responseLogprobs(boolean) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseLogprobs.
- responseMimeType() - Method in class com.google.genai.types.GenerateContentConfig
-
Output response mimetype of the generated candidate text.
- responseMimeType() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- responseMimeType(String) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseMimeType.
- responseMimeType(String) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseMimeType.
- responseModalities() - Method in class com.google.genai.types.GenerateContentConfig
-
The requested modalities of the response.
- responseModalities() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- responseModalities() - Method in class com.google.genai.types.LiveConnectConfig
-
The requested modalities of the response.
- responseModalities(Modality...) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities.
- responseModalities(Modality...) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities.
- responseModalities(Modality.Known...) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities given a varargs of known enums.
- responseModalities(Modality.Known...) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities given a varargs of known enums.
- responseModalities(String...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseModalities.
- responseModalities(String...) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities given a varargs of strings.
- responseModalities(String...) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities given a varargs of strings.
- responseModalities(List<Modality>) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities.
- responseModalities(List<Modality>) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities.
- responseModalities(List<String>) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseModalities.
- responseModalitiesFromKnown(List<Modality.Known>) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities given a list of known enums.
- responseModalitiesFromKnown(List<Modality.Known>) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities given a list of known enums.
- responseModalitiesFromString(List<String>) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseModalities given a list of strings.
- responseModalitiesFromString(List<String>) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for responseModalities given a list of strings.
- responseSchema() - Method in class com.google.genai.types.GenerateContentConfig
-
The `Schema` object allows the definition of input and output data types.
- responseSchema() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- responseSchema(Schema) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseSchema.
- responseSchema(Schema) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseSchema.
- responseSchema(Schema.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for responseSchema builder.
- responseSchema(Schema.Builder) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for responseSchema builder.
- ResponseStream<T extends JsonSerializable> - Class in com.google.genai
-
An iterable of datatype objects.
- ResponseStream(Class<T>, ApiResponse, Object, String) - Constructor for class com.google.genai.ResponseStream
- responseTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Total number of tokens across all the generated response candidates.
- responseTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for responseTokenCount.
- responseTokensDetails() - Method in class com.google.genai.types.UsageMetadata
-
List of modalities that were returned in the response.
- responseTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for responseTokensDetails.
- responseTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for responseTokensDetails builder.
- responseTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for responseTokensDetails.
- resumable() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
True if session can be resumed at this point.
- resumable(boolean) - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
-
Setter for resumable.
- retrieval() - Method in class com.google.genai.types.Tool
-
Optional.
- retrieval(Retrieval) - Method in class com.google.genai.types.Tool.Builder
-
Setter for retrieval.
- retrieval(Retrieval.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for retrieval builder.
- Retrieval - Class in com.google.genai.types
-
Defines a retrieval tool that model can call to access external knowledge.
- Retrieval() - Constructor for class com.google.genai.types.Retrieval
- Retrieval.Builder - Class in com.google.genai.types
-
Builder for Retrieval.
- retrievalConfig() - Method in class com.google.genai.types.ToolConfig
-
Optional.
- retrievalConfig(RetrievalConfig) - Method in class com.google.genai.types.ToolConfig.Builder
-
Setter for retrievalConfig.
- retrievalConfig(RetrievalConfig.Builder) - Method in class com.google.genai.types.ToolConfig.Builder
-
Setter for retrievalConfig builder.
- RetrievalConfig - Class in com.google.genai.types
-
Retrieval config.
- RetrievalConfig() - Constructor for class com.google.genai.types.RetrievalConfig
- RetrievalConfig.Builder - Class in com.google.genai.types
-
Builder for RetrievalConfig.
- retrievalMetadata() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- retrievalMetadata(RetrievalMetadata) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for retrievalMetadata.
- retrievalMetadata(RetrievalMetadata.Builder) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for retrievalMetadata builder.
- RetrievalMetadata - Class in com.google.genai.types
-
Metadata related to retrieval in the grounding flow.
- RetrievalMetadata() - Constructor for class com.google.genai.types.RetrievalMetadata
- RetrievalMetadata.Builder - Class in com.google.genai.types
-
Builder for RetrievalMetadata.
- retrievalQueries() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- retrievalQueries(String...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for retrievalQueries.
- retrievalQueries(List<String>) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for retrievalQueries.
- retrievedContext() - Method in class com.google.genai.types.GroundingChunk
-
Grounding chunk from context retrieved by the retrieval tools.
- retrievedContext(GroundingChunkRetrievedContext) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for retrievedContext.
- retrievedContext(GroundingChunkRetrievedContext.Builder) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for retrievedContext builder.
- retrievedUrl() - Method in class com.google.genai.types.UrlMetadata
-
Retrieved url by the tool.
- retrievedUrl(String) - Method in class com.google.genai.types.UrlMetadata.Builder
-
Setter for retrievedUrl.
- retryOptions() - Method in class com.google.genai.types.HttpOptions
-
HTTP retry options for the request.
- retryOptions(HttpRetryOptions) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for retryOptions.
- retryOptions(HttpRetryOptions.Builder) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for retryOptions builder.
- returnRawOutput() - Method in class com.google.genai.types.Metric
-
Whether to return the raw output from the judge model.
- returnRawOutput(boolean) - Method in class com.google.genai.types.Metric.Builder
-
Setter for returnRawOutput.
- review() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
A reference representing this place review which may be used to look up this place review again.
- review(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for review.
- reviewId() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
Id of the review referencing the place.
- reviewId(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for reviewId.
- reviewSnippets() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
-
Snippets of reviews that are used to generate the answer.
- reviewSnippets(GroundingChunkMapsPlaceAnswerSourcesReviewSnippet...) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Setter for reviewSnippets.
- reviewSnippets(GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder...) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Setter for reviewSnippets builder.
- reviewSnippets(List<GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
-
Setter for reviewSnippets.
- right() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Output only.
- right() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Output only.
- right(Double) - Method in class com.google.genai.types.DatasetDistributionDistributionBucket.Builder
-
Setter for right.
- right(Double) - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
-
Setter for right.
- role() - Method in class com.google.genai.types.Content
-
Optional.
- role() - Method in class com.google.genai.types.TokensInfo
-
Optional fields for the role from the corresponding Content.
- role(String) - Method in class com.google.genai.types.Content.Builder
-
Setter for role.
- role(String) - Method in class com.google.genai.types.TokensInfo.Builder
-
Setter for role.
- routingConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
Configuration for model router requests.
- routingConfig() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- routingConfig(GenerationConfigRoutingConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for routingConfig.
- routingConfig(GenerationConfigRoutingConfig) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for routingConfig.
- routingConfig(GenerationConfigRoutingConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for routingConfig builder.
- routingConfig(GenerationConfigRoutingConfig.Builder) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for routingConfig builder.
S
- SAFETY - Enum constant in enum com.google.genai.types.BlockedReason.Known
-
The prompt was blocked for safety reasons.
- SAFETY - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation stopped because the content potentially contains safety violations.
- SAFETY_FILTER_LEVEL_UNSPECIFIED - Enum constant in enum com.google.genai.types.SafetyFilterLevel.Known
- safetyAttributes() - Method in class com.google.genai.types.GeneratedImage
-
Safety attributes of the image.
- safetyAttributes(SafetyAttributes) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for safetyAttributes.
- safetyAttributes(SafetyAttributes.Builder) - Method in class com.google.genai.types.GeneratedImage.Builder
-
Setter for safetyAttributes builder.
- SafetyAttributes - Class in com.google.genai.types
-
Safety attributes of a GeneratedImage or the user-provided prompt.
- SafetyAttributes() - Constructor for class com.google.genai.types.SafetyAttributes
- SafetyAttributes.Builder - Class in com.google.genai.types
-
Builder for SafetyAttributes.
- safetyFilterLevel() - Method in class com.google.genai.types.EditImageConfig
-
Filter level for safety filtering.
- safetyFilterLevel() - Method in class com.google.genai.types.GenerateImagesConfig
-
Filter level for safety filtering.
- safetyFilterLevel() - Method in class com.google.genai.types.RecontextImageConfig
-
Filter level for safety filtering.
- safetyFilterLevel() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Filter level for safety filtering.
- safetyFilterLevel() - Method in class com.google.genai.types.UpscaleImageConfig
-
Filter level for safety filtering.
- safetyFilterLevel(SafetyFilterLevel) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for safetyFilterLevel.
- safetyFilterLevel(SafetyFilterLevel) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for safetyFilterLevel.
- safetyFilterLevel(SafetyFilterLevel) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for safetyFilterLevel.
- safetyFilterLevel(SafetyFilterLevel) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for safetyFilterLevel.
- safetyFilterLevel(SafetyFilterLevel) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for safetyFilterLevel.
- safetyFilterLevel(SafetyFilterLevel.Known) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for safetyFilterLevel given a known enum.
- safetyFilterLevel(SafetyFilterLevel.Known) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for safetyFilterLevel given a known enum.
- safetyFilterLevel(SafetyFilterLevel.Known) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for safetyFilterLevel given a known enum.
- safetyFilterLevel(SafetyFilterLevel.Known) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for safetyFilterLevel given a known enum.
- safetyFilterLevel(SafetyFilterLevel.Known) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for safetyFilterLevel given a known enum.
- safetyFilterLevel(String) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for safetyFilterLevel given a string.
- safetyFilterLevel(String) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for safetyFilterLevel given a string.
- safetyFilterLevel(String) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for safetyFilterLevel given a string.
- safetyFilterLevel(String) - Method in class com.google.genai.types.UpscaleImageAPIConfig.Builder
-
Setter for safetyFilterLevel given a string.
- safetyFilterLevel(String) - Method in class com.google.genai.types.UpscaleImageConfig.Builder
-
Setter for safetyFilterLevel given a string.
- SafetyFilterLevel - Class in com.google.genai.types
-
Enum that controls the safety filter level for objectionable content.
- SafetyFilterLevel(SafetyFilterLevel.Known) - Constructor for class com.google.genai.types.SafetyFilterLevel
- SafetyFilterLevel(String) - Constructor for class com.google.genai.types.SafetyFilterLevel
- SafetyFilterLevel.Known - Enum in com.google.genai.types
-
Enum representing the known values for SafetyFilterLevel.
- SafetyRating - Class in com.google.genai.types
-
Safety rating corresponding to the generated content.
- SafetyRating() - Constructor for class com.google.genai.types.SafetyRating
- SafetyRating.Builder - Class in com.google.genai.types
-
Builder for SafetyRating.
- safetyRatings() - Method in class com.google.genai.types.Candidate
-
Output only.
- safetyRatings() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Output only.
- safetyRatings(SafetyRating...) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for safetyRatings.
- safetyRatings(SafetyRating...) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for safetyRatings.
- safetyRatings(SafetyRating.Builder...) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for safetyRatings builder.
- safetyRatings(SafetyRating.Builder...) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for safetyRatings builder.
- safetyRatings(List<SafetyRating>) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for safetyRatings.
- safetyRatings(List<SafetyRating>) - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
-
Setter for safetyRatings.
- SafetySetting - Class in com.google.genai.types
-
Safety settings.
- SafetySetting() - Constructor for class com.google.genai.types.SafetySetting
- SafetySetting.Builder - Class in com.google.genai.types
-
Builder for SafetySetting.
- safetySettings() - Method in class com.google.genai.types.GenerateContentConfig
-
Safety settings in the request to block unsafe content in the response.
- safetySettings(SafetySetting...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for safetySettings.
- safetySettings(SafetySetting.Builder...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for safetySettings builder.
- safetySettings(List<SafetySetting>) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for safetySettings.
- SAMPLES_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.SelfTestData
- samplingCount() - Method in class com.google.genai.types.AutoraterConfig
-
Number of samples for each instance in the dataset.
- samplingCount(Integer) - Method in class com.google.genai.types.AutoraterConfig.Builder
-
Setter for samplingCount.
- scheduling() - Method in class com.google.genai.types.FunctionResponse
-
Specifies how the response should be scheduled in the conversation.
- scheduling(FunctionResponseScheduling) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for scheduling.
- scheduling(FunctionResponseScheduling.Known) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for scheduling given a known enum.
- scheduling(String) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for scheduling given a string.
- SCHEDULING_UNSPECIFIED - Enum constant in enum com.google.genai.types.FunctionResponseScheduling.Known
-
This value is unused.
- Schema - Class in com.google.genai.types
-
Schema is used to define the format of input/output data.
- Schema() - Constructor for class com.google.genai.types.Schema
- Schema.Builder - Class in com.google.genai.types
-
Builder for Schema.
- score() - Method in class com.google.genai.types.EntityLabel
-
The confidence score of the detected label.
- score() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion
-
The score for the given completion.
- score(Float) - Method in class com.google.genai.types.EntityLabel.Builder
-
Setter for score.
- score(Float) - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
-
Setter for score.
- SCORE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- scores() - Method in class com.google.genai.types.SafetyAttributes
-
List of scores of each categories.
- scores(Float...) - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Setter for scores.
- scores(List<Float>) - Method in class com.google.genai.types.SafetyAttributes.Builder
-
Setter for scores.
- scoresDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- scoresDistribution(DatasetDistribution) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for scoresDistribution.
- scoresDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for scoresDistribution builder.
- scoreVariancePerExampleDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- scoreVariancePerExampleDistribution(DatasetDistribution) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for scoreVariancePerExampleDistribution.
- scoreVariancePerExampleDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for scoreVariancePerExampleDistribution builder.
- scribbleImage() - Method in class com.google.genai.types.SegmentImageSource
-
The brush scribble to guide segmentation.
- scribbleImage(ScribbleImage) - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Setter for scribbleImage.
- scribbleImage(ScribbleImage.Builder) - Method in class com.google.genai.types.SegmentImageSource.Builder
-
Setter for scribbleImage builder.
- ScribbleImage - Class in com.google.genai.types
-
An image mask representing a brush scribble.
- ScribbleImage() - Constructor for class com.google.genai.types.ScribbleImage
- ScribbleImage.Builder - Class in com.google.genai.types
-
Builder for ScribbleImage.
- sdkBlob() - Method in class com.google.genai.types.SearchEntryPoint
-
Optional.
- sdkBlob(byte[]) - Method in class com.google.genai.types.SearchEntryPoint.Builder
-
Setter for sdkBlob.
- sdkHttpResponse() - Method in class com.google.genai.AsyncPager
-
Asynchronously returns an Optional of the
HttpResponsefor the current page, which can be used to get the http headers. - sdkHttpResponse() - Method in class com.google.genai.Pager
-
Returns an Optional of the
HttpResponsefor the current page, which can be used to get the http headers. - sdkHttpResponse() - Method in class com.google.genai.types.ComputeTokensResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.CountTokensResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.CreateFileResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.DeleteCachedContentResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.DeleteFileResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.DeleteModelResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.DeleteResourceJob
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.EditImageResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.EmbedContentResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.GenerateContentResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.GenerateImagesResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ImportFileResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListBatchJobsResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListCachedContentsResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListDocumentsResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListFileSearchStoresResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListFilesResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListModelsResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.ListTuningJobsResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.TuningJob
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.TuningOperation
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse() - Method in class com.google.genai.types.UpscaleImageResponse
-
Used to retain the full HTTP response.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.CreateFileResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.DeleteCachedContentResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.DeleteFileResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.DeleteModelResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.EditImageResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse) - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Setter for sdkHttpResponse.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.CreateFileResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.DeleteCachedContentResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.DeleteFileResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.DeleteModelResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.DeleteResourceJob.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.EditImageResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.EmbedContentResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.GenerateImagesResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ImportFileResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListBatchJobsResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListCachedContentsResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListDocumentsResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListFileSearchStoresResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListFilesResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListModelsResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.TuningOperation.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkHttpResponse(HttpResponse.Builder) - Method in class com.google.genai.types.UpscaleImageResponse.Builder
-
Setter for sdkHttpResponse builder.
- sdkResponseSegments() - Method in class com.google.genai.types.ReplayResponse
- sdkResponseSegments(List<Map<String, Object>>) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for sdkResponseSegments.
- sdkResponseSegments(Map<String, Object>...) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for sdkResponseSegments.
- searchEntryPoint() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- searchEntryPoint(SearchEntryPoint) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for searchEntryPoint.
- searchEntryPoint(SearchEntryPoint.Builder) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for searchEntryPoint builder.
- SearchEntryPoint - Class in com.google.genai.types
-
Google search entry point.
- SearchEntryPoint() - Constructor for class com.google.genai.types.SearchEntryPoint
- SearchEntryPoint.Builder - Class in com.google.genai.types
-
Builder for SearchEntryPoint.
- searchTemplate() - Method in class com.google.genai.types.ExternalApiElasticSearchParams
-
The ElasticSearch search template to use.
- searchTemplate(String) - Method in class com.google.genai.types.ExternalApiElasticSearchParams.Builder
-
Setter for searchTemplate.
- seed() - Method in class com.google.genai.types.EditImageConfig
-
Random seed for image generation.
- seed() - Method in class com.google.genai.types.GenerateContentConfig
-
When ``seed`` is fixed to a specific number, the model makes a best effort to provide the same response for repeated requests.
- seed() - Method in class com.google.genai.types.GenerateImagesConfig
-
Random seed for image generation.
- seed() - Method in class com.google.genai.types.GenerateVideosConfig
-
The RNG seed.
- seed() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- seed() - Method in class com.google.genai.types.LiveConnectConfig
-
When ``seed`` is fixed to a specific number, the model makes a best effort to provide the same response for repeated requests.
- seed() - Method in class com.google.genai.types.RecontextImageConfig
-
Random seed for image generation.
- seed(Integer) - Method in class com.google.genai.types.EditImageConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.GenerateImagesConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.GenerateVideosConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for seed.
- seed(Integer) - Method in class com.google.genai.types.RecontextImageConfig.Builder
-
Setter for seed.
- SEED_SENTENCEPIECE_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SEED_SENTENCEPIECES_FILE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- segment() - Method in class com.google.genai.types.GroundingSupport
-
Segment of the content this support belongs to.
- segment(Segment) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for segment.
- segment(Segment.Builder) - Method in class com.google.genai.types.GroundingSupport.Builder
-
Setter for segment builder.
- Segment - Class in com.google.genai.types
-
Segment of the content.
- Segment() - Constructor for class com.google.genai.types.Segment
- SEGMENT_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.SegmentMode.Known
- Segment.Builder - Class in com.google.genai.types
-
Builder for Segment.
- segmentationClasses() - Method in class com.google.genai.types.MaskReferenceConfig
-
A list of up to 5 class ids to use for semantic segmentation.
- segmentationClasses(Integer...) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for segmentationClasses.
- segmentationClasses(List<Integer>) - Method in class com.google.genai.types.MaskReferenceConfig.Builder
-
Setter for segmentationClasses.
- segmentImage(String, SegmentImageSource, SegmentImageConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously segments an image, creating a mask of a specified area.
- segmentImage(String, SegmentImageSource, SegmentImageConfig) - Method in class com.google.genai.Models
-
Segments an image, creating a mask of a specified area.
- SegmentImageConfig - Class in com.google.genai.types
-
Configuration for segmenting an image.
- SegmentImageConfig() - Constructor for class com.google.genai.types.SegmentImageConfig
- SegmentImageConfig.Builder - Class in com.google.genai.types
-
Builder for SegmentImageConfig.
- SegmentImageParameters - Class in com.google.genai.types
-
The parameters for segmenting an image.
- SegmentImageParameters() - Constructor for class com.google.genai.types.SegmentImageParameters
- SegmentImageParameters.Builder - Class in com.google.genai.types
-
Builder for SegmentImageParameters.
- SegmentImageResponse - Class in com.google.genai.types
-
The output images response.
- SegmentImageResponse() - Constructor for class com.google.genai.types.SegmentImageResponse
- SegmentImageResponse.Builder - Class in com.google.genai.types
-
Builder for SegmentImageResponse.
- SegmentImageSource - Class in com.google.genai.types
-
A set of source input(s) for image segmentation.
- SegmentImageSource() - Constructor for class com.google.genai.types.SegmentImageSource
- SegmentImageSource.Builder - Class in com.google.genai.types
-
Builder for SegmentImageSource.
- SegmentMode - Class in com.google.genai.types
-
Enum that represents the segmentation mode.
- SegmentMode(SegmentMode.Known) - Constructor for class com.google.genai.types.SegmentMode
- SegmentMode(String) - Constructor for class com.google.genai.types.SegmentMode
- SegmentMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for SegmentMode.
- SELF_TEST_DATA_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
- SELF_TEST_SAMPLE_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SEMANTIC - Enum constant in enum com.google.genai.types.SegmentMode.Known
- sendClientContent(LiveSendClientContentParameters) - Method in class com.google.genai.AsyncSession
-
Sends client content to the live session.
- sendMessage(Content) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(Content) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(Content, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(Content, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(String) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(String) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(String, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(String, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(List<Content>) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(List<Content>) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(List<Content>, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessage(List<Content>, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessageStream(Content) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(Content) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(Content, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(Content, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(String) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(String) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(String, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(String, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(List<Content>) - Method in class com.google.genai.AsyncChat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessageStream(List<Content>) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns the model's response.
- sendMessageStream(List<Content>, GenerateContentConfig) - Method in class com.google.genai.AsyncChat
-
Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendMessageStream(List<Content>, GenerateContentConfig) - Method in class com.google.genai.Chat
-
Sends a message to the model in the current multi-turn chat session and returns a stream of responses.
- sendRealtimeInput(LiveSendRealtimeInputParameters) - Method in class com.google.genai.AsyncSession
-
Sends realtime input to the live session.
- sendToolResponse(LiveSendToolResponseParameters) - Method in class com.google.genai.AsyncSession
-
Sends tool response to the live session.
- SentencepieceModel - Class in com.google.genai.proto
- SentencepieceModel.ModelProto - Class in com.google.genai.proto
-
ModelProto stores model parameters.
- SentencepieceModel.ModelProto.Builder - Class in com.google.genai.proto
-
ModelProto stores model parameters.
- SentencepieceModel.ModelProto.SentencePiece - Class in com.google.genai.proto
-
Protobuf type
com.google.genai.proto.ModelProto.SentencePiece - SentencepieceModel.ModelProto.SentencePiece.Builder - Class in com.google.genai.proto
-
Protobuf type
com.google.genai.proto.ModelProto.SentencePiece - SentencepieceModel.ModelProto.SentencePiece.Type - Enum in com.google.genai.proto
-
Protobuf enum
com.google.genai.proto.ModelProto.SentencePiece.Type - SentencepieceModel.ModelProto.SentencePieceOrBuilder - Interface in com.google.genai.proto
- SentencepieceModel.ModelProtoOrBuilder - Interface in com.google.genai.proto
- SentencepieceModel.NormalizerSpec - Class in com.google.genai.proto
-
NormalizerSpec encodes a various parameters for string normalization
- SentencepieceModel.NormalizerSpec.Builder - Class in com.google.genai.proto
-
NormalizerSpec encodes a various parameters for string normalization
- SentencepieceModel.NormalizerSpecOrBuilder - Interface in com.google.genai.proto
- SentencepieceModel.SelfTestData - Class in com.google.genai.proto
-
Proto to store samples for self-testing.
- SentencepieceModel.SelfTestData.Builder - Class in com.google.genai.proto
-
Proto to store samples for self-testing.
- SentencepieceModel.SelfTestData.Sample - Class in com.google.genai.proto
-
Protobuf type
com.google.genai.proto.SelfTestData.Sample - SentencepieceModel.SelfTestData.Sample.Builder - Class in com.google.genai.proto
-
Protobuf type
com.google.genai.proto.SelfTestData.Sample - SentencepieceModel.SelfTestData.SampleOrBuilder - Interface in com.google.genai.proto
- SentencepieceModel.SelfTestDataOrBuilder - Interface in com.google.genai.proto
- SentencepieceModel.TrainerSpec - Class in com.google.genai.proto
-
TrainerSpec encodes a various parameters for SentencePiece training.
- SentencepieceModel.TrainerSpec.Builder - Class in com.google.genai.proto
-
TrainerSpec encodes a various parameters for SentencePiece training.
- SentencepieceModel.TrainerSpec.ModelType - Enum in com.google.genai.proto
-
Model type.
- SentencepieceModel.TrainerSpecOrBuilder - Interface in com.google.genai.proto
- serverContent() - Method in class com.google.genai.types.LiveServerMessage
-
Content generated by the model in response to client messages.
- serverContent(LiveServerContent) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for serverContent.
- serverContent(LiveServerContent.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for serverContent builder.
- ServerException - Exception in com.google.genai.errors
-
Server exception raised by the GenAI API.
- ServerException(int, String, String) - Constructor for exception com.google.genai.errors.ServerException
-
Creates a new ServerException with the specified message.
- serviceAccount() - Method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig
-
Optional.
- serviceAccount() - Method in class com.google.genai.types.AuthConfigOauthConfig
-
The service account used to generate access tokens for executing the Extension.
- serviceAccount() - Method in class com.google.genai.types.AuthConfigOidcConfig
-
The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).
- serviceAccount() - Method in class com.google.genai.types.TuningJob
-
The service account that the tuningJob workload runs as.
- serviceAccount(String) - Method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
-
Setter for serviceAccount.
- serviceAccount(String) - Method in class com.google.genai.types.AuthConfigOauthConfig.Builder
-
Setter for serviceAccount.
- serviceAccount(String) - Method in class com.google.genai.types.AuthConfigOidcConfig.Builder
-
Setter for serviceAccount.
- serviceAccount(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for serviceAccount.
- sessionId() - Method in class com.google.genai.AsyncSession
-
Gets the session ID of the live session.
- sessionId() - Method in class com.google.genai.types.LiveServerSetupComplete
-
The session id of the live session.
- sessionId(String) - Method in class com.google.genai.types.LiveServerSetupComplete.Builder
-
Setter for sessionId.
- sessionResumption() - Method in class com.google.genai.types.LiveClientSetup
-
Configures session resumption mechanism.
- sessionResumption() - Method in class com.google.genai.types.LiveConnectConfig
-
Configures session resumption mechanism.
- sessionResumption(SessionResumptionConfig) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for sessionResumption.
- sessionResumption(SessionResumptionConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for sessionResumption.
- sessionResumption(SessionResumptionConfig.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for sessionResumption builder.
- sessionResumption(SessionResumptionConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for sessionResumption builder.
- SessionResumptionConfig - Class in com.google.genai.types
-
Configuration of session resumption mechanism.
- SessionResumptionConfig() - Constructor for class com.google.genai.types.SessionResumptionConfig
- SessionResumptionConfig.Builder - Class in com.google.genai.types
-
Builder for SessionResumptionConfig.
- sessionResumptionUpdate() - Method in class com.google.genai.types.LiveServerMessage
-
Update of the session resumption state.
- sessionResumptionUpdate(LiveServerSessionResumptionUpdate) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for sessionResumptionUpdate.
- sessionResumptionUpdate(LiveServerSessionResumptionUpdate.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for sessionResumptionUpdate builder.
- setAcceptLanguage(int, String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
List of the languages this model can accept.
- setAddDummyPrefix(boolean) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.
- setAllowWhitespaceOnlyPieces(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Allows pieces that only contain whitespaces instead of appearing only as prefix or suffix of other pieces.
- setBosId(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<s>
- setBosPiece(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - setBosPieceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string bos_piece = 46 [default = "<s>"]; - setByteFallback(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Decomposes unknown pieces into UTF-8 bytes.
- setCharacterCoverage(float) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Training parameters.
- setControlSymbols(int, String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Vocabulary management Defines control symbols used as an indicator to change the behavior of the decoder.
- setDefaultBaseUrls(Optional<String>, Optional<String>) - Static method in class com.google.genai.Client
-
Overrides the base URLs for the Gemini API and/or Vertex AI API.
- setDenormalizerSpec(SentencepieceModel.NormalizerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- setDenormalizerSpec(SentencepieceModel.NormalizerSpec.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text de-normalization.
- setDifferentialPrivacyClippingThreshold(long) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Clipping threshold to apply after adding noise.
- setDifferentialPrivacyNoiseLevel(float) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Set these parameters if you need DP version of sentencepiece.
- setEnableDifferentialPrivacy(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Whether to use DP version of sentencepiece.
- setEosId(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
</s>
- setEosPiece(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - setEosPieceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string eos_piece = 47 [default = "</s>"]; - setEscapeWhitespaces(boolean) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Replaces whitespace with meta symbol.
- setExpected(String) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - setExpectedBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string expected = 2; - setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto, List<Type>>, int, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto, Type>, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto.SentencePiece, List<Type>>, int, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.ModelProto.SentencePiece, Type>, Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.NormalizerSpec, List<Type>>, int, Type) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.NormalizerSpec, Type>, Type) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.SelfTestData, List<Type>>, int, Type) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.SelfTestData, Type>, Type) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.TrainerSpec, List<Type>>, int, Type) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- setExtension(GeneratedMessage.GeneratedExtension<SentencepieceModel.TrainerSpec, Type>, Type) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- setHardVocabLimit(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
`vocab_size` is treated as hard limit.
- setInput(int, String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// General parameters Input corpus files.
- setInput(String) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - setInputBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
-
optional string input = 1; - setInputFormat(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- setInputFormatBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freq
- setInputSentenceSize(long) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Maximum size of sentences the trainer loads from `input` parameter.
- setMaxReadLength(int) - Static method in class com.google.genai.JsonSerializable
-
Overrides the default maximum JSON string length (20MB) for the JSON parser.
- setMaxSentenceLength(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The maximum sentence length in byte.
- setMaxSentencepieceLength(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece.
- setMiningSentenceSize(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.
- setModelPrefix(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- setModelPrefixBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Output model file prefix.
- setModelType(SentencepieceModel.TrainerSpec.ModelType) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM]; - setName(String) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- setNameBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
name of normalization rule.
- setNormalizationRuleTsv(String) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- setNormalizationRuleTsvBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Custom normalization rule file in TSV format.
- setNormalizerSpec(SentencepieceModel.NormalizerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- setNormalizerSpec(SentencepieceModel.NormalizerSpec.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec for text normalization.
- setNumSubIterations(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of EM sub iterations.
- setNumThreads(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Number of threads in the training.
- setPadId(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
<pad> (padding)
- setPadPiece(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - setPadPieceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string pad_piece = 48 [default = "<pad>"]; - setPiece(String) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- setPieceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
piece must not be empty.
- setPieces(int, SentencepieceModel.ModelProto.SentencePiece) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- setPieces(int, SentencepieceModel.ModelProto.SentencePiece.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Sentence pieces with scores.
- setPrecompiledCharsmap(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Pre-compiled normalization rule created by Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
- setPretokenizationDelimiter(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- setPretokenizationDelimiterBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines the pre-tokenization delimiter.
- setRemoveExtraWhitespaces(boolean) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
-
Removes leading, trailing, and duplicate internal whitespace.
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- setRequiredChars(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- setRequiredCharsBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines required characters.
- setSamples(int, SentencepieceModel.SelfTestData.Sample) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - setSamples(int, SentencepieceModel.SelfTestData.Sample.Builder) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
-
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1; - setScore(float) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional float score = 2; - setSeedSentencepiecesFile(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- setSeedSentencepiecesFileBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.
- setSeedSentencepieceSize(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
The size of seed sentencepieces.
- setSelfTestData(SentencepieceModel.SelfTestData) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- setSelfTestData(SentencepieceModel.SelfTestData.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Stores sample input and its expected segmentation to verify the model.
- setSelfTestSampleSize(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Size of self-test samples, which are encoded in the model file.
- setShrinkingFactor(float) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece.
- setShuffleInputSentence(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional bool shuffle_input_sentence = 19 [default = true]; - setSplitByNumber(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When `split_by_number` is true, put a boundary between number and non-number transition.
- setSplitByUnicodeScript(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Uses Unicode script to split sentence pieces.
- setSplitByWhitespace(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Use a white space to split sentence pieces.
- setSplitDigits(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Split all digits (0-9) into separate pieces.
- setTrainerSpec(SentencepieceModel.TrainerSpec) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- setTrainerSpec(SentencepieceModel.TrainerSpec.Builder) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
-
Spec used to generate this model file.
- setTrainExtremelyLargeCorpus(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Increase bit depth to allow unigram model training on large (>10M sentences) corpora.
- setTrainingSentenceSize(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Deprecated.
- setTreatWhitespaceAsSuffix(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Adds whitespace symbol (_) as a suffix instead of prefix.
- setType(SentencepieceModel.ModelProto.SentencePiece.Type) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
-
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL]; - setUnkId(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
///////////////////////////////////////////////////////////////// Reserved special meta tokens.
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
- setUnkPiece(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - setUnkPieceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
optional string unk_piece = 45 [default = "<unk>"]; - setUnkSurface(String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- setUnkSurfaceBytes(ByteString) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer.
- setup() - Method in class com.google.genai.types.LiveClientMessage
-
Message to be sent by the system when connecting to the API.
- setup(LiveClientSetup) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for setup.
- setup(LiveClientSetup.Builder) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for setup builder.
- setupComplete() - Method in class com.google.genai.types.LiveServerMessage
-
Sent in response to a `LiveClientSetup` message from the client.
- setupComplete(LiveServerSetupComplete) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for setupComplete.
- setupComplete(LiveServerSetupComplete.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for setupComplete builder.
- setUseAllVocab(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
use all symbols for vocab extraction.
- setUserDefinedSymbols(int, String) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Defines user defined symbols.
- setVocabSize(int) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
Vocabulary size.
- setVocabularyOutputPieceScore(boolean) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
-
When creating the vocabulary file, defines whether or not to additionally output the score for each piece.
- severity() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- severity(HarmSeverity) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for severity.
- severity(HarmSeverity.Known) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for severity given a known enum.
- severity(String) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for severity given a string.
- SEVERITY - Enum constant in enum com.google.genai.types.HarmBlockMethod.Known
-
The harm block method uses both probability and severity scores.
- severityScore() - Method in class com.google.genai.types.SafetyRating
-
Output only.
- severityScore(Float) - Method in class com.google.genai.types.SafetyRating.Builder
-
Setter for severityScore.
- sha256Hash() - Method in class com.google.genai.types.File
-
Output only.
- sha256Hash(String) - Method in class com.google.genai.types.File.Builder
-
Setter for sha256Hash.
- shouldReturnHttpResponse() - Method in class com.google.genai.types.CreateFileConfig
-
If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
- shouldReturnHttpResponse() - Method in class com.google.genai.types.GenerateContentConfig
-
If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
- shouldReturnHttpResponse() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
- shouldReturnHttpResponse(boolean) - Method in class com.google.genai.types.CreateFileConfig.Builder
-
Setter for shouldReturnHttpResponse.
- shouldReturnHttpResponse(boolean) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for shouldReturnHttpResponse.
- shouldReturnHttpResponse(boolean) - Method in class com.google.genai.types.UploadToFileSearchStoreConfig.Builder
-
Setter for shouldReturnHttpResponse.
- SHRINKING_FACTOR_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SHUFFLE_INPUT_SENTENCE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- silenceDurationMs() - Method in class com.google.genai.types.AutomaticActivityDetection
-
The required duration of detected non-speech (e.g.
- silenceDurationMs(Integer) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for silenceDurationMs.
- SILENT - Enum constant in enum com.google.genai.types.FunctionResponseScheduling.Known
-
Only add the result to the conversation context, do not interrupt or trigger generation.
- similarityTopK() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- similarityTopK(Integer) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for similarityTopK.
- SIMPLE_SEARCH - Enum constant in enum com.google.genai.types.ApiSpec.Known
-
Simple search API spec.
- simpleSearchParams() - Method in class com.google.genai.types.ExternalApi
-
Parameters for the simple search API.
- simpleSearchParams(ExternalApiSimpleSearchParams) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for simpleSearchParams.
- simpleSearchParams(ExternalApiSimpleSearchParams.Builder) - Method in class com.google.genai.types.ExternalApi.Builder
-
Setter for simpleSearchParams builder.
- SingleEmbedContentResponse - Class in com.google.genai.types
-
Config for `response` parameter.
- SingleEmbedContentResponse() - Constructor for class com.google.genai.types.SingleEmbedContentResponse
- SingleEmbedContentResponse.Builder - Class in com.google.genai.types
-
Builder for SingleEmbedContentResponse.
- size() - Method in class com.google.genai.AsyncPager
-
Asynchronously returns the size of the current page.
- size() - Method in class com.google.genai.Pager
-
Returns the size of the current page.
- sizeBytes() - Method in class com.google.genai.types.Document
-
The size of the Document in bytes.
- sizeBytes() - Method in class com.google.genai.types.File
-
Output only.
- sizeBytes() - Method in class com.google.genai.types.FileSearchStore
-
The size of raw bytes ingested into the FileSearchStore.
- sizeBytes(Long) - Method in class com.google.genai.types.Document.Builder
-
Setter for sizeBytes.
- sizeBytes(Long) - Method in class com.google.genai.types.File.Builder
-
Setter for sizeBytes.
- sizeBytes(Long) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for sizeBytes.
- skipInApiMode() - Method in class com.google.genai.types.TestTableItem
-
When set to a reason string, this test will be skipped in the API mode.
- skipInApiMode(String) - Method in class com.google.genai.types.TestTableItem.Builder
-
Setter for skipInApiMode.
- slidingWindow() - Method in class com.google.genai.types.ContextWindowCompressionConfig
-
Sliding window compression mechanism.
- slidingWindow(SlidingWindow) - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
-
Setter for slidingWindow.
- slidingWindow(SlidingWindow.Builder) - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
-
Setter for slidingWindow builder.
- SlidingWindow - Class in com.google.genai.types
-
Context window will be truncated by keeping only suffix of it.
- SlidingWindow() - Constructor for class com.google.genai.types.SlidingWindow
- SlidingWindow.Builder - Class in com.google.genai.types
-
Builder for SlidingWindow.
- source() - Method in class com.google.genai.types.File
-
Output only.
- source() - Method in class com.google.genai.types.GenerateVideosParameters
-
A set of source input(s) for video generation.
- source() - Method in class com.google.genai.types.RecontextImageParameters
-
A set of source input(s) for image recontextualization.
- source() - Method in class com.google.genai.types.SegmentImageParameters
-
A set of source input(s) for image segmentation.
- source(FileSource) - Method in class com.google.genai.types.File.Builder
-
Setter for source.
- source(FileSource.Known) - Method in class com.google.genai.types.File.Builder
-
Setter for source given a known enum.
- source(GenerateVideosSource) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for source.
- source(GenerateVideosSource.Builder) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for source builder.
- source(RecontextImageSource) - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Setter for source.
- source(RecontextImageSource.Builder) - Method in class com.google.genai.types.RecontextImageParameters.Builder
-
Setter for source builder.
- source(SegmentImageSource) - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Setter for source.
- source(SegmentImageSource.Builder) - Method in class com.google.genai.types.SegmentImageParameters.Builder
-
Setter for source builder.
- source(String) - Method in class com.google.genai.types.File.Builder
-
Setter for source given a string.
- SOURCE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FileSource.Known
- sourceFlaggingUris() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- sourceFlaggingUris(GroundingMetadataSourceFlaggingUri...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for sourceFlaggingUris.
- sourceFlaggingUris(GroundingMetadataSourceFlaggingUri.Builder...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for sourceFlaggingUris builder.
- sourceFlaggingUris(List<GroundingMetadataSourceFlaggingUri>) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for sourceFlaggingUris.
- sourceId() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri
-
Id of the place or review.
- sourceId(String) - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
-
Setter for sourceId.
- speaker() - Method in class com.google.genai.types.SpeakerVoiceConfig
-
Required.
- speaker(String) - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
-
Setter for speaker.
- SpeakerVoiceConfig - Class in com.google.genai.types
-
Configuration for a single speaker in a multi speaker setup.
- SpeakerVoiceConfig() - Constructor for class com.google.genai.types.SpeakerVoiceConfig
- SpeakerVoiceConfig.Builder - Class in com.google.genai.types
-
Builder for SpeakerVoiceConfig.
- speakerVoiceConfigs() - Method in class com.google.genai.types.MultiSpeakerVoiceConfig
-
Required.
- speakerVoiceConfigs(SpeakerVoiceConfig...) - Method in class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
-
Setter for speakerVoiceConfigs.
- speakerVoiceConfigs(SpeakerVoiceConfig.Builder...) - Method in class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
-
Setter for speakerVoiceConfigs builder.
- speakerVoiceConfigs(List<SpeakerVoiceConfig>) - Method in class com.google.genai.types.MultiSpeakerVoiceConfig.Builder
-
Setter for speakerVoiceConfigs.
- speechConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
The speech generation configuration.
- speechConfig() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- speechConfig() - Method in class com.google.genai.types.LiveConnectConfig
-
The speech generation configuration.
- speechConfig(SpeechConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for speechConfig.
- speechConfig(SpeechConfig) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for speechConfig.
- speechConfig(SpeechConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for speechConfig.
- speechConfig(SpeechConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for speechConfig builder.
- speechConfig(SpeechConfig.Builder) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for speechConfig builder.
- speechConfig(SpeechConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for speechConfig builder.
- SpeechConfig - Class in com.google.genai.types
-
The speech generation config.
- SpeechConfig() - Constructor for class com.google.genai.types.SpeechConfig
- SpeechConfig.Builder - Class in com.google.genai.types
-
Builder for SpeechConfig.
- SPII - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII).
- SPLIT_BY_NUMBER_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SPLIT_BY_UNICODE_SCRIPT_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SPLIT_BY_WHITESPACE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- SPLIT_DIGITS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- src() - Method in class com.google.genai.types.BatchJob
-
Configuration for the input data.
- src() - Method in class com.google.genai.types.CreateBatchJobParameters
-
GCS URI(-s) or BigQuery URI to your input data to run batch job.
- src() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
input data to run batch job".
- src(BatchJobSource) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for src.
- src(BatchJobSource) - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Setter for src.
- src(BatchJobSource.Builder) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for src builder.
- src(BatchJobSource.Builder) - Method in class com.google.genai.types.CreateBatchJobParameters.Builder
-
Setter for src builder.
- src(EmbeddingsBatchJobSource) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Setter for src.
- src(EmbeddingsBatchJobSource.Builder) - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
-
Setter for src builder.
- START_OF_ACTIVITY_INTERRUPTS - Enum constant in enum com.google.genai.types.ActivityHandling.Known
-
If true, start of activity will interrupt the model's response (also called "barge in").
- START_SENSITIVITY_HIGH - Enum constant in enum com.google.genai.types.StartSensitivity.Known
-
Automatic detection will detect the start of speech more often.
- START_SENSITIVITY_LOW - Enum constant in enum com.google.genai.types.StartSensitivity.Known
-
Automatic detection will detect the start of speech less often.
- START_SENSITIVITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.StartSensitivity.Known
-
The default is START_SENSITIVITY_LOW.
- startIndex() - Method in class com.google.genai.types.Citation
-
Output only.
- startIndex() - Method in class com.google.genai.types.Segment
-
Output only.
- startIndex(Integer) - Method in class com.google.genai.types.Citation.Builder
-
Setter for startIndex.
- startIndex(Integer) - Method in class com.google.genai.types.Segment.Builder
-
Setter for startIndex.
- startOffset() - Method in class com.google.genai.types.VideoMetadata
-
Optional.
- startOffset(Duration) - Method in class com.google.genai.types.VideoMetadata.Builder
-
Setter for startOffset.
- startOfSpeechSensitivity() - Method in class com.google.genai.types.AutomaticActivityDetection
-
Determines how likely speech is to be detected.
- startOfSpeechSensitivity(StartSensitivity) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for startOfSpeechSensitivity.
- startOfSpeechSensitivity(StartSensitivity.Known) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for startOfSpeechSensitivity given a known enum.
- startOfSpeechSensitivity(String) - Method in class com.google.genai.types.AutomaticActivityDetection.Builder
-
Setter for startOfSpeechSensitivity given a string.
- StartSensitivity - Class in com.google.genai.types
-
Start of speech sensitivity.
- StartSensitivity(StartSensitivity.Known) - Constructor for class com.google.genai.types.StartSensitivity
- StartSensitivity(String) - Constructor for class com.google.genai.types.StartSensitivity
- StartSensitivity.Known - Enum in com.google.genai.types
-
Enum representing the known values for StartSensitivity.
- startTime() - Method in class com.google.genai.types.BatchJob
-
Output only.
- startTime() - Method in class com.google.genai.types.Interval
-
Optional.
- startTime() - Method in class com.google.genai.types.TuningJob
-
Output only.
- startTime(Instant) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for startTime.
- startTime(Instant) - Method in class com.google.genai.types.Interval.Builder
-
Setter for startTime.
- startTime(Instant) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for startTime.
- state() - Method in class com.google.genai.types.BatchJob
-
The state of the BatchJob.
- state() - Method in class com.google.genai.types.Document
-
The current state of the Document.
- state() - Method in class com.google.genai.types.File
-
Output only.
- state() - Method in class com.google.genai.types.TuningJob
-
Output only.
- state(DocumentState) - Method in class com.google.genai.types.Document.Builder
-
Setter for state.
- state(DocumentState.Known) - Method in class com.google.genai.types.Document.Builder
-
Setter for state given a known enum.
- state(FileState) - Method in class com.google.genai.types.File.Builder
-
Setter for state.
- state(FileState.Known) - Method in class com.google.genai.types.File.Builder
-
Setter for state given a known enum.
- state(JobState) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for state.
- state(JobState) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for state.
- state(JobState.Known) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for state given a known enum.
- state(JobState.Known) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for state given a known enum.
- state(String) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for state given a string.
- state(String) - Method in class com.google.genai.types.Document.Builder
-
Setter for state given a string.
- state(String) - Method in class com.google.genai.types.File.Builder
-
Setter for state given a string.
- state(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for state given a string.
- STATE_ACTIVE - Enum constant in enum com.google.genai.types.DocumentState.Known
- STATE_FAILED - Enum constant in enum com.google.genai.types.DocumentState.Known
- STATE_PENDING - Enum constant in enum com.google.genai.types.DocumentState.Known
- STATE_UNSPECIFIED - Enum constant in enum com.google.genai.types.DocumentState.Known
- STATE_UNSPECIFIED - Enum constant in enum com.google.genai.types.FileState.Known
- statistics() - Method in class com.google.genai.types.ContentEmbedding
-
Vertex API only.
- statistics(ContentEmbeddingStatistics) - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Setter for statistics.
- statistics(ContentEmbeddingStatistics.Builder) - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Setter for statistics builder.
- status() - Method in exception com.google.genai.errors.ApiException
-
Returns the status from the API response.
- statusCode() - Method in class com.google.genai.types.ReplayResponse
- statusCode(Integer) - Method in class com.google.genai.types.ReplayResponse.Builder
-
Setter for statusCode.
- step() - Method in class com.google.genai.types.Checkpoint
-
The step of the checkpoint.
- step() - Method in class com.google.genai.types.TunedModelCheckpoint
-
The step of the checkpoint.
- step(Long) - Method in class com.google.genai.types.Checkpoint.Builder
-
Setter for step.
- step(Long) - Method in class com.google.genai.types.TunedModelCheckpoint.Builder
-
Setter for step.
- STOP - Enum constant in enum com.google.genai.types.FinishReason.Known
-
Token generation reached a natural stopping point or a configured stop sequence.
- stopSequences() - Method in class com.google.genai.types.GenerateContentConfig
-
List of strings that tells the model to stop generating text if one of the strings is encountered in the response.
- stopSequences() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- stopSequences(String...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for stopSequences.
- stopSequences(String...) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for stopSequences.
- stopSequences(List<String>) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for stopSequences.
- stopSequences(List<String>) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for stopSequences.
- storeContext() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- storeContext(boolean) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for storeContext.
- streamFunctionCallArguments() - Method in class com.google.genai.types.FunctionCallingConfig
-
Optional.
- streamFunctionCallArguments(boolean) - Method in class com.google.genai.types.FunctionCallingConfig.Builder
-
Setter for streamFunctionCallArguments.
- STRING - Enum constant in enum com.google.genai.types.Type.Known
-
OpenAPI string type
- StringList - Class in com.google.genai.types
-
User provided string values assigned to a single metadata key.
- StringList() - Constructor for class com.google.genai.types.StringList
- StringList.Builder - Class in com.google.genai.types
-
Builder for StringList.
- stringListValue() - Method in class com.google.genai.types.CustomMetadata
-
The StringList value of the metadata to store.
- stringListValue(StringList) - Method in class com.google.genai.types.CustomMetadata.Builder
-
Setter for stringListValue.
- stringListValue(StringList.Builder) - Method in class com.google.genai.types.CustomMetadata.Builder
-
Setter for stringListValue builder.
- stringToJsonNode(String) - Static method in class com.google.genai.JsonSerializable
-
Converts a Json string to a JsonNode.
- stringValue() - Method in class com.google.genai.types.CustomMetadata
-
The string value of the metadata to store.
- stringValue() - Method in class com.google.genai.types.PartialArg
-
Optional.
- stringValue(String) - Method in class com.google.genai.types.CustomMetadata.Builder
-
Setter for stringValue.
- stringValue(String) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for stringValue.
- STYLE - Enum constant in enum com.google.genai.types.VideoGenerationReferenceType.Known
-
A reference image that provides aesthetics including colors, lighting, texture, etc., to be used as the style of the generated video, such as 'anime', 'photography', 'origami', etc.
- styleDescription() - Method in class com.google.genai.types.StyleReferenceConfig
-
A text description of the style to use for the generated image.
- styleDescription(String) - Method in class com.google.genai.types.StyleReferenceConfig.Builder
-
Setter for styleDescription.
- styleImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI
-
Configuration for the style reference image.
- styleImageConfig(StyleReferenceConfig) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for styleImageConfig.
- styleImageConfig(StyleReferenceConfig.Builder) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for styleImageConfig builder.
- StyleReferenceConfig - Class in com.google.genai.types
-
Configuration for a Style reference image.
- StyleReferenceConfig() - Constructor for class com.google.genai.types.StyleReferenceConfig
- StyleReferenceConfig.Builder - Class in com.google.genai.types
-
Builder for StyleReferenceConfig.
- StyleReferenceImage - Class in com.google.genai.types
-
A style reference image.
- StyleReferenceImage() - Constructor for class com.google.genai.types.StyleReferenceImage
- StyleReferenceImage.Builder - Class in com.google.genai.types
-
Builder for StyleReferenceImage.
- SUBJECT_REFERENCE_TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.SubjectReferenceType.Known
- SUBJECT_TYPE_ANIMAL - Enum constant in enum com.google.genai.types.SubjectReferenceType.Known
- SUBJECT_TYPE_DEFAULT - Enum constant in enum com.google.genai.types.SubjectReferenceType.Known
- SUBJECT_TYPE_PERSON - Enum constant in enum com.google.genai.types.SubjectReferenceType.Known
- SUBJECT_TYPE_PRODUCT - Enum constant in enum com.google.genai.types.SubjectReferenceType.Known
- subjectDescription() - Method in class com.google.genai.types.SubjectReferenceConfig
-
Subject description for the image.
- subjectDescription(String) - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Setter for subjectDescription.
- subjectImageConfig() - Method in class com.google.genai.types.ReferenceImageAPI
-
Configuration for the subject reference image.
- subjectImageConfig(SubjectReferenceConfig) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for subjectImageConfig.
- subjectImageConfig(SubjectReferenceConfig.Builder) - Method in class com.google.genai.types.ReferenceImageAPI.Builder
-
Setter for subjectImageConfig builder.
- SubjectReferenceConfig - Class in com.google.genai.types
-
Configuration for a Subject reference image.
- SubjectReferenceConfig() - Constructor for class com.google.genai.types.SubjectReferenceConfig
- SubjectReferenceConfig.Builder - Class in com.google.genai.types
-
Builder for SubjectReferenceConfig.
- SubjectReferenceImage - Class in com.google.genai.types
-
A subject reference image.
- SubjectReferenceImage() - Constructor for class com.google.genai.types.SubjectReferenceImage
- SubjectReferenceImage.Builder - Class in com.google.genai.types
-
Builder for SubjectReferenceImage.
- SubjectReferenceType - Class in com.google.genai.types
-
Enum representing the subject type of a subject reference image.
- SubjectReferenceType(SubjectReferenceType.Known) - Constructor for class com.google.genai.types.SubjectReferenceType
- SubjectReferenceType(String) - Constructor for class com.google.genai.types.SubjectReferenceType
- SubjectReferenceType.Known - Enum in com.google.genai.types
-
Enum representing the known values for SubjectReferenceType.
- subjectType() - Method in class com.google.genai.types.SubjectReferenceConfig
-
The subject type of a subject reference image.
- subjectType(SubjectReferenceType) - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Setter for subjectType.
- subjectType(SubjectReferenceType.Known) - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Setter for subjectType given a known enum.
- subjectType(String) - Method in class com.google.genai.types.SubjectReferenceConfig.Builder
-
Setter for subjectType given a string.
- successfulCount() - Method in class com.google.genai.types.CompletionStats
-
Output only.
- successfulCount(Long) - Method in class com.google.genai.types.CompletionStats.Builder
-
Setter for successfulCount.
- successfulForecastPointCount() - Method in class com.google.genai.types.CompletionStats
-
Output only.
- successfulForecastPointCount(Long) - Method in class com.google.genai.types.CompletionStats.Builder
-
Setter for successfulForecastPointCount.
- sum() - Method in class com.google.genai.types.DatasetDistribution
-
Output only.
- sum() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Output only.
- sum(Double) - Method in class com.google.genai.types.DatasetDistribution.Builder
-
Setter for sum.
- sum(Long) - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
-
Setter for sum.
- SUPERVISED_FINE_TUNING - Enum constant in enum com.google.genai.types.TuningMethod.Known
-
Supervised fine tuning.
- SupervisedHyperParameters - Class in com.google.genai.types
-
Hyperparameters for SFT.
- SupervisedHyperParameters() - Constructor for class com.google.genai.types.SupervisedHyperParameters
- SupervisedHyperParameters.Builder - Class in com.google.genai.types
-
Builder for SupervisedHyperParameters.
- SupervisedTuningDatasetDistribution - Class in com.google.genai.types
-
Dataset distribution for Supervised Tuning.
- SupervisedTuningDatasetDistribution() - Constructor for class com.google.genai.types.SupervisedTuningDatasetDistribution
- SupervisedTuningDatasetDistribution.Builder - Class in com.google.genai.types
-
Builder for SupervisedTuningDatasetDistribution.
- SupervisedTuningDatasetDistributionDatasetBucket - Class in com.google.genai.types
-
Dataset bucket used to create a histogram for the distribution given a population of values.
- SupervisedTuningDatasetDistributionDatasetBucket() - Constructor for class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
- SupervisedTuningDatasetDistributionDatasetBucket.Builder - Class in com.google.genai.types
-
Builder for SupervisedTuningDatasetDistributionDatasetBucket.
- supervisedTuningDataStats() - Method in class com.google.genai.types.TuningDataStats
-
The SFT Tuning data stats.
- supervisedTuningDataStats(SupervisedTuningDataStats) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for supervisedTuningDataStats.
- supervisedTuningDataStats(SupervisedTuningDataStats.Builder) - Method in class com.google.genai.types.TuningDataStats.Builder
-
Setter for supervisedTuningDataStats builder.
- SupervisedTuningDataStats - Class in com.google.genai.types
-
Tuning data statistics for Supervised Tuning.
- SupervisedTuningDataStats() - Constructor for class com.google.genai.types.SupervisedTuningDataStats
- SupervisedTuningDataStats.Builder - Class in com.google.genai.types
-
Builder for SupervisedTuningDataStats.
- supervisedTuningSpec() - Method in class com.google.genai.types.TuningJob
-
Tuning Spec for Supervised Fine Tuning.
- supervisedTuningSpec(SupervisedTuningSpec) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for supervisedTuningSpec.
- supervisedTuningSpec(SupervisedTuningSpec.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for supervisedTuningSpec builder.
- SupervisedTuningSpec - Class in com.google.genai.types
-
Supervised tuning spec for tuning.
- SupervisedTuningSpec() - Constructor for class com.google.genai.types.SupervisedTuningSpec
- SupervisedTuningSpec.Builder - Class in com.google.genai.types
-
Builder for SupervisedTuningSpec.
- supportedActions() - Method in class com.google.genai.types.Model
-
List of actions that are supported by the model.
- supportedActions(String...) - Method in class com.google.genai.types.Model.Builder
-
Setter for supportedActions.
- supportedActions(List<String>) - Method in class com.google.genai.types.Model.Builder
-
Setter for supportedActions.
- systemInstruction() - Method in class com.google.genai.types.CountTokensConfig
-
Instructions for the model to steer it toward better performance.
- systemInstruction() - Method in class com.google.genai.types.CreateCachedContentConfig
-
Developer set system instruction.
- systemInstruction() - Method in class com.google.genai.types.GenerateContentConfig
-
Instructions for the model to steer it toward better performance.
- systemInstruction() - Method in class com.google.genai.types.LiveClientSetup
-
The user provided system instructions for the model.
- systemInstruction() - Method in class com.google.genai.types.LiveConnectConfig
-
The user provided system instructions for the model.
- systemInstruction(Content) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for systemInstruction.
- systemInstruction(Content) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for systemInstruction.
- systemInstruction(Content) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for systemInstruction.
- systemInstruction(Content) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for systemInstruction.
- systemInstruction(Content) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for systemInstruction.
- systemInstruction(Content.Builder) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for systemInstruction builder.
- systemInstruction(Content.Builder) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for systemInstruction builder.
- systemInstruction(Content.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for systemInstruction builder.
- systemInstruction(Content.Builder) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for systemInstruction builder.
- systemInstruction(Content.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for systemInstruction builder.
T
- targetTokens() - Method in class com.google.genai.types.SlidingWindow
-
Session reduction target -- how many tokens we should keep.
- targetTokens(Long) - Method in class com.google.genai.types.SlidingWindow.Builder
-
Setter for targetTokens.
- taskType() - Method in class com.google.genai.types.EmbedContentConfig
-
Type of task for which the embedding will be used.
- taskType(String) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for taskType.
- temperature() - Method in class com.google.genai.types.GenerateContentConfig
-
Value that controls the degree of randomness in token selection.
- temperature() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- temperature() - Method in class com.google.genai.types.LiveConnectConfig
-
Value that controls the degree of randomness in token selection.
- temperature() - Method in class com.google.genai.types.Model
-
Temperature value used for sampling set when the dataset was saved.
- temperature(Float) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for temperature.
- temperature(Float) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for temperature.
- temperature(Float) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for temperature.
- temperature(Float) - Method in class com.google.genai.types.Model.Builder
-
Setter for temperature.
- testMethod() - Method in class com.google.genai.types.TestTableFile
- testMethod(String) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for testMethod.
- testTable() - Method in class com.google.genai.types.TestTableFile
- testTable(TestTableItem...) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for testTable.
- testTable(TestTableItem.Builder...) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for testTable builder.
- testTable(List<TestTableItem>) - Method in class com.google.genai.types.TestTableFile.Builder
-
Setter for testTable.
- TestTableFile - Class in com.google.genai.types
-
None
- TestTableFile() - Constructor for class com.google.genai.types.TestTableFile
- TestTableFile.Builder - Class in com.google.genai.types
-
Builder for TestTableFile.
- TestTableItem - Class in com.google.genai.types
-
None
- TestTableItem() - Constructor for class com.google.genai.types.TestTableItem
- TestTableItem.Builder - Class in com.google.genai.types
-
Builder for TestTableItem.
- text() - Method in class com.google.genai.types.Content
-
Returns the concatenation of all text parts in this content.
- text() - Method in class com.google.genai.types.GenerateContentResponse
-
Returns the concatenation of all text parts in the first candidate of the response.
- text() - Method in class com.google.genai.types.GroundingChunkMaps
-
Text of the place answer.
- text() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Text of the attribution.
- text() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
The realtime text input stream.
- text() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
The realtime text input stream.
- text() - Method in class com.google.genai.types.Part
-
Optional.
- text() - Method in class com.google.genai.types.RagChunk
-
The content of the chunk.
- text() - Method in class com.google.genai.types.Segment
-
Output only.
- text() - Method in class com.google.genai.types.Transcription
-
Transcription text.
- text(String) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.Part.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.RagChunk.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.Segment.Builder
-
Setter for text.
- text(String) - Method in class com.google.genai.types.Transcription.Builder
-
Setter for text.
- TEXT - Enum constant in enum com.google.genai.types.MediaModality.Known
-
Plain text.
- TEXT - Enum constant in enum com.google.genai.types.Modality.Known
-
Indicates the model should return text
- textCount() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Number of text characters.
- textCount(Integer) - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Setter for textCount.
- textInput() - Method in class com.google.genai.types.TuningExample
-
Optional.
- textInput(String) - Method in class com.google.genai.types.TuningExample.Builder
-
Setter for textInput.
- thinking() - Method in class com.google.genai.types.Model
-
Whether the model supports thinking features.
- thinking(boolean) - Method in class com.google.genai.types.Model.Builder
-
Setter for thinking.
- THINKING_LEVEL_UNSPECIFIED - Enum constant in enum com.google.genai.types.ThinkingLevel.Known
-
Default value.
- thinkingBudget() - Method in class com.google.genai.types.ThinkingConfig
-
Indicates the thinking budget in tokens.
- thinkingBudget(Integer) - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Setter for thinkingBudget.
- thinkingConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
The thinking features configuration.
- thinkingConfig() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- thinkingConfig() - Method in class com.google.genai.types.LiveConnectConfig
-
Config for thinking features.
- thinkingConfig(ThinkingConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for thinkingConfig.
- thinkingConfig(ThinkingConfig) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for thinkingConfig.
- thinkingConfig(ThinkingConfig) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for thinkingConfig.
- thinkingConfig(ThinkingConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for thinkingConfig builder.
- thinkingConfig(ThinkingConfig.Builder) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for thinkingConfig builder.
- thinkingConfig(ThinkingConfig.Builder) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for thinkingConfig builder.
- ThinkingConfig - Class in com.google.genai.types
-
The thinking features configuration.
- ThinkingConfig() - Constructor for class com.google.genai.types.ThinkingConfig
- ThinkingConfig.Builder - Class in com.google.genai.types
-
Builder for ThinkingConfig.
- thinkingLevel() - Method in class com.google.genai.types.ThinkingConfig
-
Optional.
- thinkingLevel(ThinkingLevel) - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Setter for thinkingLevel.
- thinkingLevel(ThinkingLevel.Known) - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Setter for thinkingLevel given a known enum.
- thinkingLevel(String) - Method in class com.google.genai.types.ThinkingConfig.Builder
-
Setter for thinkingLevel given a string.
- ThinkingLevel - Class in com.google.genai.types
-
The level of thoughts tokens that the model should generate.
- ThinkingLevel(ThinkingLevel.Known) - Constructor for class com.google.genai.types.ThinkingLevel
- ThinkingLevel(String) - Constructor for class com.google.genai.types.ThinkingLevel
- ThinkingLevel.Known - Enum in com.google.genai.types
-
Enum representing the known values for ThinkingLevel.
- thought() - Method in class com.google.genai.types.Part
-
Optional.
- thought(boolean) - Method in class com.google.genai.types.Part.Builder
-
Setter for thought.
- thoughtSignature() - Method in class com.google.genai.types.Part
-
Optional.
- thoughtSignature(byte[]) - Method in class com.google.genai.types.Part.Builder
-
Setter for thoughtSignature.
- thoughtsTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- thoughtsTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Number of tokens of thoughts for thinking models.
- thoughtsTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for thoughtsTokenCount.
- thoughtsTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for thoughtsTokenCount.
- threshold() - Method in class com.google.genai.types.SafetySetting
-
Required.
- threshold(HarmBlockThreshold) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for threshold.
- threshold(HarmBlockThreshold.Known) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for threshold given a known enum.
- threshold(String) - Method in class com.google.genai.types.SafetySetting.Builder
-
Setter for threshold given a string.
- throwFromErrorNode(ArrayNode, int) - Static method in exception com.google.genai.errors.ApiException
-
Throws an ApiException from a
ArrayNode. - throwFromResponse(Response) - Static method in exception com.google.genai.errors.ApiException
-
Throws an ApiException from the response if the response is not a OK status.
- throwFromResponse(CloseableHttpResponse) - Static method in exception com.google.genai.errors.ApiException
-
Deprecated.Use
ApiException.throwFromResponse(Response)instead. - timeLeft() - Method in class com.google.genai.types.LiveServerGoAway
-
The remaining time before the connection will be terminated as ABORTED.
- timeLeft(Duration) - Method in class com.google.genai.types.LiveServerGoAway.Builder
-
Setter for timeLeft.
- timeout() - Method in class com.google.genai.types.HttpOptions
-
Timeout for the request in milliseconds.
- timeout(Integer) - Method in class com.google.genai.types.HttpOptions.Builder
-
Setter for timeout.
- timeRangeFilter() - Method in class com.google.genai.types.GoogleSearch
-
Optional.
- timeRangeFilter(Interval) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for timeRangeFilter.
- timeRangeFilter(Interval.Builder) - Method in class com.google.genai.types.GoogleSearch.Builder
-
Setter for timeRangeFilter builder.
- title() - Method in class com.google.genai.types.Citation
-
Output only.
- title() - Method in class com.google.genai.types.EmbedContentConfig
-
Title for the text.
- title() - Method in class com.google.genai.types.GroundingChunkMaps
-
Title of the place.
- title() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
Title of the review.
- title() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Title of the attribution.
- title() - Method in class com.google.genai.types.GroundingChunkWeb
-
Title of the chunk.
- title() - Method in class com.google.genai.types.Schema
-
Optional.
- title(String) - Method in class com.google.genai.types.Citation.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.EmbedContentConfig.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Setter for title.
- title(String) - Method in class com.google.genai.types.Schema.Builder
-
Setter for title.
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- toBuilder() - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- toBuilder() - Method in class com.google.genai.types.ActivityEnd
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ActivityStart
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ApiAuth
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ApiAuthApiKeyConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ApiKeyConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AudioTranscriptionConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AuthConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AuthConfigGoogleServiceAccountConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AuthConfigHttpBasicAuthConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AuthConfigOauthConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AuthConfigOidcConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AutomaticActivityDetection
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AutomaticFunctionCallingConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.AutoraterConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.BatchJob
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.BatchJobDestination
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.BatchJobSource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Blob
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CachedContent
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CancelBatchJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CancelBatchJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CancelTuningJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CancelTuningJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Candidate
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Checkpoint
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ChunkingConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Citation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CitationMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ClientOptions
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CodeExecutionResult
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CompletionStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ComputerUse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ComputeTokensConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ComputeTokensParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ComputeTokensResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ComputeTokensResult
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Content
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ContentEmbedding
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ContentEmbeddingStatistics
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ContentReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ContextWindowCompressionConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ControlReferenceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ControlReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CountTokensConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CountTokensParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CountTokensResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CountTokensResult
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateBatchJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateBatchJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateCachedContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateCachedContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateEmbeddingsBatchJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateFileParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateFileResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateFileSearchStoreConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateFileSearchStoreParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateTuningJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.CustomMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DatasetDistribution
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DatasetDistributionDistributionBucket
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DatasetStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteBatchJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteBatchJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteCachedContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteCachedContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteCachedContentResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteDocumentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteDocumentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteFileParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteFileResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteFileSearchStoreConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteFileSearchStoreParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteModelConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteModelParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteModelResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DeleteResourceJob
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DistillationDataStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Document
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DownloadFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.DynamicRetrievalConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EditImageConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EditImageParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EditImageResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbedContentBatch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbedContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbedContentMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbedContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbedContentResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EmbeddingsBatchJobSource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EncryptionSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Endpoint
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EnterpriseWebSearch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EntityLabel
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.EvaluationConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ExecutableCode
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ExternalApi
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ExternalApiElasticSearchParams
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ExternalApiSimpleSearchParams
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FetchPredictOperationConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FetchPredictOperationParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.File
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FileData
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FileSearch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FileSearchStore
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FileStatus
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionCall
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionCallingConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionDeclaration
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionResponseBlob
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionResponseFileData
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.FunctionResponsePart
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GcsDestination
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GeminiPreferenceExample
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GeminiPreferenceExampleCompletion
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateContentResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateContentResponsePromptFeedback
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GeneratedImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GeneratedImageMask
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GeneratedVideo
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateImagesConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateImagesParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateImagesResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateVideosConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateVideosOperation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateVideosParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateVideosResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerateVideosSource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerationConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerationConfigRoutingConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetBatchJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetBatchJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetCachedContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetCachedContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetDocumentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetDocumentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetFileParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetFileSearchStoreConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetFileSearchStoreParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetModelConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetModelParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetOperationConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetOperationParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetTuningJobConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GetTuningJobParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GoogleMaps
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GoogleRpcStatus
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GoogleSearch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GoogleSearchRetrieval
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GoogleTypeDate
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunk
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkMaps
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingChunkWeb
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingMetadataSourceFlaggingUri
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.GroundingSupport
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.HttpOptions
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.HttpResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.HttpRetryOptions
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Image
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ImageConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ImportFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ImportFileOperation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ImportFileParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ImportFileResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.InlinedEmbedContentResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.InlinedRequest
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.InlinedResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Interval
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.JobError
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LatLng
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListBatchJobsConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListBatchJobsParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListBatchJobsResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListCachedContentsConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListCachedContentsParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListCachedContentsResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListDocumentsConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListDocumentsParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListDocumentsResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFilesConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFileSearchStoresConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFileSearchStoresParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFileSearchStoresResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFilesParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListFilesResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListModelsConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListModelsParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListModelsResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListTuningJobsConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListTuningJobsParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ListTuningJobsResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveClientContent
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveClientMessage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveClientSetup
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveClientToolResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveConnectConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveConnectParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveSendClientContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveSendToolResponseParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerContent
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerGoAway
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerMessage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerSessionResumptionUpdate
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerSetupComplete
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerToolCall
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LiveServerToolCallCancellation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LogprobsResult
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LogprobsResultCandidate
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.LogprobsResultTopCandidates
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.MaskReferenceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.MaskReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Metric
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ModalityTokenCount
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Model
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ModelSelectionConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.MultiSpeakerVoiceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.OutputConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Part
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PartialArg
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PartMediaResolution
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PartnerModelTuningSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PrebuiltVoiceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PreferenceOptimizationHyperParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PreferenceOptimizationSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.PreTunedModel
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ProactivityConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ProductImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagChunk
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagChunkPageSpan
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfigFilter
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfigHybridSearch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfigRanking
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfigRankingLlmRanker
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RagRetrievalConfigRankingRankService
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RawReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RealtimeInputConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RecontextImageConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RecontextImageParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RecontextImageResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RecontextImageSource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ReferenceImageAPI
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ReplayFile
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ReplayInteraction
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ReplayRequest
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ReplayResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Retrieval
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RetrievalConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.RetrievalMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SafetyAttributes
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SafetyRating
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SafetySetting
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Schema
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ScribbleImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SearchEntryPoint
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Segment
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SegmentImageConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SegmentImageParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SegmentImageResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SegmentImageSource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SessionResumptionConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SingleEmbedContentResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SlidingWindow
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SpeakerVoiceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SpeechConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.StringList
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.StyleReferenceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.StyleReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SubjectReferenceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SubjectReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SupervisedHyperParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SupervisedTuningDatasetDistribution
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TestTableFile
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TestTableItem
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ThinkingConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TokensInfo
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Tool
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ToolCodeExecution
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.ToolConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Transcription
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TunedModel
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TunedModelCheckpoint
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TunedModelInfo
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningDataset
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningDataStats
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningExample
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningJob
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningOperation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.TuningValidationDataset
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpdateCachedContentConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpdateCachedContentParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpdateModelConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpdateModelParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadFileConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadToFileSearchStoreConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadToFileSearchStoreOperation
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadToFileSearchStoreParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadToFileSearchStoreResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UploadToFileSearchStoreResumableResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpscaleImageAPIConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpscaleImageAPIParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpscaleImageConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpscaleImageParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UpscaleImageResponse
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UrlContext
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UrlContextMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UrlMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.UsageMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VeoHyperParameters
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VeoTuningSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VertexAISearch
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VertexAISearchDataStoreSpec
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VertexRagStore
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VertexRagStoreRagResource
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.Video
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VideoGenerationMask
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VideoGenerationReferenceImage
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VideoMetadata
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.VoiceConfig
-
Creates a builder with the same values as this instance.
- toBuilder() - Method in class com.google.genai.types.WhiteSpaceConfig
-
Creates a builder with the same values as this instance.
- toJson() - Method in class com.google.genai.JsonSerializable
-
Serializes the instance to a Json string.
- token() - Method in class com.google.genai.types.LogprobsResultCandidate
-
The candidate's token string value.
- token(String) - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Setter for token.
- tokenCount() - Method in class com.google.genai.types.Candidate
-
Number of tokens for this candidate.
- tokenCount() - Method in class com.google.genai.types.ContentEmbeddingStatistics
-
Vertex API only.
- tokenCount() - Method in class com.google.genai.types.ModalityTokenCount
-
Number of tokens.
- tokenCount() - Method in class com.google.genai.types.SingleEmbedContentResponse
-
The error encountered while processing the request.
- tokenCount(Float) - Method in class com.google.genai.types.ContentEmbeddingStatistics.Builder
-
Setter for tokenCount.
- tokenCount(Integer) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for tokenCount.
- tokenCount(Integer) - Method in class com.google.genai.types.ModalityTokenCount.Builder
-
Setter for tokenCount.
- tokenCount(Long) - Method in class com.google.genai.types.SingleEmbedContentResponse.Builder
-
Setter for tokenCount.
- tokenId() - Method in class com.google.genai.types.LogprobsResultCandidate
-
The candidate's token id value.
- tokenId(Integer) - Method in class com.google.genai.types.LogprobsResultCandidate.Builder
-
Setter for tokenId.
- tokenIds() - Method in class com.google.genai.types.TokensInfo
-
A list of token ids from the input.
- tokenIds(Long...) - Method in class com.google.genai.types.TokensInfo.Builder
-
Setter for tokenIds.
- tokenIds(List<Long>) - Method in class com.google.genai.types.TokensInfo.Builder
-
Setter for tokenIds.
- tokens() - Method in class com.google.genai.types.TokensInfo
-
A list of tokens from the input.
- tokens(byte[]...) - Method in class com.google.genai.types.TokensInfo.Builder
-
Setter for tokens.
- tokens(List<byte[]>) - Method in class com.google.genai.types.TokensInfo.Builder
-
Setter for tokens.
- tokensInfo() - Method in class com.google.genai.types.ComputeTokensResponse
-
Lists of tokens info from the input.
- tokensInfo() - Method in class com.google.genai.types.ComputeTokensResult
-
Lists of tokens info from the input.
- tokensInfo(TokensInfo...) - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Setter for tokensInfo.
- tokensInfo(TokensInfo...) - Method in class com.google.genai.types.ComputeTokensResult.Builder
-
Setter for tokensInfo.
- tokensInfo(TokensInfo.Builder...) - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Setter for tokensInfo builder.
- tokensInfo(TokensInfo.Builder...) - Method in class com.google.genai.types.ComputeTokensResult.Builder
-
Setter for tokensInfo builder.
- tokensInfo(List<TokensInfo>) - Method in class com.google.genai.types.ComputeTokensResponse.Builder
-
Setter for tokensInfo.
- tokensInfo(List<TokensInfo>) - Method in class 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() - Constructor for class com.google.genai.types.TokensInfo
- TokensInfo.Builder - Class in com.google.genai.types
-
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() - Constructor for class com.google.genai.types.Tool
- Tool.Builder - Class in com.google.genai.types
-
Builder for Tool.
- toolCall() - Method in class com.google.genai.types.LiveServerMessage
-
Request for the client to execute the `function_calls` and return the responses with the matching `id`s.
- toolCall(LiveServerToolCall) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for toolCall.
- toolCall(LiveServerToolCall.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for toolCall builder.
- toolCallCancellation() - Method in class 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(LiveServerToolCallCancellation) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for toolCallCancellation.
- toolCallCancellation(LiveServerToolCallCancellation.Builder) - Method in class 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() - Constructor for class com.google.genai.types.ToolCodeExecution
- ToolCodeExecution.Builder - Class in com.google.genai.types
-
Builder for ToolCodeExecution.
- toolConfig() - Method in class com.google.genai.types.CreateCachedContentConfig
-
Configuration for the tools to use.
- toolConfig() - Method in class com.google.genai.types.GenerateContentConfig
-
Associates model output to a specific function call.
- toolConfig(ToolConfig) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for toolConfig.
- toolConfig(ToolConfig) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for toolConfig.
- toolConfig(ToolConfig.Builder) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for toolConfig builder.
- toolConfig(ToolConfig.Builder) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for toolConfig builder.
- ToolConfig - Class in com.google.genai.types
-
Tool config.
- ToolConfig() - Constructor for class com.google.genai.types.ToolConfig
- ToolConfig.Builder - Class in com.google.genai.types
-
Builder for ToolConfig.
- toolResponse() - Method in class com.google.genai.types.LiveClientMessage
-
Response to a `ToolCallMessage` received from the server.
- toolResponse(LiveClientToolResponse) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for toolResponse.
- toolResponse(LiveClientToolResponse.Builder) - Method in class com.google.genai.types.LiveClientMessage.Builder
-
Setter for toolResponse builder.
- tools() - Method in class 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() - Method in class com.google.genai.types.CreateCachedContentConfig
-
A list of `Tools` the model may use to generate the next response.
- tools() - Method in class 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() - Method in class com.google.genai.types.LiveClientSetup
-
A list of `Tools` the model may use to generate the next response.
- tools() - Method in class com.google.genai.types.LiveConnectConfig
-
A list of `Tools` the model may use to generate the next response.
- tools(Tool...) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for tools.
- tools(Tool...) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for tools.
- tools(Tool...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for tools.
- tools(Tool...) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for tools.
- tools(Tool...) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for tools.
- tools(Tool.Builder...) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for tools builder.
- tools(Tool.Builder...) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for tools builder.
- tools(Tool.Builder...) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for tools builder.
- tools(Tool.Builder...) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for tools builder.
- tools(Tool.Builder...) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for tools builder.
- tools(List<Tool>) - Method in class com.google.genai.types.CountTokensConfig.Builder
-
Setter for tools.
- tools(List<Tool>) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for tools.
- tools(List<Tool>) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for tools.
- tools(List<Tool>) - Method in class com.google.genai.types.LiveClientSetup.Builder
-
Setter for tools.
- tools(List<Tool>) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for tools.
- toolUsePromptTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- toolUsePromptTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Number of tokens present in tool-use prompt(s).
- toolUsePromptTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for toolUsePromptTokenCount.
- toolUsePromptTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for toolUsePromptTokenCount.
- toolUsePromptTokensDetails() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- toolUsePromptTokensDetails() - Method in class com.google.genai.types.UsageMetadata
-
List of modalities that were processed in the tool-use prompt.
- toolUsePromptTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails.
- toolUsePromptTokensDetails(ModalityTokenCount...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails.
- toolUsePromptTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails builder.
- toolUsePromptTokensDetails(ModalityTokenCount.Builder...) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails builder.
- toolUsePromptTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails.
- toolUsePromptTokensDetails(List<ModalityTokenCount>) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for toolUsePromptTokensDetails.
- topCandidates() - Method in class com.google.genai.types.LogprobsResult
-
Length = total number of decoding steps.
- topCandidates(LogprobsResultTopCandidates...) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for topCandidates.
- topCandidates(LogprobsResultTopCandidates.Builder...) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for topCandidates builder.
- topCandidates(List<LogprobsResultTopCandidates>) - Method in class com.google.genai.types.LogprobsResult.Builder
-
Setter for topCandidates.
- topK() - Method in class com.google.genai.types.FileSearch
-
The number of file search retrieval chunks to retrieve.
- topK() - Method in class com.google.genai.types.GenerateContentConfig
-
For each token selection step, the ``top_k`` tokens with the highest probabilities are sampled.
- topK() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- topK() - Method in class com.google.genai.types.LiveConnectConfig
-
For each token selection step, the ``top_k`` tokens with the highest probabilities are sampled.
- topK() - Method in class com.google.genai.types.Model
-
Optional.
- topK() - Method in class com.google.genai.types.RagRetrievalConfig
-
Optional.
- topK(Float) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for topK.
- topK(Float) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for topK.
- topK(Float) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for topK.
- topK(Integer) - Method in class com.google.genai.types.FileSearch.Builder
-
Setter for topK.
- topK(Integer) - Method in class com.google.genai.types.Model.Builder
-
Setter for topK.
- topK(Integer) - Method in class com.google.genai.types.RagRetrievalConfig.Builder
-
Setter for topK.
- topP() - Method in class com.google.genai.types.GenerateContentConfig
-
Tokens are selected from the most to least probable until the sum of their probabilities equals this value.
- topP() - Method in class com.google.genai.types.GenerationConfig
-
Optional.
- topP() - Method in class com.google.genai.types.LiveConnectConfig
-
Tokens are selected from the most to least probable until the sum of their probabilities equals this value.
- topP() - Method in class com.google.genai.types.Model
-
Optional.
- topP(Float) - Method in class com.google.genai.types.GenerateContentConfig.Builder
-
Setter for topP.
- topP(Float) - Method in class com.google.genai.types.GenerationConfig.Builder
-
Setter for topP.
- topP(Float) - Method in class com.google.genai.types.LiveConnectConfig.Builder
-
Setter for topP.
- topP(Float) - Method in class com.google.genai.types.Model.Builder
-
Setter for topP.
- toReferenceImageAPI() - Method in class com.google.genai.types.ContentReferenceImage
- toReferenceImageAPI() - Method in class com.google.genai.types.ControlReferenceImage
- toReferenceImageAPI() - Method in class com.google.genai.types.MaskReferenceImage
- toReferenceImageAPI() - Method in class com.google.genai.types.RawReferenceImage
- toReferenceImageAPI() - Method in interface com.google.genai.types.ReferenceImage
- toReferenceImageAPI() - Method in class com.google.genai.types.StyleReferenceImage
- toReferenceImageAPI() - Method in class com.google.genai.types.SubjectReferenceImage
- toString() - Method in class com.google.genai.types.ActivityHandling
- toString() - Method in class com.google.genai.types.AdapterSize
- toString() - Method in class com.google.genai.types.ApiSpec
- toString() - Method in class com.google.genai.types.AuthType
- toString() - Method in class com.google.genai.types.Behavior
- toString() - Method in class com.google.genai.types.BlockedReason
- toString() - Method in class com.google.genai.types.ControlReferenceType
- toString() - Method in class com.google.genai.types.DocumentState
- toString() - Method in class com.google.genai.types.DynamicRetrievalConfigMode
- toString() - Method in class com.google.genai.types.EditMode
- toString() - Method in class com.google.genai.types.EndSensitivity
- toString() - Method in class com.google.genai.types.Environment
- toString() - Method in class com.google.genai.types.FeatureSelectionPreference
- toString() - Method in class com.google.genai.types.FileSource
- toString() - Method in class com.google.genai.types.FileState
- toString() - Method in class com.google.genai.types.FinishReason
- toString() - Method in class com.google.genai.types.FunctionCallingConfigMode
- toString() - Method in class com.google.genai.types.FunctionResponseScheduling
- toString() - Method in class com.google.genai.types.HarmBlockMethod
- toString() - Method in class com.google.genai.types.HarmBlockThreshold
- toString() - Method in class com.google.genai.types.HarmCategory
- toString() - Method in class com.google.genai.types.HarmProbability
- toString() - Method in class com.google.genai.types.HarmSeverity
- toString() - Method in class com.google.genai.types.HttpElementLocation
- toString() - Method in class com.google.genai.types.ImagePromptLanguage
- toString() - Method in class com.google.genai.types.JobState
- toString() - Method in class com.google.genai.types.Language
- toString() - Method in class com.google.genai.types.MaskReferenceMode
- toString() - Method in class com.google.genai.types.MediaModality
- toString() - Method in class com.google.genai.types.MediaResolution
- toString() - Method in class com.google.genai.types.Modality
- toString() - Method in class com.google.genai.types.Mode
- toString() - Method in class com.google.genai.types.ModelRoutingPreference
- toString() - Method in class com.google.genai.types.NullValue
- toString() - Method in class com.google.genai.types.Outcome
- toString() - Method in class com.google.genai.types.PartMediaResolutionLevel
- toString() - Method in class com.google.genai.types.PersonGeneration
- toString() - Method in class com.google.genai.types.PhishBlockThreshold
- toString() - Method in class com.google.genai.types.SafetyFilterLevel
- toString() - Method in class com.google.genai.types.SegmentMode
- toString() - Method in class com.google.genai.types.StartSensitivity
- toString() - Method in class com.google.genai.types.SubjectReferenceType
- toString() - Method in class com.google.genai.types.ThinkingLevel
- toString() - Method in class com.google.genai.types.TrafficType
- toString() - Method in class com.google.genai.types.TuningMethod
- toString() - Method in class com.google.genai.types.TuningMode
- toString() - Method in class com.google.genai.types.TuningTask
- toString() - Method in class com.google.genai.types.TurnCompleteReason
- toString() - Method in class com.google.genai.types.TurnCoverage
- toString() - Method in class com.google.genai.types.Type
- toString() - Method in class com.google.genai.types.UrlRetrievalStatus
- toString() - Method in class com.google.genai.types.VideoCompressionQuality
- toString() - Method in class com.google.genai.types.VideoGenerationMaskMode
- toString() - Method in class com.google.genai.types.VideoGenerationReferenceType
- totalBillableCharacterCount() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- totalBillableCharacterCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- totalBillableCharacterCount(Long) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for totalBillableCharacterCount.
- totalBillableCharacterCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for totalBillableCharacterCount.
- totalBillableTokenCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- totalBillableTokenCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- totalBillableTokenCount(Long) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for totalBillableTokenCount.
- totalBillableTokenCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for totalBillableTokenCount.
- totalTokenCount() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Total number of tokens that the cached content consumes.
- totalTokenCount() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
The total number of tokens for the entire request.
- totalTokenCount() - Method in class com.google.genai.types.UsageMetadata
-
Total token count for prompt, response candidates, and tool-use prompts(if present).
- totalTokenCount(Integer) - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Setter for totalTokenCount.
- totalTokenCount(Integer) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for totalTokenCount.
- totalTokenCount(Integer) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for totalTokenCount.
- totalTokens() - Method in class com.google.genai.types.CountTokensResponse
-
Total number of tokens.
- totalTokens() - Method in class com.google.genai.types.CountTokensResult
-
The total number of tokens.
- totalTokens(Integer) - Method in class com.google.genai.types.CountTokensResponse.Builder
-
Setter for totalTokens.
- totalTokens(Integer) - Method in class com.google.genai.types.CountTokensResult.Builder
-
Setter for totalTokens.
- totalTruncatedExampleCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- totalTruncatedExampleCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for totalTruncatedExampleCount.
- totalTuningCharacterCount() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- totalTuningCharacterCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- totalTuningCharacterCount(Long) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for totalTuningCharacterCount.
- totalTuningCharacterCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for totalTuningCharacterCount.
- TRAFFIC_TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.TrafficType.Known
-
Unspecified request traffic type.
- trafficType() - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata
-
Output only.
- trafficType() - Method in class com.google.genai.types.UsageMetadata
-
Traffic type.
- trafficType(TrafficType) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for trafficType.
- trafficType(TrafficType) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for trafficType.
- trafficType(TrafficType.Known) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for trafficType given a known enum.
- trafficType(TrafficType.Known) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for trafficType given a known enum.
- trafficType(String) - Method in class com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
-
Setter for trafficType given a string.
- trafficType(String) - Method in class com.google.genai.types.UsageMetadata.Builder
-
Setter for trafficType given a string.
- TrafficType - Class in com.google.genai.types
-
Output only.
- TrafficType(TrafficType.Known) - Constructor for class com.google.genai.types.TrafficType
- TrafficType(String) - Constructor for class com.google.genai.types.TrafficType
- TrafficType.Known - Enum in com.google.genai.types
-
Enum representing the known values for TrafficType.
- TRAIN_EXTREMELY_LARGE_CORPUS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- TRAINER_SPEC_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto
- TRAINING_SENTENCE_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- trainingDataset() - Method in class com.google.genai.types.CreateTuningJobParameters
-
Cloud Storage path to file containing training dataset for tuning.
- trainingDataset() - Method in class com.google.genai.types.CreateTuningJobParametersPrivate
-
Cloud Storage path to file containing training dataset for tuning.
- trainingDataset(TuningDataset) - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Setter for trainingDataset.
- trainingDataset(TuningDataset) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for trainingDataset.
- trainingDataset(TuningDataset.Builder) - Method in class com.google.genai.types.CreateTuningJobParameters.Builder
-
Setter for trainingDataset builder.
- trainingDataset(TuningDataset.Builder) - Method in class com.google.genai.types.CreateTuningJobParametersPrivate.Builder
-
Setter for trainingDataset builder.
- trainingDatasetStats() - Method in class com.google.genai.types.DistillationDataStats
-
Output only.
- trainingDatasetStats(DatasetStats) - Method in class com.google.genai.types.DistillationDataStats.Builder
-
Setter for trainingDatasetStats.
- trainingDatasetStats(DatasetStats.Builder) - Method in class com.google.genai.types.DistillationDataStats.Builder
-
Setter for trainingDatasetStats builder.
- trainingDatasetUri() - Method in class com.google.genai.types.PartnerModelTuningSpec
-
Required.
- trainingDatasetUri() - Method in class com.google.genai.types.PreferenceOptimizationSpec
-
Required.
- trainingDatasetUri() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Required.
- trainingDatasetUri() - Method in class com.google.genai.types.VeoTuningSpec
-
Required.
- trainingDatasetUri(String) - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Setter for trainingDatasetUri.
- trainingDatasetUri(String) - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Setter for trainingDatasetUri.
- trainingDatasetUri(String) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for trainingDatasetUri.
- trainingDatasetUri(String) - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Setter for trainingDatasetUri.
- Transcription - Class in com.google.genai.types
-
Audio transcription in Server Conent.
- Transcription() - Constructor for class com.google.genai.types.Transcription
- Transcription.Builder - Class in com.google.genai.types
-
Builder for Transcription.
- transparent() - Method in class 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) - Method in class com.google.genai.types.SessionResumptionConfig.Builder
-
Setter for transparent.
- TREAT_WHITESPACE_AS_SUFFIX_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- triggerTokens() - Method in class com.google.genai.types.ContextWindowCompressionConfig
-
Number of tokens (before running turn) that triggers context window compression mechanism.
- triggerTokens(Long) - Method in class com.google.genai.types.ContextWindowCompressionConfig.Builder
-
Setter for triggerTokens.
- truncated() - Method in class com.google.genai.types.ContentEmbeddingStatistics
-
Vertex API only.
- truncated(boolean) - Method in class com.google.genai.types.ContentEmbeddingStatistics.Builder
-
Setter for truncated.
- truncatedExampleIndices() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- truncatedExampleIndices(Long...) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for truncatedExampleIndices.
- truncatedExampleIndices(List<Long>) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for truncatedExampleIndices.
- ttl() - Method in class com.google.genai.types.CreateCachedContentConfig
-
The TTL for this resource.
- ttl() - Method in class com.google.genai.types.UpdateCachedContentConfig
-
The TTL for this resource.
- ttl(Duration) - Method in class com.google.genai.types.CreateCachedContentConfig.Builder
-
Setter for ttl.
- ttl(Duration) - Method in class com.google.genai.types.UpdateCachedContentConfig.Builder
-
Setter for ttl.
- tune(String, TuningDataset, CreateTuningJobConfig) - Method in class com.google.genai.AsyncTunings
-
Asynchronously makes an API request to create a supervised fine-tuning job.
- tune(String, TuningDataset, CreateTuningJobConfig) - Method in class com.google.genai.Tunings
-
Makes an API request to create a supervised fine-tuning job.
- tunedModel() - Method in class com.google.genai.types.TuningJob
-
Output only.
- tunedModel(TunedModel) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for tunedModel.
- tunedModel(TunedModel.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for tunedModel builder.
- TunedModel - Class in com.google.genai.types
-
TunedModel for the Tuned Model of a Tuning Job.
- TunedModel() - Constructor for class com.google.genai.types.TunedModel
- TunedModel.Builder - Class in com.google.genai.types
-
Builder for TunedModel.
- TunedModelCheckpoint - Class in com.google.genai.types
-
TunedModelCheckpoint for the Tuned Model of a Tuning Job.
- TunedModelCheckpoint() - Constructor for class com.google.genai.types.TunedModelCheckpoint
- TunedModelCheckpoint.Builder - Class in com.google.genai.types
-
Builder for TunedModelCheckpoint.
- tunedModelDisplayName() - Method in class com.google.genai.types.CreateTuningJobConfig
-
The display name of the tuned Model.
- tunedModelDisplayName() - Method in class com.google.genai.types.TuningJob
-
Optional.
- tunedModelDisplayName(String) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for tunedModelDisplayName.
- tunedModelDisplayName(String) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for tunedModelDisplayName.
- tunedModelInfo() - Method in class com.google.genai.types.Model
-
Information about the tuned model from the base model.
- tunedModelInfo(TunedModelInfo) - Method in class com.google.genai.types.Model.Builder
-
Setter for tunedModelInfo.
- tunedModelInfo(TunedModelInfo.Builder) - Method in class com.google.genai.types.Model.Builder
-
Setter for tunedModelInfo builder.
- TunedModelInfo - Class in com.google.genai.types
-
A tuned machine learning model.
- TunedModelInfo() - Constructor for class com.google.genai.types.TunedModelInfo
- TunedModelInfo.Builder - Class in com.google.genai.types
-
Builder for TunedModelInfo.
- tunedModelName() - Method in class com.google.genai.types.PreTunedModel
-
The resource name of the Model.
- tunedModelName(String) - Method in class com.google.genai.types.PreTunedModel.Builder
-
Setter for tunedModelName.
- TUNING_METHOD_UNSPECIFIED - Enum constant in enum com.google.genai.types.TuningMethod.Known
- TUNING_MODE_FULL - Enum constant in enum com.google.genai.types.TuningMode.Known
-
Full fine-tuning mode.
- TUNING_MODE_PEFT_ADAPTER - Enum constant in enum com.google.genai.types.TuningMode.Known
-
PEFT adapter tuning mode.
- TUNING_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.TuningMode.Known
-
Tuning mode is unspecified.
- TUNING_TASK_I2V - Enum constant in enum com.google.genai.types.TuningTask.Known
-
Tuning task for image to video.
- TUNING_TASK_R2V - Enum constant in enum com.google.genai.types.TuningTask.Known
-
Tuning task for reference to video.
- TUNING_TASK_T2V - Enum constant in enum com.google.genai.types.TuningTask.Known
-
Tuning task for text to video.
- TUNING_TASK_UNSPECIFIED - Enum constant in enum com.google.genai.types.TuningTask.Known
-
Default value.
- TuningDataset - Class in com.google.genai.types
-
Supervised fine-tuning training dataset.
- TuningDataset() - Constructor for class com.google.genai.types.TuningDataset
- TuningDataset.Builder - Class in com.google.genai.types
-
Builder for TuningDataset.
- tuningDatasetExampleCount() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- tuningDatasetExampleCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- tuningDatasetExampleCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- tuningDatasetExampleCount(Long) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for tuningDatasetExampleCount.
- tuningDatasetExampleCount(Long) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for tuningDatasetExampleCount.
- tuningDatasetExampleCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for tuningDatasetExampleCount.
- tuningDataStats() - Method in class com.google.genai.types.TuningJob
-
Output only.
- tuningDataStats(TuningDataStats) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for tuningDataStats.
- tuningDataStats(TuningDataStats.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for tuningDataStats builder.
- TuningDataStats - Class in com.google.genai.types
-
The tuning data statistic values for TuningJob.
- TuningDataStats() - Constructor for class com.google.genai.types.TuningDataStats
- TuningDataStats.Builder - Class in com.google.genai.types
-
Builder for TuningDataStats.
- TuningExample - Class in com.google.genai.types
-
A single example for tuning.
- TuningExample() - Constructor for class com.google.genai.types.TuningExample
- TuningExample.Builder - Class in com.google.genai.types
-
Builder for TuningExample.
- TuningJob - Class in com.google.genai.types
-
A tuning job.
- TuningJob() - Constructor for class com.google.genai.types.TuningJob
- TuningJob.Builder - Class in com.google.genai.types
-
Builder for TuningJob.
- tuningJobs() - Method in class com.google.genai.types.ListTuningJobsResponse
-
List of TuningJobs in the requested page.
- tuningJobs(TuningJob...) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for tuningJobs.
- tuningJobs(TuningJob.Builder...) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for tuningJobs builder.
- tuningJobs(List<TuningJob>) - Method in class com.google.genai.types.ListTuningJobsResponse.Builder
-
Setter for tuningJobs.
- TuningMethod - Class in com.google.genai.types
-
Enum representing the tuning method.
- TuningMethod(TuningMethod.Known) - Constructor for class com.google.genai.types.TuningMethod
- TuningMethod(String) - Constructor for class com.google.genai.types.TuningMethod
- TuningMethod.Known - Enum in com.google.genai.types
-
Enum representing the known values for TuningMethod.
- tuningMode() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Tuning mode.
- tuningMode(TuningMode) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for tuningMode.
- tuningMode(TuningMode.Known) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for tuningMode given a known enum.
- tuningMode(String) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for tuningMode given a string.
- TuningMode - Class in com.google.genai.types
-
Tuning mode.
- TuningMode(TuningMode.Known) - Constructor for class com.google.genai.types.TuningMode
- TuningMode(String) - Constructor for class com.google.genai.types.TuningMode
- TuningMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for TuningMode.
- TuningOperation - Class in com.google.genai.types
-
A long-running operation.
- TuningOperation() - Constructor for class com.google.genai.types.TuningOperation
- TuningOperation.Builder - Class in com.google.genai.types
-
Builder for TuningOperation.
- tunings - Variable in class com.google.genai.Client.Async
- tunings - Variable in class com.google.genai.Client
- Tunings - Class in com.google.genai
- Tunings(ApiClient) - Constructor for class com.google.genai.Tunings
- tuningStepCount() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- tuningStepCount() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- tuningStepCount() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- tuningStepCount(Long) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for tuningStepCount.
- tuningStepCount(Long) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for tuningStepCount.
- tuningStepCount(Long) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for tuningStepCount.
- tuningTask() - Method in class com.google.genai.types.VeoHyperParameters
-
Optional.
- tuningTask(TuningTask) - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Setter for tuningTask.
- tuningTask(TuningTask.Known) - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Setter for tuningTask given a known enum.
- tuningTask(String) - Method in class com.google.genai.types.VeoHyperParameters.Builder
-
Setter for tuningTask given a string.
- TuningTask - Class in com.google.genai.types
-
The tuning task.
- TuningTask(TuningTask.Known) - Constructor for class com.google.genai.types.TuningTask
- TuningTask(String) - Constructor for class com.google.genai.types.TuningTask
- TuningTask.Known - Enum in com.google.genai.types
-
Enum representing the known values for TuningTask.
- TuningValidationDataset - Class in com.google.genai.types
-
None
- TuningValidationDataset() - Constructor for class com.google.genai.types.TuningValidationDataset
- TuningValidationDataset.Builder - Class in com.google.genai.types
-
Builder for TuningValidationDataset.
- TURN_COMPLETE_REASON_UNSPECIFIED - Enum constant in enum com.google.genai.types.TurnCompleteReason.Known
-
Default value.
- TURN_COVERAGE_UNSPECIFIED - Enum constant in enum com.google.genai.types.TurnCoverage.Known
-
If unspecified, the default behavior is `TURN_INCLUDES_ONLY_ACTIVITY`.
- TURN_INCLUDES_ALL_INPUT - Enum constant in enum com.google.genai.types.TurnCoverage.Known
-
The users turn includes all realtime input since the last turn, including inactivity (e.g.
- TURN_INCLUDES_ONLY_ACTIVITY - Enum constant in enum com.google.genai.types.TurnCoverage.Known
-
The users turn only includes activity since the last turn, excluding inactivity (e.g.
- turnComplete() - Method in class com.google.genai.types.LiveClientContent
-
If true, indicates that the server content generation should start with the currently accumulated prompt.
- turnComplete() - Method in class com.google.genai.types.LiveSendClientContentParameters
-
If true, indicates that the server content generation should start with the currently accumulated prompt.
- turnComplete() - Method in class com.google.genai.types.LiveServerContent
-
If true, indicates that the model is done generating.
- turnComplete(boolean) - Method in class com.google.genai.types.LiveClientContent.Builder
-
Setter for turnComplete.
- turnComplete(boolean) - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Setter for turnComplete.
- turnComplete(boolean) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for turnComplete.
- turnCompleteReason() - Method in class com.google.genai.types.LiveServerContent
-
Reason for the turn is complete.
- turnCompleteReason(TurnCompleteReason) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for turnCompleteReason.
- turnCompleteReason(TurnCompleteReason.Known) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for turnCompleteReason given a known enum.
- turnCompleteReason(String) - Method in class 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(TurnCompleteReason.Known) - Constructor for class com.google.genai.types.TurnCompleteReason
- TurnCompleteReason(String) - Constructor for class com.google.genai.types.TurnCompleteReason
- TurnCompleteReason.Known - Enum in com.google.genai.types
-
Enum representing the known values for TurnCompleteReason.
- turnCoverage() - Method in class com.google.genai.types.RealtimeInputConfig
-
Defines which input is included in the user's turn.
- turnCoverage(TurnCoverage) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for turnCoverage.
- turnCoverage(TurnCoverage.Known) - Method in class com.google.genai.types.RealtimeInputConfig.Builder
-
Setter for turnCoverage given a known enum.
- turnCoverage(String) - Method in class 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(TurnCoverage.Known) - Constructor for class com.google.genai.types.TurnCoverage
- TurnCoverage(String) - Constructor for class com.google.genai.types.TurnCoverage
- TurnCoverage.Known - Enum in com.google.genai.types
-
Enum representing the known values for TurnCoverage.
- turns() - Method in class com.google.genai.types.LiveClientContent
-
The content appended to the current conversation with the model.
- turns() - Method in class com.google.genai.types.LiveSendClientContentParameters
-
Client content to send to the session.
- turns(Content...) - Method in class com.google.genai.types.LiveClientContent.Builder
-
Setter for turns.
- turns(Content...) - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Setter for turns.
- turns(Content.Builder...) - Method in class com.google.genai.types.LiveClientContent.Builder
-
Setter for turns builder.
- turns(Content.Builder...) - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Setter for turns builder.
- turns(List<Content>) - Method in class com.google.genai.types.LiveClientContent.Builder
-
Setter for turns.
- turns(List<Content>) - Method in class com.google.genai.types.LiveSendClientContentParameters.Builder
-
Setter for turns.
- type() - Method in class com.google.genai.types.Schema
-
Optional.
- type(Type) - Method in class com.google.genai.types.Schema.Builder
-
Setter for type.
- type(Type.Known) - Method in class com.google.genai.types.Schema.Builder
-
Setter for type given a known enum.
- type(String) - Method in class com.google.genai.types.Schema.Builder
-
Setter for type given a string.
- Type - Class in com.google.genai.types
-
The type of the data.
- Type(Type.Known) - Constructor for class com.google.genai.types.Type
- Type(String) - Constructor for class com.google.genai.types.Type
- TYPE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.Type.Known
-
Not specified, should not be used.
- Type.Known - Enum in com.google.genai.types
-
Enum representing the known values for Type.
U
- UNEXPECTED_TOOL_CALL - Enum constant in enum com.google.genai.types.FinishReason.Known
-
The tool call generated by the model is invalid.
- UNIGRAM - Enum constant in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Unigram language model with dynamic algorithm
- UNIGRAM_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Unigram language model with dynamic algorithm
- UNK_ID_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- UNK_PIECE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- UNK_SURFACE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- UNKNOWN - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
unknown symbol.
- UNKNOWN - Enum constant in enum com.google.genai.types.ModelRoutingPreference.Known
- UNKNOWN_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
unknown symbol.
- UNSPECIFIED - Enum constant in enum com.google.genai.types.Behavior.Known
-
This value is unused.
- UNUSED - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
this piece is not used.
- UNUSED_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
this piece is not used.
- update(String, UpdateCachedContentConfig) - Method in class com.google.genai.AsyncCaches
-
Asynchronously updates a cached content resource.
- update(String, UpdateCachedContentConfig) - Method in class com.google.genai.Caches
-
Updates a cached content resource.
- update(String, UpdateModelConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously updates a tuned model by its name.
- update(String, UpdateModelConfig) - Method in class com.google.genai.Models
-
Updates a tuned model by its name.
- UpdateCachedContentConfig - Class in com.google.genai.types
-
Optional parameters for caches.update method.
- UpdateCachedContentConfig() - Constructor for class com.google.genai.types.UpdateCachedContentConfig
- UpdateCachedContentConfig.Builder - Class in com.google.genai.types
-
Builder for UpdateCachedContentConfig.
- UpdateCachedContentParameters - Class in com.google.genai.types
-
None
- UpdateCachedContentParameters() - Constructor for class com.google.genai.types.UpdateCachedContentParameters
- UpdateCachedContentParameters.Builder - Class in com.google.genai.types
-
Builder for UpdateCachedContentParameters.
- UpdateModelConfig - Class in com.google.genai.types
-
Configuration for updating a tuned model.
- UpdateModelConfig() - Constructor for class com.google.genai.types.UpdateModelConfig
- UpdateModelConfig.Builder - Class in com.google.genai.types
-
Builder for UpdateModelConfig.
- UpdateModelParameters - Class in com.google.genai.types
-
Configuration for updating a tuned model.
- UpdateModelParameters() - Constructor for class com.google.genai.types.UpdateModelParameters
- UpdateModelParameters.Builder - Class in com.google.genai.types
-
Builder for UpdateModelParameters.
- updateTime() - Method in class com.google.genai.types.BatchJob
-
The time when the BatchJob was last updated.
- updateTime() - Method in class com.google.genai.types.CachedContent
-
When the cache entry was last updated in UTC time.
- updateTime() - Method in class com.google.genai.types.Document
-
Output only.
- updateTime() - Method in class com.google.genai.types.File
-
Output only.
- updateTime() - Method in class com.google.genai.types.FileSearchStore
-
The Timestamp of when the FileSearchStore was last updated.
- updateTime() - Method in class com.google.genai.types.TunedModelInfo
-
Date and time when the base model was last updated.
- updateTime() - Method in class com.google.genai.types.TuningJob
-
Output only.
- updateTime(Instant) - Method in class com.google.genai.types.BatchJob.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.Document.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.File.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.FileSearchStore.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.TunedModelInfo.Builder
-
Setter for updateTime.
- updateTime(Instant) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for updateTime.
- upload(byte[], UploadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously uploads a bytes array as a file to the GenAI API.
- upload(byte[], UploadFileConfig) - Method in class com.google.genai.Files
-
Uploads a file to the API.
- upload(File, UploadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously uploads a file to the GenAI API.
- upload(File, UploadFileConfig) - Method in class com.google.genai.Files
-
Uploads a file to the API.
- upload(InputStream, long, UploadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously uploads a stream as a file to the GenAI API.
- upload(InputStream, long, UploadFileConfig) - Method in class com.google.genai.Files
-
Uploads a file to the API.
- upload(String, UploadFileConfig) - Method in class com.google.genai.AsyncFiles
-
Asynchronously uploads a file by its path to the GenAI API.
- upload(String, UploadFileConfig) - Method in class com.google.genai.Files
-
Uploads a file to the API.
- UPLOADED - Enum constant in enum com.google.genai.types.FileSource.Known
- UploadFileConfig - Class in com.google.genai.types
-
Used to override the default configuration.
- UploadFileConfig() - Constructor for class com.google.genai.types.UploadFileConfig
- UploadFileConfig.Builder - Class in com.google.genai.types
-
Builder for UploadFileConfig.
- uploadToFileSearchStore(String, byte[], UploadToFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
-
Uploads a file in bytes format to the file search store.
- uploadToFileSearchStore(String, byte[], UploadToFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
-
Uploads a file in bytes format to the file search store.
- uploadToFileSearchStore(String, File, UploadToFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
-
Uploads a file to the file search store.
- uploadToFileSearchStore(String, File, UploadToFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
-
Uploads a file to the file search store.
- uploadToFileSearchStore(String, InputStream, long, UploadToFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
-
Uploads a file as input stream to the API.
- uploadToFileSearchStore(String, InputStream, long, UploadToFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
-
Uploads a file as input stream to the API.
- uploadToFileSearchStore(String, String, UploadToFileSearchStoreConfig) - Method in class com.google.genai.AsyncFileSearchStores
-
Uploads a file to the API.
- uploadToFileSearchStore(String, String, UploadToFileSearchStoreConfig) - Method in class com.google.genai.FileSearchStores
-
Uploads a file to the API.
- UploadToFileSearchStoreConfig - Class in com.google.genai.types
-
Optional parameters for uploading a file to a FileSearchStore.
- UploadToFileSearchStoreConfig() - Constructor for class com.google.genai.types.UploadToFileSearchStoreConfig
- UploadToFileSearchStoreConfig.Builder - Class in com.google.genai.types
-
Builder for UploadToFileSearchStoreConfig.
- UploadToFileSearchStoreOperation - Class in com.google.genai.types
-
Long-running operation for uploading a file to a FileSearchStore.
- UploadToFileSearchStoreOperation() - Constructor for class com.google.genai.types.UploadToFileSearchStoreOperation
- UploadToFileSearchStoreOperation.Builder - Class in com.google.genai.types
-
Builder for UploadToFileSearchStoreOperation.
- uploadToFileSearchStoreOperationFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- UploadToFileSearchStoreParameters - Class in com.google.genai.types
-
Generates the parameters for the private _upload_to_file_search_store method.
- UploadToFileSearchStoreParameters() - Constructor for class com.google.genai.types.UploadToFileSearchStoreParameters
- UploadToFileSearchStoreParameters.Builder - Class in com.google.genai.types
-
Builder for UploadToFileSearchStoreParameters.
- UploadToFileSearchStoreResponse - Class in com.google.genai.types
-
The response when long-running operation for uploading a file to a FileSearchStore complete.
- UploadToFileSearchStoreResponse() - Constructor for class com.google.genai.types.UploadToFileSearchStoreResponse
- UploadToFileSearchStoreResponse.Builder - Class in com.google.genai.types
-
Builder for UploadToFileSearchStoreResponse.
- uploadToFileSearchStoreResponseFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- UploadToFileSearchStoreResumableResponse - Class in com.google.genai.types
-
Response for the resumable upload method.
- UploadToFileSearchStoreResumableResponse() - Constructor for class com.google.genai.types.UploadToFileSearchStoreResumableResponse
- UploadToFileSearchStoreResumableResponse.Builder - Class in com.google.genai.types
-
Builder for UploadToFileSearchStoreResumableResponse.
- upscaleFactor() - Method in class com.google.genai.types.UpscaleImageAPIParameters
-
The factor to upscale the image (x2 or x4).
- upscaleFactor() - Method in class com.google.genai.types.UpscaleImageParameters
-
The factor to upscale the image (x2 or x4).
- upscaleFactor(String) - Method in class com.google.genai.types.UpscaleImageAPIParameters.Builder
-
Setter for upscaleFactor.
- upscaleFactor(String) - Method in class com.google.genai.types.UpscaleImageParameters.Builder
-
Setter for upscaleFactor.
- upscaleImage(String, Image, String, UpscaleImageConfig) - Method in class com.google.genai.AsyncModels
-
Asynchronously upscales an image given a GenAI model and an image and an upscale factor.
- upscaleImage(String, Image, String, UpscaleImageConfig) - Method in class com.google.genai.Models
-
Upscales an image given a GenAI model and an image and an upscale factor.
- UpscaleImageAPIConfig - Class in com.google.genai.types
-
Internal API config for UpscaleImage.
- UpscaleImageAPIConfig() - Constructor for class com.google.genai.types.UpscaleImageAPIConfig
- UpscaleImageAPIConfig.Builder - Class in com.google.genai.types
-
Builder for UpscaleImageAPIConfig.
- UpscaleImageAPIParameters - Class in com.google.genai.types
-
API parameters for UpscaleImage.
- UpscaleImageAPIParameters() - Constructor for class com.google.genai.types.UpscaleImageAPIParameters
- UpscaleImageAPIParameters.Builder - Class in com.google.genai.types
-
Builder for UpscaleImageAPIParameters.
- UpscaleImageConfig - Class in com.google.genai.types
-
Configuration for upscaling an image.
- UpscaleImageConfig() - Constructor for class com.google.genai.types.UpscaleImageConfig
- UpscaleImageConfig.Builder - Class in com.google.genai.types
-
Builder for UpscaleImageConfig.
- UpscaleImageParameters - Class in com.google.genai.types
-
User-facing config UpscaleImageParameters.
- UpscaleImageParameters() - Constructor for class com.google.genai.types.UpscaleImageParameters
- UpscaleImageParameters.Builder - Class in com.google.genai.types
-
Builder for UpscaleImageParameters.
- UpscaleImageResponse - Class in com.google.genai.types
-
None
- UpscaleImageResponse() - Constructor for class com.google.genai.types.UpscaleImageResponse
- UpscaleImageResponse.Builder - Class in com.google.genai.types
-
Builder for UpscaleImageResponse.
- uri() - Method in class com.google.genai.types.Citation
-
Output only.
- uri() - Method in class com.google.genai.types.File
-
Output only.
- uri() - Method in class com.google.genai.types.GroundingChunkMaps
-
URI reference of the place.
- uri() - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
URI of the author of the Photo or Review.
- uri() - Method in class com.google.genai.types.GroundingChunkRetrievedContext
-
URI reference of the attribution.
- uri() - Method in class com.google.genai.types.GroundingChunkWeb
-
URI reference of the chunk.
- uri() - Method in class com.google.genai.types.Video
-
Path to another storage.
- uri(String) - Method in class com.google.genai.types.Citation.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.File.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.GroundingChunkMaps.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.GroundingChunkRetrievedContext.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.GroundingChunkWeb.Builder
-
Setter for uri.
- uri(String) - Method in class com.google.genai.types.Video.Builder
-
Setter for uri.
- url() - Method in class com.google.genai.types.ReplayRequest
- url(String) - Method in class com.google.genai.types.ReplayRequest.Builder
-
Setter for url.
- URL_RETRIEVAL_STATUS_ERROR - Enum constant in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Url retrieval is failed due to error.
- URL_RETRIEVAL_STATUS_PAYWALL - Enum constant in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Url retrieval is failed because the content is behind paywall.
- URL_RETRIEVAL_STATUS_SUCCESS - Enum constant in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Url retrieval is successful.
- URL_RETRIEVAL_STATUS_UNSAFE - Enum constant in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Url retrieval is failed because the content is unsafe.
- URL_RETRIEVAL_STATUS_UNSPECIFIED - Enum constant in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Default value.
- urlContext() - Method in class com.google.genai.types.Tool
-
Optional.
- urlContext(UrlContext) - Method in class com.google.genai.types.Tool.Builder
-
Setter for urlContext.
- urlContext(UrlContext.Builder) - Method in class com.google.genai.types.Tool.Builder
-
Setter for urlContext builder.
- UrlContext - Class in com.google.genai.types
-
Tool to support URL context.
- UrlContext() - Constructor for class com.google.genai.types.UrlContext
- UrlContext.Builder - Class in com.google.genai.types
-
Builder for UrlContext.
- urlContextMetadata() - Method in class com.google.genai.types.Candidate
-
Output only.
- urlContextMetadata() - Method in class com.google.genai.types.LiveServerContent
-
Metadata related to url context retrieval tool.
- urlContextMetadata(UrlContextMetadata) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for urlContextMetadata.
- urlContextMetadata(UrlContextMetadata) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for urlContextMetadata.
- urlContextMetadata(UrlContextMetadata.Builder) - Method in class com.google.genai.types.Candidate.Builder
-
Setter for urlContextMetadata builder.
- urlContextMetadata(UrlContextMetadata.Builder) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for urlContextMetadata builder.
- UrlContextMetadata - Class in com.google.genai.types
-
Metadata related to url context retrieval tool.
- UrlContextMetadata() - Constructor for class com.google.genai.types.UrlContextMetadata
- UrlContextMetadata.Builder - Class in com.google.genai.types
-
Builder for UrlContextMetadata.
- urlMetadata() - Method in class com.google.genai.types.UrlContextMetadata
-
Output only.
- urlMetadata(UrlMetadata...) - Method in class com.google.genai.types.UrlContextMetadata.Builder
-
Setter for urlMetadata.
- urlMetadata(UrlMetadata.Builder...) - Method in class com.google.genai.types.UrlContextMetadata.Builder
-
Setter for urlMetadata builder.
- urlMetadata(List<UrlMetadata>) - Method in class com.google.genai.types.UrlContextMetadata.Builder
-
Setter for urlMetadata.
- UrlMetadata - Class in com.google.genai.types
-
Context of the a single url retrieval.
- UrlMetadata() - Constructor for class com.google.genai.types.UrlMetadata
- UrlMetadata.Builder - Class in com.google.genai.types
-
Builder for UrlMetadata.
- urlRetrievalStatus() - Method in class com.google.genai.types.UrlMetadata
-
Status of the url retrieval.
- urlRetrievalStatus(UrlRetrievalStatus) - Method in class com.google.genai.types.UrlMetadata.Builder
-
Setter for urlRetrievalStatus.
- urlRetrievalStatus(UrlRetrievalStatus.Known) - Method in class com.google.genai.types.UrlMetadata.Builder
-
Setter for urlRetrievalStatus given a known enum.
- urlRetrievalStatus(String) - Method in class com.google.genai.types.UrlMetadata.Builder
-
Setter for urlRetrievalStatus given a string.
- UrlRetrievalStatus - Class in com.google.genai.types
-
Status of the url retrieval.
- UrlRetrievalStatus(UrlRetrievalStatus.Known) - Constructor for class com.google.genai.types.UrlRetrievalStatus
- UrlRetrievalStatus(String) - Constructor for class com.google.genai.types.UrlRetrievalStatus
- UrlRetrievalStatus.Known - Enum in com.google.genai.types
-
Enum representing the known values for UrlRetrievalStatus.
- usageMetadata() - Method in class com.google.genai.types.CachedContent
-
Metadata on the usage of the cached content.
- usageMetadata() - Method in class com.google.genai.types.GenerateContentResponse
-
Usage metadata about the response(s).
- usageMetadata() - Method in class com.google.genai.types.LiveServerMessage
-
Usage metadata about model response(s).
- usageMetadata(CachedContentUsageMetadata) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for usageMetadata.
- usageMetadata(CachedContentUsageMetadata.Builder) - Method in class com.google.genai.types.CachedContent.Builder
-
Setter for usageMetadata builder.
- usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for usageMetadata.
- usageMetadata(GenerateContentResponseUsageMetadata.Builder) - Method in class com.google.genai.types.GenerateContentResponse.Builder
-
Setter for usageMetadata builder.
- usageMetadata(UsageMetadata) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for usageMetadata.
- usageMetadata(UsageMetadata.Builder) - Method in class com.google.genai.types.LiveServerMessage.Builder
-
Setter for usageMetadata builder.
- UsageMetadata - Class in com.google.genai.types
-
Usage metadata about response(s).
- UsageMetadata() - Constructor for class com.google.genai.types.UsageMetadata
- UsageMetadata.Builder - Class in com.google.genai.types
-
Builder for UsageMetadata.
- USE_ALL_VOCAB_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- USER_DEFINED - Enum constant in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
user defined symbols.
- USER_DEFINED_SYMBOLS_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- USER_DEFINED_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
user defined symbols.
- userDatasetExamples() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- userDatasetExamples() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- userDatasetExamples() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- userDatasetExamples(Content...) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userDatasetExamples.
- userDatasetExamples(Content...) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userDatasetExamples.
- userDatasetExamples(Content.Builder...) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userDatasetExamples builder.
- userDatasetExamples(Content.Builder...) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userDatasetExamples builder.
- userDatasetExamples(GeminiPreferenceExample...) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userDatasetExamples.
- userDatasetExamples(GeminiPreferenceExample.Builder...) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userDatasetExamples builder.
- userDatasetExamples(List<Content>) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userDatasetExamples.
- userDatasetExamples(List<Content>) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userDatasetExamples.
- userDatasetExamples(List<GeminiPreferenceExample>) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userDatasetExamples.
- userInputTokenDistribution() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- userInputTokenDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- userInputTokenDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- userInputTokenDistribution(DatasetDistribution) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userInputTokenDistribution.
- userInputTokenDistribution(DatasetDistribution) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userInputTokenDistribution.
- userInputTokenDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userInputTokenDistribution builder.
- userInputTokenDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userInputTokenDistribution builder.
- userInputTokenDistribution(SupervisedTuningDatasetDistribution) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userInputTokenDistribution.
- userInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userInputTokenDistribution builder.
- userMessagePerExampleDistribution() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- userMessagePerExampleDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- userMessagePerExampleDistribution(DatasetDistribution) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userMessagePerExampleDistribution.
- userMessagePerExampleDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userMessagePerExampleDistribution builder.
- userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userMessagePerExampleDistribution.
- userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userMessagePerExampleDistribution builder.
- userOutputTokenDistribution() - Method in class com.google.genai.types.DatasetStats
-
Output only.
- userOutputTokenDistribution() - Method in class com.google.genai.types.PreferenceOptimizationDataStats
-
Output only.
- userOutputTokenDistribution() - Method in class com.google.genai.types.SupervisedTuningDataStats
-
Output only.
- userOutputTokenDistribution(DatasetDistribution) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userOutputTokenDistribution.
- userOutputTokenDistribution(DatasetDistribution) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userOutputTokenDistribution.
- userOutputTokenDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.DatasetStats.Builder
-
Setter for userOutputTokenDistribution builder.
- userOutputTokenDistribution(DatasetDistribution.Builder) - Method in class com.google.genai.types.PreferenceOptimizationDataStats.Builder
-
Setter for userOutputTokenDistribution builder.
- userOutputTokenDistribution(SupervisedTuningDatasetDistribution) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userOutputTokenDistribution.
- userOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder) - Method in class com.google.genai.types.SupervisedTuningDataStats.Builder
-
Setter for userOutputTokenDistribution builder.
V
- VALIDATED - Enum constant in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Model decides to predict either a function call or a natural language response, but will validate function calls with constrained decoding.
- validationDataset() - Method in class com.google.genai.types.CreateTuningJobConfig
-
Validation dataset for tuning.
- validationDataset(TuningValidationDataset) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for validationDataset.
- validationDataset(TuningValidationDataset.Builder) - Method in class com.google.genai.types.CreateTuningJobConfig.Builder
-
Setter for validationDataset builder.
- validationDatasetUri() - Method in class com.google.genai.types.PartnerModelTuningSpec
-
Optional.
- validationDatasetUri() - Method in class com.google.genai.types.PreferenceOptimizationSpec
-
Optional.
- validationDatasetUri() - Method in class com.google.genai.types.SupervisedTuningSpec
-
Optional.
- validationDatasetUri() - Method in class com.google.genai.types.VeoTuningSpec
-
Optional.
- validationDatasetUri(String) - Method in class com.google.genai.types.PartnerModelTuningSpec.Builder
-
Setter for validationDatasetUri.
- validationDatasetUri(String) - Method in class com.google.genai.types.PreferenceOptimizationSpec.Builder
-
Setter for validationDatasetUri.
- validationDatasetUri(String) - Method in class com.google.genai.types.SupervisedTuningSpec.Builder
-
Setter for validationDatasetUri.
- validationDatasetUri(String) - Method in class com.google.genai.types.VeoTuningSpec.Builder
-
Setter for validationDatasetUri.
- valueOf(int) - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Deprecated.
- valueOf(int) - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Deprecated.
- valueOf(Descriptors.EnumValueDescriptor) - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(Descriptors.EnumValueDescriptor) - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ActivityHandling.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.AdapterSize.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ApiSpec.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.AuthType.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Behavior.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.BlockedReason.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ControlReferenceType.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.DocumentState.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.DynamicRetrievalConfigMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.EditMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.EndSensitivity.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Environment.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FeatureSelectionPreference.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FileSource.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FileState.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FinishReason.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.FunctionResponseScheduling.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HarmBlockMethod.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HarmBlockThreshold.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HarmCategory.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HarmProbability.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HarmSeverity.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.HttpElementLocation.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ImagePromptLanguage.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.JobState.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Language.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.MaskReferenceMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.MediaModality.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.MediaResolution.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Modality.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Mode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ModelRoutingPreference.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.NullValue.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Outcome.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.PersonGeneration.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.PhishBlockThreshold.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.SafetyFilterLevel.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.SegmentMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.StartSensitivity.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.SubjectReferenceType.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.ThinkingLevel.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TrafficType.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TuningMethod.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TuningMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TuningTask.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TurnCompleteReason.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.TurnCoverage.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.Type.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.VideoCompressionQuality.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.genai.types.VideoGenerationReferenceType.Known
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.ActivityHandling.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.AdapterSize.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.ApiSpec.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.AuthType.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Behavior.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.BlockedReason.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.genai.types.ContentEmbedding
-
A list of floats representing an embedding.
- values() - Static method in enum com.google.genai.types.ControlReferenceType.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.DocumentState.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.DynamicRetrievalConfigMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.EditMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.EndSensitivity.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Environment.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FeatureSelectionPreference.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FileSource.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FileState.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FinishReason.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FunctionCallingConfigMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.FunctionResponseScheduling.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HarmBlockMethod.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HarmBlockThreshold.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HarmCategory.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HarmProbability.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HarmSeverity.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.HttpElementLocation.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.ImagePromptLanguage.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.JobState.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Language.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.MaskReferenceMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.MediaModality.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.MediaResolution.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Modality.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Mode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.ModelRoutingPreference.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.NullValue.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Outcome.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.PartMediaResolutionLevel.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.PersonGeneration.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.PhishBlockThreshold.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.SafetyFilterLevel.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.SegmentMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.StartSensitivity.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.genai.types.StringList
-
The string values of the metadata to store.
- values() - Static method in enum com.google.genai.types.SubjectReferenceType.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.ThinkingLevel.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TrafficType.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TuningMethod.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TuningMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TuningTask.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TurnCompleteReason.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.TurnCoverage.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.Type.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.UrlRetrievalStatus.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.VideoCompressionQuality.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.VideoGenerationMaskMode.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.genai.types.VideoGenerationReferenceType.Known
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values(Float...) - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Setter for values.
- values(String...) - Method in class com.google.genai.types.StringList.Builder
-
Setter for values.
- values(List<Float>) - Method in class com.google.genai.types.ContentEmbedding.Builder
-
Setter for values.
- values(List<String>) - Method in class com.google.genai.types.StringList.Builder
-
Setter for values.
- vectorDistanceThreshold() - Method in class com.google.genai.types.RagRetrievalConfigFilter
-
Optional.
- vectorDistanceThreshold() - Method in class com.google.genai.types.VertexRagStore
-
Optional.
- vectorDistanceThreshold(Double) - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Setter for vectorDistanceThreshold.
- vectorDistanceThreshold(Double) - Method in class com.google.genai.types.VertexRagStore.Builder
-
Setter for vectorDistanceThreshold.
- vectorSimilarityThreshold() - Method in class com.google.genai.types.RagRetrievalConfigFilter
-
Optional.
- vectorSimilarityThreshold(Double) - Method in class com.google.genai.types.RagRetrievalConfigFilter.Builder
-
Setter for vectorSimilarityThreshold.
- VeoHyperParameters - Class in com.google.genai.types
-
Hyperparameters for Veo.
- VeoHyperParameters() - Constructor for class com.google.genai.types.VeoHyperParameters
- VeoHyperParameters.Builder - Class in com.google.genai.types
-
Builder for VeoHyperParameters.
- veoTuningSpec() - Method in class com.google.genai.types.TuningJob
-
Tuning Spec for Veo Tuning.
- veoTuningSpec(VeoTuningSpec) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for veoTuningSpec.
- veoTuningSpec(VeoTuningSpec.Builder) - Method in class com.google.genai.types.TuningJob.Builder
-
Setter for veoTuningSpec builder.
- VeoTuningSpec - Class in com.google.genai.types
-
Tuning Spec for Veo Model Tuning.
- VeoTuningSpec() - Constructor for class com.google.genai.types.VeoTuningSpec
- VeoTuningSpec.Builder - Class in com.google.genai.types
-
Builder for VeoTuningSpec.
- version() - Method in class com.google.genai.types.Model
-
Version ID of the model.
- version(String) - Method in class com.google.genai.types.Model.Builder
-
Setter for version.
- vertexAI() - Method in class com.google.genai.HttpApiClient
-
Returns whether the client is using Vertex AI APIs.
- vertexAI() - Method in class com.google.genai.Client
-
Returns whether the client is using Vertex AI APIs.
- vertexAI(boolean) - Method in class com.google.genai.Client.Builder
-
Sets whether to use Vertex AI APIs.
- vertexAiSearch() - Method in class com.google.genai.types.Retrieval
-
Set to use data source powered by Vertex AI Search.
- vertexAiSearch(VertexAISearch) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for vertexAiSearch.
- vertexAiSearch(VertexAISearch.Builder) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for vertexAiSearch builder.
- VertexAISearch - Class in com.google.genai.types
-
Retrieve from Vertex AI Search datastore or engine for grounding.
- VertexAISearch() - Constructor for class com.google.genai.types.VertexAISearch
- VertexAISearch.Builder - Class in com.google.genai.types
-
Builder for VertexAISearch.
- VertexAISearchDataStoreSpec - Class in com.google.genai.types
-
Define data stores within engine to filter on in a search call and configurations for those data stores.
- VertexAISearchDataStoreSpec() - Constructor for class com.google.genai.types.VertexAISearchDataStoreSpec
- VertexAISearchDataStoreSpec.Builder - Class in com.google.genai.types
-
Builder for VertexAISearchDataStoreSpec.
- vertexDatasetResource() - Method in class com.google.genai.types.TuningDataset
-
The resource name of the Vertex Multimodal Dataset that is used as training dataset.
- vertexDatasetResource() - Method in class com.google.genai.types.TuningValidationDataset
-
The resource name of the Vertex Multimodal Dataset that is used as validation dataset.
- vertexDatasetResource(String) - Method in class com.google.genai.types.TuningDataset.Builder
-
Setter for vertexDatasetResource.
- vertexDatasetResource(String) - Method in class com.google.genai.types.TuningValidationDataset.Builder
-
Setter for vertexDatasetResource.
- vertexRagStore() - Method in class com.google.genai.types.Retrieval
-
Set to use data source powered by Vertex RAG store.
- vertexRagStore(VertexRagStore) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for vertexRagStore.
- vertexRagStore(VertexRagStore.Builder) - Method in class com.google.genai.types.Retrieval.Builder
-
Setter for vertexRagStore builder.
- VertexRagStore - Class in com.google.genai.types
-
Retrieve from Vertex RAG Store for grounding.
- VertexRagStore() - Constructor for class com.google.genai.types.VertexRagStore
- VertexRagStore.Builder - Class in com.google.genai.types
-
Builder for VertexRagStore.
- VertexRagStoreRagResource - Class in com.google.genai.types
-
The definition of the Rag resource.
- VertexRagStoreRagResource() - Constructor for class com.google.genai.types.VertexRagStoreRagResource
- VertexRagStoreRagResource.Builder - Class in com.google.genai.types
-
Builder for VertexRagStoreRagResource.
- video() - Method in class com.google.genai.types.GeneratedVideo
-
The output video
- video() - Method in class com.google.genai.types.GenerateVideosParameters
-
The input video for video extension use cases.
- video() - Method in class com.google.genai.types.GenerateVideosSource
-
The input video for video extension use cases.
- video() - Method in class com.google.genai.types.LiveClientRealtimeInput
-
The realtime video input stream.
- video() - Method in class com.google.genai.types.LiveSendRealtimeInputParameters
-
The realtime video input stream.
- video(Blob) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for video.
- video(Blob) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for video.
- video(Blob.Builder) - Method in class com.google.genai.types.LiveClientRealtimeInput.Builder
-
Setter for video builder.
- video(Blob.Builder) - Method in class com.google.genai.types.LiveSendRealtimeInputParameters.Builder
-
Setter for video builder.
- video(Video) - Method in class com.google.genai.types.GeneratedVideo.Builder
-
Setter for video.
- video(Video) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for video.
- video(Video) - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Setter for video.
- video(Video.Builder) - Method in class com.google.genai.types.GeneratedVideo.Builder
-
Setter for video builder.
- video(Video.Builder) - Method in class com.google.genai.types.GenerateVideosParameters.Builder
-
Setter for video builder.
- video(Video.Builder) - Method in class com.google.genai.types.GenerateVideosSource.Builder
-
Setter for video builder.
- Video - Class in com.google.genai.types
-
A generated video.
- Video() - Constructor for class com.google.genai.types.Video
- VIDEO - Enum constant in enum com.google.genai.types.MediaModality.Known
-
Video.
- VIDEO_COMPRESSION_QUALITY_UNSPECIFIED - Enum constant in enum com.google.genai.types.VideoCompressionQuality.Known
- VIDEO_GENERATION_MASK_MODE_UNSPECIFIED - Enum constant in enum com.google.genai.types.VideoGenerationMaskMode.Known
- VIDEO_GENERATION_REFERENCE_TYPE_UNSPECIFIED - Enum constant in enum com.google.genai.types.VideoGenerationReferenceType.Known
- Video.Builder - Class in com.google.genai.types
-
Builder for Video.
- videoBytes() - Method in class com.google.genai.types.Video
-
Video bytes.
- videoBytes(byte[]) - Method in class com.google.genai.types.Video.Builder
-
Setter for videoBytes.
- VideoCompressionQuality - Class in com.google.genai.types
-
Enum that controls the compression quality of the generated videos.
- VideoCompressionQuality(VideoCompressionQuality.Known) - Constructor for class com.google.genai.types.VideoCompressionQuality
- VideoCompressionQuality(String) - Constructor for class com.google.genai.types.VideoCompressionQuality
- VideoCompressionQuality.Known - Enum in com.google.genai.types
-
Enum representing the known values for VideoCompressionQuality.
- videoDurationSeconds() - Method in class com.google.genai.types.CachedContentUsageMetadata
-
Duration of video in seconds.
- videoDurationSeconds(Integer) - Method in class com.google.genai.types.CachedContentUsageMetadata.Builder
-
Setter for videoDurationSeconds.
- videoFromMldev(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- videoFromVertex(JsonNode, ObjectNode) - Method in class com.google.genai.OperationsConverters
- VideoGenerationMask - Class in com.google.genai.types
-
A mask for video generation.
- VideoGenerationMask() - Constructor for class com.google.genai.types.VideoGenerationMask
- VideoGenerationMask.Builder - Class in com.google.genai.types
-
Builder for VideoGenerationMask.
- VideoGenerationMaskMode - Class in com.google.genai.types
-
Enum for the mask mode of a video generation mask.
- VideoGenerationMaskMode(VideoGenerationMaskMode.Known) - Constructor for class com.google.genai.types.VideoGenerationMaskMode
- VideoGenerationMaskMode(String) - Constructor for class com.google.genai.types.VideoGenerationMaskMode
- VideoGenerationMaskMode.Known - Enum in com.google.genai.types
-
Enum representing the known values for VideoGenerationMaskMode.
- VideoGenerationReferenceImage - Class in com.google.genai.types
-
A reference image for video generation.
- VideoGenerationReferenceImage() - Constructor for class com.google.genai.types.VideoGenerationReferenceImage
- VideoGenerationReferenceImage.Builder - Class in com.google.genai.types
-
Builder for VideoGenerationReferenceImage.
- VideoGenerationReferenceType - Class in com.google.genai.types
-
Enum for the reference type of a video generation reference image.
- VideoGenerationReferenceType(VideoGenerationReferenceType.Known) - Constructor for class com.google.genai.types.VideoGenerationReferenceType
- VideoGenerationReferenceType(String) - Constructor for class com.google.genai.types.VideoGenerationReferenceType
- VideoGenerationReferenceType.Known - Enum in com.google.genai.types
-
Enum representing the known values for VideoGenerationReferenceType.
- videoMetadata() - Method in class com.google.genai.types.File
-
Output only.
- videoMetadata() - Method in class com.google.genai.types.Part
-
Optional.
- videoMetadata(VideoMetadata) - Method in class com.google.genai.types.Part.Builder
-
Setter for videoMetadata.
- videoMetadata(VideoMetadata.Builder) - Method in class com.google.genai.types.Part.Builder
-
Setter for videoMetadata builder.
- videoMetadata(Map<String, Object>) - Method in class com.google.genai.types.File.Builder
-
Setter for videoMetadata.
- VideoMetadata - Class in com.google.genai.types
-
Metadata describes the input video content.
- VideoMetadata() - Constructor for class com.google.genai.types.VideoMetadata
- VideoMetadata.Builder - Class in com.google.genai.types
-
Builder for VideoMetadata.
- VOCAB_SIZE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- VOCABULARY_OUTPUT_PIECE_SCORE_FIELD_NUMBER - Static variable in class com.google.genai.proto.SentencepieceModel.TrainerSpec
- voiceConfig() - Method in class com.google.genai.types.SpeakerVoiceConfig
-
Required.
- voiceConfig() - Method in class com.google.genai.types.SpeechConfig
-
The configuration for the speaker to use.
- voiceConfig(VoiceConfig) - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
-
Setter for voiceConfig.
- voiceConfig(VoiceConfig) - Method in class com.google.genai.types.SpeechConfig.Builder
-
Setter for voiceConfig.
- voiceConfig(VoiceConfig.Builder) - Method in class com.google.genai.types.SpeakerVoiceConfig.Builder
-
Setter for voiceConfig builder.
- voiceConfig(VoiceConfig.Builder) - Method in class com.google.genai.types.SpeechConfig.Builder
-
Setter for voiceConfig builder.
- VoiceConfig - Class in com.google.genai.types
-
The configuration for the voice to use.
- VoiceConfig() - Constructor for class com.google.genai.types.VoiceConfig
- VoiceConfig.Builder - Class in com.google.genai.types
-
Builder for VoiceConfig.
- voiceName() - Method in class com.google.genai.types.PrebuiltVoiceConfig
-
The name of the preset voice to use.
- voiceName(String) - Method in class com.google.genai.types.PrebuiltVoiceConfig.Builder
-
Setter for voiceName.
W
- waitingForInput() - Method in class com.google.genai.types.LiveServerContent
-
If true, indicates that the model is not generating content because it is waiting for more input from the user, e.g.
- waitingForInput(boolean) - Method in class com.google.genai.types.LiveServerContent.Builder
-
Setter for waitingForInput.
- web() - Method in class com.google.genai.types.GroundingChunk
-
Grounding chunk from the web.
- web(GroundingChunkWeb) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for web.
- web(GroundingChunkWeb.Builder) - Method in class com.google.genai.types.GroundingChunk.Builder
-
Setter for web builder.
- webSearchQueries() - Method in class com.google.genai.types.GroundingMetadata
-
Optional.
- webSearchQueries(String...) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for webSearchQueries.
- webSearchQueries(List<String>) - Method in class com.google.genai.types.GroundingMetadata.Builder
-
Setter for webSearchQueries.
- WHEN_IDLE - Enum constant in enum com.google.genai.types.FunctionResponseScheduling.Known
-
Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.
- whiteSpaceConfig() - Method in class com.google.genai.types.ChunkingConfig
-
White space chunking configuration.
- whiteSpaceConfig(WhiteSpaceConfig) - Method in class com.google.genai.types.ChunkingConfig.Builder
-
Setter for whiteSpaceConfig.
- whiteSpaceConfig(WhiteSpaceConfig.Builder) - Method in class com.google.genai.types.ChunkingConfig.Builder
-
Setter for whiteSpaceConfig builder.
- WhiteSpaceConfig - Class in com.google.genai.types
-
Configuration for a white space chunking algorithm.
- WhiteSpaceConfig() - Constructor for class com.google.genai.types.WhiteSpaceConfig
- WhiteSpaceConfig.Builder - Class in com.google.genai.types
-
Builder for WhiteSpaceConfig.
- willContinue() - Method in class com.google.genai.types.FunctionCall
-
Optional.
- willContinue() - Method in class com.google.genai.types.FunctionResponse
-
Signals that function call continues, and more responses will be returned, turning the function call into a generator.
- willContinue() - Method in class com.google.genai.types.PartialArg
-
Optional.
- willContinue(boolean) - Method in class com.google.genai.types.FunctionCall.Builder
-
Setter for willContinue.
- willContinue(boolean) - Method in class com.google.genai.types.FunctionResponse.Builder
-
Setter for willContinue.
- willContinue(boolean) - Method in class com.google.genai.types.PartialArg.Builder
-
Setter for willContinue.
- WORD - Enum constant in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Delimitered by whitespace.
- WORD_VALUE - Static variable in enum com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
-
Delimitered by whitespace.
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.ModelProto
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.NormalizerSpec
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.SelfTestData
- writeTo(CodedOutputStream) - Method in class com.google.genai.proto.SentencepieceModel.TrainerSpec
Y
- year() - Method in class com.google.genai.types.GoogleTypeDate
-
Year of the date.
- year(Integer) - Method in class com.google.genai.types.GoogleTypeDate.Builder
-
Setter for year.
Z
- ZH - Enum constant in enum com.google.genai.types.ImagePromptLanguage.Known
-
Chinese
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form