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

C

CachedContent - class in com.google.genai.types
A resource used in LLM queries for users to explicitly specify what to cache.
cachedContent() - function in com.google.genai.types.GenerateContentConfig
Resource name of a context cache that can be used in subsequent requests.
cachedContent(java.lang.String) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for cachedContent.
CachedContent.Builder - class in com.google.genai.types.CachedContent
Builder for CachedContent.
cachedContents() - function in com.google.genai.types.ListCachedContentsResponse
List of cached contents.
cachedContents(kotlin.Array) - function in com.google.genai.types.ListCachedContentsResponse.Builder
Setter for cachedContents.
cachedContents(kotlin.Array) - function in com.google.genai.types.ListCachedContentsResponse.Builder
Setter for cachedContents builder.
cachedContents(java.util.List) - function in com.google.genai.types.ListCachedContentsResponse.Builder
Setter for cachedContents.
cachedContentTokenCount() - function in com.google.genai.types.CountTokensResponse
Number of tokens in the cached part of the prompt (the cached content).
cachedContentTokenCount(java.lang.Integer) - function in com.google.genai.types.CountTokensResponse.Builder
Setter for cachedContentTokenCount.
cachedContentTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
cachedContentTokenCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for cachedContentTokenCount.
cachedContentTokenCount() - function in com.google.genai.types.UsageMetadata
Number of tokens in the cached part of the prompt (the cached content).
cachedContentTokenCount(java.lang.Integer) - function in 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.Builder - class in com.google.genai.types.CachedContentUsageMetadata
Builder for CachedContentUsageMetadata.
Caches - class in com.google.genai
Provides methods for managing the cached content.
cacheTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
cacheTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for cacheTokensDetails.
cacheTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for cacheTokensDetails builder.
cacheTokensDetails(java.util.List) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for cacheTokensDetails.
cacheTokensDetails() - function in com.google.genai.types.UsageMetadata
List of modalities that were processed in the cache input.
cacheTokensDetails(kotlin.Array) - function in com.google.genai.types.UsageMetadata.Builder
Setter for cacheTokensDetails.
cacheTokensDetails(kotlin.Array) - function in com.google.genai.types.UsageMetadata.Builder
Setter for cacheTokensDetails builder.
cacheTokensDetails(java.util.List) - function in com.google.genai.types.UsageMetadata.Builder
Setter for cacheTokensDetails.
camelToSnake(java.lang.String) - function in com.google.genai.Transformers
Converts a camelCase string to snake_case.
cancel(java.lang.String,com.google.genai.types.CancelBatchJobConfig) - function in com.google.genai.AsyncBatches
Asynchronously cancels a batch job resource.
cancel(java.lang.String,com.google.genai.types.CancelTuningJobConfig) - function in com.google.genai.AsyncTunings
Asynchronously cancels a tuning job resource.
cancel(java.lang.String,com.google.genai.types.CancelBatchJobConfig) - function in com.google.genai.Batches
Cancels a batch job resource.
cancel(java.lang.String,com.google.genai.types.CancelTuningJobConfig) - function in com.google.genai.Tunings
Cancels a tuning job resource.
CancelBatchJobConfig - class in com.google.genai.types
Optional parameters.
CancelBatchJobConfig.Builder - class in com.google.genai.types.CancelBatchJobConfig
Builder for CancelBatchJobConfig.
CancelBatchJobParameters - class in com.google.genai.types
Config for batches.cancel parameters.
CancelBatchJobParameters.Builder - class in com.google.genai.types.CancelBatchJobParameters
Builder for CancelBatchJobParameters.
CancelTuningJobConfig - class in com.google.genai.types
Optional parameters for tunings.cancel method.
CancelTuningJobConfig.Builder - class in com.google.genai.types.CancelTuningJobConfig
Builder for CancelTuningJobConfig.
CancelTuningJobParameters - class in com.google.genai.types
Parameters for the cancel method.
CancelTuningJobParameters.Builder - class in com.google.genai.types.CancelTuningJobParameters
Builder for CancelTuningJobParameters.
CancelTuningJobResponse - class in com.google.genai.types
Empty response for tunings.cancel method.
CancelTuningJobResponse.Builder - class in com.google.genai.types.CancelTuningJobResponse
Builder for CancelTuningJobResponse.
Candidate - class in com.google.genai.types
A response candidate generated from the model.
CANDIDATE - enum entry in com.google.genai.types.PairwiseChoice.Known

Candidate prediction wins

Candidate.Builder - class in com.google.genai.types.Candidate
Builder for Candidate.
candidateCount() - function in com.google.genai.types.GenerateContentConfig
Number of response variations to return.
candidateCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for candidateCount.
candidateCount() - function in com.google.genai.types.GenerationConfig
Optional.
candidateCount(java.lang.Integer) - function in com.google.genai.types.GenerationConfig.Builder
Setter for candidateCount.
candidateResponseFieldName() - function in com.google.genai.types.PairwiseMetricSpec
Optional.
candidateResponseFieldName(java.lang.String) - function in com.google.genai.types.PairwiseMetricSpec.Builder
Setter for candidateResponseFieldName.
candidates() - function in com.google.genai.types.GenerateContentResponse
Response variations returned by the model.
candidates(kotlin.Array) - function in com.google.genai.types.GenerateContentResponse.Builder
Setter for candidates.
candidates(kotlin.Array) - function in com.google.genai.types.GenerateContentResponse.Builder
Setter for candidates builder.
candidates(java.util.List) - function in com.google.genai.types.GenerateContentResponse.Builder
Setter for candidates.
candidates() - function in com.google.genai.types.LogprobsResultTopCandidates
The list of candidate tokens, sorted by log probability in descending order.
candidates(kotlin.Array) - function in com.google.genai.types.LogprobsResultTopCandidates.Builder
Setter for candidates.
candidates(kotlin.Array) - function in com.google.genai.types.LogprobsResultTopCandidates.Builder
Setter for candidates builder.
candidates(java.util.List) - function in com.google.genai.types.LogprobsResultTopCandidates.Builder
Setter for candidates.
candidatesTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
The total number of tokens in the generated candidates.
candidatesTokenCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for candidatesTokenCount.
candidatesTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
candidatesTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for candidatesTokensDetails.
candidatesTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for candidatesTokensDetails builder.
candidatesTokensDetails(java.util.List) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for candidatesTokensDetails.
categories() - function in com.google.genai.types.SafetyAttributes
List of RAI categories.
categories(kotlin.Array) - function in com.google.genai.types.SafetyAttributes.Builder
Setter for categories.
categories(java.util.List) - function in com.google.genai.types.SafetyAttributes.Builder
Setter for categories.
category() - function in com.google.genai.types.SafetyRating
Output only.
category(com.google.genai.types.HarmCategory) - function in com.google.genai.types.SafetyRating.Builder
Setter for category.
category(com.google.genai.types.HarmCategory.Known) - function in com.google.genai.types.SafetyRating.Builder
Setter for category given a known enum.
category(java.lang.String) - function in com.google.genai.types.SafetyRating.Builder
Setter for category given a string.
category() - function in com.google.genai.types.SafetySetting
Required.
category(com.google.genai.types.HarmCategory) - function in com.google.genai.types.SafetySetting.Builder
Setter for category.
category(com.google.genai.types.HarmCategory.Known) - function in com.google.genai.types.SafetySetting.Builder
Setter for category given a known enum.
category(java.lang.String) - function in com.google.genai.types.SafetySetting.Builder
Setter for category given a string.
CHAR - enum entry in com.google.genai.proto.SentencepieceModel.TrainerSpec.ModelType
tokenizes into character sequence
CHAR = 4;
Chat - class in com.google.genai
A chat session with a generative model.
Chats - class in com.google.genai
A class for creating chat sessions.
checkFinishReason() - function in 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.Builder - class in com.google.genai.types.Checkpoint
Builder for Checkpoint.
checkpointId() - function in com.google.genai.types.Checkpoint
The ID of the checkpoint.
checkpointId(java.lang.String) - function in com.google.genai.types.Checkpoint.Builder
Setter for checkpointId.
checkpointId() - function in com.google.genai.types.EvaluateDatasetRun
Output only.
checkpointId(java.lang.String) - function in com.google.genai.types.EvaluateDatasetRun.Builder
Setter for checkpointId.
checkpointId() - function in com.google.genai.types.PreTunedModel
Optional.
checkpointId(java.lang.String) - function in com.google.genai.types.PreTunedModel.Builder
Setter for checkpointId.
checkpointId() - function in com.google.genai.types.TunedModelCheckpoint
The ID of the checkpoint.
checkpointId(java.lang.String) - function in com.google.genai.types.TunedModelCheckpoint.Builder
Setter for checkpointId.
checkpoints() - function in com.google.genai.types.Model
The checkpoints of the model.
checkpoints(kotlin.Array) - function in com.google.genai.types.Model.Builder
Setter for checkpoints.
checkpoints(kotlin.Array) - function in com.google.genai.types.Model.Builder
Setter for checkpoints builder.
checkpoints(java.util.List) - function in com.google.genai.types.Model.Builder
Setter for checkpoints.
checkpoints() - function in com.google.genai.types.TunedModel
The checkpoints associated with this TunedModel.
checkpoints(kotlin.Array) - function in com.google.genai.types.TunedModel.Builder
Setter for checkpoints.
checkpoints(kotlin.Array) - function in com.google.genai.types.TunedModel.Builder
Setter for checkpoints builder.
checkpoints(java.util.List) - function in com.google.genai.types.TunedModel.Builder
Setter for checkpoints.
chosenCandidates() - function in com.google.genai.types.LogprobsResult
A list of the chosen candidate tokens at each decoding step.
chosenCandidates(kotlin.Array) - function in com.google.genai.types.LogprobsResult.Builder
Setter for chosenCandidates.
chosenCandidates(kotlin.Array) - function in com.google.genai.types.LogprobsResult.Builder
Setter for chosenCandidates builder.
chosenCandidates(java.util.List) - function in com.google.genai.types.LogprobsResult.Builder
Setter for chosenCandidates.
ChunkingConfig - class in com.google.genai.types
Config for telling the service how to chunk the file.
chunkingConfig() - function in com.google.genai.types.ImportFileConfig
Config for telling the service how to chunk the file.
chunkingConfig(com.google.genai.types.ChunkingConfig) - function in com.google.genai.types.ImportFileConfig.Builder
Setter for chunkingConfig.
chunkingConfig(com.google.genai.types.ChunkingConfig.Builder) - function in com.google.genai.types.ImportFileConfig.Builder
Setter for chunkingConfig builder.
chunkingConfig() - function in com.google.genai.types.UploadToFileSearchStoreConfig
Config for telling the service how to chunk the file.
chunkingConfig(com.google.genai.types.ChunkingConfig) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Setter for chunkingConfig.
chunkingConfig(com.google.genai.types.ChunkingConfig.Builder) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Setter for chunkingConfig builder.
ChunkingConfig.Builder - class in com.google.genai.types.ChunkingConfig
Builder for ChunkingConfig.
Citation - class in com.google.genai.types
A citation for a piece of generatedcontent.
Citation.Builder - class in com.google.genai.types.Citation
Builder for Citation.
citationMetadata() - function in com.google.genai.types.Candidate
Source attribution of the generated content.
citationMetadata(com.google.genai.types.CitationMetadata) - function in com.google.genai.types.Candidate.Builder
Setter for citationMetadata.
citationMetadata(com.google.genai.types.CitationMetadata.Builder) - function in 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.Builder - class in com.google.genai.types.CitationMetadata
Builder for CitationMetadata.
citations() - function in com.google.genai.types.CitationMetadata
Contains citation information when the model directly quotes, at length, from another source.
citations(kotlin.Array) - function in com.google.genai.types.CitationMetadata.Builder
Setter for citations.
citations(kotlin.Array) - function in com.google.genai.types.CitationMetadata.Builder
Setter for citations builder.
citations(java.util.List) - function in com.google.genai.types.CitationMetadata.Builder
Setter for citations.
clear() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
 
clear() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
 
clear() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
 
clear() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
 
clear() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
 
clear() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
 
clear() - function in com.google.protobuf.AbstractMessage.Builder
 
clear() - function in com.google.protobuf.Message.Builder
 
clearAcceptLanguage() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
List of the languages this model can accept.
Since the model is language-agnostic, this field is used as a reference.
repeated string accept_language = 5;
clearAccessToken() - function in com.google.genai.types.AuthConfigOauthConfig.Builder
Clears the value of accessToken field.
clearActiveDocumentsCount() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of activeDocumentsCount field.
clearActivityEnd() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of activityEnd field.
clearActivityEnd() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of activityEnd field.
clearActivityHandling() - function in com.google.genai.types.RealtimeInputConfig.Builder
Clears the value of activityHandling field.
clearActivityStart() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of activityStart field.
clearActivityStart() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of activityStart field.
clearAdapterSize() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of adapterSize field.
clearAdapterSize() - function in com.google.genai.types.DistillationHyperParameters.Builder
Clears the value of adapterSize field.
clearAdapterSize() - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
Clears the value of adapterSize field.
clearAdapterSize() - function in com.google.genai.types.SupervisedHyperParameters.Builder
Clears the value of adapterSize field.
clearAddDummyPrefix() - function in 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.
optional bool add_dummy_prefix = 3 [default = true];
clearAdditionalConfig() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of additionalConfig field.
clearAddWatermark() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of addWatermark field.
clearAddWatermark() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of addWatermark field.
clearAddWatermark() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of addWatermark field.
clearAggregationMetric() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of aggregationMetric field.
clearAggregationOutput() - function in com.google.genai.types.EvaluateDatasetResponse.Builder
Clears the value of aggregationOutput field.
clearAggregationResults() - function in com.google.genai.types.AggregationOutput.Builder
Clears the value of aggregationResults field.
clearAllowedFunctionNames() - function in com.google.genai.types.FunctionCallingConfig.Builder
Clears the value of allowedFunctionNames field.
clearAllowWhitespaceOnlyPieces() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Allows pieces that only contain whitespaces instead of appearing only as
prefix or suffix of other pieces.
optional bool allow_whitespace_only_pieces = 26 [default = false];
clearAlpha() - function in com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
Clears the value of alpha field.
clearAnyOf() - function in com.google.genai.types.Schema.Builder
Clears the value of anyOf field.
clearApiAuth() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of apiAuth field.
clearApiKey() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of apiKey field.
clearApiKey() - function in com.google.genai.types.ToolParallelAiSearch.Builder
Clears the value of apiKey field.
clearApiKeyConfig() - function in com.google.genai.types.ApiAuth.Builder
Clears the value of apiKeyConfig field.
clearApiKeyConfig() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of apiKeyConfig field.
clearApiKeySecret() - function in com.google.genai.types.ApiKeyConfig.Builder
Clears the value of apiKeySecret field.
clearApiKeySecretVersion() - function in com.google.genai.types.ApiAuthApiKeyConfig.Builder
Clears the value of apiKeySecretVersion field.
clearApiKeyString() - function in com.google.genai.types.ApiAuthApiKeyConfig.Builder
Clears the value of apiKeyString field.
clearApiKeyString() - function in com.google.genai.types.ApiKeyConfig.Builder
Clears the value of apiKeyString field.
clearApiSpec() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of apiSpec field.
clearApiVersion() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of apiVersion field.
clearArgs() - function in com.google.genai.types.FunctionCall.Builder
Clears the value of args field.
clearArgs() - function in com.google.genai.types.ToolCall.Builder
Clears the value of args field.
clearAspectRatio() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of aspectRatio field.
clearAspectRatio() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of aspectRatio field.
clearAspectRatio() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of aspectRatio field.
clearAspectRatio() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of aspectRatio field.
clearAttempts() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of attempts field.
clearAudio() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of audio field.
clearAudio() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of audio field.
clearAudioBitrateBps() - function in com.google.genai.types.AvatarConfig.Builder
Clears the value of audioBitrateBps field.
clearAudioDurationSeconds() - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Clears the value of audioDurationSeconds field.
clearAudioStreamEnd() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of audioStreamEnd field.
clearAudioStreamEnd() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of audioStreamEnd field.
clearAudioTimestamp() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of audioTimestamp field.
clearAudioTimestamp() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of audioTimestamp field.
clearAudioTrackExtraction() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of audioTrackExtraction field.
clearAuthConfig() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of authConfig field.
clearAuthConfig() - function in com.google.genai.types.GoogleMaps.Builder
Clears the value of authConfig field.
clearAuthorAttribution() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of authorAttribution field.
clearAuthType() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of authType field.
clearAutomaticActivityDetection() - function in com.google.genai.types.RealtimeInputConfig.Builder
Clears the value of automaticActivityDetection field.
clearAutomaticFunctionCalling() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of automaticFunctionCalling field.
clearAutomaticFunctionCallingHistory() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of automaticFunctionCallingHistory field.
clearAutoMode() - function in com.google.genai.types.GenerationConfigRoutingConfig.Builder
Clears the value of autoMode field.
clearAutoraterConfig() - function in com.google.genai.types.EvaluationConfig.Builder
Clears the value of autoraterConfig field.
clearAutoraterModel() - function in com.google.genai.types.AutoraterConfig.Builder
Clears the value of autoraterModel field.
clearAutoTruncate() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of autoTruncate field.
clearAvatarConfig() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of avatarConfig field.
clearAvatarConfig() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of avatarConfig field.
clearAvatarName() - function in com.google.genai.types.AvatarConfig.Builder
Clears the value of avatarName field.
clearAvgLogprobs() - function in com.google.genai.types.Candidate.Builder
Clears the value of avgLogprobs field.
clearBaselineResponseFieldName() - function in com.google.genai.types.PairwiseMetricSpec.Builder
Clears the value of baselineResponseFieldName field.
clearBaseModel() - function in com.google.genai.types.CreateTuningJobParameters.Builder
Clears the value of baseModel field.
clearBaseModel() - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Clears the value of baseModel field.
clearBaseModel() - function in com.google.genai.types.PreTunedModel.Builder
Clears the value of baseModel field.
clearBaseModel() - function in com.google.genai.types.TunedModelInfo.Builder
Clears the value of baseModel field.
clearBaseModel() - function in com.google.genai.types.TuningJob.Builder
Clears the value of baseModel field.
clearBaseSteps() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of baseSteps field.
clearBaseSteps() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of baseSteps field.
clearBaseTeacherModel() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of baseTeacherModel field.
clearBaseTeacherModel() - function in com.google.genai.types.DistillationSamplingSpec.Builder
Clears the value of baseTeacherModel field.
clearBaseTeacherModel() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of baseTeacherModel field.
clearBaseUrl() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of baseUrl field.
clearBaseUrlResourceScope() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of baseUrlResourceScope field.
clearBatchJobs() - function in com.google.genai.types.ListBatchJobsResponse.Builder
Clears the value of batchJobs field.
clearBatchSize() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of batchSize field.
clearBatchSize() - function in com.google.genai.types.DistillationHyperParameters.Builder
Clears the value of batchSize field.
clearBatchSize() - function in com.google.genai.types.SupervisedHyperParameters.Builder
Clears the value of batchSize field.
clearBehavior() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of behavior field.
clearBeta() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of beta field.
clearBeta() - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
Clears the value of beta field.
clearBigqueryDestination() - function in com.google.genai.types.VertexMultimodalDatasetDestination.Builder
Clears the value of bigqueryDestination field.
clearBigqueryOutputTable() - function in com.google.genai.types.BatchJobOutputInfo.Builder
Clears the value of bigqueryOutputTable field.
clearBigquerySource() - function in com.google.genai.types.EvaluationDataset.Builder
Clears the value of bigquerySource field.
clearBigqueryUri() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of bigqueryUri field.
clearBigqueryUri() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of bigqueryUri field.
clearBillableCharacterCount() - function in com.google.genai.types.EmbedContentMetadata.Builder
Clears the value of billableCharacterCount field.
clearBillableSum() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of billableSum field.
clearBinaryColorThreshold() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of binaryColorThreshold field.
clearBleuMetricValue() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of bleuMetricValue field.
clearBleuSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of bleuSpec field.
clearBlocked() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of blocked field.
clearBlockingConfidence() - function in com.google.genai.types.EnterpriseWebSearch.Builder
Clears the value of blockingConfidence field.
clearBlockingConfidence() - function in com.google.genai.types.GoogleSearch.Builder
Clears the value of blockingConfidence field.
clearBlockReason() - function in com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
Clears the value of blockReason field.
clearBlockReasonMessage() - function in com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
Clears the value of blockReasonMessage field.
clearBody() - function in com.google.genai.types.HttpResponse.Builder
Clears the value of body field.
clearBodySegments() - function in com.google.genai.types.ReplayRequest.Builder
Clears the value of bodySegments field.
clearBodySegments() - function in com.google.genai.types.ReplayResponse.Builder
Clears the value of bodySegments field.
clearBoolValue() - function in com.google.genai.types.PartialArg.Builder
Clears the value of boolValue field.
clearBosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
<s>
optional int32 bos_id = 41 [default = 1];
clearBosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string bos_piece = 46 [default = "<s>"];
clearBuckets() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of buckets field.
clearBuckets() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of buckets field.
clearByteFallback() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Decomposes unknown pieces into UTF-8 bytes.
optional bool byte_fallback = 35 [default = false];
clearCachedContent() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of cachedContent field.
clearCachedContents() - function in com.google.genai.types.ListCachedContentsResponse.Builder
Clears the value of cachedContents field.
clearCachedContentTokenCount() - function in com.google.genai.types.CountTokensResponse.Builder
Clears the value of cachedContentTokenCount field.
clearCachedContentTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of cachedContentTokenCount field.
clearCachedContentTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of cachedContentTokenCount field.
clearCacheTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of cacheTokensDetails field.
clearCacheTokensDetails() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of cacheTokensDetails field.
clearCandidateCount() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of candidateCount field.
clearCandidateCount() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of candidateCount field.
clearCandidateResponseFieldName() - function in com.google.genai.types.PairwiseMetricSpec.Builder
Clears the value of candidateResponseFieldName field.
clearCandidates() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of candidates field.
clearCandidates() - function in com.google.genai.types.LogprobsResultTopCandidates.Builder
Clears the value of candidates field.
clearCandidatesTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of candidatesTokenCount field.
clearCandidatesTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of candidatesTokensDetails field.
clearCategories() - function in com.google.genai.types.SafetyAttributes.Builder
Clears the value of categories field.
clearCategory() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of category field.
clearCategory() - function in com.google.genai.types.SafetySetting.Builder
Clears the value of category field.
clearCharacterCoverage() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
/////////////////////////////////////////////////////////////////
Training parameters.

Uses characters which cover the corpus with the ratio of `chars_coverage`.
This parameter determines the set of basic Alphabet of sentence piece.
1.0 - `chars_coverage` characters are treated as UNK.
See also required_chars field.
optional float character_coverage = 10 [default = 0.9995];
clearCheckpointId() - function in com.google.genai.types.Checkpoint.Builder
Clears the value of checkpointId field.
clearCheckpointId() - function in com.google.genai.types.EvaluateDatasetRun.Builder
Clears the value of checkpointId field.
clearCheckpointId() - function in com.google.genai.types.PreTunedModel.Builder
Clears the value of checkpointId field.
clearCheckpointId() - function in com.google.genai.types.TunedModelCheckpoint.Builder
Clears the value of checkpointId field.
clearCheckpoints() - function in com.google.genai.types.Model.Builder
Clears the value of checkpoints field.
clearCheckpoints() - function in com.google.genai.types.TunedModel.Builder
Clears the value of checkpoints field.
clearChosenCandidates() - function in com.google.genai.types.LogprobsResult.Builder
Clears the value of chosenCandidates field.
clearChunkingConfig() - function in com.google.genai.types.ImportFileConfig.Builder
Clears the value of chunkingConfig field.
clearChunkingConfig() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of chunkingConfig field.
clearCitationMetadata() - function in com.google.genai.types.Candidate.Builder
Clears the value of citationMetadata field.
clearCitations() - function in com.google.genai.types.CitationMetadata.Builder
Clears the value of citations field.
clearClientContent() - function in com.google.genai.types.LiveClientMessage.Builder
Clears the value of clientContent field.
clearCode() - function in com.google.genai.types.ExecutableCode.Builder
Clears the value of code field.
clearCode() - function in com.google.genai.types.FileStatus.Builder
Clears the value of code field.
clearCode() - function in com.google.genai.types.GoogleRpcStatus.Builder
Clears the value of code field.
clearCode() - function in com.google.genai.types.JobError.Builder
Clears the value of code field.
clearCodeExecution() - function in com.google.genai.types.Tool.Builder
Clears the value of codeExecution field.
clearCodeExecutionResult() - function in com.google.genai.types.Part.Builder
Clears the value of codeExecutionResult field.
clearComment() - function in com.google.genai.types.TestTableFile.Builder
Clears the value of comment field.
clearCompletedEpochCount() - function in com.google.genai.types.TuningJobMetadata.Builder
Clears the value of completedEpochCount field.
clearCompletedStepCount() - function in com.google.genai.types.TuningJobMetadata.Builder
Clears the value of completedStepCount field.
clearCompletion() - function in com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
Clears the value of completion field.
clearCompletions() - function in com.google.genai.types.GeminiPreferenceExample.Builder
Clears the value of completions field.
clearCompletionStats() - function in com.google.genai.types.BatchJob.Builder
Clears the value of completionStats field.
clearCompressionQuality() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of compressionQuality field.
clearCompressionQuality() - function in com.google.genai.types.ImageConfigImageOutputOptions.Builder
Clears the value of compressionQuality field.
clearComputationBasedMetricSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of computationBasedMetricSpec field.
clearComputerUse() - function in com.google.genai.types.Tool.Builder
Clears the value of computerUse field.
clearConfidenceScores() - function in com.google.genai.types.GroundingSupport.Builder
Clears the value of confidenceScores field.
clearConfidenceThreshold() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of confidenceThreshold field.
clearConfig() - function in com.google.genai.types.CancelBatchJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CancelTuningJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ComputeTokensParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ControlReferenceImage.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CountTokensParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateAuthTokenParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateBatchJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateCachedContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateFileParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateFileSearchStoreParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateTuningJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteBatchJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteCachedContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteDocumentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteFileParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteFileSearchStoreParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.DeleteModelParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.EditImageParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.EmbedContentBatch.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.EmbedContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.FetchPredictOperationParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GenerateContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GenerateImagesParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetBatchJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetCachedContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetDocumentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetFileParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetFileSearchStoreParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetModelParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetOperationParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.GetTuningJobParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ImportFileParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.InlinedRequest.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.InternalRegisterFilesParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListBatchJobsParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListCachedContentsParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListDocumentsParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListFileSearchStoresParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListFilesParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListModelsParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.ListTuningJobsParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.LiveConnectConstraints.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.LiveConnectParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.MaskReferenceImage.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.RecontextImageParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.SegmentImageParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.StyleReferenceImage.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.SubjectReferenceImage.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.UpdateCachedContentParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.UpdateModelParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.UploadToFileSearchStoreParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.UpscaleImageAPIParameters.Builder
Clears the value of config field.
clearConfig() - function in com.google.genai.types.UpscaleImageParameters.Builder
Clears the value of config field.
clearContent() - function in com.google.genai.types.Candidate.Builder
Clears the value of content field.
clearContent() - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Clears the value of content field.
clearContents() - function in com.google.genai.types.ComputeTokensParameters.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.CountTokensParameters.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.EmbedContentBatch.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.EmbedContentParameters.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.GeminiPreferenceExample.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.GenerateContentParameters.Builder
Clears the value of contents field.
clearContents() - function in com.google.genai.types.InlinedRequest.Builder
Clears the value of contents field.
clearContentType() - function in com.google.genai.types.SafetyAttributes.Builder
Clears the value of contentType field.
clearContextWindowCompression() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of contextWindowCompression field.
clearContextWindowCompression() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of contextWindowCompression field.
clearControlImageConfig() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of controlImageConfig field.
clearControlSymbols() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
/////////////////////////////////////////////////////////////////
Vocabulary management

Defines control symbols used as an indicator to
change the behavior of the decoder. <s> and </s> are pre-defined.
We can use this field to encode various meta information,
including language indicator in multilingual model.
These symbols are not visible to users, but visible to
the decoder. Note that when the input sentence contains control symbols,
they are not treated as one token, but segmented into normal pieces.
Control symbols must be inserted independently from the segmentation.
repeated string control_symbols = 30;
clearControlType() - function in com.google.genai.types.ControlReferenceConfig.Builder
Clears the value of controlType field.
clearCount() - function in com.google.genai.types.DatasetDistributionDistributionBucket.Builder
Clears the value of count field.
clearCount() - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
Clears the value of count field.
clearCreateTime() - function in com.google.genai.types.BatchJob.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.CachedContent.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.Document.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.File.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.TunedModelInfo.Builder
Clears the value of createTime field.
clearCreateTime() - function in com.google.genai.types.TuningJob.Builder
Clears the value of createTime field.
clearCredentialSecret() - function in com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
Clears the value of credentialSecret field.
clearCustomBaseModel() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of customBaseModel field.
clearCustomBaseModel() - function in com.google.genai.types.TuningJob.Builder
Clears the value of customBaseModel field.
clearCustomCodeExecutionResult() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of customCodeExecutionResult field.
clearCustomCodeExecutionSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of customCodeExecutionSpec field.
clearCustomConfigs() - function in com.google.genai.types.ToolParallelAiSearch.Builder
Clears the value of customConfigs field.
clearCustomizedAvatar() - function in com.google.genai.types.AvatarConfig.Builder
Clears the value of customizedAvatar field.
clearCustomMetadata() - function in com.google.genai.types.Document.Builder
Clears the value of customMetadata field.
clearCustomMetadata() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of customMetadata field.
clearCustomMetadata() - function in com.google.genai.types.ImportFileConfig.Builder
Clears the value of customMetadata field.
clearCustomMetadata() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of customMetadata field.
clearCustomOutput() - function in com.google.genai.types.PairwiseMetricResult.Builder
Clears the value of customOutput field.
clearCustomOutput() - function in com.google.genai.types.PointwiseMetricResult.Builder
Clears the value of customOutput field.
clearCustomOutputFormatConfig() - function in com.google.genai.types.PairwiseMetricSpec.Builder
Clears the value of customOutputFormatConfig field.
clearCustomOutputFormatConfig() - function in com.google.genai.types.PointwiseMetricSpec.Builder
Clears the value of customOutputFormatConfig field.
clearData() - function in com.google.genai.types.Blob.Builder
Clears the value of data field.
clearData() - function in com.google.genai.types.FunctionResponseBlob.Builder
Clears the value of data field.
clearDataset() - function in com.google.genai.types.AggregationOutput.Builder
Clears the value of dataset field.
clearDatastore() - function in com.google.genai.types.VertexAISearch.Builder
Clears the value of datastore field.
clearDataStore() - function in com.google.genai.types.VertexAISearchDataStoreSpec.Builder
Clears the value of dataStore field.
clearDataStoreSpecs() - function in com.google.genai.types.VertexAISearch.Builder
Clears the value of dataStoreSpecs field.
clearDay() - function in com.google.genai.types.GoogleTypeDate.Builder
Clears the value of day field.
clearDefault_() - function in com.google.genai.types.Schema.Builder
Clears the value of default_ field.
clearDefaultCheckpointId() - function in com.google.genai.types.Model.Builder
Clears the value of defaultCheckpointId field.
clearDefaultCheckpointId() - function in com.google.genai.types.UpdateModelConfig.Builder
Clears the value of defaultCheckpointId field.
clearDenormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Spec for text de-normalization.
optional .com.google.genai.proto.NormalizerSpec denormalizer_spec = 5;
clearDeployedModelId() - function in com.google.genai.types.Endpoint.Builder
Clears the value of deployedModelId field.
clearDescription() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of description field.
clearDescription() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of description field.
clearDescription() - function in com.google.genai.types.Model.Builder
Clears the value of description field.
clearDescription() - function in com.google.genai.types.Schema.Builder
Clears the value of description field.
clearDescription() - function in com.google.genai.types.TuningJob.Builder
Clears the value of description field.
clearDescription() - function in com.google.genai.types.UpdateModelConfig.Builder
Clears the value of description field.
clearDest() - function in com.google.genai.types.BatchJob.Builder
Clears the value of dest field.
clearDest() - function in com.google.genai.types.CreateBatchJobConfig.Builder
Clears the value of dest field.
clearDetails() - function in com.google.genai.types.FileStatus.Builder
Clears the value of details field.
clearDetails() - function in com.google.genai.types.GoogleRpcStatus.Builder
Clears the value of details field.
clearDetails() - function in com.google.genai.types.JobError.Builder
Clears the value of details field.
clearDifferentialPrivacyClippingThreshold() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Clipping threshold to apply after adding noise. All the words with
frequency less than this value are dropped.
optional uint64 differential_privacy_clipping_threshold = 52 [default = 0];
clearDifferentialPrivacyNoiseLevel() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Set these parameters if you need DP version of sentencepiece.
std of noise to add.
optional float differential_privacy_noise_level = 51 [default = 0];
clearDisable() - function in com.google.genai.types.AutomaticFunctionCallingConfig.Builder
Clears the value of disable field.
clearDisableAttribution() - function in com.google.genai.types.Retrieval.Builder
Clears the value of disableAttribution field.
clearDisabled() - function in com.google.genai.types.AutomaticActivityDetection.Builder
Clears the value of disabled field.
clearDisplayName() - function in com.google.genai.types.BatchJob.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.Blob.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.CachedContent.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.CreateBatchJobConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.CreateFileSearchStoreConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.Document.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.File.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.FileData.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.FunctionResponseBlob.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.FunctionResponseFileData.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.Model.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.UpdateModelConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.UploadFileConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of displayName field.
clearDisplayName() - function in com.google.genai.types.VertexMultimodalDatasetDestination.Builder
Clears the value of displayName field.
clearDistanceMeters() - function in com.google.genai.types.GroundingChunkMapsRoute.Builder
Clears the value of distanceMeters field.
clearDistillationDataStats() - function in com.google.genai.types.TuningDataStats.Builder
Clears the value of distillationDataStats field.
clearDistillationSamplingSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of distillationSamplingSpec field.
clearDistillationSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of distillationSpec field.
clearDocumentName() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of documentName field.
clearDocumentName() - function in com.google.genai.types.ImportFileResponse.Builder
Clears the value of documentName field.
clearDocumentName() - function in com.google.genai.types.UploadToFileSearchStoreResponse.Builder
Clears the value of documentName field.
clearDocumentOcr() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of documentOcr field.
clearDocuments() - function in com.google.genai.types.ListDocumentsResponse.Builder
Clears the value of documents field.
clearDomain() - function in com.google.genai.types.GroundingChunkImage.Builder
Clears the value of domain field.
clearDomain() - function in com.google.genai.types.GroundingChunkWeb.Builder
Clears the value of domain field.
clearDone() - function in com.google.genai.types.DeleteResourceJob.Builder
Clears the value of done field.
clearDone() - function in com.google.genai.types.GenerateVideosOperation.Builder
Clears the value of done field.
clearDone() - function in com.google.genai.types.ImportFileOperation.Builder
Clears the value of done field.
clearDone() - function in com.google.genai.types.TuningOperation.Builder
Clears the value of done field.
clearDone() - function in com.google.genai.types.UploadToFileSearchStoreOperation.Builder
Clears the value of done field.
clearDownloadUri() - function in com.google.genai.types.File.Builder
Clears the value of downloadUri field.
clearDroppedExampleIndices() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of droppedExampleIndices field.
clearDroppedExampleIndices() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of droppedExampleIndices field.
clearDroppedExampleReasons() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of droppedExampleReasons field.
clearDroppedExampleReasons() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of droppedExampleReasons field.
clearDroppedExampleReasons() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of droppedExampleReasons field.
clearDuration() - function in com.google.genai.types.GroundingChunkMapsRoute.Builder
Clears the value of duration field.
clearDurationSeconds() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of durationSeconds field.
clearDynamicRetrievalConfig() - function in com.google.genai.types.GoogleSearchRetrieval.Builder
Clears the value of dynamicRetrievalConfig field.
clearDynamicThreshold() - function in com.google.genai.types.DynamicRetrievalConfig.Builder
Clears the value of dynamicThreshold field.
clearEditMode() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of editMode field.
clearElasticSearchParams() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of elasticSearchParams field.
clearEmbedding() - function in com.google.genai.types.SingleEmbedContentResponse.Builder
Clears the value of embedding field.
clearEmbeddingApiType() - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Clears the value of embeddingApiType field.
clearEmbeddingModel() - function in com.google.genai.types.CreateFileSearchStoreConfig.Builder
Clears the value of embeddingModel field.
clearEmbeddingModel() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of embeddingModel field.
clearEmbeddings() - function in com.google.genai.types.EmbedContentResponse.Builder
Clears the value of embeddings field.
clearEnableAffectiveDialog() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of enableAffectiveDialog field.
clearEnableAffectiveDialog() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of enableAffectiveDialog field.
clearEnableControlImageComputation() - function in com.google.genai.types.ControlReferenceConfig.Builder
Clears the value of enableControlImageComputation field.
clearEnableDifferentialPrivacy() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Whether to use DP version of sentencepiece. Use it with TSV input format
(requires precomputed word tab counts to work).
optional bool enable_differential_privacy = 50 [default = false];
clearEnableEnhancedCivicAnswers() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of enableEnhancedCivicAnswers field.
clearEnableEnhancedCivicAnswers() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of enableEnhancedCivicAnswers field.
clearEnableWidget() - function in com.google.genai.types.GoogleMaps.Builder
Clears the value of enableWidget field.
clearEncodedPolyline() - function in com.google.genai.types.GroundingChunkMapsRoute.Builder
Clears the value of encodedPolyline field.
clearEncryptionSpec() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of encryptionSpec field.
clearEncryptionSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of encryptionSpec field.
clearEndIndex() - function in com.google.genai.types.Citation.Builder
Clears the value of endIndex field.
clearEndIndex() - function in com.google.genai.types.Segment.Builder
Clears the value of endIndex field.
clearEndOffset() - function in com.google.genai.types.VideoMetadata.Builder
Clears the value of endOffset field.
clearEndOfSpeechSensitivity() - function in com.google.genai.types.AutomaticActivityDetection.Builder
Clears the value of endOfSpeechSensitivity field.
clearEndpoint() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of endpoint field.
clearEndpoint() - function in com.google.genai.types.TunedModel.Builder
Clears the value of endpoint field.
clearEndpoint() - function in com.google.genai.types.TunedModelCheckpoint.Builder
Clears the value of endpoint field.
clearEndpoints() - function in com.google.genai.types.Model.Builder
Clears the value of endpoints field.
clearEndTime() - function in com.google.genai.types.BatchJob.Builder
Clears the value of endTime field.
clearEndTime() - function in com.google.genai.types.Interval.Builder
Clears the value of endTime field.
clearEndTime() - function in com.google.genai.types.TuningJob.Builder
Clears the value of endTime field.
clearEngine() - function in com.google.genai.types.VertexAISearch.Builder
Clears the value of engine field.
clearEnhancedPrompt() - function in com.google.genai.types.GeneratedImage.Builder
Clears the value of enhancedPrompt field.
clearEnhanceInputImage() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of enhanceInputImage field.
clearEnhanceInputImage() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of enhanceInputImage field.
clearEnhancePrompt() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of enhancePrompt field.
clearEnhancePrompt() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of enhancePrompt field.
clearEnhancePrompt() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of enhancePrompt field.
clearEnterpriseWebSearch() - function in com.google.genai.types.Tool.Builder
Clears the value of enterpriseWebSearch field.
clearEnum_() - function in com.google.genai.types.Schema.Builder
Clears the value of enum_ field.
clearEnvironment() - function in com.google.genai.types.ComputerUse.Builder
Clears the value of environment field.
clearEosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
</s>
optional int32 eos_id = 42 [default = 2];
clearEosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string eos_piece = 47 [default = "</s>"];
clearEpoch() - function in com.google.genai.types.Checkpoint.Builder
Clears the value of epoch field.
clearEpoch() - function in com.google.genai.types.TunedModelCheckpoint.Builder
Clears the value of epoch field.
clearEpochCount() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of epochCount field.
clearEpochCount() - function in com.google.genai.types.DistillationHyperParameters.Builder
Clears the value of epochCount field.
clearEpochCount() - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
Clears the value of epochCount field.
clearEpochCount() - function in com.google.genai.types.SupervisedHyperParameters.Builder
Clears the value of epochCount field.
clearEpochCount() - function in com.google.genai.types.VeoHyperParameters.Builder
Clears the value of epochCount field.
clearError() - function in com.google.genai.types.BatchJob.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.DeleteResourceJob.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.EvaluateDatasetRun.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.File.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.GenerateVideosOperation.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.ImportFileOperation.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.InlinedEmbedContentResponse.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.InlinedResponse.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.TuningJob.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.TuningOperation.Builder
Clears the value of error field.
clearError() - function in com.google.genai.types.UploadToFileSearchStoreOperation.Builder
Clears the value of error field.
clearEscapeWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
Replaces whitespace with meta symbol.
This field must be true to train sentence piece model.
optional bool escape_whitespaces = 5 [default = true];
clearEvaluateDatasetResponse() - function in com.google.genai.types.EvaluateDatasetRun.Builder
Clears the value of evaluateDatasetResponse field.
clearEvaluateDatasetRuns() - function in com.google.genai.types.TuningJob.Builder
Clears the value of evaluateDatasetRuns field.
clearEvaluationConfig() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of evaluationConfig field.
clearEvaluationConfig() - function in com.google.genai.types.TuningJob.Builder
Clears the value of evaluationConfig field.
clearEvaluationFunction() - function in com.google.genai.types.CustomCodeExecutionSpec.Builder
Clears the value of evaluationFunction field.
clearEvaluationRun() - function in com.google.genai.types.EvaluateDatasetRun.Builder
Clears the value of evaluationRun field.
clearExactMatchMetricValue() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of exactMatchMetricValue field.
clearExample() - function in com.google.genai.types.Schema.Builder
Clears the value of example field.
clearExamples() - function in com.google.genai.types.TuningDataset.Builder
Clears the value of examples field.
clearExceptionIfMldev() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of exceptionIfMldev field.
clearExceptionIfVertex() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of exceptionIfVertex field.
clearExcludeDomains() - function in com.google.genai.types.EnterpriseWebSearch.Builder
Clears the value of excludeDomains field.
clearExcludeDomains() - function in com.google.genai.types.GoogleSearch.Builder
Clears the value of excludeDomains field.
clearExcludedPredefinedFunctions() - function in com.google.genai.types.ComputerUse.Builder
Clears the value of excludedPredefinedFunctions field.
clearExecutableCode() - function in com.google.genai.types.Part.Builder
Clears the value of executableCode field.
clearExpBase() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of expBase field.
clearExpected() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
optional string expected = 2;
clearExperiment() - function in com.google.genai.types.TuningJob.Builder
Clears the value of experiment field.
clearExpirationTime() - function in com.google.genai.types.File.Builder
Clears the value of expirationTime field.
clearExpireTime() - function in com.google.genai.types.CachedContent.Builder
Clears the value of expireTime field.
clearExpireTime() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of expireTime field.
clearExpireTime() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of expireTime field.
clearExpireTime() - function in com.google.genai.types.UpdateCachedContentConfig.Builder
Clears the value of expireTime field.
clearExplanation() - function in com.google.genai.types.PairwiseMetricResult.Builder
Clears the value of explanation field.
clearExplanation() - function in com.google.genai.types.PointwiseMetricResult.Builder
Clears the value of explanation field.
clearExplicitVadSignal() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of explicitVadSignal field.
clearExplicitVadSignal() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of explicitVadSignal field.
clearExportLastCheckpointOnly() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of exportLastCheckpointOnly field.
clearExportLastCheckpointOnly() - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
Clears the value of exportLastCheckpointOnly field.
clearExportLastCheckpointOnly() - function in com.google.genai.types.SupervisedTuningSpec.Builder
Clears the value of exportLastCheckpointOnly field.
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension) - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
 
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension) - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
 
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension) - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
 
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension) - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
 
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension) - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
 
clearExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
 
clearExternalApi() - function in com.google.genai.types.Retrieval.Builder
Clears the value of externalApi field.
clearExtraBody() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of extraBody field.
clearFailedCount() - function in com.google.genai.types.CompletionStats.Builder
Clears the value of failedCount field.
clearFailedDocumentsCount() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of failedDocumentsCount field.
clearFeatureSelectionPreference() - function in com.google.genai.types.ModelSelectionConfig.Builder
Clears the value of featureSelectionPreference field.
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.Message.Builder
 
clearFile() - function in com.google.genai.types.CreateFileParameters.Builder
Clears the value of file field.
clearFileData() - function in com.google.genai.types.FunctionResponsePart.Builder
Clears the value of fileData field.
clearFileData() - function in com.google.genai.types.Part.Builder
Clears the value of fileData field.
clearFileName() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of fileName field.
clearFileName() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of fileName field.
clearFileName() - function in com.google.genai.types.EmbeddingsBatchJobSource.Builder
Clears the value of fileName field.
clearFileName() - function in com.google.genai.types.ImportFileParameters.Builder
Clears the value of fileName field.
clearFiles() - function in com.google.genai.types.ListFilesResponse.Builder
Clears the value of files field.
clearFiles() - function in com.google.genai.types.RegisterFilesResponse.Builder
Clears the value of files field.
clearFileSearch() - function in com.google.genai.types.Tool.Builder
Clears the value of fileSearch field.
clearFileSearchStore() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of fileSearchStore field.
clearFileSearchStoreName() - function in com.google.genai.types.ImportFileParameters.Builder
Clears the value of fileSearchStoreName field.
clearFileSearchStoreName() - function in com.google.genai.types.UploadToFileSearchStoreParameters.Builder
Clears the value of fileSearchStoreName field.
clearFileSearchStoreNames() - function in com.google.genai.types.FileSearch.Builder
Clears the value of fileSearchStoreNames field.
clearFileSearchStores() - function in com.google.genai.types.ListFileSearchStoresResponse.Builder
Clears the value of fileSearchStores field.
clearFileUri() - function in com.google.genai.types.FileData.Builder
Clears the value of fileUri field.
clearFileUri() - function in com.google.genai.types.FunctionResponseFileData.Builder
Clears the value of fileUri field.
clearFilter() - function in com.google.genai.types.ListBatchJobsConfig.Builder
Clears the value of filter field.
clearFilter() - function in com.google.genai.types.ListModelsConfig.Builder
Clears the value of filter field.
clearFilter() - function in com.google.genai.types.ListTuningJobsConfig.Builder
Clears the value of filter field.
clearFilter() - function in com.google.genai.types.RagRetrievalConfig.Builder
Clears the value of filter field.
clearFilter() - function in com.google.genai.types.VertexAISearch.Builder
Clears the value of filter field.
clearFilter() - function in com.google.genai.types.VertexAISearchDataStoreSpec.Builder
Clears the value of filter field.
clearFinished() - function in com.google.genai.types.Transcription.Builder
Clears the value of finished field.
clearFinishMessage() - function in com.google.genai.types.Candidate.Builder
Clears the value of finishMessage field.
clearFinishReason() - function in com.google.genai.types.Candidate.Builder
Clears the value of finishReason field.
clearFirstPage() - function in com.google.genai.types.RagChunkPageSpan.Builder
Clears the value of firstPage field.
clearFlagContentUri() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
Clears the value of flagContentUri field.
clearFlagContentUri() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of flagContentUri field.
clearFlagContentUri() - function in com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
Clears the value of flagContentUri field.
clearForce() - function in com.google.genai.types.DeleteDocumentConfig.Builder
Clears the value of force field.
clearForce() - function in com.google.genai.types.DeleteFileSearchStoreConfig.Builder
Clears the value of force field.
clearFormat() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of format field.
clearFormat() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of format field.
clearFormat() - function in com.google.genai.types.Schema.Builder
Clears the value of format field.
clearFps() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of fps field.
clearFps() - function in com.google.genai.types.VideoMetadata.Builder
Clears the value of fps field.
clearFrequencyPenalty() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of frequencyPenalty field.
clearFrequencyPenalty() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of frequencyPenalty field.
clearFullFineTuningSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of fullFineTuningSpec field.
clearFunctionCall() - function in com.google.genai.types.Part.Builder
Clears the value of functionCall field.
clearFunctionCallingConfig() - function in com.google.genai.types.ToolConfig.Builder
Clears the value of functionCallingConfig field.
clearFunctionCalls() - function in com.google.genai.types.LiveServerToolCall.Builder
Clears the value of functionCalls field.
clearFunctionDeclarations() - function in com.google.genai.types.Tool.Builder
Clears the value of functionDeclarations field.
clearFunctionResponse() - function in com.google.genai.types.Part.Builder
Clears the value of functionResponse field.
clearFunctionResponses() - function in com.google.genai.types.LiveClientToolResponse.Builder
Clears the value of functionResponses field.
clearFunctionResponses() - function in com.google.genai.types.LiveSendToolResponseParameters.Builder
Clears the value of functionResponses field.
clearFunctions() - function in com.google.genai.types.Tool.Builder
Clears the value of functions field.
clearGcsDestination() - function in com.google.genai.types.OutputConfig.Builder
Clears the value of gcsDestination field.
clearGcsOutputDirectory() - function in com.google.genai.types.BatchJobOutputInfo.Builder
Clears the value of gcsOutputDirectory field.
clearGcsOutputDirectory() - function in com.google.genai.types.OutputInfo.Builder
Clears the value of gcsOutputDirectory field.
clearGcsSource() - function in com.google.genai.types.EvaluationDataset.Builder
Clears the value of gcsSource field.
clearGcsUri() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of gcsUri field.
clearGcsUri() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of gcsUri field.
clearGcsUri() - function in com.google.genai.types.Image.Builder
Clears the value of gcsUri field.
clearGcsUri() - function in com.google.genai.types.TuningDataset.Builder
Clears the value of gcsUri field.
clearGcsUri() - function in com.google.genai.types.TuningValidationDataset.Builder
Clears the value of gcsUri field.
clearGenerateAudio() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of generateAudio field.
clearGeneratedImages() - function in com.google.genai.types.EditImageResponse.Builder
Clears the value of generatedImages field.
clearGeneratedImages() - function in com.google.genai.types.GenerateImagesResponse.Builder
Clears the value of generatedImages field.
clearGeneratedImages() - function in com.google.genai.types.RecontextImageResponse.Builder
Clears the value of generatedImages field.
clearGeneratedImages() - function in com.google.genai.types.UpscaleImageResponse.Builder
Clears the value of generatedImages field.
clearGeneratedMasks() - function in com.google.genai.types.SegmentImageResponse.Builder
Clears the value of generatedMasks field.
clearGeneratedVideos() - function in com.google.genai.types.GenerateVideosResponse.Builder
Clears the value of generatedVideos field.
clearGenerationComplete() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of generationComplete field.
clearGenerationConfig() - function in com.google.genai.types.AutoraterConfig.Builder
Clears the value of generationConfig field.
clearGenerationConfig() - function in com.google.genai.types.CountTokensConfig.Builder
Clears the value of generationConfig field.
clearGenerationConfig() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of generationConfig field.
clearGoAway() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of goAway field.
clearGoogleMaps() - function in com.google.genai.types.Tool.Builder
Clears the value of googleMaps field.
clearGoogleMapsUri() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of googleMapsUri field.
clearGoogleMapsWidgetContextToken() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of googleMapsWidgetContextToken field.
clearGoogleSearch() - function in com.google.genai.types.Tool.Builder
Clears the value of googleSearch field.
clearGoogleSearchDynamicRetrievalScore() - function in com.google.genai.types.RetrievalMetadata.Builder
Clears the value of googleSearchDynamicRetrievalScore field.
clearGoogleSearchRetrieval() - function in com.google.genai.types.Tool.Builder
Clears the value of googleSearchRetrieval field.
clearGoogleServiceAccountConfig() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of googleServiceAccountConfig field.
clearGroundingChunkIndices() - function in com.google.genai.types.GroundingSupport.Builder
Clears the value of groundingChunkIndices field.
clearGroundingChunks() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of groundingChunks field.
clearGroundingMetadata() - function in com.google.genai.types.Candidate.Builder
Clears the value of groundingMetadata field.
clearGroundingMetadata() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of groundingMetadata field.
clearGroundingSupports() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of groundingSupports field.
clearGuidanceScale() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of guidanceScale field.
clearGuidanceScale() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of guidanceScale field.
clearHandle() - function in com.google.genai.types.SessionResumptionConfig.Builder
Clears the value of handle field.
clearHardVocabLimit() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
`vocab_size` is treated as hard limit. Crash if
the model can not produce the vocab of size `vocab_size`,
When `hard_vocab_limit` is false, vocab_size is treated
as soft limit. Note that when model_type=char,
always assumes hard_vocab_limit = false.
optional bool hard_vocab_limit = 33 [default = true];
clearHasUnion() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of hasUnion field.
clearHeaders() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of headers field.
clearHeaders() - function in com.google.genai.types.HttpResponse.Builder
Clears the value of headers field.
clearHeaders() - function in com.google.genai.types.ReplayRequest.Builder
Clears the value of headers field.
clearHeaders() - function in com.google.genai.types.ReplayResponse.Builder
Clears the value of headers field.
clearHeaders() - function in com.google.genai.types.StreamableHttpTransport.Builder
Clears the value of headers field.
clearHost() - function in com.google.genai.types.ProxyOptions.Builder
Clears the value of host field.
clearHttpBasicAuthConfig() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of httpBasicAuthConfig field.
clearHttpElementLocation() - function in com.google.genai.types.ApiKeyConfig.Builder
Clears the value of httpElementLocation field.
clearHttpOptions() - function in com.google.genai.types.CancelBatchJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CancelTuningJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ComputeTokensConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CountTokensConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateBatchJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateFileSearchStoreConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteBatchJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteCachedContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteDocumentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteFileSearchStoreConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DeleteModelConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DownloadFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.DownloadMediaConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.FetchPredictOperationConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetBatchJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetCachedContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetDocumentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetFileSearchStoreConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetModelConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetOperationConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.GetTuningJobConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ImportFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListBatchJobsConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListCachedContentsConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListDocumentsConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListFileSearchStoresConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListFilesConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListModelsConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.ListTuningJobsConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.RegisterFilesConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UpdateCachedContentConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UpdateModelConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UploadFileConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of httpOptions field.
clearHttpOptions() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of httpOptions field.
clearHttpStatusCodes() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of httpStatusCodes field.
clearHybridSearch() - function in com.google.genai.types.RagRetrievalConfig.Builder
Clears the value of hybridSearch field.
clearHyperParameters() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of hyperParameters field.
clearHyperParameters() - function in com.google.genai.types.FullFineTuningSpec.Builder
Clears the value of hyperParameters field.
clearHyperParameters() - function in com.google.genai.types.PartnerModelTuningSpec.Builder
Clears the value of hyperParameters field.
clearHyperParameters() - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
Clears the value of hyperParameters field.
clearHyperParameters() - function in com.google.genai.types.SupervisedTuningSpec.Builder
Clears the value of hyperParameters field.
clearHyperParameters() - function in com.google.genai.types.VeoTuningSpec.Builder
Clears the value of hyperParameters field.
clearId() - function in com.google.genai.types.CodeExecutionResult.Builder
Clears the value of id field.
clearId() - function in com.google.genai.types.ExecutableCode.Builder
Clears the value of id field.
clearId() - function in com.google.genai.types.FunctionCall.Builder
Clears the value of id field.
clearId() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of id field.
clearId() - function in com.google.genai.types.ToolCall.Builder
Clears the value of id field.
clearId() - function in com.google.genai.types.ToolResponse.Builder
Clears the value of id field.
clearIds() - function in com.google.genai.types.LiveServerToolCallCancellation.Builder
Clears the value of ids field.
clearIdToken() - function in com.google.genai.types.AuthConfigOidcConfig.Builder
Clears the value of idToken field.
clearIgnoreCallHistory() - function in com.google.genai.types.AutomaticFunctionCallingConfig.Builder
Clears the value of ignoreCallHistory field.
clearIgnoreKeys() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of ignoreKeys field.
clearImage() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.GenerateVideosSource.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.GeneratedImage.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.GroundingChunk.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.ScribbleImage.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.SegmentImageSource.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.UpscaleImageAPIParameters.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.UpscaleImageParameters.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.VideoGenerationMask.Builder
Clears the value of image field.
clearImage() - function in com.google.genai.types.VideoGenerationReferenceImage.Builder
Clears the value of image field.
clearImageBytes() - function in com.google.genai.types.Image.Builder
Clears the value of imageBytes field.
clearImageConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of imageConfig field.
clearImageCount() - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Clears the value of imageCount field.
clearImageData() - function in com.google.genai.types.CustomizedAvatar.Builder
Clears the value of imageData field.
clearImageMimeType() - function in com.google.genai.types.CustomizedAvatar.Builder
Clears the value of imageMimeType field.
clearImageOutputOptions() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of imageOutputOptions field.
clearImagePreservationFactor() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of imagePreservationFactor field.
clearImagePreservationFactor() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of imagePreservationFactor field.
clearImageSearch() - function in com.google.genai.types.SearchTypes.Builder
Clears the value of imageSearch field.
clearImageSearchQueries() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of imageSearchQueries field.
clearImageSize() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of imageSize field.
clearImageSize() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of imageSize field.
clearImageUri() - function in com.google.genai.types.GroundingChunkImage.Builder
Clears the value of imageUri field.
clearIncludeRaiReason() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of includeRaiReason field.
clearIncludeRaiReason() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of includeRaiReason field.
clearIncludeRaiReason() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of includeRaiReason field.
clearIncludeRaiReason() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of includeRaiReason field.
clearIncludeSafetyAttributes() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of includeSafetyAttributes field.
clearIncludeSafetyAttributes() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of includeSafetyAttributes field.
clearIncludeServerSideToolInvocations() - function in com.google.genai.types.ToolConfig.Builder
Clears the value of includeServerSideToolInvocations field.
clearIncludeThoughts() - function in com.google.genai.types.ThinkingConfig.Builder
Clears the value of includeThoughts field.
clearIncompleteCount() - function in com.google.genai.types.CompletionStats.Builder
Clears the value of incompleteCount field.
clearIndex() - function in com.google.genai.types.Candidate.Builder
Clears the value of index field.
clearIndex() - function in com.google.genai.types.ExternalApiElasticSearchParams.Builder
Clears the value of index field.
clearInferenceGenerationConfig() - function in com.google.genai.types.EvaluationConfig.Builder
Clears the value of inferenceGenerationConfig field.
clearInitialDelay() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of initialDelay field.
clearInlineData() - function in com.google.genai.types.FunctionResponsePart.Builder
Clears the value of inlineData field.
clearInlineData() - function in com.google.genai.types.Part.Builder
Clears the value of inlineData field.
clearInlinedEmbedContentResponses() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of inlinedEmbedContentResponses field.
clearInlinedRequests() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of inlinedRequests field.
clearInlinedRequests() - function in com.google.genai.types.EmbeddingsBatchJobSource.Builder
Clears the value of inlinedRequests field.
clearInlinedResponses() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of inlinedResponses field.
clearInput() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
optional string input = 1;
clearInput() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
/////////////////////////////////////////////////////////////////
General parameters

Input corpus files.
 Trainer accepts the following two formats:
 A) Monolingual: plain text, one sentence per line.
 B) Bilingual:   TSV, source sentence <tab> target sentence
 When bilingual data is passed, shared vocabulary model is built.
 Note that the input file must be raw corpus, not a preprocessed corpus.
 Trainer only loads the first `input_sentence_size` sentences specified
 with this parameter.
repeated string input = 1;
clearInputAudioTranscription() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of inputAudioTranscription field.
clearInputAudioTranscription() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of inputAudioTranscription field.
clearInputFormat() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Input corpus format:
"text": one-sentence-per-line text format (default)
"tsv":  sentence <tab> freq
optional string input_format = 7;
clearInputSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Maximum size of sentences the trainer loads from `input` parameter.
Trainer simply loads the `input` files in sequence.
It is better to shuffle the input corpus randomly.
optional uint64 input_sentence_size = 11 [default = 0];
clearInputTokenLimit() - function in com.google.genai.types.Model.Builder
Clears the value of inputTokenLimit field.
clearInputTranscription() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of inputTranscription field.
clearInputUri() - function in com.google.genai.types.BigQuerySource.Builder
Clears the value of inputUri field.
clearInteractions() - function in com.google.genai.types.ReplayFile.Builder
Clears the value of interactions field.
clearInterrupted() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of interrupted field.
clearItems() - function in com.google.genai.types.Schema.Builder
Clears the value of items field.
clearJitter() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of jitter field.
clearJsonPath() - function in com.google.genai.types.PartialArg.Builder
Clears the value of jsonPath field.
clearJudgeAutoraterConfig() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of judgeAutoraterConfig field.
clearJudgeModelSystemInstruction() - function in com.google.genai.types.Metric.Builder
Clears the value of judgeModelSystemInstruction field.
clearKey() - function in com.google.genai.types.CustomMetadata.Builder
Clears the value of key field.
clearKey() - function in com.google.genai.types.GroundingChunkCustomMetadata.Builder
Clears the value of key field.
clearKmsKeyName() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of kmsKeyName field.
clearKmsKeyName() - function in com.google.genai.types.EncryptionSpec.Builder
Clears the value of kmsKeyName field.
clearLabel() - function in com.google.genai.types.EntityLabel.Builder
Clears the value of label field.
clearLabels() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.GeneratedImageMask.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.Model.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.TuningJob.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of labels field.
clearLabels() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of labels field.
clearLanguage() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of language field.
clearLanguage() - function in com.google.genai.types.ExecutableCode.Builder
Clears the value of language field.
clearLanguage() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of language field.
clearLanguageCode() - function in com.google.genai.types.RetrievalConfig.Builder
Clears the value of languageCode field.
clearLanguageCode() - function in com.google.genai.types.SpeechConfig.Builder
Clears the value of languageCode field.
clearLanguageCodes() - function in com.google.genai.types.AudioTranscriptionConfig.Builder
Clears the value of languageCodes field.
clearLastConsumedClientMessageIndex() - function in com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
Clears the value of lastConsumedClientMessageIndex field.
clearLastFrame() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of lastFrame field.
clearLastPage() - function in com.google.genai.types.RagChunkPageSpan.Builder
Clears the value of lastPage field.
clearLatitude() - function in com.google.genai.types.LatLng.Builder
Clears the value of latitude field.
clearLatLng() - function in com.google.genai.types.RetrievalConfig.Builder
Clears the value of latLng field.
clearLearningRate() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of learningRate field.
clearLearningRate() - function in com.google.genai.types.DistillationHyperParameters.Builder
Clears the value of learningRate field.
clearLearningRate() - function in com.google.genai.types.SupervisedHyperParameters.Builder
Clears the value of learningRate field.
clearLearningRateMultiplier() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of learningRateMultiplier field.
clearLearningRateMultiplier() - function in com.google.genai.types.DistillationHyperParameters.Builder
Clears the value of learningRateMultiplier field.
clearLearningRateMultiplier() - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
Clears the value of learningRateMultiplier field.
clearLearningRateMultiplier() - function in com.google.genai.types.SupervisedHyperParameters.Builder
Clears the value of learningRateMultiplier field.
clearLearningRateMultiplier() - function in com.google.genai.types.VeoHyperParameters.Builder
Clears the value of learningRateMultiplier field.
clearLeft() - function in com.google.genai.types.DatasetDistributionDistributionBucket.Builder
Clears the value of left field.
clearLeft() - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
Clears the value of left field.
clearLevel() - function in com.google.genai.types.PartMediaResolution.Builder
Clears the value of level field.
clearLicense() - function in com.google.genai.types.Citation.Builder
Clears the value of license field.
clearLiveConnectConstraints() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of liveConnectConstraints field.
clearLlmBasedMetricSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of llmBasedMetricSpec field.
clearLlmRanker() - function in com.google.genai.types.RagRetrievalConfigRanking.Builder
Clears the value of llmRanker field.
clearLockAdditionalFields() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of lockAdditionalFields field.
clearLogProbability() - function in com.google.genai.types.LogprobsResultCandidate.Builder
Clears the value of logProbability field.
clearLogProbabilitySum() - function in com.google.genai.types.LogprobsResult.Builder
Clears the value of logProbabilitySum field.
clearLogprobs() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of logprobs field.
clearLogprobs() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of logprobs field.
clearLogprobsResult() - function in com.google.genai.types.Candidate.Builder
Clears the value of logprobsResult field.
clearLongitude() - function in com.google.genai.types.LatLng.Builder
Clears the value of longitude field.
clearManualMode() - function in com.google.genai.types.GenerationConfigRoutingConfig.Builder
Clears the value of manualMode field.
clearMaps() - function in com.google.genai.types.GroundingChunk.Builder
Clears the value of maps field.
clearMask() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of mask field.
clearMask() - function in com.google.genai.types.GeneratedImageMask.Builder
Clears the value of mask field.
clearMaskDilation() - function in com.google.genai.types.MaskReferenceConfig.Builder
Clears the value of maskDilation field.
clearMaskDilation() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of maskDilation field.
clearMaskImageConfig() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of maskImageConfig field.
clearMaskMode() - function in com.google.genai.types.MaskReferenceConfig.Builder
Clears the value of maskMode field.
clearMaskMode() - function in com.google.genai.types.VideoGenerationMask.Builder
Clears the value of maskMode field.
clearMax() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of max field.
clearMax() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of max field.
clearMaxConnections() - function in com.google.genai.types.ClientOptions.Builder
Clears the value of maxConnections field.
clearMaxConnectionsPerHost() - function in com.google.genai.types.ClientOptions.Builder
Clears the value of maxConnectionsPerHost field.
clearMaxDelay() - function in com.google.genai.types.HttpRetryOptions.Builder
Clears the value of maxDelay field.
clearMaximum() - function in com.google.genai.types.Schema.Builder
Clears the value of maximum field.
clearMaximumRemoteCalls() - function in com.google.genai.types.AutomaticFunctionCallingConfig.Builder
Clears the value of maximumRemoteCalls field.
clearMaxItems() - function in com.google.genai.types.Schema.Builder
Clears the value of maxItems field.
clearMaxLength() - function in com.google.genai.types.Schema.Builder
Clears the value of maxLength field.
clearMaxOutputTokens() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of maxOutputTokens field.
clearMaxOutputTokens() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of maxOutputTokens field.
clearMaxOutputTokens() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of maxOutputTokens field.
clearMaxOverlapTokens() - function in com.google.genai.types.WhiteSpaceConfig.Builder
Clears the value of maxOverlapTokens field.
clearMaxPredictions() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of maxPredictions field.
clearMaxProperties() - function in com.google.genai.types.Schema.Builder
Clears the value of maxProperties field.
clearMaxResults() - function in com.google.genai.types.VertexAISearch.Builder
Clears the value of maxResults field.
clearMaxSentenceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
The maximum sentence length in byte. The sentences with the length
larger than `max_sentence_length` is simply ignored.
Longer input tends to bring the following risks:
 * Overflow during EM training (unigram language model only)
 * Performance drop because of O(n log n) cost in BPE.
optional int32 max_sentence_length = 18 [default = 4192];
clearMaxSentencepieceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
/////////////////////////////////////////////////////////////////
SentencePiece parameters which control the shapes of sentence piece.

Maximum length of sentencepiece.
optional int32 max_sentencepiece_length = 20 [default = 16];
clearMaxTemperature() - function in com.google.genai.types.Model.Builder
Clears the value of maxTemperature field.
clearMaxTokensPerChunk() - function in com.google.genai.types.WhiteSpaceConfig.Builder
Clears the value of maxTokensPerChunk field.
clearMcpServers() - function in com.google.genai.types.Tool.Builder
Clears the value of mcpServers field.
clearMean() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of mean field.
clearMean() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of mean field.
clearMedia() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of media field.
clearMediaChunks() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of mediaChunks field.
clearMediaId() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of mediaId field.
clearMedian() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of median field.
clearMedian() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of median field.
clearMediaResolution() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of mediaResolution field.
clearMediaResolution() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of mediaResolution field.
clearMediaResolution() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of mediaResolution field.
clearMediaResolution() - function in com.google.genai.types.Part.Builder
Clears the value of mediaResolution field.
clearMessage() - function in com.google.genai.types.FileStatus.Builder
Clears the value of message field.
clearMessage() - function in com.google.genai.types.GoogleRpcStatus.Builder
Clears the value of message field.
clearMessage() - function in com.google.genai.types.JobError.Builder
Clears the value of message field.
clearMessage() - function in com.google.genai.types.ModelStatus.Builder
Clears the value of message field.
clearMetadata() - function in com.google.genai.types.EmbedContentResponse.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.GenerateVideosOperation.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.ImportFileOperation.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.InlinedEmbedContentResponse.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.InlinedRequest.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.InlinedResponse.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.TuningOperation.Builder
Clears the value of metadata field.
clearMetadata() - function in com.google.genai.types.UploadToFileSearchStoreOperation.Builder
Clears the value of metadata field.
clearMetadataFilter() - function in com.google.genai.types.FileSearch.Builder
Clears the value of metadataFilter field.
clearMetadataFilter() - function in com.google.genai.types.RagRetrievalConfigFilter.Builder
Clears the value of metadataFilter field.
clearMethod() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of method field.
clearMethod() - function in com.google.genai.types.ReplayRequest.Builder
Clears the value of method field.
clearMethod() - function in com.google.genai.types.SafetySetting.Builder
Clears the value of method field.
clearMetricPromptTemplate() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of metricPromptTemplate field.
clearMetricPromptTemplate() - function in com.google.genai.types.PairwiseMetricSpec.Builder
Clears the value of metricPromptTemplate field.
clearMetricPromptTemplate() - function in com.google.genai.types.PointwiseMetricSpec.Builder
Clears the value of metricPromptTemplate field.
clearMetrics() - function in com.google.genai.types.EvaluationConfig.Builder
Clears the value of metrics field.
clearMetricSpecName() - function in com.google.genai.types.PredefinedMetricSpec.Builder
Clears the value of metricSpecName field.
clearMetricSpecParameters() - function in com.google.genai.types.PredefinedMetricSpec.Builder
Clears the value of metricSpecParameters field.
clearMimeType() - function in com.google.genai.types.Blob.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.Document.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.File.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.FileData.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.FunctionResponseBlob.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.FunctionResponseFileData.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.Image.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.ImageConfigImageOutputOptions.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.ReplicatedVoiceConfig.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.UploadFileConfig.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of mimeType field.
clearMimeType() - function in com.google.genai.types.Video.Builder
Clears the value of mimeType field.
clearMin() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of min field.
clearMin() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of min field.
clearMinimum() - function in com.google.genai.types.Schema.Builder
Clears the value of minimum field.
clearMiningSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Maximum size of sentences to make seed sentence pieces.
Extended suffix array is constructed to extract frequent
sub-strings from the corpus. This uses 20N working space,
where N is the size of corpus.
optional int32 mining_sentence_size = 12 [deprecated = true];
clearMinItems() - function in com.google.genai.types.Schema.Builder
Clears the value of minItems field.
clearMinLength() - function in com.google.genai.types.Schema.Builder
Clears the value of minLength field.
clearMinProperties() - function in com.google.genai.types.Schema.Builder
Clears the value of minProperties field.
clearModality() - function in com.google.genai.types.ModalityTokenCount.Builder
Clears the value of modality field.
clearMode() - function in com.google.genai.types.DynamicRetrievalConfig.Builder
Clears the value of mode field.
clearMode() - function in com.google.genai.types.FunctionCallingConfig.Builder
Clears the value of mode field.
clearMode() - function in com.google.genai.types.SegmentImageConfig.Builder
Clears the value of mode field.
clearMode() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of mode field.
clearModel() - function in com.google.genai.types.BatchJob.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.CachedContent.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.ComputeTokensParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.CountTokensParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.CreateBatchJobParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.CreateCachedContentParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.DeleteModelParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.EditImageParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.EmbedContentParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.GenerateContentParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.GenerateImagesParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.GetModelParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.InlinedRequest.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.LiveConnectConstraints.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.LiveConnectParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.RecontextImageParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.SegmentImageParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.TunedModel.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.UpdateModelParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.UpscaleImageAPIParameters.Builder
Clears the value of model field.
clearModel() - function in com.google.genai.types.UpscaleImageParameters.Builder
Clears the value of model field.
clearModelArmorConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of modelArmorConfig field.
clearModelConfig() - function in com.google.genai.types.RubricGenerationSpec.Builder
Clears the value of modelConfig field.
clearModelName() - function in com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode.Builder
Clears the value of modelName field.
clearModelName() - function in com.google.genai.types.RagRetrievalConfigRankingLlmRanker.Builder
Clears the value of modelName field.
clearModelName() - function in com.google.genai.types.RagRetrievalConfigRankingRankService.Builder
Clears the value of modelName field.
clearModelPrefix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Output model file prefix.
<model_prefix>.model and <model_prefix>.vocab are generated.
optional string model_prefix = 2;
clearModelRoutingPreference() - function in com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder
Clears the value of modelRoutingPreference field.
clearModels() - function in com.google.genai.types.ListModelsResponse.Builder
Clears the value of models field.
clearModelSelectionConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of modelSelectionConfig field.
clearModelSelectionConfig() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of modelSelectionConfig field.
clearModelStage() - function in com.google.genai.types.ModelStatus.Builder
Clears the value of modelStage field.
clearModelStatus() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of modelStatus field.
clearModelTurn() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of modelTurn field.
clearModelType() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM];
clearModelVersion() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of modelVersion field.
clearMonth() - function in com.google.genai.types.GoogleTypeDate.Builder
Clears the value of month field.
clearMultiSpeakerVoiceConfig() - function in com.google.genai.types.SpeechConfig.Builder
Clears the value of multiSpeakerVoiceConfig field.
clearName() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
name of normalization rule.
optional string name = 1;
clearName() - function in com.google.genai.types.ApiKeyConfig.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.AuthToken.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.BatchJob.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.CachedContent.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.CancelBatchJobParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.CancelTuningJobParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteBatchJobParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteCachedContentParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteDocumentParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteFileParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteFileSearchStoreParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.DeleteResourceJob.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.Document.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.Endpoint.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.File.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.FunctionCall.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GenerateVideosOperation.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetBatchJobParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetCachedContentParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetDocumentParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetFileParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetFileSearchStoreParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.GetTuningJobParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.ImportFileOperation.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.McpServer.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.Metric.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.Model.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.TuningJob.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.TuningOperation.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.UpdateCachedContentParameters.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.UploadFileConfig.Builder
Clears the value of name field.
clearName() - function in com.google.genai.types.UploadToFileSearchStoreOperation.Builder
Clears the value of name field.
clearNegativePrompt() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of negativePrompt field.
clearNegativePrompt() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of negativePrompt field.
clearNegativePrompt() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of negativePrompt field.
clearNewHandle() - function in com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
Clears the value of newHandle field.
clearNewSessionExpireTime() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of newSessionExpireTime field.
clearNextPageToken() - function in com.google.genai.types.ListBatchJobsResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListCachedContentsResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListDocumentsResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListFileSearchStoresResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListFilesResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListModelsResponse.Builder
Clears the value of nextPageToken field.
clearNextPageToken() - function in com.google.genai.types.ListTuningJobsResponse.Builder
Clears the value of nextPageToken field.
clearNormalizationRuleTsv() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
Custom normalization rule file in TSV format.
https://github.com/google/sentencepiece/blob/master/doc/normalization.md
This field is only used in SentencePieceTrainer::Train() method, which
compiles the rule into the binary rule stored in `precompiled_charsmap`.
optional string normalization_rule_tsv = 6;
clearNormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Spec for text normalization.
optional .com.google.genai.proto.NormalizerSpec normalizer_spec = 3;
clearNullable() - function in com.google.genai.types.Schema.Builder
Clears the value of nullable field.
clearNullValue() - function in com.google.genai.types.PartialArg.Builder
Clears the value of nullValue field.
clearNumberOfImages() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of numberOfImages field.
clearNumberOfImages() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of numberOfImages field.
clearNumberOfImages() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of numberOfImages field.
clearNumberOfImages() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of numberOfImages field.
clearNumberOfVideos() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of numberOfVideos field.
clearNumberValue() - function in com.google.genai.types.PartialArg.Builder
Clears the value of numberValue field.
clearNumericValue() - function in com.google.genai.types.CustomMetadata.Builder
Clears the value of numericValue field.
clearNumericValue() - function in com.google.genai.types.GroundingChunkCustomMetadata.Builder
Clears the value of numericValue field.
clearNumHits() - function in com.google.genai.types.ExternalApiElasticSearchParams.Builder
Clears the value of numHits field.
clearNumSubIterations() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Number of EM sub iterations.
optional int32 num_sub_iterations = 17 [default = 2];
clearNumThreads() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Number of threads in the training.
optional int32 num_threads = 16 [default = 16];
clearNumTokens() - function in com.google.genai.types.PartMediaResolution.Builder
Clears the value of numTokens field.
clearOauthConfig() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of oauthConfig field.
clearOidcConfig() - function in com.google.genai.types.AuthConfig.Builder
Clears the value of oidcConfig field.
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.AbstractMessage.Builder
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.Message.Builder
 
clearOperationName() - function in com.google.genai.types.EvaluateDatasetRun.Builder
Clears the value of operationName field.
clearOperationName() - function in com.google.genai.types.FetchPredictOperationParameters.Builder
Clears the value of operationName field.
clearOperationName() - function in com.google.genai.types.GetOperationParameters.Builder
Clears the value of operationName field.
clearOutcome() - function in com.google.genai.types.CodeExecutionResult.Builder
Clears the value of outcome field.
clearOutput() - function in com.google.genai.types.CodeExecutionResult.Builder
Clears the value of output field.
clearOutput() - function in com.google.genai.types.TuningExample.Builder
Clears the value of output field.
clearOutputAudioTranscription() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of outputAudioTranscription field.
clearOutputAudioTranscription() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of outputAudioTranscription field.
clearOutputCompressionQuality() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputCompressionQuality() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputCompressionQuality() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputCompressionQuality() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputCompressionQuality() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputCompressionQuality() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of outputCompressionQuality field.
clearOutputConfig() - function in com.google.genai.types.EvaluationConfig.Builder
Clears the value of outputConfig field.
clearOutputDimensionality() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of outputDimensionality field.
clearOutputGcsUri() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of outputGcsUri field.
clearOutputGcsUri() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of outputGcsUri field.
clearOutputGcsUri() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of outputGcsUri field.
clearOutputGcsUri() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of outputGcsUri field.
clearOutputGcsUri() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of outputGcsUri field.
clearOutputGcsUri() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of outputGcsUri field.
clearOutputInfo() - function in com.google.genai.types.BatchJob.Builder
Clears the value of outputInfo field.
clearOutputInfo() - function in com.google.genai.types.EvaluateDatasetResponse.Builder
Clears the value of outputInfo field.
clearOutputMimeType() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of outputMimeType field.
clearOutputMimeType() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of outputMimeType field.
clearOutputMimeType() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of outputMimeType field.
clearOutputMimeType() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of outputMimeType field.
clearOutputMimeType() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of outputMimeType field.
clearOutputMimeType() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of outputMimeType field.
clearOutputTokenLimit() - function in com.google.genai.types.Model.Builder
Clears the value of outputTokenLimit field.
clearOutputTranscription() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of outputTranscription field.
clearOutputUri() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of outputUri field.
clearOutputUri() - function in com.google.genai.types.TuningJob.Builder
Clears the value of outputUri field.
clearOutputUriPrefix() - function in com.google.genai.types.GcsDestination.Builder
Clears the value of outputUriPrefix field.
clearOverrideReplayId() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of overrideReplayId field.
clearOverwrittenThreshold() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of overwrittenThreshold field.
clearP5() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of p5 field.
clearP5() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of p5 field.
clearP95() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of p95 field.
clearP95() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of p95 field.
clearPadId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
<pad> (padding)
optional int32 pad_id = 43 [default = -1];
clearPadPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string pad_piece = 48 [default = "<pad>"];
clearPageNumber() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of pageNumber field.
clearPageSize() - function in com.google.genai.types.ListBatchJobsConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListCachedContentsConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListDocumentsConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListFileSearchStoresConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListFilesConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListModelsConfig.Builder
Clears the value of pageSize field.
clearPageSize() - function in com.google.genai.types.ListTuningJobsConfig.Builder
Clears the value of pageSize field.
clearPageSpan() - function in com.google.genai.types.RagChunk.Builder
Clears the value of pageSpan field.
clearPageToken() - function in com.google.genai.types.ListBatchJobsConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListCachedContentsConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListDocumentsConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListFileSearchStoresConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListFilesConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListModelsConfig.Builder
Clears the value of pageToken field.
clearPageToken() - function in com.google.genai.types.ListTuningJobsConfig.Builder
Clears the value of pageToken field.
clearPairwiseChoice() - function in com.google.genai.types.PairwiseMetricResult.Builder
Clears the value of pairwiseChoice field.
clearPairwiseMetricResult() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of pairwiseMetricResult field.
clearParallelAiSearch() - function in com.google.genai.types.Tool.Builder
Clears the value of parallelAiSearch field.
clearParameterNames() - function in com.google.genai.types.TestTableFile.Builder
Clears the value of parameterNames field.
clearParameters() - function in com.google.genai.types.ComputationBasedMetricSpec.Builder
Clears the value of parameters field.
clearParameters() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of parameters field.
clearParameters() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of parameters field.
clearParametersJsonSchema() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of parametersJsonSchema field.
clearParent() - function in com.google.genai.types.ImportFileResponse.Builder
Clears the value of parent field.
clearParent() - function in com.google.genai.types.ListDocumentsParameters.Builder
Clears the value of parent field.
clearParent() - function in com.google.genai.types.UploadToFileSearchStoreResponse.Builder
Clears the value of parent field.
clearPartialArgs() - function in com.google.genai.types.FunctionCall.Builder
Clears the value of partialArgs field.
clearPartIndex() - function in com.google.genai.types.Segment.Builder
Clears the value of partIndex field.
clearPartMetadata() - function in com.google.genai.types.Part.Builder
Clears the value of partMetadata field.
clearPartnerModelTuningSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of partnerModelTuningSpec field.
clearParts() - function in com.google.genai.types.Content.Builder
Clears the value of parts field.
clearParts() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of parts field.
clearPassword() - function in com.google.genai.types.ProxyOptions.Builder
Clears the value of password field.
clearPattern() - function in com.google.genai.types.Schema.Builder
Clears the value of pattern field.
clearPendingDocumentsCount() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of pendingDocumentsCount field.
clearPersonGeneration() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of personGeneration field.
clearPersonGeneration() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of personGeneration field.
clearPersonImage() - function in com.google.genai.types.RecontextImageSource.Builder
Clears the value of personImage field.
clearPhotoUri() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
Clears the value of photoUri field.
clearPiece() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
piece must not be empty.
optional string piece = 1;
clearPieces() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Sentence pieces with scores.
repeated .com.google.genai.proto.ModelProto.SentencePiece pieces = 1;
clearPipelineJob() - function in com.google.genai.types.TuningJob.Builder
Clears the value of pipelineJob field.
clearPipelineRootDirectory() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of pipelineRootDirectory field.
clearPlaceAnswerSources() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of placeAnswerSources field.
clearPlaceId() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of placeId field.
clearPointwiseMetricResult() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of pointwiseMetricResult field.
clearPointwiseMetricSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of pointwiseMetricSpec field.
clearPort() - function in com.google.genai.types.ProxyOptions.Builder
Clears the value of port field.
clearPositivePromptSafetyAttributes() - function in com.google.genai.types.GenerateImagesResponse.Builder
Clears the value of positivePromptSafetyAttributes field.
clearPrebuiltVoiceConfig() - function in com.google.genai.types.VoiceConfig.Builder
Clears the value of prebuiltVoiceConfig field.
clearPrecompiledCharsmap() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
Pre-compiled normalization rule created by
Builder::GetPrecompiledCharsMap() or Builder::CompileCharsMap() method.
Usually this field is set by Builder::GetNormalizerSpec() method.
optional bytes precompiled_charsmap = 2;
clearPredefinedMetricSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of predefinedMetricSpec field.
clearPredefinedRubricGenerationSpec() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of predefinedRubricGenerationSpec field.
clearPreferenceOptimizationDataStats() - function in com.google.genai.types.TuningDataStats.Builder
Clears the value of preferenceOptimizationDataStats field.
clearPreferenceOptimizationSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of preferenceOptimizationSpec field.
clearPrefixPaddingMs() - function in com.google.genai.types.AutomaticActivityDetection.Builder
Clears the value of prefixPaddingMs field.
clearPresencePenalty() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of presencePenalty field.
clearPresencePenalty() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of presencePenalty field.
clearPretokenizationDelimiter() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Defines the pre-tokenization delimiter.
When specified, no pieces crossing this delimiter is not included
in the vocab. Then the delimiter string is virtually ignored
during the training. This field can allows constraints on the vocabulary
selection. Note that this field is available on unigram mode.
optional string pretokenization_delimiter = 53 [default = ""];
clearPreTunedModel() - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Clears the value of preTunedModel field.
clearPreTunedModel() - function in com.google.genai.types.TuningJob.Builder
Clears the value of preTunedModel field.
clearPreTunedModelCheckpointId() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of preTunedModelCheckpointId field.
clearProactiveAudio() - function in com.google.genai.types.ProactivityConfig.Builder
Clears the value of proactiveAudio field.
clearProactivity() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of proactivity field.
clearProactivity() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of proactivity field.
clearProbability() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of probability field.
clearProbabilityScore() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of probabilityScore field.
clearProductImage() - function in com.google.genai.types.ProductImage.Builder
Clears the value of productImage field.
clearProductImages() - function in com.google.genai.types.RecontextImageSource.Builder
Clears the value of productImages field.
clearProminentPeople() - function in com.google.genai.types.ImageConfig.Builder
Clears the value of prominentPeople field.
clearPrompt() - function in com.google.genai.types.EditImageParameters.Builder
Clears the value of prompt field.
clearPrompt() - function in com.google.genai.types.GenerateImagesParameters.Builder
Clears the value of prompt field.
clearPrompt() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of prompt field.
clearPrompt() - function in com.google.genai.types.GenerateVideosSource.Builder
Clears the value of prompt field.
clearPrompt() - function in com.google.genai.types.RecontextImageSource.Builder
Clears the value of prompt field.
clearPrompt() - function in com.google.genai.types.SegmentImageSource.Builder
Clears the value of prompt field.
clearPromptDatasetUri() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of promptDatasetUri field.
clearPromptFeedback() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of promptFeedback field.
clearPromptTemplate() - function in com.google.genai.types.Metric.Builder
Clears the value of promptTemplate field.
clearPromptTemplate() - function in com.google.genai.types.RubricGenerationSpec.Builder
Clears the value of promptTemplate field.
clearPromptTemplateName() - function in com.google.genai.types.ModelArmorConfig.Builder
Clears the value of promptTemplateName field.
clearPromptTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of promptTokenCount field.
clearPromptTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of promptTokenCount field.
clearPromptTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of promptTokensDetails field.
clearPromptTokensDetails() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of promptTokensDetails field.
clearProperties() - function in com.google.genai.types.Schema.Builder
Clears the value of properties field.
clearPropertyOrdering() - function in com.google.genai.types.Schema.Builder
Clears the value of propertyOrdering field.
clearProxyOptions() - function in com.google.genai.types.ClientOptions.Builder
Clears the value of proxyOptions field.
clearPublicationDate() - function in com.google.genai.types.Citation.Builder
Clears the value of publicationDate field.
clearPubsubTopic() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of pubsubTopic field.
clearQueryBase() - function in com.google.genai.types.ListModelsConfig.Builder
Clears the value of queryBase field.
clearRagChunk() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of ragChunk field.
clearRagCorpora() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of ragCorpora field.
clearRagCorpus() - function in com.google.genai.types.VertexRagStoreRagResource.Builder
Clears the value of ragCorpus field.
clearRagFileIds() - function in com.google.genai.types.VertexRagStoreRagResource.Builder
Clears the value of ragFileIds field.
clearRagResources() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of ragResources field.
clearRagRetrievalConfig() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of ragRetrievalConfig field.
clearRaiFilteredReason() - function in com.google.genai.types.GeneratedImage.Builder
Clears the value of raiFilteredReason field.
clearRaiMediaFilteredCount() - function in com.google.genai.types.GenerateVideosResponse.Builder
Clears the value of raiMediaFilteredCount field.
clearRaiMediaFilteredReasons() - function in com.google.genai.types.GenerateVideosResponse.Builder
Clears the value of raiMediaFilteredReasons field.
clearRanking() - function in com.google.genai.types.RagRetrievalConfig.Builder
Clears the value of ranking field.
clearRankService() - function in com.google.genai.types.RagRetrievalConfigRanking.Builder
Clears the value of rankService field.
clearRawOutput() - function in com.google.genai.types.RawOutput.Builder
Clears the value of rawOutput field.
clearRawOutputs() - function in com.google.genai.types.CustomOutput.Builder
Clears the value of rawOutputs field.
clearRealtimeInput() - function in com.google.genai.types.LiveClientMessage.Builder
Clears the value of realtimeInput field.
clearRealtimeInputConfig() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of realtimeInputConfig field.
clearRealtimeInputConfig() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of realtimeInputConfig field.
clearRealtimeInputParameters() - function in com.google.genai.types.LiveClientMessage.Builder
Clears the value of realtimeInputParameters field.
clearReferenceId() - function in com.google.genai.types.ContentReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.ControlReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.MaskReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.RawReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.StyleReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceId() - function in com.google.genai.types.SubjectReferenceImage.Builder
Clears the value of referenceId field.
clearReferenceImage() - function in com.google.genai.types.ContentReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.ControlReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.MaskReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.RawReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.StyleReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImage() - function in com.google.genai.types.SubjectReferenceImage.Builder
Clears the value of referenceImage field.
clearReferenceImages() - function in com.google.genai.types.EditImageParameters.Builder
Clears the value of referenceImages field.
clearReferenceImages() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of referenceImages field.
clearReferenceType() - function in com.google.genai.types.ContentReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.ControlReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.MaskReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.RawReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.StyleReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.SubjectReferenceImage.Builder
Clears the value of referenceType field.
clearReferenceType() - function in com.google.genai.types.VideoGenerationReferenceImage.Builder
Clears the value of referenceType field.
clearRelativePublishTimeDescription() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of relativePublishTimeDescription field.
clearRemoveExtraWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
Removes leading, trailing, and duplicate internal whitespace.
optional bool remove_extra_whitespaces = 4 [default = true];
clearRenderedContent() - function in com.google.genai.types.SearchEntryPoint.Builder
Clears the value of renderedContent field.
clearRenderedParts() - function in com.google.genai.types.GroundingSupport.Builder
Clears the value of renderedParts field.
clearReplayId() - function in com.google.genai.types.ReplayFile.Builder
Clears the value of replayId field.
clearReplicatedVoiceConfig() - function in com.google.genai.types.VoiceConfig.Builder
Clears the value of replicatedVoiceConfig field.
clearRequest() - function in com.google.genai.types.ReplayInteraction.Builder
Clears the value of request field.
clearRequired() - function in com.google.genai.types.Schema.Builder
Clears the value of required field.
clearRequiredChars() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Defines required characters. Each UTF8 character in this string is included
in the character set regardless of character_coverage value. Unlike
user_defined_symbols, these characters have scores based on the frequency
on input sentences, and the model can form subwords using characters
in this field.
optional string required_chars = 36;
clearResizeMode() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of resizeMode field.
clearResolution() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of resolution field.
clearResourceName() - function in com.google.genai.types.FetchPredictOperationParameters.Builder
Clears the value of resourceName field.
clearResponse() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.GenerateVideosOperation.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.ImportFileOperation.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.InlinedEmbedContentResponse.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.InlinedResponse.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.ReplayInteraction.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.ToolResponse.Builder
Clears the value of response field.
clearResponse() - function in com.google.genai.types.UploadToFileSearchStoreOperation.Builder
Clears the value of response field.
clearResponseId() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of responseId field.
clearResponseJsonSchema() - function in com.google.genai.types.FunctionDeclaration.Builder
Clears the value of responseJsonSchema field.
clearResponseJsonSchema() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of responseJsonSchema field.
clearResponseJsonSchema() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of responseJsonSchema field.
clearResponseLogprobs() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of responseLogprobs field.
clearResponseLogprobs() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of responseLogprobs field.
clearResponseMimeType() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of responseMimeType field.
clearResponseMimeType() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of responseMimeType field.
clearResponseModalities() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of responseModalities field.
clearResponseModalities() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of responseModalities field.
clearResponseModalities() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of responseModalities field.
clearResponseSchema() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of responseSchema field.
clearResponseSchema() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of responseSchema field.
clearResponseTemplateName() - function in com.google.genai.types.ModelArmorConfig.Builder
Clears the value of responseTemplateName field.
clearResponseTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of responseTokenCount field.
clearResponseTokensDetails() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of responseTokensDetails field.
clearResumable() - function in com.google.genai.types.LiveServerSessionResumptionUpdate.Builder
Clears the value of resumable field.
clearRetirementTime() - function in com.google.genai.types.ModelStatus.Builder
Clears the value of retirementTime field.
clearRetrieval() - function in com.google.genai.types.Tool.Builder
Clears the value of retrieval field.
clearRetrievalConfig() - function in com.google.genai.types.ToolConfig.Builder
Clears the value of retrievalConfig field.
clearRetrievalMetadata() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of retrievalMetadata field.
clearRetrievalQueries() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of retrievalQueries field.
clearRetrievedContext() - function in com.google.genai.types.GroundingChunk.Builder
Clears the value of retrievedContext field.
clearRetrievedUrl() - function in com.google.genai.types.UrlMetadata.Builder
Clears the value of retrievedUrl field.
clearRetryOptions() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of retryOptions field.
clearReturnRawOutput() - function in com.google.genai.types.CustomOutputFormatConfig.Builder
Clears the value of returnRawOutput field.
clearReturnRawOutput() - function in com.google.genai.types.Metric.Builder
Clears the value of returnRawOutput field.
clearReview() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of review field.
clearReviewId() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of reviewId field.
clearReviewSnippet() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
Clears the value of reviewSnippet field.
clearReviewSnippets() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSources.Builder
Clears the value of reviewSnippets field.
clearRight() - function in com.google.genai.types.DatasetDistributionDistributionBucket.Builder
Clears the value of right field.
clearRight() - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
Clears the value of right field.
clearRole() - function in com.google.genai.types.Content.Builder
Clears the value of role field.
clearRole() - function in com.google.genai.types.TokensInfo.Builder
Clears the value of role field.
clearRougeMetricValue() - function in com.google.genai.types.AggregationResult.Builder
Clears the value of rougeMetricValue field.
clearRougeSpec() - function in com.google.genai.types.UnifiedMetric.Builder
Clears the value of rougeSpec field.
clearRougeType() - function in com.google.genai.types.RougeSpec.Builder
Clears the value of rougeType field.
clearRoute() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of route field.
clearRoutingConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of routingConfig field.
clearRoutingConfig() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of routingConfig field.
clearRubricContentType() - function in com.google.genai.types.RubricGenerationSpec.Builder
Clears the value of rubricContentType field.
clearRubricGenerationSpec() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of rubricGenerationSpec field.
clearRubricGroupKey() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of rubricGroupKey field.
clearRubricTypeOntology() - function in com.google.genai.types.RubricGenerationSpec.Builder
Clears the value of rubricTypeOntology field.
clearSafetyAttributes() - function in com.google.genai.types.GeneratedImage.Builder
Clears the value of safetyAttributes field.
clearSafetyFilterLevel() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of safetyFilterLevel field.
clearSafetyFilterLevel() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of safetyFilterLevel field.
clearSafetyFilterLevel() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of safetyFilterLevel field.
clearSafetyFilterLevel() - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
Clears the value of safetyFilterLevel field.
clearSafetyFilterLevel() - function in com.google.genai.types.UpscaleImageConfig.Builder
Clears the value of safetyFilterLevel field.
clearSafetyRatings() - function in com.google.genai.types.Candidate.Builder
Clears the value of safetyRatings field.
clearSafetyRatings() - function in com.google.genai.types.GenerateContentResponsePromptFeedback.Builder
Clears the value of safetyRatings field.
clearSafetySettings() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of safetySettings field.
clearSafetySettings() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of safetySettings field.
clearSafetySettings() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of safetySettings field.
clearSamples() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
repeated .com.google.genai.proto.SelfTestData.Sample samples = 1;
clearSamplingCount() - function in com.google.genai.types.AutoraterConfig.Builder
Clears the value of samplingCount field.
clearScheduling() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of scheduling field.
clearScore() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
optional float score = 2;
clearScore() - function in com.google.genai.types.BleuMetricValue.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.CustomCodeExecutionResult.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.EntityLabel.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.ExactMatchMetricValue.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.PointwiseMetricResult.Builder
Clears the value of score field.
clearScore() - function in com.google.genai.types.RougeMetricValue.Builder
Clears the value of score field.
clearScores() - function in com.google.genai.types.SafetyAttributes.Builder
Clears the value of scores field.
clearScoresDistribution() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of scoresDistribution field.
clearScoreVariancePerExampleDistribution() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of scoreVariancePerExampleDistribution field.
clearScribbleImage() - function in com.google.genai.types.SegmentImageSource.Builder
Clears the value of scribbleImage field.
clearSdkBlob() - function in com.google.genai.types.SearchEntryPoint.Builder
Clears the value of sdkBlob field.
clearSdkHttpResponse() - function in com.google.genai.types.CancelTuningJobResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ComputeTokensResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.CountTokensResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.CreateFileResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.DeleteCachedContentResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.DeleteFileResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.DeleteModelResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.DeleteResourceJob.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.EditImageResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.EmbedContentResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.GenerateImagesResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ImportFileResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListBatchJobsResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListCachedContentsResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListDocumentsResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListFileSearchStoresResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListFilesResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListModelsResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.ListTuningJobsResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.RegisterFilesResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.TuningJob.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.TuningOperation.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.UploadToFileSearchStoreResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.UploadToFileSearchStoreResumableResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkHttpResponse() - function in com.google.genai.types.UpscaleImageResponse.Builder
Clears the value of sdkHttpResponse field.
clearSdkResponseSegments() - function in com.google.genai.types.ReplayResponse.Builder
Clears the value of sdkResponseSegments field.
clearSearchEntryPoint() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of searchEntryPoint field.
clearSearchTemplate() - function in com.google.genai.types.ExternalApiElasticSearchParams.Builder
Clears the value of searchTemplate field.
clearSearchTypes() - function in com.google.genai.types.GoogleSearch.Builder
Clears the value of searchTypes field.
clearSeed() - function in com.google.genai.types.EditImageConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.GenerateImagesConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of seed field.
clearSeed() - function in com.google.genai.types.RecontextImageConfig.Builder
Clears the value of seed field.
clearSeedSentencepiecesFile() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Path to a seed sentencepieces file, with one tab-separated
seed sentencepiece <tab> frequency per line.
optional string seed_sentencepieces_file = 54 [default = ""];
clearSeedSentencepieceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
The size of seed sentencepieces.
`seed_sentencepiece_size` must be larger than `vocab_size`.
optional int32 seed_sentencepiece_size = 14 [default = 1000000];
clearSegment() - function in com.google.genai.types.GroundingSupport.Builder
Clears the value of segment field.
clearSegmentationClasses() - function in com.google.genai.types.MaskReferenceConfig.Builder
Clears the value of segmentationClasses field.
clearSelfTestData() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Stores sample input and its expected segmentation to verify the model.
optional .com.google.genai.proto.SelfTestData self_test_data = 4;
clearSelfTestSampleSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Size of self-test samples, which are encoded in the model file.
optional int32 self_test_sample_size = 6 [default = 0];
clearServerContent() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of serverContent field.
clearServiceAccount() - function in com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
Clears the value of serviceAccount field.
clearServiceAccount() - function in com.google.genai.types.AuthConfigOauthConfig.Builder
Clears the value of serviceAccount field.
clearServiceAccount() - function in com.google.genai.types.AuthConfigOidcConfig.Builder
Clears the value of serviceAccount field.
clearServiceAccount() - function in com.google.genai.types.TuningJob.Builder
Clears the value of serviceAccount field.
clearServiceTier() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of serviceTier field.
clearSessionId() - function in com.google.genai.types.LiveServerSetupComplete.Builder
Clears the value of sessionId field.
clearSessionResumption() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of sessionResumption field.
clearSessionResumption() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of sessionResumption field.
clearSessionResumptionUpdate() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of sessionResumptionUpdate field.
clearSetup() - function in com.google.genai.types.LiveClientMessage.Builder
Clears the value of setup field.
clearSetupComplete() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of setupComplete field.
clearSeverity() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of severity field.
clearSeverityScore() - function in com.google.genai.types.SafetyRating.Builder
Clears the value of severityScore field.
clearSftLossWeightMultiplier() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of sftLossWeightMultiplier field.
clearSha256Hash() - function in com.google.genai.types.File.Builder
Clears the value of sha256Hash field.
clearShouldReturnHttpResponse() - function in com.google.genai.types.CreateFileConfig.Builder
Clears the value of shouldReturnHttpResponse field.
clearShouldReturnHttpResponse() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of shouldReturnHttpResponse field.
clearShouldReturnHttpResponse() - function in com.google.genai.types.RegisterFilesConfig.Builder
Clears the value of shouldReturnHttpResponse field.
clearShouldReturnHttpResponse() - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Clears the value of shouldReturnHttpResponse field.
clearShrinkingFactor() - function in 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. This value should be smaller than 1.0.
optional float shrinking_factor = 15 [default = 0.75];
clearShuffleInputSentence() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional bool shuffle_input_sentence = 19 [default = true];
clearSilenceDurationMs() - function in com.google.genai.types.AutomaticActivityDetection.Builder
Clears the value of silenceDurationMs field.
clearSimilarityTopK() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of similarityTopK field.
clearSimpleSearchParams() - function in com.google.genai.types.ExternalApi.Builder
Clears the value of simpleSearchParams field.
clearSizeBytes() - function in com.google.genai.types.Document.Builder
Clears the value of sizeBytes field.
clearSizeBytes() - function in com.google.genai.types.File.Builder
Clears the value of sizeBytes field.
clearSizeBytes() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of sizeBytes field.
clearSkipInApiMode() - function in com.google.genai.types.TestTableItem.Builder
Clears the value of skipInApiMode field.
clearSlidingWindow() - function in com.google.genai.types.ContextWindowCompressionConfig.Builder
Clears the value of slidingWindow field.
clearSource() - function in com.google.genai.types.File.Builder
Clears the value of source field.
clearSource() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of source field.
clearSource() - function in com.google.genai.types.RecontextImageParameters.Builder
Clears the value of source field.
clearSource() - function in com.google.genai.types.SegmentImageParameters.Builder
Clears the value of source field.
clearSourceFlaggingUris() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of sourceFlaggingUris field.
clearSourceId() - function in com.google.genai.types.GroundingMetadataSourceFlaggingUri.Builder
Clears the value of sourceId field.
clearSourceUri() - function in com.google.genai.types.GroundingChunkImage.Builder
Clears the value of sourceUri field.
clearSpeaker() - function in com.google.genai.types.SpeakerVoiceConfig.Builder
Clears the value of speaker field.
clearSpeakerVoiceConfigs() - function in com.google.genai.types.MultiSpeakerVoiceConfig.Builder
Clears the value of speakerVoiceConfigs field.
clearSpeechConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of speechConfig field.
clearSpeechConfig() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of speechConfig field.
clearSpeechConfig() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of speechConfig field.
clearSplitByNumber() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
When `split_by_number` is true, put a boundary between number and
non-number transition. If we want to treat "F1" is one token, set this flag
to be false.
optional bool split_by_number = 23 [default = true];
clearSplitByUnicodeScript() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Uses Unicode script to split sentence pieces.
When `split_by_unicode_script` is true, we do not allow sentence piece to
include multiple Unicode scripts, e.g. "F1" is not a valid piece.
Exception: CJ characters (Hiragana/Katakana/Han) are all handled
as one script type, since Japanese word can consist of multiple scripts.
This exception is always applied regardless of the accept-language
parameter.
optional bool split_by_unicode_script = 21 [default = true];
clearSplitByWhitespace() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Use a white space to split sentence pieces.
When `split_by_whitespace` is false, we may have the piece containing
a white space in the middle. e.g., "in_the".
optional bool split_by_whitespace = 22 [default = true];
clearSplitDigits() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Split all digits (0-9) into separate pieces.
optional bool split_digits = 25 [default = false];
clearSplitSummaries() - function in com.google.genai.types.RougeSpec.Builder
Clears the value of splitSummaries field.
clearSrc() - function in com.google.genai.types.BatchJob.Builder
Clears the value of src field.
clearSrc() - function in com.google.genai.types.CreateBatchJobParameters.Builder
Clears the value of src field.
clearSrc() - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
Clears the value of src field.
clearSseReadTimeout() - function in com.google.genai.types.StreamableHttpTransport.Builder
Clears the value of sseReadTimeout field.
clearStartIndex() - function in com.google.genai.types.Citation.Builder
Clears the value of startIndex field.
clearStartIndex() - function in com.google.genai.types.Segment.Builder
Clears the value of startIndex field.
clearStartOffset() - function in com.google.genai.types.VideoMetadata.Builder
Clears the value of startOffset field.
clearStartOfSpeechSensitivity() - function in com.google.genai.types.AutomaticActivityDetection.Builder
Clears the value of startOfSpeechSensitivity field.
clearStartTime() - function in com.google.genai.types.BatchJob.Builder
Clears the value of startTime field.
clearStartTime() - function in com.google.genai.types.Interval.Builder
Clears the value of startTime field.
clearStartTime() - function in com.google.genai.types.TuningJob.Builder
Clears the value of startTime field.
clearState() - function in com.google.genai.types.BatchJob.Builder
Clears the value of state field.
clearState() - function in com.google.genai.types.Document.Builder
Clears the value of state field.
clearState() - function in com.google.genai.types.File.Builder
Clears the value of state field.
clearState() - function in com.google.genai.types.TuningJob.Builder
Clears the value of state field.
clearStatistics() - function in com.google.genai.types.ContentEmbedding.Builder
Clears the value of statistics field.
clearStatusCode() - function in com.google.genai.types.ReplayResponse.Builder
Clears the value of statusCode field.
clearStep() - function in com.google.genai.types.Checkpoint.Builder
Clears the value of step field.
clearStep() - function in com.google.genai.types.TunedModelCheckpoint.Builder
Clears the value of step field.
clearStopSequences() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of stopSequences field.
clearStopSequences() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of stopSequences field.
clearStoreContext() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of storeContext field.
clearStreamableHttpTransport() - function in com.google.genai.types.McpServer.Builder
Clears the value of streamableHttpTransport field.
clearStreamFunctionCallArguments() - function in com.google.genai.types.FunctionCallingConfig.Builder
Clears the value of streamFunctionCallArguments field.
clearStringListValue() - function in com.google.genai.types.CustomMetadata.Builder
Clears the value of stringListValue field.
clearStringListValue() - function in com.google.genai.types.GroundingChunkCustomMetadata.Builder
Clears the value of stringListValue field.
clearStringValue() - function in com.google.genai.types.CustomMetadata.Builder
Clears the value of stringValue field.
clearStringValue() - function in com.google.genai.types.GroundingChunkCustomMetadata.Builder
Clears the value of stringValue field.
clearStringValue() - function in com.google.genai.types.PartialArg.Builder
Clears the value of stringValue field.
clearStudentModel() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of studentModel field.
clearStyleDescription() - function in com.google.genai.types.StyleReferenceConfig.Builder
Clears the value of styleDescription field.
clearStyleImageConfig() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of styleImageConfig field.
clearSubjectDescription() - function in com.google.genai.types.SubjectReferenceConfig.Builder
Clears the value of subjectDescription field.
clearSubjectImageConfig() - function in com.google.genai.types.ReferenceImageAPI.Builder
Clears the value of subjectImageConfig field.
clearSubjectType() - function in com.google.genai.types.SubjectReferenceConfig.Builder
Clears the value of subjectType field.
clearSuccessfulCount() - function in com.google.genai.types.CompletionStats.Builder
Clears the value of successfulCount field.
clearSuccessfulForecastPointCount() - function in com.google.genai.types.CompletionStats.Builder
Clears the value of successfulForecastPointCount field.
clearSum() - function in com.google.genai.types.DatasetDistribution.Builder
Clears the value of sum field.
clearSum() - function in com.google.genai.types.SupervisedTuningDatasetDistribution.Builder
Clears the value of sum field.
clearSupervisedTuningDataStats() - function in com.google.genai.types.TuningDataStats.Builder
Clears the value of supervisedTuningDataStats field.
clearSupervisedTuningSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of supervisedTuningSpec field.
clearSupportedActions() - function in com.google.genai.types.Model.Builder
Clears the value of supportedActions field.
clearSystemInstruction() - function in com.google.genai.types.CountTokensConfig.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.LLMBasedMetricSpec.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.PairwiseMetricSpec.Builder
Clears the value of systemInstruction field.
clearSystemInstruction() - function in com.google.genai.types.PointwiseMetricSpec.Builder
Clears the value of systemInstruction field.
clearTargetTokens() - function in com.google.genai.types.SlidingWindow.Builder
Clears the value of targetTokens field.
clearTaskType() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of taskType field.
clearTemperature() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of temperature field.
clearTemperature() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of temperature field.
clearTemperature() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of temperature field.
clearTemperature() - function in com.google.genai.types.Model.Builder
Clears the value of temperature field.
clearTerminateOnClose() - function in com.google.genai.types.StreamableHttpTransport.Builder
Clears the value of terminateOnClose field.
clearTestMethod() - function in com.google.genai.types.TestTableFile.Builder
Clears the value of testMethod field.
clearTestTable() - function in com.google.genai.types.TestTableFile.Builder
Clears the value of testTable field.
clearText() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.Part.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.RagChunk.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.Segment.Builder
Clears the value of text field.
clearText() - function in com.google.genai.types.Transcription.Builder
Clears the value of text field.
clearTextCount() - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Clears the value of textCount field.
clearTextInput() - function in com.google.genai.types.TuningExample.Builder
Clears the value of textInput field.
clearThinking() - function in com.google.genai.types.Model.Builder
Clears the value of thinking field.
clearThinkingBudget() - function in com.google.genai.types.ThinkingConfig.Builder
Clears the value of thinkingBudget field.
clearThinkingConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of thinkingConfig field.
clearThinkingConfig() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of thinkingConfig field.
clearThinkingConfig() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of thinkingConfig field.
clearThinkingLevel() - function in com.google.genai.types.ThinkingConfig.Builder
Clears the value of thinkingLevel field.
clearThought() - function in com.google.genai.types.Part.Builder
Clears the value of thought field.
clearThoughtSignature() - function in com.google.genai.types.Part.Builder
Clears the value of thoughtSignature field.
clearThoughtsTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of thoughtsTokenCount field.
clearThoughtsTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of thoughtsTokenCount field.
clearThreshold() - function in com.google.genai.types.SafetySetting.Builder
Clears the value of threshold field.
clearTimeLeft() - function in com.google.genai.types.LiveServerGoAway.Builder
Clears the value of timeLeft field.
clearTimeout() - function in com.google.genai.types.HttpOptions.Builder
Clears the value of timeout field.
clearTimeout() - function in com.google.genai.types.StreamableHttpTransport.Builder
Clears the value of timeout field.
clearTimeRangeFilter() - function in com.google.genai.types.GoogleSearch.Builder
Clears the value of timeRangeFilter field.
clearTitle() - function in com.google.genai.types.Citation.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.EmbedContentConfig.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.GroundingChunkImage.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.GroundingChunkWeb.Builder
Clears the value of title field.
clearTitle() - function in com.google.genai.types.Schema.Builder
Clears the value of title field.
clearToken() - function in com.google.genai.types.LogprobsResultCandidate.Builder
Clears the value of token field.
clearTokenCount() - function in com.google.genai.types.Candidate.Builder
Clears the value of tokenCount field.
clearTokenCount() - function in com.google.genai.types.ContentEmbeddingStatistics.Builder
Clears the value of tokenCount field.
clearTokenCount() - function in com.google.genai.types.ModalityTokenCount.Builder
Clears the value of tokenCount field.
clearTokenCount() - function in com.google.genai.types.SingleEmbedContentResponse.Builder
Clears the value of tokenCount field.
clearTokenId() - function in com.google.genai.types.LogprobsResultCandidate.Builder
Clears the value of tokenId field.
clearTokenIds() - function in com.google.genai.types.TokensInfo.Builder
Clears the value of tokenIds field.
clearTokens() - function in com.google.genai.types.TokensInfo.Builder
Clears the value of tokens field.
clearTokensInfo() - function in com.google.genai.types.ComputeTokensResponse.Builder
Clears the value of tokensInfo field.
clearTokensInfo() - function in com.google.genai.types.ComputeTokensResult.Builder
Clears the value of tokensInfo field.
clearToolCall() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of toolCall field.
clearToolCall() - function in com.google.genai.types.Part.Builder
Clears the value of toolCall field.
clearToolCallCancellation() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of toolCallCancellation field.
clearToolConfig() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of toolConfig field.
clearToolConfig() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of toolConfig field.
clearToolResponse() - function in com.google.genai.types.LiveClientMessage.Builder
Clears the value of toolResponse field.
clearToolResponse() - function in com.google.genai.types.Part.Builder
Clears the value of toolResponse field.
clearTools() - function in com.google.genai.types.CountTokensConfig.Builder
Clears the value of tools field.
clearTools() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of tools field.
clearTools() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of tools field.
clearTools() - function in com.google.genai.types.LiveClientSetup.Builder
Clears the value of tools field.
clearTools() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of tools field.
clearToolType() - function in com.google.genai.types.ToolCall.Builder
Clears the value of toolType field.
clearToolType() - function in com.google.genai.types.ToolResponse.Builder
Clears the value of toolType field.
clearToolUsePromptTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of toolUsePromptTokenCount field.
clearToolUsePromptTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of toolUsePromptTokenCount field.
clearToolUsePromptTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of toolUsePromptTokensDetails field.
clearToolUsePromptTokensDetails() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of toolUsePromptTokensDetails field.
clearTopCandidates() - function in com.google.genai.types.LogprobsResult.Builder
Clears the value of topCandidates field.
clearTopK() - function in com.google.genai.types.FileSearch.Builder
Clears the value of topK field.
clearTopK() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of topK field.
clearTopK() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of topK field.
clearTopK() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of topK field.
clearTopK() - function in com.google.genai.types.Model.Builder
Clears the value of topK field.
clearTopK() - function in com.google.genai.types.RagRetrievalConfig.Builder
Clears the value of topK field.
clearTopP() - function in com.google.genai.types.GenerateContentConfig.Builder
Clears the value of topP field.
clearTopP() - function in com.google.genai.types.GenerationConfig.Builder
Clears the value of topP field.
clearTopP() - function in com.google.genai.types.LiveConnectConfig.Builder
Clears the value of topP field.
clearTopP() - function in com.google.genai.types.Model.Builder
Clears the value of topP field.
clearTotalBillableCharacterCount() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of totalBillableCharacterCount field.
clearTotalBillableCharacterCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of totalBillableCharacterCount field.
clearTotalBillableTokenCount() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of totalBillableTokenCount field.
clearTotalBillableTokenCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of totalBillableTokenCount field.
clearTotalTokenCount() - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Clears the value of totalTokenCount field.
clearTotalTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of totalTokenCount field.
clearTotalTokenCount() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of totalTokenCount field.
clearTotalTokens() - function in com.google.genai.types.CountTokensResponse.Builder
Clears the value of totalTokens field.
clearTotalTokens() - function in com.google.genai.types.CountTokensResult.Builder
Clears the value of totalTokens field.
clearTotalTruncatedExampleCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of totalTruncatedExampleCount field.
clearTotalTuningCharacterCount() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of totalTuningCharacterCount field.
clearTotalTuningCharacterCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of totalTuningCharacterCount field.
clearTrafficType() - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Clears the value of trafficType field.
clearTrafficType() - function in com.google.genai.types.UsageMetadata.Builder
Clears the value of trafficType field.
clearTrainerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Spec used to generate this model file.
optional .com.google.genai.proto.TrainerSpec trainer_spec = 2;
clearTrainExtremelyLargeCorpus() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Increase bit depth to allow unigram model training on large
(>10M sentences) corpora. A Side-effect of enabling this flag
is increased memory usage.
optional bool train_extremely_large_corpus = 49 [default = false];
clearTrainingDataset() - function in com.google.genai.types.CreateTuningJobParameters.Builder
Clears the value of trainingDataset field.
clearTrainingDataset() - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Clears the value of trainingDataset field.
clearTrainingDatasetStats() - function in com.google.genai.types.DistillationDataStats.Builder
Clears the value of trainingDatasetStats field.
clearTrainingDatasetUri() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingDatasetUri() - function in com.google.genai.types.FullFineTuningSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingDatasetUri() - function in com.google.genai.types.PartnerModelTuningSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingDatasetUri() - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingDatasetUri() - function in com.google.genai.types.SupervisedTuningSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingDatasetUri() - function in com.google.genai.types.VeoTuningSpec.Builder
Clears the value of trainingDatasetUri field.
clearTrainingSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Maximum size of sentences to train sentence pieces.
optional int32 training_sentence_size = 13 [deprecated = true];
clearTransparent() - function in com.google.genai.types.SessionResumptionConfig.Builder
Clears the value of transparent field.
clearTreatWhitespaceAsSuffix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Adds whitespace symbol (_) as a suffix instead of prefix. e.g., _hello =>
hello_. When `treat_whitespace_as_suffix` is true,
NormalizerSpec::add_dummy_prefix will add the dummy whitespace to the end
of sentence.
optional bool treat_whitespace_as_suffix = 24 [default = false];
clearTriggerTokens() - function in com.google.genai.types.ContextWindowCompressionConfig.Builder
Clears the value of triggerTokens field.
clearTruncated() - function in com.google.genai.types.ContentEmbeddingStatistics.Builder
Clears the value of truncated field.
clearTruncatedExampleIndices() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of truncatedExampleIndices field.
clearTtl() - function in com.google.genai.types.CreateCachedContentConfig.Builder
Clears the value of ttl field.
clearTtl() - function in com.google.genai.types.UpdateCachedContentConfig.Builder
Clears the value of ttl field.
clearTunedModel() - function in com.google.genai.types.TuningJob.Builder
Clears the value of tunedModel field.
clearTunedModelDisplayName() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of tunedModelDisplayName field.
clearTunedModelDisplayName() - function in com.google.genai.types.TuningJob.Builder
Clears the value of tunedModelDisplayName field.
clearTunedModelInfo() - function in com.google.genai.types.Model.Builder
Clears the value of tunedModelInfo field.
clearTunedModelName() - function in com.google.genai.types.PreTunedModel.Builder
Clears the value of tunedModelName field.
clearTunedTeacherModelSource() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of tunedTeacherModelSource field.
clearTunedTeacherModelSource() - function in com.google.genai.types.DistillationSamplingSpec.Builder
Clears the value of tunedTeacherModelSource field.
clearTunedTeacherModelSource() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of tunedTeacherModelSource field.
clearTuningDatasetExampleCount() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of tuningDatasetExampleCount field.
clearTuningDatasetExampleCount() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of tuningDatasetExampleCount field.
clearTuningDatasetExampleCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of tuningDatasetExampleCount field.
clearTuningDataStats() - function in com.google.genai.types.TuningJob.Builder
Clears the value of tuningDataStats field.
clearTuningJobMetadata() - function in com.google.genai.types.TuningJob.Builder
Clears the value of tuningJobMetadata field.
clearTuningJobs() - function in com.google.genai.types.ListTuningJobsResponse.Builder
Clears the value of tuningJobs field.
clearTuningJobState() - function in com.google.genai.types.TuningJob.Builder
Clears the value of tuningJobState field.
clearTuningMode() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of tuningMode field.
clearTuningMode() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of tuningMode field.
clearTuningMode() - function in com.google.genai.types.SupervisedTuningSpec.Builder
Clears the value of tuningMode field.
clearTuningStepCount() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of tuningStepCount field.
clearTuningStepCount() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of tuningStepCount field.
clearTuningStepCount() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of tuningStepCount field.
clearTuningTask() - function in com.google.genai.types.VeoHyperParameters.Builder
Clears the value of tuningTask field.
clearTurnComplete() - function in com.google.genai.types.LiveClientContent.Builder
Clears the value of turnComplete field.
clearTurnComplete() - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Clears the value of turnComplete field.
clearTurnComplete() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of turnComplete field.
clearTurnCompleteReason() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of turnCompleteReason field.
clearTurnCoverage() - function in com.google.genai.types.RealtimeInputConfig.Builder
Clears the value of turnCoverage field.
clearTurns() - function in com.google.genai.types.LiveClientContent.Builder
Clears the value of turns field.
clearTurns() - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Clears the value of turns field.
clearType() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];
clearType() - function in com.google.genai.types.ComputationBasedMetricSpec.Builder
Clears the value of type field.
clearType() - function in com.google.genai.types.ProxyOptions.Builder
Clears the value of type field.
clearType() - function in com.google.genai.types.Schema.Builder
Clears the value of type field.
clearUnkId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
/////////////////////////////////////////////////////////////////
Reserved special meta tokens.
* -1 is not used.
* unk_id must not be -1.
Id must starts with 0 and be contiguous.
optional int32 unk_id = 40 [default = 0];
clearUnkPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string unk_piece = 45 [default = "<unk>"];
clearUnkSurface() - function in 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. We can easily figure out that <unk> is emitted.
optional string unk_surface = 44 [default = " \342\201\207 "];
clearUpdateTime() - function in com.google.genai.types.BatchJob.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.CachedContent.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.Document.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.File.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.FileSearchStore.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.TunedModelInfo.Builder
Clears the value of updateTime field.
clearUpdateTime() - function in com.google.genai.types.TuningJob.Builder
Clears the value of updateTime field.
clearUpscaleFactor() - function in com.google.genai.types.UpscaleImageAPIParameters.Builder
Clears the value of upscaleFactor field.
clearUpscaleFactor() - function in com.google.genai.types.UpscaleImageParameters.Builder
Clears the value of upscaleFactor field.
clearUri() - function in com.google.genai.types.Citation.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.File.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.GroundingChunkMaps.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.GroundingChunkWeb.Builder
Clears the value of uri field.
clearUri() - function in com.google.genai.types.Video.Builder
Clears the value of uri field.
clearUris() - function in com.google.genai.types.GcsSource.Builder
Clears the value of uris field.
clearUris() - function in com.google.genai.types.InternalRegisterFilesParameters.Builder
Clears the value of uris field.
clearUris() - function in com.google.genai.types.WebhookConfig.Builder
Clears the value of uris field.
clearUrl() - function in com.google.genai.types.ReplayRequest.Builder
Clears the value of url field.
clearUrl() - function in com.google.genai.types.StreamableHttpTransport.Builder
Clears the value of url field.
clearUrlContext() - function in com.google.genai.types.Tool.Builder
Clears the value of urlContext field.
clearUrlContextMetadata() - function in com.google.genai.types.Candidate.Builder
Clears the value of urlContextMetadata field.
clearUrlContextMetadata() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of urlContextMetadata field.
clearUrlMetadata() - function in com.google.genai.types.UrlContextMetadata.Builder
Clears the value of urlMetadata field.
clearUrlRetrievalStatus() - function in com.google.genai.types.UrlMetadata.Builder
Clears the value of urlRetrievalStatus field.
clearUsageMetadata() - function in com.google.genai.types.CachedContent.Builder
Clears the value of usageMetadata field.
clearUsageMetadata() - function in com.google.genai.types.GenerateContentResponse.Builder
Clears the value of usageMetadata field.
clearUsageMetadata() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of usageMetadata field.
clearUseAllVocab() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
use all symbols for vocab extraction. This flag is valid
if model type is either CHAR or WORD
optional bool use_all_vocab = 34 [default = false];
clearUseEffectiveOrder() - function in com.google.genai.types.BleuSpec.Builder
Clears the value of useEffectiveOrder field.
clearUserDatasetExamples() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of userDatasetExamples field.
clearUserDatasetExamples() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of userDatasetExamples field.
clearUserDatasetExamples() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of userDatasetExamples field.
clearUserDefinedSymbols() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Defines user defined symbols.
These symbols are added with extremely high score
so they are always treated as one unique symbol in any context.
Typical usage of user_defined_symbols is placeholder for named entities.
repeated string user_defined_symbols = 31;
clearUserInputTokenDistribution() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of userInputTokenDistribution field.
clearUserInputTokenDistribution() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of userInputTokenDistribution field.
clearUserInputTokenDistribution() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of userInputTokenDistribution field.
clearUserMessagePerExampleDistribution() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of userMessagePerExampleDistribution field.
clearUserMessagePerExampleDistribution() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of userMessagePerExampleDistribution field.
clearUserMetadata() - function in com.google.genai.types.WebhookConfig.Builder
Clears the value of userMetadata field.
clearUsername() - function in com.google.genai.types.ProxyOptions.Builder
Clears the value of username field.
clearUserOutputTokenDistribution() - function in com.google.genai.types.DatasetStats.Builder
Clears the value of userOutputTokenDistribution field.
clearUserOutputTokenDistribution() - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Clears the value of userOutputTokenDistribution field.
clearUserOutputTokenDistribution() - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Clears the value of userOutputTokenDistribution field.
clearUses() - function in com.google.genai.types.CreateAuthTokenConfig.Builder
Clears the value of uses field.
clearUseStemmer() - function in com.google.genai.types.RougeSpec.Builder
Clears the value of useStemmer field.
clearVadSignalType() - function in com.google.genai.types.VoiceActivityDetectionSignal.Builder
Clears the value of vadSignalType field.
clearValidationDataset() - function in com.google.genai.types.CreateTuningJobConfig.Builder
Clears the value of validationDataset field.
clearValidationDatasetUri() - function in com.google.genai.types.DistillationSamplingSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.DistillationSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.FullFineTuningSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.PartnerModelTuningSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.SupervisedTuningSpec.Builder
Clears the value of validationDatasetUri field.
clearValidationDatasetUri() - function in com.google.genai.types.VeoTuningSpec.Builder
Clears the value of validationDatasetUri field.
clearValues() - function in com.google.genai.types.ContentEmbedding.Builder
Clears the value of values field.
clearValues() - function in com.google.genai.types.GroundingChunkStringList.Builder
Clears the value of values field.
clearValues() - function in com.google.genai.types.StringList.Builder
Clears the value of values field.
clearVectorDistanceThreshold() - function in com.google.genai.types.RagRetrievalConfigFilter.Builder
Clears the value of vectorDistanceThreshold field.
clearVectorDistanceThreshold() - function in com.google.genai.types.VertexRagStore.Builder
Clears the value of vectorDistanceThreshold field.
clearVectorSimilarityThreshold() - function in com.google.genai.types.RagRetrievalConfigFilter.Builder
Clears the value of vectorSimilarityThreshold field.
clearVeoDataMixtureRatio() - function in com.google.genai.types.VeoHyperParameters.Builder
Clears the value of veoDataMixtureRatio field.
clearVeoTuningSpec() - function in com.google.genai.types.TuningJob.Builder
Clears the value of veoTuningSpec field.
clearVersion() - function in com.google.genai.types.Model.Builder
Clears the value of version field.
clearVertexAiSearch() - function in com.google.genai.types.Retrieval.Builder
Clears the value of vertexAiSearch field.
clearVertexDataset() - function in com.google.genai.types.BatchJobDestination.Builder
Clears the value of vertexDataset field.
clearVertexDatasetName() - function in com.google.genai.types.BatchJobSource.Builder
Clears the value of vertexDatasetName field.
clearVertexDatasetResource() - function in com.google.genai.types.TuningDataset.Builder
Clears the value of vertexDatasetResource field.
clearVertexDatasetResource() - function in com.google.genai.types.TuningValidationDataset.Builder
Clears the value of vertexDatasetResource field.
clearVertexMultimodalDatasetName() - function in com.google.genai.types.BatchJobOutputInfo.Builder
Clears the value of vertexMultimodalDatasetName field.
clearVertexRagStore() - function in com.google.genai.types.Retrieval.Builder
Clears the value of vertexRagStore field.
clearVideo() - function in com.google.genai.types.GenerateVideosParameters.Builder
Clears the value of video field.
clearVideo() - function in com.google.genai.types.GenerateVideosSource.Builder
Clears the value of video field.
clearVideo() - function in com.google.genai.types.GeneratedVideo.Builder
Clears the value of video field.
clearVideo() - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Clears the value of video field.
clearVideo() - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Clears the value of video field.
clearVideoBitrateBps() - function in com.google.genai.types.AvatarConfig.Builder
Clears the value of videoBitrateBps field.
clearVideoBytes() - function in com.google.genai.types.Video.Builder
Clears the value of videoBytes field.
clearVideoDurationSeconds() - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Clears the value of videoDurationSeconds field.
clearVideoMetadata() - function in com.google.genai.types.File.Builder
Clears the value of videoMetadata field.
clearVideoMetadata() - function in com.google.genai.types.Part.Builder
Clears the value of videoMetadata field.
clearVocabSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Vocabulary size. 8k is the default size.
optional int32 vocab_size = 4 [default = 8000];
clearVocabularyOutputPieceScore() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
When creating the vocabulary file, defines whether or not to additionally
output the score for each piece.
optional bool vocabulary_output_piece_score = 32 [default = true];
clearVoiceActivity() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of voiceActivity field.
clearVoiceActivityDetectionSignal() - function in com.google.genai.types.LiveServerMessage.Builder
Clears the value of voiceActivityDetectionSignal field.
clearVoiceActivityType() - function in com.google.genai.types.VoiceActivity.Builder
Clears the value of voiceActivityType field.
clearVoiceConfig() - function in com.google.genai.types.SpeakerVoiceConfig.Builder
Clears the value of voiceConfig field.
clearVoiceConfig() - function in com.google.genai.types.SpeechConfig.Builder
Clears the value of voiceConfig field.
clearVoiceName() - function in com.google.genai.types.PrebuiltVoiceConfig.Builder
Clears the value of voiceName field.
clearVoiceSampleAudio() - function in com.google.genai.types.ReplicatedVoiceConfig.Builder
Clears the value of voiceSampleAudio field.
clearWaitingForInput() - function in com.google.genai.types.LiveServerContent.Builder
Clears the value of waitingForInput field.
clearWeb() - function in com.google.genai.types.GroundingChunk.Builder
Clears the value of web field.
clearWebhookConfig() - function in com.google.genai.types.CreateBatchJobConfig.Builder
Clears the value of webhookConfig field.
clearWebhookConfig() - function in com.google.genai.types.GenerateVideosConfig.Builder
Clears the value of webhookConfig field.
clearWebSearch() - function in com.google.genai.types.SearchTypes.Builder
Clears the value of webSearch field.
clearWebSearchQueries() - function in com.google.genai.types.GroundingMetadata.Builder
Clears the value of webSearchQueries field.
clearWhiteSpaceConfig() - function in com.google.genai.types.ChunkingConfig.Builder
Clears the value of whiteSpaceConfig field.
clearWillContinue() - function in com.google.genai.types.FunctionCall.Builder
Clears the value of willContinue field.
clearWillContinue() - function in com.google.genai.types.FunctionResponse.Builder
Clears the value of willContinue field.
clearWillContinue() - function in com.google.genai.types.PartialArg.Builder
Clears the value of willContinue field.
clearYear() - function in com.google.genai.types.GoogleTypeDate.Builder
Clears the value of year field.
Client - class in com.google.genai
Client class for GenAI.
Client.Async - class in com.google.genai.Client
Async class for GenAI.
Client.Builder - class in com.google.genai.Client
Builder for Client.
clientContent() - function in com.google.genai.types.LiveClientMessage
Incremental update of the current conversation delivered from the client.
clientContent(com.google.genai.types.LiveClientContent) - function in com.google.genai.types.LiveClientMessage.Builder
Setter for clientContent.
clientContent(com.google.genai.types.LiveClientContent.Builder) - function in com.google.genai.types.LiveClientMessage.Builder
Setter for clientContent builder.
ClientException - class in com.google.genai.errors
Client exception raised by the GenAI API.
clientOptions(com.google.genai.types.ClientOptions) - function in com.google.genai.Client.Builder
Sets the ClientOptions for the API client.
ClientOptions - class in com.google.genai.types
Client options to be used in the client instantiation.
ClientOptions.Builder - class in com.google.genai.types.ClientOptions
Builder for ClientOptions.
clone() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
 
clone() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
 
clone() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
 
clone() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Builder
 
clone() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
 
clone() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
 
clone() - function in com.google.protobuf.AbstractMessage.Builder
 
clone() - function in com.google.protobuf.Message.Builder
 
close() - function in com.google.genai.ApiClient
 
close() - function in com.google.genai.ApiClient
 
close() - function in com.google.genai.ApiResponse
 
close() - function in com.google.genai.AsyncSession
Closes the WebSocket connection.
close() - function in com.google.genai.Client
Closes the Client instance together with its instantiated http client.
close() - function in com.google.genai.ReplayApiResponse
 
close() - function in com.google.genai.ResponseStream
 
close() - function in java.lang.AutoCloseable
 
code() - function in com.google.genai.errors.ApiException
Returns the status code from the API response.
code() - function in com.google.genai.errors.ApiException
Returns the status code from the API response.
code() - function in com.google.genai.types.ExecutableCode
Required.
code(java.lang.String) - function in com.google.genai.types.ExecutableCode.Builder
Setter for code.
code() - function in com.google.genai.types.FileStatus
The status code.
code(java.lang.Integer) - function in com.google.genai.types.FileStatus.Builder
Setter for code.
code() - function in com.google.genai.types.GoogleRpcStatus
The status code, which should be an enum value of google.rpc.Code.
code(java.lang.Integer) - function in com.google.genai.types.GoogleRpcStatus.Builder
Setter for code.
code() - function in com.google.genai.types.JobError
The status code.
code(java.lang.Integer) - function in com.google.genai.types.JobError.Builder
Setter for code.
codeExecution() - function in com.google.genai.types.Tool
Optional.
codeExecution(com.google.genai.types.ToolCodeExecution) - function in com.google.genai.types.Tool.Builder
Setter for codeExecution.
codeExecution(com.google.genai.types.ToolCodeExecution.Builder) - function in com.google.genai.types.Tool.Builder
Setter for codeExecution builder.
CodeExecutionResult - class in com.google.genai.types
Result of executing the `ExecutableCode`.
codeExecutionResult() - function in com.google.genai.types.GenerateContentResponse
Returns the code execution result in the response.
codeExecutionResult() - function in com.google.genai.types.Part
Optional.
codeExecutionResult(com.google.genai.types.CodeExecutionResult) - function in com.google.genai.types.Part.Builder
Setter for codeExecutionResult.
codeExecutionResult(com.google.genai.types.CodeExecutionResult.Builder) - function in com.google.genai.types.Part.Builder
Setter for codeExecutionResult builder.
CodeExecutionResult.Builder - class in com.google.genai.types.CodeExecutionResult
Builder for CodeExecutionResult.
COLLECTION - enum entry in com.google.genai.types.ResourceScope.Known

When setting base_url, this value configures resource scope to be the collection. The resource name will not include api version, project, or location. For example, if base_url is set to "https://aiplatform.googleapis.com", then the resource name for a Model would be "https://aiplatform.googleapis.com/publishers/google/models/gemini-3-pro-preview

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() - function in com.google.genai.types.TestTableFile
 
comment(java.lang.String) - function in com.google.genai.types.TestTableFile.Builder
Setter for comment.
Common - class in com.google.genai
Common utility methods for the GenAI SDK.
Common.BuiltRequest - class in com.google.genai.Common
A class that holds the path, body, and http options of an API request.
completedEpochCount() - function in com.google.genai.types.TuningJobMetadata
Output only.
completedEpochCount(java.lang.Long) - function in com.google.genai.types.TuningJobMetadata.Builder
Setter for completedEpochCount.
completedStepCount() - function in com.google.genai.types.TuningJobMetadata
Output only.
completedStepCount(java.lang.Long) - function in com.google.genai.types.TuningJobMetadata.Builder
Setter for completedStepCount.
completion() - function in com.google.genai.types.GeminiPreferenceExampleCompletion
Single turn completion for the given prompt.
completion(com.google.genai.types.Content) - function in com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
Setter for completion.
completion(com.google.genai.types.Content.Builder) - function in com.google.genai.types.GeminiPreferenceExampleCompletion.Builder
Setter for completion builder.
completions() - function in com.google.genai.types.GeminiPreferenceExample
List of completions for a given prompt.
completions(kotlin.Array) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for completions.
completions(kotlin.Array) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for completions builder.
completions(java.util.List) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for completions.
completionStats() - function in com.google.genai.types.BatchJob
Statistics on completed and failed prediction instances.
completionStats(com.google.genai.types.CompletionStats) - function in com.google.genai.types.BatchJob.Builder
Setter for completionStats.
completionStats(com.google.genai.types.CompletionStats.Builder) - function in 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.Builder - class in com.google.genai.types.CompletionStats
Builder for CompletionStats.
compressionQuality() - function in com.google.genai.types.GenerateVideosConfig
Compression quality of the generated videos.
compressionQuality(com.google.genai.types.VideoCompressionQuality) - function in com.google.genai.types.GenerateVideosConfig.Builder
Setter for compressionQuality.
compressionQuality(com.google.genai.types.VideoCompressionQuality.Known) - function in com.google.genai.types.GenerateVideosConfig.Builder
Setter for compressionQuality given a known enum.
compressionQuality(java.lang.String) - function in com.google.genai.types.GenerateVideosConfig.Builder
Setter for compressionQuality given a string.
compressionQuality() - function in com.google.genai.types.ImageConfigImageOutputOptions
Optional.
compressionQuality(java.lang.Integer) - function in com.google.genai.types.ImageConfigImageOutputOptions.Builder
Setter for compressionQuality.
COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED - enum entry in com.google.genai.types.ComputationBasedMetricType.Known

Computation based metric type is unspecified.

ComputationBasedMetricSpec - class in com.google.genai.types
Specification for a computation based metric.
computationBasedMetricSpec() - function in com.google.genai.types.UnifiedMetric
The spec for a computation based metric.
computationBasedMetricSpec(com.google.genai.types.ComputationBasedMetricSpec) - function in com.google.genai.types.UnifiedMetric.Builder
Setter for computationBasedMetricSpec.
computationBasedMetricSpec(com.google.genai.types.ComputationBasedMetricSpec.Builder) - function in com.google.genai.types.UnifiedMetric.Builder
Setter for computationBasedMetricSpec builder.
ComputationBasedMetricSpec.Builder - class in com.google.genai.types.ComputationBasedMetricSpec
Builder for ComputationBasedMetricSpec.
ComputationBasedMetricType - class in com.google.genai.types
Represents the type of the computation based metric.
ComputationBasedMetricType.Known - class in com.google.genai.types.ComputationBasedMetricType
Enum representing the known values for ComputationBasedMetricType.
ComputerUse - class in com.google.genai.types
Tool to support computer use.
computerUse() - function in com.google.genai.types.Tool
Optional.
computerUse(com.google.genai.types.ComputerUse) - function in com.google.genai.types.Tool.Builder
Setter for computerUse.
computerUse(com.google.genai.types.ComputerUse.Builder) - function in com.google.genai.types.Tool.Builder
Setter for computerUse builder.
ComputerUse.Builder - class in com.google.genai.types.ComputerUse
Builder for ComputerUse.
computeTokens(java.lang.String,java.lang.String,com.google.genai.types.ComputeTokensConfig) - function in com.google.genai.AsyncModels
Asynchronously computes tokens given a GenAI model and a text string.
computeTokens(java.lang.String,java.util.List,com.google.genai.types.ComputeTokensConfig) - function in com.google.genai.AsyncModels
Asynchronously computes tokens given a GenAI model and a list of content.
computeTokens(com.google.genai.types.Content) - function in com.google.genai.LocalTokenizer
Computes the token ids and string pieces for a single content object.
computeTokens(java.lang.String) - function in com.google.genai.LocalTokenizer
Computes the token ids and string pieces for a text string.
computeTokens(java.util.List) - function in com.google.genai.LocalTokenizer
Computes the tokens ids and string pieces in the input.
computeTokens(java.lang.String,java.lang.String,com.google.genai.types.ComputeTokensConfig) - function in com.google.genai.Models
Computes tokens given a GenAI model and a text string.
computeTokens(java.lang.String,java.util.List,com.google.genai.types.ComputeTokensConfig) - function in com.google.genai.Models
Computes tokens given a GenAI model and a list of content.
ComputeTokensConfig - class in com.google.genai.types
Optional parameters for computing tokens.
ComputeTokensConfig.Builder - class in com.google.genai.types.ComputeTokensConfig
Builder for ComputeTokensConfig.
ComputeTokensParameters - class in com.google.genai.types
Parameters for computing tokens.
ComputeTokensParameters.Builder - class in com.google.genai.types.ComputeTokensParameters
Builder for ComputeTokensParameters.
ComputeTokensResponse - class in com.google.genai.types
Response for computing tokens.
ComputeTokensResponse.Builder - class in com.google.genai.types.ComputeTokensResponse
Builder for ComputeTokensResponse.
ComputeTokensResult - class in com.google.genai.types
Local tokenizer compute tokens result.
ComputeTokensResult.Builder - class in com.google.genai.types.ComputeTokensResult
Builder for ComputeTokensResult.
confidenceScores() - function in com.google.genai.types.GroundingSupport
Confidence score of the support references.
confidenceScores(kotlin.Array) - function in com.google.genai.types.GroundingSupport.Builder
Setter for confidenceScores.
confidenceScores(java.util.List) - function in com.google.genai.types.GroundingSupport.Builder
Setter for confidenceScores.
confidenceThreshold() - function in com.google.genai.types.SegmentImageConfig
The confidence score threshold for the detections as a decimal value.
confidenceThreshold(java.lang.Float) - function in com.google.genai.types.SegmentImageConfig.Builder
Setter for confidenceThreshold.
config() - function in com.google.genai.types.CancelBatchJobParameters
Optional parameters for the request.
config(com.google.genai.types.CancelBatchJobConfig) - function in com.google.genai.types.CancelBatchJobParameters.Builder
Setter for config.
config(com.google.genai.types.CancelBatchJobConfig.Builder) - function in com.google.genai.types.CancelBatchJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CancelTuningJobParameters
Optional parameters for the request.
config(com.google.genai.types.CancelTuningJobConfig) - function in com.google.genai.types.CancelTuningJobParameters.Builder
Setter for config.
config(com.google.genai.types.CancelTuningJobConfig.Builder) - function in com.google.genai.types.CancelTuningJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ComputeTokensParameters
Optional parameters for the request.
config(com.google.genai.types.ComputeTokensConfig) - function in com.google.genai.types.ComputeTokensParameters.Builder
Setter for config.
config(com.google.genai.types.ComputeTokensConfig.Builder) - function in com.google.genai.types.ComputeTokensParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ControlReferenceImage
Configuration for the control reference image.
config(com.google.genai.types.ControlReferenceConfig) - function in com.google.genai.types.ControlReferenceImage.Builder
Setter for config.
config(com.google.genai.types.ControlReferenceConfig.Builder) - function in com.google.genai.types.ControlReferenceImage.Builder
Setter for config builder.
config() - function in com.google.genai.types.CountTokensParameters
Configuration for counting tokens.
config(com.google.genai.types.CountTokensConfig) - function in com.google.genai.types.CountTokensParameters.Builder
Setter for config.
config(com.google.genai.types.CountTokensConfig.Builder) - function in com.google.genai.types.CountTokensParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateAuthTokenParameters
Optional parameters for the request.
config(com.google.genai.types.CreateAuthTokenConfig) - function in com.google.genai.types.CreateAuthTokenParameters.Builder
Setter for config.
config(com.google.genai.types.CreateAuthTokenConfig.Builder) - function in com.google.genai.types.CreateAuthTokenParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateBatchJobParameters
Optional parameters for creating a BatchJob.
config(com.google.genai.types.CreateBatchJobConfig) - function in com.google.genai.types.CreateBatchJobParameters.Builder
Setter for config.
config(com.google.genai.types.CreateBatchJobConfig.Builder) - function in com.google.genai.types.CreateBatchJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateCachedContentParameters
Configuration that contains optional parameters.
config(com.google.genai.types.CreateCachedContentConfig) - function in com.google.genai.types.CreateCachedContentParameters.Builder
Setter for config.
config(com.google.genai.types.CreateCachedContentConfig.Builder) - function in com.google.genai.types.CreateCachedContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters
Optional parameters for creating a BatchJob.
config(com.google.genai.types.CreateEmbeddingsBatchJobConfig) - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
Setter for config.
config(com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder) - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateFileParameters
Used to override the default configuration.
config(com.google.genai.types.CreateFileConfig) - function in com.google.genai.types.CreateFileParameters.Builder
Setter for config.
config(com.google.genai.types.CreateFileConfig.Builder) - function in com.google.genai.types.CreateFileParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateFileSearchStoreParameters
Optional parameters for creating a file search store.
config(com.google.genai.types.CreateFileSearchStoreConfig) - function in com.google.genai.types.CreateFileSearchStoreParameters.Builder
Setter for config.
config(com.google.genai.types.CreateFileSearchStoreConfig.Builder) - function in com.google.genai.types.CreateFileSearchStoreParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateTuningJobParameters
Configuration for the tuning job.
config(com.google.genai.types.CreateTuningJobConfig) - function in com.google.genai.types.CreateTuningJobParameters.Builder
Setter for config.
config(com.google.genai.types.CreateTuningJobConfig.Builder) - function in com.google.genai.types.CreateTuningJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.CreateTuningJobParametersPrivate
Configuration for the tuning job.
config(com.google.genai.types.CreateTuningJobConfig) - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Setter for config.
config(com.google.genai.types.CreateTuningJobConfig.Builder) - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteBatchJobParameters
Optional parameters for the request.
config(com.google.genai.types.DeleteBatchJobConfig) - function in com.google.genai.types.DeleteBatchJobParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteBatchJobConfig.Builder) - function in com.google.genai.types.DeleteBatchJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteCachedContentParameters
Optional parameters for the request.
config(com.google.genai.types.DeleteCachedContentConfig) - function in com.google.genai.types.DeleteCachedContentParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteCachedContentConfig.Builder) - function in com.google.genai.types.DeleteCachedContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteDocumentParameters
Optional parameters for the request.
config(com.google.genai.types.DeleteDocumentConfig) - function in com.google.genai.types.DeleteDocumentParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteDocumentConfig.Builder) - function in com.google.genai.types.DeleteDocumentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteFileParameters
Used to override the default configuration.
config(com.google.genai.types.DeleteFileConfig) - function in com.google.genai.types.DeleteFileParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteFileConfig.Builder) - function in com.google.genai.types.DeleteFileParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteFileSearchStoreParameters
Optional parameters for the request.
config(com.google.genai.types.DeleteFileSearchStoreConfig) - function in com.google.genai.types.DeleteFileSearchStoreParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteFileSearchStoreConfig.Builder) - function in com.google.genai.types.DeleteFileSearchStoreParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.DeleteModelParameters
Optional parameters for the request.
config(com.google.genai.types.DeleteModelConfig) - function in com.google.genai.types.DeleteModelParameters.Builder
Setter for config.
config(com.google.genai.types.DeleteModelConfig.Builder) - function in com.google.genai.types.DeleteModelParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.EditImageParameters
Configuration for editing.
config(com.google.genai.types.EditImageConfig) - function in com.google.genai.types.EditImageParameters.Builder
Setter for config.
config(com.google.genai.types.EditImageConfig.Builder) - function in com.google.genai.types.EditImageParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.EmbedContentBatch
Configuration that contains optional parameters.
config(com.google.genai.types.EmbedContentConfig) - function in com.google.genai.types.EmbedContentBatch.Builder
Setter for config.
config(com.google.genai.types.EmbedContentConfig.Builder) - function in com.google.genai.types.EmbedContentBatch.Builder
Setter for config builder.
config() - function in com.google.genai.types.EmbedContentParameters
Configuration that contains optional parameters.
config(com.google.genai.types.EmbedContentConfig) - function in com.google.genai.types.EmbedContentParameters.Builder
Setter for config.
config(com.google.genai.types.EmbedContentConfig.Builder) - function in com.google.genai.types.EmbedContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.EmbedContentParametersPrivate
Configuration that contains optional parameters.
config(com.google.genai.types.EmbedContentConfig) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for config.
config(com.google.genai.types.EmbedContentConfig.Builder) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for config builder.
config() - function in com.google.genai.types.FetchPredictOperationParameters
Used to override the default configuration.
config(com.google.genai.types.FetchPredictOperationConfig) - function in com.google.genai.types.FetchPredictOperationParameters.Builder
Setter for config.
config(com.google.genai.types.FetchPredictOperationConfig.Builder) - function in com.google.genai.types.FetchPredictOperationParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GenerateContentParameters
Configuration that contains optional model parameters.
config(com.google.genai.types.GenerateContentConfig) - function in com.google.genai.types.GenerateContentParameters.Builder
Setter for config.
config(com.google.genai.types.GenerateContentConfig.Builder) - function in com.google.genai.types.GenerateContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GenerateImagesParameters
Configuration for generating images.
config(com.google.genai.types.GenerateImagesConfig) - function in com.google.genai.types.GenerateImagesParameters.Builder
Setter for config.
config(com.google.genai.types.GenerateImagesConfig.Builder) - function in com.google.genai.types.GenerateImagesParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GenerateVideosParameters
Configuration for generating videos.
config(com.google.genai.types.GenerateVideosConfig) - function in com.google.genai.types.GenerateVideosParameters.Builder
Setter for config.
config(com.google.genai.types.GenerateVideosConfig.Builder) - function in com.google.genai.types.GenerateVideosParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetBatchJobParameters
Optional parameters for the request.
config(com.google.genai.types.GetBatchJobConfig) - function in com.google.genai.types.GetBatchJobParameters.Builder
Setter for config.
config(com.google.genai.types.GetBatchJobConfig.Builder) - function in com.google.genai.types.GetBatchJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetCachedContentParameters
Optional parameters for the request.
config(com.google.genai.types.GetCachedContentConfig) - function in com.google.genai.types.GetCachedContentParameters.Builder
Setter for config.
config(com.google.genai.types.GetCachedContentConfig.Builder) - function in com.google.genai.types.GetCachedContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetDocumentParameters
Optional parameters for the request.
config(com.google.genai.types.GetDocumentConfig) - function in com.google.genai.types.GetDocumentParameters.Builder
Setter for config.
config(com.google.genai.types.GetDocumentConfig.Builder) - function in com.google.genai.types.GetDocumentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetFileParameters
Used to override the default configuration.
config(com.google.genai.types.GetFileConfig) - function in com.google.genai.types.GetFileParameters.Builder
Setter for config.
config(com.google.genai.types.GetFileConfig.Builder) - function in com.google.genai.types.GetFileParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetFileSearchStoreParameters
Optional parameters for the request.
config(com.google.genai.types.GetFileSearchStoreConfig) - function in com.google.genai.types.GetFileSearchStoreParameters.Builder
Setter for config.
config(com.google.genai.types.GetFileSearchStoreConfig.Builder) - function in com.google.genai.types.GetFileSearchStoreParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetModelParameters
Optional parameters for the request.
config(com.google.genai.types.GetModelConfig) - function in com.google.genai.types.GetModelParameters.Builder
Setter for config.
config(com.google.genai.types.GetModelConfig.Builder) - function in com.google.genai.types.GetModelParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetOperationParameters
Used to override the default configuration.
config(com.google.genai.types.GetOperationConfig) - function in com.google.genai.types.GetOperationParameters.Builder
Setter for config.
config(com.google.genai.types.GetOperationConfig.Builder) - function in com.google.genai.types.GetOperationParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.GetTuningJobParameters
Optional parameters for the request.
config(com.google.genai.types.GetTuningJobConfig) - function in com.google.genai.types.GetTuningJobParameters.Builder
Setter for config.
config(com.google.genai.types.GetTuningJobConfig.Builder) - function in com.google.genai.types.GetTuningJobParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ImportFileParameters
Optional parameters for the request.
config(com.google.genai.types.ImportFileConfig) - function in com.google.genai.types.ImportFileParameters.Builder
Setter for config.
config(com.google.genai.types.ImportFileConfig.Builder) - function in com.google.genai.types.ImportFileParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.InlinedRequest
Configuration that contains optional model parameters.
config(com.google.genai.types.GenerateContentConfig) - function in com.google.genai.types.InlinedRequest.Builder
Setter for config.
config(com.google.genai.types.GenerateContentConfig.Builder) - function in com.google.genai.types.InlinedRequest.Builder
Setter for config builder.
config() - function in com.google.genai.types.InternalRegisterFilesParameters
Used to override the default configuration.
config(com.google.genai.types.RegisterFilesConfig) - function in com.google.genai.types.InternalRegisterFilesParameters.Builder
Setter for config.
config(com.google.genai.types.RegisterFilesConfig.Builder) - function in com.google.genai.types.InternalRegisterFilesParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListBatchJobsParameters
 
config(com.google.genai.types.ListBatchJobsConfig) - function in com.google.genai.types.ListBatchJobsParameters.Builder
Setter for config.
config(com.google.genai.types.ListBatchJobsConfig.Builder) - function in com.google.genai.types.ListBatchJobsParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListCachedContentsParameters
Configuration that contains optional parameters.
config(com.google.genai.types.ListCachedContentsConfig) - function in com.google.genai.types.ListCachedContentsParameters.Builder
Setter for config.
config(com.google.genai.types.ListCachedContentsConfig.Builder) - function in com.google.genai.types.ListCachedContentsParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListDocumentsParameters
 
config(com.google.genai.types.ListDocumentsConfig) - function in com.google.genai.types.ListDocumentsParameters.Builder
Setter for config.
config(com.google.genai.types.ListDocumentsConfig.Builder) - function in com.google.genai.types.ListDocumentsParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListFileSearchStoresParameters
Optional parameters for the list request.
config(com.google.genai.types.ListFileSearchStoresConfig) - function in com.google.genai.types.ListFileSearchStoresParameters.Builder
Setter for config.
config(com.google.genai.types.ListFileSearchStoresConfig.Builder) - function in com.google.genai.types.ListFileSearchStoresParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListFilesParameters
Used to override the default configuration.
config(com.google.genai.types.ListFilesConfig) - function in com.google.genai.types.ListFilesParameters.Builder
Setter for config.
config(com.google.genai.types.ListFilesConfig.Builder) - function in com.google.genai.types.ListFilesParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListModelsParameters
 
config(com.google.genai.types.ListModelsConfig) - function in com.google.genai.types.ListModelsParameters.Builder
Setter for config.
config(com.google.genai.types.ListModelsConfig.Builder) - function in com.google.genai.types.ListModelsParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.ListTuningJobsParameters
 
config(com.google.genai.types.ListTuningJobsConfig) - function in com.google.genai.types.ListTuningJobsParameters.Builder
Setter for config.
config(com.google.genai.types.ListTuningJobsConfig.Builder) - function in com.google.genai.types.ListTuningJobsParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.LiveConnectConstraints
Configuration specific to Live API connections created using this token.
config(com.google.genai.types.LiveConnectConfig) - function in com.google.genai.types.LiveConnectConstraints.Builder
Setter for config.
config(com.google.genai.types.LiveConnectConfig.Builder) - function in com.google.genai.types.LiveConnectConstraints.Builder
Setter for config builder.
config() - function in com.google.genai.types.LiveConnectParameters
Optional configuration parameters for the request.
config(com.google.genai.types.LiveConnectConfig) - function in com.google.genai.types.LiveConnectParameters.Builder
Setter for config.
config(com.google.genai.types.LiveConnectConfig.Builder) - function in com.google.genai.types.LiveConnectParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.MaskReferenceImage
Configuration for the mask reference image.
config(com.google.genai.types.MaskReferenceConfig) - function in com.google.genai.types.MaskReferenceImage.Builder
Setter for config.
config(com.google.genai.types.MaskReferenceConfig.Builder) - function in com.google.genai.types.MaskReferenceImage.Builder
Setter for config builder.
config() - function in com.google.genai.types.RecontextImageParameters
Configuration for image recontextualization.
config(com.google.genai.types.RecontextImageConfig) - function in com.google.genai.types.RecontextImageParameters.Builder
Setter for config.
config(com.google.genai.types.RecontextImageConfig.Builder) - function in com.google.genai.types.RecontextImageParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.SegmentImageParameters
Configuration for image segmentation.
config(com.google.genai.types.SegmentImageConfig) - function in com.google.genai.types.SegmentImageParameters.Builder
Setter for config.
config(com.google.genai.types.SegmentImageConfig.Builder) - function in com.google.genai.types.SegmentImageParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.StyleReferenceImage
Configuration for the style reference image.
config(com.google.genai.types.StyleReferenceConfig) - function in com.google.genai.types.StyleReferenceImage.Builder
Setter for config.
config(com.google.genai.types.StyleReferenceConfig.Builder) - function in com.google.genai.types.StyleReferenceImage.Builder
Setter for config builder.
config() - function in com.google.genai.types.SubjectReferenceImage
Configuration for the subject reference image.
config(com.google.genai.types.SubjectReferenceConfig) - function in com.google.genai.types.SubjectReferenceImage.Builder
Setter for config.
config(com.google.genai.types.SubjectReferenceConfig.Builder) - function in com.google.genai.types.SubjectReferenceImage.Builder
Setter for config builder.
config() - function in com.google.genai.types.UpdateCachedContentParameters
Configuration that contains optional parameters.
config(com.google.genai.types.UpdateCachedContentConfig) - function in com.google.genai.types.UpdateCachedContentParameters.Builder
Setter for config.
config(com.google.genai.types.UpdateCachedContentConfig.Builder) - function in com.google.genai.types.UpdateCachedContentParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.UpdateModelParameters
 
config(com.google.genai.types.UpdateModelConfig) - function in com.google.genai.types.UpdateModelParameters.Builder
Setter for config.
config(com.google.genai.types.UpdateModelConfig.Builder) - function in com.google.genai.types.UpdateModelParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.UploadToFileSearchStoreParameters
Used to override the default configuration.
config(com.google.genai.types.UploadToFileSearchStoreConfig) - function in com.google.genai.types.UploadToFileSearchStoreParameters.Builder
Setter for config.
config(com.google.genai.types.UploadToFileSearchStoreConfig.Builder) - function in com.google.genai.types.UploadToFileSearchStoreParameters.Builder
Setter for config builder.
config() - function in com.google.genai.types.UpscaleImageAPIParameters
Configuration for upscaling.
config(com.google.genai.types.UpscaleImageAPIConfig) - function in com.google.genai.types.UpscaleImageAPIParameters.Builder
Setter for config.
config() - function in com.google.genai.types.UpscaleImageParameters
Configuration for upscaling.
config(com.google.genai.types.UpscaleImageConfig) - function in com.google.genai.types.UpscaleImageParameters.Builder
Setter for config.
config(com.google.genai.types.UpscaleImageConfig.Builder) - function in com.google.genai.types.UpscaleImageParameters.Builder
Setter for config builder.
connect(java.lang.String,com.google.genai.types.LiveConnectConfig) - function in com.google.genai.AsyncLive
Connects to the live server.
content() - function in com.google.genai.types.Candidate
Contains the multi-part content of the response.
content(com.google.genai.types.Content) - function in com.google.genai.types.Candidate.Builder
Setter for content.
content(com.google.genai.types.Content.Builder) - function in 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() - function in com.google.genai.types.EmbedContentParametersPrivate
The single content to embed.
content(com.google.genai.types.Content) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for content.
content(com.google.genai.types.Content.Builder) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for content builder.
Content.Builder - class in com.google.genai.types.Content
Builder for Content.
ContentEmbedding - class in com.google.genai.types
The embedding generated from an input content.
ContentEmbedding.Builder - class in com.google.genai.types.ContentEmbedding
Builder for ContentEmbedding.
ContentEmbeddingStatistics - class in com.google.genai.types
Statistics of the input text associated with the result of content embedding.
ContentEmbeddingStatistics.Builder - class in com.google.genai.types.ContentEmbeddingStatistics
Builder for ContentEmbeddingStatistics.
ContentReferenceImage - class in com.google.genai.types
A content reference image.
ContentReferenceImage.Builder - class in com.google.genai.types.ContentReferenceImage
Builder for ContentReferenceImage.
contents() - function in com.google.genai.types.ComputeTokensParameters
Input content.
contents(kotlin.Array) - function in com.google.genai.types.ComputeTokensParameters.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.ComputeTokensParameters.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.ComputeTokensParameters.Builder
Setter for contents.
contents() - function in com.google.genai.types.CountTokensParameters
Input content.
contents(kotlin.Array) - function in com.google.genai.types.CountTokensParameters.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.CountTokensParameters.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.CountTokensParameters.Builder
Setter for contents.
contents() - function in com.google.genai.types.CreateCachedContentConfig
The content to cache.
contents(kotlin.Array) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for contents.
contents() - function in com.google.genai.types.EmbedContentBatch
The content to embed.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentBatch.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentBatch.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.EmbedContentBatch.Builder
Setter for contents.
contents() - function in com.google.genai.types.EmbedContentParameters
The content to embed.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentParameters.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentParameters.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.EmbedContentParameters.Builder
Setter for contents.
contents() - function in com.google.genai.types.EmbedContentParametersPrivate
The content to embed.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.EmbedContentParametersPrivate.Builder
Setter for contents.
contents() - function in com.google.genai.types.GeminiPreferenceExample
Multi-turn contents that represents the Prompt.
contents(kotlin.Array) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.GeminiPreferenceExample.Builder
Setter for contents.
contents() - function in com.google.genai.types.GenerateContentParameters
Content of the request.
contents(kotlin.Array) - function in com.google.genai.types.GenerateContentParameters.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.GenerateContentParameters.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.GenerateContentParameters.Builder
Setter for contents.
contents() - function in com.google.genai.types.InlinedRequest
Content of the request.
contents(kotlin.Array) - function in com.google.genai.types.InlinedRequest.Builder
Setter for contents.
contents(kotlin.Array) - function in com.google.genai.types.InlinedRequest.Builder
Setter for contents builder.
contents(java.util.List) - function in com.google.genai.types.InlinedRequest.Builder
Setter for contents.
contentType() - function in com.google.genai.types.SafetyAttributes
Internal use only.
contentType(java.lang.String) - function in com.google.genai.types.SafetyAttributes.Builder
Setter for contentType.
contextWindowCompression() - function in com.google.genai.types.LiveClientSetup
Configures context window compression mechanism.
contextWindowCompression(com.google.genai.types.ContextWindowCompressionConfig) - function in com.google.genai.types.LiveClientSetup.Builder
Setter for contextWindowCompression.
contextWindowCompression(com.google.genai.types.ContextWindowCompressionConfig.Builder) - function in com.google.genai.types.LiveClientSetup.Builder
Setter for contextWindowCompression builder.
contextWindowCompression() - function in com.google.genai.types.LiveConnectConfig
Configures context window compression mechanism.
contextWindowCompression(com.google.genai.types.ContextWindowCompressionConfig) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for contextWindowCompression.
contextWindowCompression(com.google.genai.types.ContextWindowCompressionConfig.Builder) - function in 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.Builder - class in com.google.genai.types.ContextWindowCompressionConfig
Builder for ContextWindowCompressionConfig.
CONTROL - enum entry in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Type
control symbols. </s>, <s>, <2ja> etc.
CONTROL = 3;
CONTROL_REFERENCE_TYPE_UNSPECIFIED - enum entry in com.google.genai.types.ControlReferenceType.Known
 
CONTROL_TYPE_CANNY - enum entry in com.google.genai.types.ControlReferenceType.Known
 
CONTROL_TYPE_DEFAULT - enum entry in com.google.genai.types.ControlReferenceType.Known
 
CONTROL_TYPE_FACE_MESH - enum entry in com.google.genai.types.ControlReferenceType.Known
 
CONTROL_TYPE_SCRIBBLE - enum entry in com.google.genai.types.ControlReferenceType.Known
 
controlImageConfig() - function in com.google.genai.types.ReferenceImageAPI
Configuration for the control reference image.
controlImageConfig(com.google.genai.types.ControlReferenceConfig) - function in com.google.genai.types.ReferenceImageAPI.Builder
Setter for controlImageConfig.
controlImageConfig(com.google.genai.types.ControlReferenceConfig.Builder) - function in com.google.genai.types.ReferenceImageAPI.Builder
Setter for controlImageConfig builder.
ControlReferenceConfig - class in com.google.genai.types
Configuration for a Control reference image.
ControlReferenceConfig.Builder - class in com.google.genai.types.ControlReferenceConfig
Builder for ControlReferenceConfig.
ControlReferenceImage - class in com.google.genai.types
A control reference image.
ControlReferenceImage.Builder - class in com.google.genai.types.ControlReferenceImage
Builder for ControlReferenceImage.
ControlReferenceType - class in com.google.genai.types
Enum representing the control type of a control reference image.
ControlReferenceType.Known - class in com.google.genai.types.ControlReferenceType
Enum representing the known values for ControlReferenceType.
controlType() - function in com.google.genai.types.ControlReferenceConfig
The type of control reference image to use.
controlType(com.google.genai.types.ControlReferenceType) - function in com.google.genai.types.ControlReferenceConfig.Builder
Setter for controlType.
controlType(com.google.genai.types.ControlReferenceType.Known) - function in com.google.genai.types.ControlReferenceConfig.Builder
Setter for controlType given a known enum.
controlType(java.lang.String) - function in com.google.genai.types.ControlReferenceConfig.Builder
Setter for controlType given a string.
count() - function in com.google.genai.types.DatasetDistributionDistributionBucket
Output only.
count(java.lang.Long) - function in com.google.genai.types.DatasetDistributionDistributionBucket.Builder
Setter for count.
count() - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
Output only.
count(java.lang.Double) - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket.Builder
Setter for count.
countTokens(java.lang.String,java.lang.String,com.google.genai.types.CountTokensConfig) - function in com.google.genai.AsyncModels
Asynchronously counts tokens given a GenAI model and a text string.
countTokens(java.lang.String,java.util.List,com.google.genai.types.CountTokensConfig) - function in com.google.genai.AsyncModels
Asynchronously counts tokens given a GenAI model and a list of content.
countTokens(com.google.genai.types.Content) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a single content object using default configuration.
countTokens(com.google.genai.types.Content,com.google.genai.types.CountTokensConfig) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a single content object.
countTokens(java.lang.String) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a text string using default configuration.
countTokens(java.lang.String,com.google.genai.types.CountTokensConfig) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a text string.
countTokens(java.util.List) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a list of content objects using default configuration.
countTokens(java.util.List,com.google.genai.types.CountTokensConfig) - function in com.google.genai.LocalTokenizer
Counts the number of tokens in a given text.
countTokens(java.lang.String,java.lang.String,com.google.genai.types.CountTokensConfig) - function in com.google.genai.Models
Counts tokens given a GenAI model and a text string.
countTokens(java.lang.String,java.util.List,com.google.genai.types.CountTokensConfig) - function in com.google.genai.Models
Counts tokens given a GenAI model and a list of content.
CountTokensConfig - class in com.google.genai.types
Config for the count_tokens method.
CountTokensConfig.Builder - class in com.google.genai.types.CountTokensConfig
Builder for CountTokensConfig.
CountTokensParameters - class in com.google.genai.types
Parameters for counting tokens.
CountTokensParameters.Builder - class in com.google.genai.types.CountTokensParameters
Builder for CountTokensParameters.
CountTokensResponse - class in com.google.genai.types
Response for counting tokens.
CountTokensResponse.Builder - class in com.google.genai.types.CountTokensResponse
Builder for CountTokensResponse.
CountTokensResult - class in com.google.genai.types
Local tokenizer count tokens result.
CountTokensResult.Builder - class in com.google.genai.types.CountTokensResult
Builder for CountTokensResult.
create(java.lang.String,com.google.genai.types.BatchJobSource,com.google.genai.types.CreateBatchJobConfig) - function in com.google.genai.AsyncBatches
Asynchronously creates a batch job.
create(java.lang.String,com.google.genai.types.CreateCachedContentConfig) - function in com.google.genai.AsyncCaches
Asynchronously creates a cached content resource.
create(java.lang.String) - function in com.google.genai.AsyncChats
Creates a new async chat session.
create(java.lang.String,com.google.genai.types.GenerateContentConfig) - function in com.google.genai.AsyncChats
Creates a new async chat session.
create(com.google.genai.types.CreateFileSearchStoreConfig) - function in com.google.genai.AsyncFileSearchStores
 
create(com.google.genai.types.CreateAuthTokenConfig) - function in com.google.genai.AsyncTokens
Asynchronously creates an ephemeral auth token resource.
create(java.lang.String,com.google.genai.types.BatchJobSource,com.google.genai.types.CreateBatchJobConfig) - function in com.google.genai.Batches
Makes an API request to create the batch job.
create(java.lang.String,com.google.genai.types.CreateCachedContentConfig) - function in com.google.genai.Caches
Creates a cached content resource.
create(java.lang.String) - function in com.google.genai.Chats
Creates a new chat session.
create(java.lang.String,com.google.genai.types.GenerateContentConfig) - function in com.google.genai.Chats
Creates a new chat session.
create(com.google.genai.types.CreateFileSearchStoreConfig) - function in com.google.genai.FileSearchStores
 
create(com.google.genai.types.CreateAuthTokenConfig) - function in com.google.genai.Tokens
Creates an ephemeral auth token resource.
CreateAuthTokenConfig - class in com.google.genai.types
Optional parameters.
CreateAuthTokenConfig.Builder - class in com.google.genai.types.CreateAuthTokenConfig
Builder for CreateAuthTokenConfig.
CreateAuthTokenParameters - class in com.google.genai.types
Config for auth_tokens.create parameters.
CreateAuthTokenParameters.Builder - class in com.google.genai.types.CreateAuthTokenParameters
Builder for CreateAuthTokenParameters.
CreateBatchJobConfig - class in com.google.genai.types
Config for optional parameters.
CreateBatchJobConfig.Builder - class in com.google.genai.types.CreateBatchJobConfig
Builder for CreateBatchJobConfig.
CreateBatchJobParameters - class in com.google.genai.types
Config for batches.create parameters.
CreateBatchJobParameters.Builder - class in com.google.genai.types.CreateBatchJobParameters
Builder for CreateBatchJobParameters.
CreateCachedContentConfig - class in com.google.genai.types
Optional configuration for cached content creation.
CreateCachedContentConfig.Builder - class in com.google.genai.types.CreateCachedContentConfig
Builder for CreateCachedContentConfig.
CreateCachedContentParameters - class in com.google.genai.types
Parameters for caches.create method.
CreateCachedContentParameters.Builder - class in com.google.genai.types.CreateCachedContentParameters
Builder for CreateCachedContentParameters.
createEmbeddings(java.lang.String,com.google.genai.types.EmbeddingsBatchJobSource,com.google.genai.types.CreateEmbeddingsBatchJobConfig) - function in com.google.genai.AsyncBatches
Makes an API request to create the batch embeddings job.
createEmbeddings(java.lang.String,com.google.genai.types.EmbeddingsBatchJobSource,com.google.genai.types.CreateEmbeddingsBatchJobConfig) - function in 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.Builder - class in com.google.genai.types.CreateEmbeddingsBatchJobConfig
Builder for CreateEmbeddingsBatchJobConfig.
CreateEmbeddingsBatchJobParameters - class in com.google.genai.types
Config for batches.create parameters.
CreateEmbeddingsBatchJobParameters.Builder - class in com.google.genai.types.CreateEmbeddingsBatchJobParameters
Builder for CreateEmbeddingsBatchJobParameters.
CreateFileConfig - class in com.google.genai.types
Used to override the default configuration.
CreateFileConfig.Builder - class in com.google.genai.types.CreateFileConfig
Builder for CreateFileConfig.
CreateFileParameters - class in com.google.genai.types
Generates the parameters for the private _create method.
CreateFileParameters.Builder - class in com.google.genai.types.CreateFileParameters
Builder for CreateFileParameters.
CreateFileResponse - class in com.google.genai.types
Response for the create file method.
CreateFileResponse.Builder - class in com.google.genai.types.CreateFileResponse
Builder for CreateFileResponse.
CreateFileSearchStoreConfig - class in com.google.genai.types
Optional parameters for creating a file search store.
CreateFileSearchStoreConfig.Builder - class in com.google.genai.types.CreateFileSearchStoreConfig
Builder for CreateFileSearchStoreConfig.
CreateFileSearchStoreParameters - class in com.google.genai.types
Config for file_search_stores.create parameters.
CreateFileSearchStoreParameters.Builder - class in com.google.genai.types.CreateFileSearchStoreParameters
Builder for CreateFileSearchStoreParameters.
createTime() - function in com.google.genai.types.BatchJob
The time when the BatchJob was created.
createTime(java.time.Instant) - function in com.google.genai.types.BatchJob.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.CachedContent
Creation time of the cache entry.
createTime(java.time.Instant) - function in com.google.genai.types.CachedContent.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.Document
Output only.
createTime(java.time.Instant) - function in com.google.genai.types.Document.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.File
Output only.
createTime(java.time.Instant) - function in com.google.genai.types.File.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.FileSearchStore
The Timestamp of when the FileSearchStore was created.
createTime(java.time.Instant) - function in com.google.genai.types.FileSearchStore.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.GenerateContentResponse
Timestamp when the request is made to the server.
createTime(java.time.Instant) - function in com.google.genai.types.GenerateContentResponse.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.TunedModelInfo
Date and time when the base model was created.
createTime(java.time.Instant) - function in com.google.genai.types.TunedModelInfo.Builder
Setter for createTime.
createTime() - function in com.google.genai.types.TuningJob
Output only.
createTime(java.time.Instant) - function in com.google.genai.types.TuningJob.Builder
Setter for createTime.
CreateTuningJobConfig - class in com.google.genai.types
Fine-tuning job creation request - optional fields.
CreateTuningJobConfig.Builder - class in com.google.genai.types.CreateTuningJobConfig
Builder for CreateTuningJobConfig.
CreateTuningJobParameters - class in com.google.genai.types
Fine-tuning job creation parameters - optional fields.
CreateTuningJobParameters.Builder - class in com.google.genai.types.CreateTuningJobParameters
Builder for CreateTuningJobParameters.
CreateTuningJobParametersPrivate - class in com.google.genai.types
Fine-tuning job creation parameters - optional fields.
CreateTuningJobParametersPrivate.Builder - class in com.google.genai.types.CreateTuningJobParametersPrivate
Builder for CreateTuningJobParametersPrivate.
credentials() - function in com.google.genai.ApiClient
Returns the GoogleCredentials for Vertex AI APIs.
credentials() - function in com.google.genai.ApiClient
Returns the GoogleCredentials for Vertex AI APIs.
credentials(com.google.auth.oauth2.GoogleCredentials) - function in com.google.genai.Client.Builder
Sets the GoogleCredentials for Vertex AI APIs.
credentialSecret() - function in com.google.genai.types.AuthConfigHttpBasicAuthConfig
Required.
credentialSecret(java.lang.String) - function in com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder
Setter for credentialSecret.
CROP - enum entry in com.google.genai.types.ImageResizeMode.Known

Crop the image to fit the correct aspect ratio (so we lose parts of the image in the process).

customBaseModel() - function in com.google.genai.types.CreateTuningJobConfig
Custom base model for tuning.
customBaseModel(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for customBaseModel.
customBaseModel() - function in com.google.genai.types.TuningJob
Optional.
customBaseModel(java.lang.String) - function in com.google.genai.types.TuningJob.Builder
Setter for customBaseModel.
customBaseUrl() - function in com.google.genai.ApiClient
Returns the custom base URL if provided.
customBaseUrl() - function in com.google.genai.ApiClient
Returns the custom base URL if provided.
customCodeExecutionResult() - function in com.google.genai.types.AggregationResult
Result for code execution metric.
customCodeExecutionResult(com.google.genai.types.CustomCodeExecutionResult) - function in com.google.genai.types.AggregationResult.Builder
Setter for customCodeExecutionResult.
customCodeExecutionResult(com.google.genai.types.CustomCodeExecutionResult.Builder) - function in com.google.genai.types.AggregationResult.Builder
Setter for customCodeExecutionResult builder.
CustomCodeExecutionResult - class in com.google.genai.types
Result for custom code execution metric.
CustomCodeExecutionResult.Builder - class in com.google.genai.types.CustomCodeExecutionResult
Builder for CustomCodeExecutionResult.
CustomCodeExecutionSpec - class in com.google.genai.types
Specificies a metric that is computed by running user-defined Python functions remotely.
customCodeExecutionSpec() - function in com.google.genai.types.UnifiedMetric
The spec for a custom code execution metric.
customCodeExecutionSpec(com.google.genai.types.CustomCodeExecutionSpec) - function in com.google.genai.types.UnifiedMetric.Builder
Setter for customCodeExecutionSpec.
customCodeExecutionSpec(com.google.genai.types.CustomCodeExecutionSpec.Builder) - function in com.google.genai.types.UnifiedMetric.Builder
Setter for customCodeExecutionSpec builder.
CustomCodeExecutionSpec.Builder - class in com.google.genai.types.CustomCodeExecutionSpec
Builder for CustomCodeExecutionSpec.
customConfigs() - function in com.google.genai.types.ToolParallelAiSearch
Optional.
customConfigs(java.util.Map) - function in com.google.genai.types.ToolParallelAiSearch.Builder
Setter for customConfigs.
customizedAvatar() - function in com.google.genai.types.AvatarConfig
Customized avatar appearance with a reference image.
customizedAvatar(com.google.genai.types.CustomizedAvatar) - function in com.google.genai.types.AvatarConfig.Builder
Setter for customizedAvatar.
customizedAvatar(com.google.genai.types.CustomizedAvatar.Builder) - function in com.google.genai.types.AvatarConfig.Builder
Setter for customizedAvatar builder.
CustomizedAvatar - class in com.google.genai.types
Configures the customized avatar to be used in the session.
CustomizedAvatar.Builder - class in com.google.genai.types.CustomizedAvatar
Builder for CustomizedAvatar.
CustomMetadata - class in com.google.genai.types
User provided metadata stored as key-value pairs.
customMetadata() - function in com.google.genai.types.Document
Optional.
customMetadata(kotlin.Array) - function in com.google.genai.types.Document.Builder
Setter for customMetadata.
customMetadata(kotlin.Array) - function in com.google.genai.types.Document.Builder
Setter for customMetadata builder.
customMetadata(java.util.List) - function in com.google.genai.types.Document.Builder
Setter for customMetadata.
customMetadata() - function in com.google.genai.types.GroundingChunkRetrievedContext
Optional.
customMetadata(kotlin.Array) - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Setter for customMetadata.
customMetadata(kotlin.Array) - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Setter for customMetadata builder.
customMetadata(java.util.List) - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Setter for customMetadata.
customMetadata() - function in com.google.genai.types.ImportFileConfig
User provided custom metadata stored as key-value pairs used for querying.
customMetadata(kotlin.Array) - function in com.google.genai.types.ImportFileConfig.Builder
Setter for customMetadata.
customMetadata(kotlin.Array) - function in com.google.genai.types.ImportFileConfig.Builder
Setter for customMetadata builder.
customMetadata(java.util.List) - function in com.google.genai.types.ImportFileConfig.Builder
Setter for customMetadata.
customMetadata() - function in com.google.genai.types.UploadToFileSearchStoreConfig
User provided custom metadata stored as key-value pairs used for querying.
customMetadata(kotlin.Array) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Setter for customMetadata.
customMetadata(kotlin.Array) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Setter for customMetadata builder.
customMetadata(java.util.List) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
Setter for customMetadata.
CustomMetadata.Builder - class in com.google.genai.types.CustomMetadata
Builder for CustomMetadata.
CustomOutput - class in com.google.genai.types
Spec for custom output.
customOutput() - function in com.google.genai.types.PairwiseMetricResult
Output only.
customOutput(com.google.genai.types.CustomOutput) - function in com.google.genai.types.PairwiseMetricResult.Builder
Setter for customOutput.
customOutput(com.google.genai.types.CustomOutput.Builder) - function in com.google.genai.types.PairwiseMetricResult.Builder
Setter for customOutput builder.
customOutput() - function in com.google.genai.types.PointwiseMetricResult
Output only.
customOutput(com.google.genai.types.CustomOutput) - function in com.google.genai.types.PointwiseMetricResult.Builder
Setter for customOutput.
customOutput(com.google.genai.types.CustomOutput.Builder) - function in com.google.genai.types.PointwiseMetricResult.Builder
Setter for customOutput builder.
CustomOutput.Builder - class in com.google.genai.types.CustomOutput
Builder for CustomOutput.
CustomOutputFormatConfig - class in com.google.genai.types
Config for custom output format.
customOutputFormatConfig() - function in com.google.genai.types.PairwiseMetricSpec
Optional.
customOutputFormatConfig(com.google.genai.types.CustomOutputFormatConfig) - function in com.google.genai.types.PairwiseMetricSpec.Builder
Setter for customOutputFormatConfig.
customOutputFormatConfig(com.google.genai.types.CustomOutputFormatConfig.Builder) - function in com.google.genai.types.PairwiseMetricSpec.Builder
Setter for customOutputFormatConfig builder.
customOutputFormatConfig() - function in com.google.genai.types.PointwiseMetricSpec
Optional.
customOutputFormatConfig(com.google.genai.types.CustomOutputFormatConfig) - function in com.google.genai.types.PointwiseMetricSpec.Builder
Setter for customOutputFormatConfig.
customOutputFormatConfig(com.google.genai.types.CustomOutputFormatConfig.Builder) - function in com.google.genai.types.PointwiseMetricSpec.Builder
Setter for customOutputFormatConfig builder.
CustomOutputFormatConfig.Builder - class in com.google.genai.types.CustomOutputFormatConfig
Builder for CustomOutputFormatConfig.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  Y  Z