H
- handle() - function in com.google.genai.types.SessionResumptionConfig
- Session resumption handle of previous session (session to restore).
- handle(java.lang.String) - function in com.google.genai.types.SessionResumptionConfig.Builder
- Setter for handle.
- HARM_BLOCK_METHOD_UNSPECIFIED - enum entry in com.google.genai.types.HarmBlockMethod.Known
The harm block method is unspecified.
- HARM_BLOCK_THRESHOLD_UNSPECIFIED - enum entry in com.google.genai.types.HarmBlockThreshold.Known
The harm block threshold is unspecified.
- HARM_CATEGORY_CIVIC_INTEGRITY - enum entry in com.google.genai.types.HarmCategory.Known
Deprecated: Election filter is not longer supported. The harm category is civic integrity.
- HARM_CATEGORY_DANGEROUS_CONTENT - enum entry in com.google.genai.types.HarmCategory.Known
Content that promotes, facilitates, or enables dangerous activities.
- HARM_CATEGORY_HARASSMENT - enum entry in com.google.genai.types.HarmCategory.Known
Abusive, threatening, or content intended to bully, torment, or ridicule.
- HARM_CATEGORY_HATE_SPEECH - enum entry in com.google.genai.types.HarmCategory.Known
Content that promotes violence or incites hatred against individuals or groups based on certain attributes.
- HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT - enum entry in com.google.genai.types.HarmCategory.Known
Images that contain dangerous content. This enum value is not supported in Gemini API.
- HARM_CATEGORY_IMAGE_HARASSMENT - enum entry in com.google.genai.types.HarmCategory.Known
Images that contain harassment. This enum value is not supported in Gemini API.
- HARM_CATEGORY_IMAGE_HATE - enum entry in com.google.genai.types.HarmCategory.Known
Images that contain hate speech. This enum value is not supported in Gemini API.
- HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT - enum entry in com.google.genai.types.HarmCategory.Known
Images that contain sexually explicit content. This enum value is not supported in Gemini API.
- HARM_CATEGORY_JAILBREAK - enum entry in com.google.genai.types.HarmCategory.Known
Prompts designed to bypass safety filters. This enum value is not supported in Gemini API.
- HARM_CATEGORY_SEXUALLY_EXPLICIT - enum entry in com.google.genai.types.HarmCategory.Known
Content that contains sexually explicit material.
- HARM_CATEGORY_UNSPECIFIED - enum entry in com.google.genai.types.HarmCategory.Known
Default value. This value is unused.
- HARM_PROBABILITY_UNSPECIFIED - enum entry in com.google.genai.types.HarmProbability.Known
The harm probability is unspecified.
- HARM_SEVERITY_HIGH - enum entry in com.google.genai.types.HarmSeverity.Known
The harm severity is high.
- HARM_SEVERITY_LOW - enum entry in com.google.genai.types.HarmSeverity.Known
The harm severity is low.
- HARM_SEVERITY_MEDIUM - enum entry in com.google.genai.types.HarmSeverity.Known
The harm severity is medium.
- HARM_SEVERITY_NEGLIGIBLE - enum entry in com.google.genai.types.HarmSeverity.Known
The harm severity is negligible.
- HARM_SEVERITY_UNSPECIFIED - enum entry in com.google.genai.types.HarmSeverity.Known
The harm severity is unspecified.
- HarmBlockMethod - class in com.google.genai.types
- The method for blocking content.
- HarmBlockMethod.Known - class in com.google.genai.types.HarmBlockMethod
- Enum representing the known values for HarmBlockMethod.
- HarmBlockThreshold - class in com.google.genai.types
- The threshold for blocking content.
- HarmBlockThreshold.Known - class in com.google.genai.types.HarmBlockThreshold
- Enum representing the known values for HarmBlockThreshold.
- HarmCategory - class in com.google.genai.types
- The harm category to be blocked.
- HarmCategory.Known - class in com.google.genai.types.HarmCategory
- Enum representing the known values for HarmCategory.
- HarmProbability - class in com.google.genai.types
- Output only.
- HarmProbability.Known - class in com.google.genai.types.HarmProbability
- Enum representing the known values for HarmProbability.
- HarmSeverity - class in com.google.genai.types
- Output only.
- HarmSeverity.Known - class in com.google.genai.types.HarmSeverity
- Enum representing the known values for HarmSeverity.
- hasAddDummyPrefix() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.optional bool add_dummy_prefix = 3 [default = true];- hasAddDummyPrefix() - 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];- hasAddDummyPrefix() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
Adds dummy whitespace at the beginning of text in order to treat "world" in "world" and "hello world" in the same way.optional bool add_dummy_prefix = 3 [default = true];- hasAllowWhitespaceOnlyPieces() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasAllowWhitespaceOnlyPieces() - 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];- hasAllowWhitespaceOnlyPieces() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasBosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
<s>optional int32 bos_id = 41 [default = 1];- hasBosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
<s>optional int32 bos_id = 41 [default = 1];- hasBosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
<s>optional int32 bos_id = 41 [default = 1];- hasBosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional string bos_piece = 46 [default = "<s>"];- hasBosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string bos_piece = 46 [default = "<s>"];- hasBosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional string bos_piece = 46 [default = "<s>"];- hasByteFallback() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Decomposes unknown pieces into UTF-8 bytes.optional bool byte_fallback = 35 [default = false];- hasByteFallback() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Decomposes unknown pieces into UTF-8 bytes.optional bool byte_fallback = 35 [default = false];- hasByteFallback() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Decomposes unknown pieces into UTF-8 bytes.optional bool byte_fallback = 35 [default = false];- hasCharacterCoverage() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
///////////////////////////////////////////////////////////////// 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];- hasCharacterCoverage() - 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];- hasCharacterCoverage() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
///////////////////////////////////////////////////////////////// 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];- hasDenormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto
Spec for text de-normalization.optional .com.google.genai.proto.NormalizerSpec denormalizer_spec = 5;- hasDenormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Spec for text de-normalization.optional .com.google.genai.proto.NormalizerSpec denormalizer_spec = 5;- hasDenormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
Spec for text de-normalization.optional .com.google.genai.proto.NormalizerSpec denormalizer_spec = 5;- hasDifferentialPrivacyClippingThreshold() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasDifferentialPrivacyClippingThreshold() - 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];- hasDifferentialPrivacyClippingThreshold() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasDifferentialPrivacyNoiseLevel() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Set these parameters if you need DP version of sentencepiece. std of noise to add.optional float differential_privacy_noise_level = 51 [default = 0];- hasDifferentialPrivacyNoiseLevel() - 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];- hasDifferentialPrivacyNoiseLevel() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Set these parameters if you need DP version of sentencepiece. std of noise to add.optional float differential_privacy_noise_level = 51 [default = 0];- hasEnableDifferentialPrivacy() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasEnableDifferentialPrivacy() - 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];- hasEnableDifferentialPrivacy() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasEosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
</s>optional int32 eos_id = 42 [default = 2];- hasEosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
</s>optional int32 eos_id = 42 [default = 2];- hasEosId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
</s>optional int32 eos_id = 42 [default = 2];- hasEosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional string eos_piece = 47 [default = "</s>"];- hasEosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string eos_piece = 47 [default = "</s>"];- hasEosPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional string eos_piece = 47 [default = "</s>"];- hasEscapeWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
Replaces whitespace with meta symbol. This field must be true to train sentence piece model.optional bool escape_whitespaces = 5 [default = true];- hasEscapeWhitespaces() - 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];- hasEscapeWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
Replaces whitespace with meta symbol. This field must be true to train sentence piece model.optional bool escape_whitespaces = 5 [default = true];- hasExpected() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
optional string expected = 2;- hasExpected() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
optional string expected = 2;- hasExpected() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
optional string expected = 2;- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.GeneratedMessageV3.ExtendableMessage
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.SentencepieceModel.ModelProto.SentencePieceOrBuilder
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.SentencepieceModel.ModelProtoOrBuilder
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.SentencepieceModel.NormalizerSpecOrBuilder
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.SentencepieceModel.SelfTestDataOrBuilder
- hasExtension(com.google.protobuf.ExtensionLite) - function in com.google.protobuf.SentencepieceModel.TrainerSpecOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.GeneratedMessageV3
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.GeneratedMessageV3.Builder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.GeneratedMessageV3.ExtendableMessage
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.ModelProto.SentencePieceOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.ModelProtoOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.NormalizerSpecOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.SelfTestData.SampleOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.SelfTestDataOrBuilder
- hasField(com.google.protobuf.Descriptors.FieldDescriptor) - function in com.google.protobuf.SentencepieceModel.TrainerSpecOrBuilder
- hasHardVocabLimit() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
`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];- hasHardVocabLimit() - 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];- hasHardVocabLimit() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
`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];- hashCode() - function in com.google.genai.proto.SentencepieceModel.ModelProto
- hashCode() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
- hashCode() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
- hashCode() - function in com.google.genai.proto.SentencepieceModel.SelfTestData
- hashCode() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
- hashCode() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
- hashCode() - function in com.google.genai.types.ActivityHandling
- hashCode() - function in com.google.genai.types.AdapterSize
- hashCode() - function in com.google.genai.types.AggregationMetric
- hashCode() - function in com.google.genai.types.ApiSpec
- hashCode() - function in com.google.genai.types.AuthType
- hashCode() - function in com.google.genai.types.Behavior
- hashCode() - function in com.google.genai.types.BlockedReason
- hashCode() - function in com.google.genai.types.ComputationBasedMetricType
- hashCode() - function in com.google.genai.types.ControlReferenceType
- hashCode() - function in com.google.genai.types.DocumentState
- hashCode() - function in com.google.genai.types.DynamicRetrievalConfigMode
- hashCode() - function in com.google.genai.types.EditMode
- hashCode() - function in com.google.genai.types.EmbeddingApiType
- hashCode() - function in com.google.genai.types.EndSensitivity
- hashCode() - function in com.google.genai.types.Environment
- hashCode() - function in com.google.genai.types.FeatureSelectionPreference
- hashCode() - function in com.google.genai.types.FileSource
- hashCode() - function in com.google.genai.types.FileState
- hashCode() - function in com.google.genai.types.FinishReason
- hashCode() - function in com.google.genai.types.FunctionCallingConfigMode
- hashCode() - function in com.google.genai.types.FunctionResponseScheduling
- hashCode() - function in com.google.genai.types.HarmBlockMethod
- hashCode() - function in com.google.genai.types.HarmBlockThreshold
- hashCode() - function in com.google.genai.types.HarmCategory
- hashCode() - function in com.google.genai.types.HarmProbability
- hashCode() - function in com.google.genai.types.HarmSeverity
- hashCode() - function in com.google.genai.types.HttpElementLocation
- hashCode() - function in com.google.genai.types.ImagePromptLanguage
- hashCode() - function in com.google.genai.types.ImageResizeMode
- hashCode() - function in com.google.genai.types.JobState
- hashCode() - function in com.google.genai.types.Language
- hashCode() - function in com.google.genai.types.MaskReferenceMode
- hashCode() - function in com.google.genai.types.MediaModality
- hashCode() - function in com.google.genai.types.MediaResolution
- hashCode() - function in com.google.genai.types.Modality
- hashCode() - function in com.google.genai.types.ModelRoutingPreference
- hashCode() - function in com.google.genai.types.ModelStage
- hashCode() - function in com.google.genai.types.NullValue
- hashCode() - function in com.google.genai.types.Outcome
- hashCode() - function in com.google.genai.types.PairwiseChoice
- hashCode() - function in com.google.genai.types.PartMediaResolutionLevel
- hashCode() - function in com.google.genai.types.PersonGeneration
- hashCode() - function in com.google.genai.types.PhishBlockThreshold
- hashCode() - function in com.google.genai.types.ProminentPeople
- hashCode() - function in com.google.genai.types.ProxyType
- hashCode() - function in com.google.genai.types.ResourceScope
- hashCode() - function in com.google.genai.types.RubricContentType
- hashCode() - function in com.google.genai.types.SafetyFilterLevel
- hashCode() - function in com.google.genai.types.SegmentMode
- hashCode() - function in com.google.genai.types.ServiceTier
- hashCode() - function in com.google.genai.types.StartSensitivity
- hashCode() - function in com.google.genai.types.SubjectReferenceType
- hashCode() - function in com.google.genai.types.ThinkingLevel
- hashCode() - function in com.google.genai.types.ToolType
- hashCode() - function in com.google.genai.types.TrafficType
- hashCode() - function in com.google.genai.types.TuningJobState
- hashCode() - function in com.google.genai.types.TuningMethod
- hashCode() - function in com.google.genai.types.TuningMode
- hashCode() - function in com.google.genai.types.TuningTask
- hashCode() - function in com.google.genai.types.TurnCompleteReason
- hashCode() - function in com.google.genai.types.TurnCoverage
- hashCode() - function in com.google.genai.types.Type
- hashCode() - function in com.google.genai.types.UrlRetrievalStatus
- hashCode() - function in com.google.genai.types.VadSignalType
- hashCode() - function in com.google.genai.types.VideoCompressionQuality
- hashCode() - function in com.google.genai.types.VideoGenerationMaskMode
- hashCode() - function in com.google.genai.types.VideoGenerationReferenceType
- hashCode() - function in com.google.genai.types.VoiceActivityType
- hasInput() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample
optional string input = 1;- hasInput() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.Sample.Builder
optional string input = 1;- hasInput() - function in com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder
optional string input = 1;- hasInputFormat() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freqoptional string input_format = 7;- hasInputFormat() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freqoptional string input_format = 7;- hasInputFormat() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Input corpus format: "text": one-sentence-per-line text format (default) "tsv": sentence <tab> freqoptional string input_format = 7;- hasInputSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasInputSentenceSize() - 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];- hasInputSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasMaxSentenceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasMaxSentenceLength() - 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];- hasMaxSentenceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasMaxSentencepieceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece. Maximum length of sentencepiece.optional int32 max_sentencepiece_length = 20 [default = 16];- hasMaxSentencepieceLength() - 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];- hasMaxSentencepieceLength() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
///////////////////////////////////////////////////////////////// SentencePiece parameters which control the shapes of sentence piece. Maximum length of sentencepiece.optional int32 max_sentencepiece_length = 20 [default = 16];- hasMiningSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasMiningSentenceSize() - 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];- hasMiningSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasModelPrefix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Output model file prefix. <model_prefix>.model and <model_prefix>.vocab are generated.optional string model_prefix = 2;- hasModelPrefix() - 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;- hasModelPrefix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Output model file prefix. <model_prefix>.model and <model_prefix>.vocab are generated.optional string model_prefix = 2;- hasModelType() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM];- hasModelType() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM];- hasModelType() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional .com.google.genai.proto.TrainerSpec.ModelType model_type = 3 [default = UNIGRAM];- hasName() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
name of normalization rule.optional string name = 1;- hasName() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
name of normalization rule.optional string name = 1;- hasName() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
name of normalization rule.optional string name = 1;- hasNormalizationRuleTsv() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
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;- hasNormalizationRuleTsv() - 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;- hasNormalizationRuleTsv() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
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;- hasNormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto
Spec for text normalization.optional .com.google.genai.proto.NormalizerSpec normalizer_spec = 3;- hasNormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto.Builder
Spec for text normalization.optional .com.google.genai.proto.NormalizerSpec normalizer_spec = 3;- hasNormalizerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
Spec for text normalization.optional .com.google.genai.proto.NormalizerSpec normalizer_spec = 3;- hasNumSubIterations() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Number of EM sub iterations.optional int32 num_sub_iterations = 17 [default = 2];- hasNumSubIterations() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Number of EM sub iterations.optional int32 num_sub_iterations = 17 [default = 2];- hasNumSubIterations() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Number of EM sub iterations.optional int32 num_sub_iterations = 17 [default = 2];- hasNumThreads() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Number of threads in the training.optional int32 num_threads = 16 [default = 16];- hasNumThreads() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Number of threads in the training.optional int32 num_threads = 16 [default = 16];- hasNumThreads() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Number of threads in the training.optional int32 num_threads = 16 [default = 16];- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.GeneratedMessageV3
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.GeneratedMessageV3.Builder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.ModelProto.SentencePieceOrBuilder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.ModelProtoOrBuilder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.NormalizerSpecOrBuilder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.SelfTestData.SampleOrBuilder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.SelfTestDataOrBuilder
- hasOneof(com.google.protobuf.Descriptors.OneofDescriptor) - function in com.google.protobuf.SentencepieceModel.TrainerSpecOrBuilder
- hasPadId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
<pad> (padding)optional int32 pad_id = 43 [default = -1];- hasPadId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
<pad> (padding)optional int32 pad_id = 43 [default = -1];- hasPadId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
<pad> (padding)optional int32 pad_id = 43 [default = -1];- hasPadPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional string pad_piece = 48 [default = "<pad>"];- hasPadPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string pad_piece = 48 [default = "<pad>"];- hasPadPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional string pad_piece = 48 [default = "<pad>"];- hasPiece() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
piece must not be empty.optional string piece = 1;- hasPiece() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
piece must not be empty.optional string piece = 1;- hasPiece() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
piece must not be empty.optional string piece = 1;- hasPrecompiledCharsmap() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
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;- hasPrecompiledCharsmap() - 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;- hasPrecompiledCharsmap() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
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;- hasPretokenizationDelimiter() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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 = ""];- hasPretokenizationDelimiter() - 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 = ""];- hasPretokenizationDelimiter() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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 = ""];- hasRemoveExtraWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec
Removes leading, trailing, and duplicate internal whitespace.optional bool remove_extra_whitespaces = 4 [default = true];- hasRemoveExtraWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpec.Builder
Removes leading, trailing, and duplicate internal whitespace.optional bool remove_extra_whitespaces = 4 [default = true];- hasRemoveExtraWhitespaces() - function in com.google.genai.proto.SentencepieceModel.NormalizerSpecOrBuilder
Removes leading, trailing, and duplicate internal whitespace.optional bool remove_extra_whitespaces = 4 [default = true];- hasRequiredChars() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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;- hasRequiredChars() - 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;- hasRequiredChars() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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;- hasScore() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
optional float score = 2;- hasScore() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
optional float score = 2;- hasScore() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
optional float score = 2;- hasSeedSentencepiecesFile() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.optional string seed_sentencepieces_file = 54 [default = ""];- hasSeedSentencepiecesFile() - 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 = ""];- hasSeedSentencepiecesFile() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Path to a seed sentencepieces file, with one tab-separated seed sentencepiece <tab> frequency per line.optional string seed_sentencepieces_file = 54 [default = ""];- hasSeedSentencepieceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
The size of seed sentencepieces. `seed_sentencepiece_size` must be larger than `vocab_size`.optional int32 seed_sentencepiece_size = 14 [default = 1000000];- hasSeedSentencepieceSize() - 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];- hasSeedSentencepieceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
The size of seed sentencepieces. `seed_sentencepiece_size` must be larger than `vocab_size`.optional int32 seed_sentencepiece_size = 14 [default = 1000000];- hasSelfTestData() - function in com.google.genai.proto.SentencepieceModel.ModelProto
Stores sample input and its expected segmentation to verify the model.optional .com.google.genai.proto.SelfTestData self_test_data = 4;- hasSelfTestData() - 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;- hasSelfTestData() - function in com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
Stores sample input and its expected segmentation to verify the model.optional .com.google.genai.proto.SelfTestData self_test_data = 4;- hasSelfTestSampleSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Size of self-test samples, which are encoded in the model file.optional int32 self_test_sample_size = 6 [default = 0];- hasSelfTestSampleSize() - 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];- hasSelfTestSampleSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Size of self-test samples, which are encoded in the model file.optional int32 self_test_sample_size = 6 [default = 0];- hasShrinkingFactor() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece. This value should be smaller than 1.0.optional float shrinking_factor = 15 [default = 0.75];- hasShrinkingFactor() - 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];- hasShrinkingFactor() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
In every EM sub-iterations, keeps top `shrinking_factor` * `current sentencepieces size` with respect to the loss of the sentence piece. This value should be smaller than 1.0.optional float shrinking_factor = 15 [default = 0.75];- hasShuffleInputSentence() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional bool shuffle_input_sentence = 19 [default = true];- hasShuffleInputSentence() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional bool shuffle_input_sentence = 19 [default = true];- hasShuffleInputSentence() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional bool shuffle_input_sentence = 19 [default = true];- hasSplitByNumber() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasSplitByNumber() - 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];- hasSplitByNumber() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasSplitByUnicodeScript() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasSplitByUnicodeScript() - 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];- hasSplitByUnicodeScript() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasSplitByWhitespace() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasSplitByWhitespace() - 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];- hasSplitByWhitespace() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasSplitDigits() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Split all digits (0-9) into separate pieces.optional bool split_digits = 25 [default = false];- hasSplitDigits() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Split all digits (0-9) into separate pieces.optional bool split_digits = 25 [default = false];- hasSplitDigits() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Split all digits (0-9) into separate pieces.optional bool split_digits = 25 [default = false];- hasTrainerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProto
Spec used to generate this model file.optional .com.google.genai.proto.TrainerSpec trainer_spec = 2;- hasTrainerSpec() - 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;- hasTrainerSpec() - function in com.google.genai.proto.SentencepieceModel.ModelProtoOrBuilder
Spec used to generate this model file.optional .com.google.genai.proto.TrainerSpec trainer_spec = 2;- hasTrainExtremelyLargeCorpus() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasTrainExtremelyLargeCorpus() - 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];- hasTrainExtremelyLargeCorpus() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasTrainingSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Maximum size of sentences to train sentence pieces.optional int32 training_sentence_size = 13 [deprecated = true];- hasTrainingSentenceSize() - 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];- hasTrainingSentenceSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Maximum size of sentences to train sentence pieces.optional int32 training_sentence_size = 13 [deprecated = true];- hasTreatWhitespaceAsSuffix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasTreatWhitespaceAsSuffix() - 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];- hasTreatWhitespaceAsSuffix() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- hasType() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];- hasType() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePiece.Builder
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];- hasType() - function in com.google.genai.proto.SentencepieceModel.ModelProto.SentencePieceOrBuilder
optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];- hasUnion() - function in com.google.genai.types.TestTableItem
- True if the parameters contain an unsupported union type.
- hasUnion(boolean) - function in com.google.genai.types.TestTableItem.Builder
- Setter for hasUnion.
- hasUnkId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
///////////////////////////////////////////////////////////////// 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];- hasUnkId() - 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];- hasUnkId() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
///////////////////////////////////////////////////////////////// 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];- hasUnkPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
optional string unk_piece = 45 [default = "<unk>"];- hasUnkPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
optional string unk_piece = 45 [default = "<unk>"];- hasUnkPiece() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
optional string unk_piece = 45 [default = "<unk>"];- hasUnkSurface() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer. We can easily figure out that <unk> is emitted.optional string unk_surface = 44 [default = " \342\201\207 "];- hasUnkSurface() - 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 "];- hasUnkSurface() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Encodes <unk> into U+2047 (DOUBLE QUESTION MARK), since this character can be useful both for user and developer. We can easily figure out that <unk> is emitted.optional string unk_surface = 44 [default = " \342\201\207 "];- hasUseAllVocab() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
use all symbols for vocab extraction. This flag is valid if model type is either CHAR or WORDoptional bool use_all_vocab = 34 [default = false];- hasUseAllVocab() - 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 WORDoptional bool use_all_vocab = 34 [default = false];- hasUseAllVocab() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
use all symbols for vocab extraction. This flag is valid if model type is either CHAR or WORDoptional bool use_all_vocab = 34 [default = false];- hasVocabSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
Vocabulary size. 8k is the default size.optional int32 vocab_size = 4 [default = 8000];- hasVocabSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec.Builder
Vocabulary size. 8k is the default size.optional int32 vocab_size = 4 [default = 8000];- hasVocabSize() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
Vocabulary size. 8k is the default size.optional int32 vocab_size = 4 [default = 8000];- hasVocabularyOutputPieceScore() - function in com.google.genai.proto.SentencepieceModel.TrainerSpec
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];- hasVocabularyOutputPieceScore() - 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];- hasVocabularyOutputPieceScore() - function in com.google.genai.proto.SentencepieceModel.TrainerSpecOrBuilder
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];- headers() - function in com.google.genai.types.HttpOptions
- Additional HTTP headers to be sent with the request.
- headers(java.util.Map) - function in com.google.genai.types.HttpOptions.Builder
- Setter for headers.
- headers() - function in com.google.genai.types.HttpResponse
- Used to retain the processed HTTP headers in the response.
- headers(java.util.Map) - function in com.google.genai.types.HttpResponse.Builder
- Setter for headers.
- headers() - function in com.google.genai.types.ReplayRequest
- headers(java.util.Map) - function in com.google.genai.types.ReplayRequest.Builder
- Setter for headers.
- headers() - function in com.google.genai.types.ReplayResponse
- headers(java.util.Map) - function in com.google.genai.types.ReplayResponse.Builder
- Setter for headers.
- headers() - function in com.google.genai.types.StreamableHttpTransport
- Optional: Fields for authentication headers, timeouts, etc., if needed.
- headers(java.util.Map) - function in com.google.genai.types.StreamableHttpTransport.Builder
- Setter for headers.
- HI - enum entry in com.google.genai.types.ImagePromptLanguage.Known
Hindi
- HIGH - enum entry in com.google.genai.types.HarmProbability.Known
The harm probability is high.
- HIGH - enum entry in com.google.genai.types.ThinkingLevel.Known
High thinking level.
- host() - function in com.google.genai.types.ProxyOptions
- Proxy server hostname or IP address.
- host(java.lang.String) - function in com.google.genai.types.ProxyOptions.Builder
- Setter for host.
- HTTP - enum entry in com.google.genai.types.ProxyType.Known
Represents an HTTP proxy.
- HTTP_BASIC_AUTH - enum entry in com.google.genai.types.AuthType.Known
HTTP Basic Auth.
- HTTP_ELEMENT_LOCATION_UNSPECIFIED - enum entry in com.google.genai.types.HttpElementLocation.Known
- HTTP_IN_BODY - enum entry in com.google.genai.types.HttpElementLocation.Known
Element is in the HTTP request body.
- HTTP_IN_COOKIE - enum entry in com.google.genai.types.HttpElementLocation.Known
Element is in the HTTP request cookie.
- HTTP_IN_HEADER - enum entry in com.google.genai.types.HttpElementLocation.Known
Element is in the HTTP request header.
- HTTP_IN_PATH - enum entry in com.google.genai.types.HttpElementLocation.Known
Element is in the HTTP request path.
- HTTP_IN_QUERY - enum entry in com.google.genai.types.HttpElementLocation.Known
Element is in the HTTP request query.
- HTTP_IN_UNSPECIFIED - enum entry in com.google.genai.types.HttpElementLocation.Known
- HttpApiClient - class in com.google.genai
- Base client for the HTTP APIs.
- httpBasicAuthConfig() - function in com.google.genai.types.AuthConfig
- Config for HTTP Basic auth.
- httpBasicAuthConfig(com.google.genai.types.AuthConfigHttpBasicAuthConfig) - function in com.google.genai.types.AuthConfig.Builder
- Setter for httpBasicAuthConfig.
- httpBasicAuthConfig(com.google.genai.types.AuthConfigHttpBasicAuthConfig.Builder) - function in com.google.genai.types.AuthConfig.Builder
- Setter for httpBasicAuthConfig builder.
- httpClient() - function in com.google.genai.ApiClient
- Returns the HttpClient for API calls.
- httpClient() - function in com.google.genai.ApiClient
- Returns the HttpClient for API calls.
- httpElementLocation() - function in com.google.genai.types.ApiKeyConfig
- Optional.
- httpElementLocation(com.google.genai.types.HttpElementLocation) - function in com.google.genai.types.ApiKeyConfig.Builder
- Setter for httpElementLocation.
- httpElementLocation(com.google.genai.types.HttpElementLocation.Known) - function in com.google.genai.types.ApiKeyConfig.Builder
- Setter for httpElementLocation given a known enum.
- httpElementLocation(java.lang.String) - function in com.google.genai.types.ApiKeyConfig.Builder
- Setter for httpElementLocation given a string.
- HttpElementLocation - class in com.google.genai.types
- The location of the API key.
- HttpElementLocation.Known - class in com.google.genai.types.HttpElementLocation
- Enum representing the known values for HttpElementLocation.
- httpOptions() - function in com.google.genai.ApiClient
- Returns the HTTP options for API calls.
- httpOptions() - function in com.google.genai.ApiClient
- Returns the HTTP options for API calls.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.Client.Builder
- Sets the HttpOptions for the API client.
- httpOptions() - function in com.google.genai.Common.BuiltRequest
- httpOptions() - function in com.google.genai.types.CancelBatchJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CancelBatchJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CancelBatchJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CancelTuningJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CancelTuningJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CancelTuningJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ComputeTokensConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ComputeTokensConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ComputeTokensConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CountTokensConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CountTokensConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CountTokensConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateAuthTokenConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateAuthTokenConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateAuthTokenConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateBatchJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateBatchJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateBatchJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateCachedContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateCachedContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateCachedContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateFileSearchStoreConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateFileSearchStoreConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateFileSearchStoreConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.CreateTuningJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteBatchJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteBatchJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteBatchJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteCachedContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteCachedContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteCachedContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteDocumentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteDocumentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteDocumentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteFileSearchStoreConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteFileSearchStoreConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteFileSearchStoreConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DeleteModelConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DeleteModelConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DeleteModelConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.DownloadFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.DownloadFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.DownloadFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.EditImageConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.EmbedContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.EmbedContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.EmbedContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.FetchPredictOperationConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.FetchPredictOperationConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.FetchPredictOperationConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GenerateContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GenerateContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GenerateContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GenerateImagesConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GenerateVideosConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GenerateVideosConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GenerateVideosConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetBatchJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetBatchJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetBatchJobConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetCachedContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetCachedContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetCachedContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetDocumentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetDocumentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetDocumentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetFileSearchStoreConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetFileSearchStoreConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetFileSearchStoreConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetModelConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetModelConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetModelConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetOperationConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetOperationConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetOperationConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.GetTuningJobConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.GetTuningJobConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.GetTuningJobConfig.Builder
- Setter for httpOptions builder.
- HttpOptions - class in com.google.genai.types
- HTTP options to be used in each of the requests.
- httpOptions() - function in com.google.genai.types.ImportFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ImportFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ImportFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListBatchJobsConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListBatchJobsConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListBatchJobsConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListCachedContentsConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListCachedContentsConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListCachedContentsConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListDocumentsConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListDocumentsConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListDocumentsConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListFileSearchStoresConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListFileSearchStoresConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListFileSearchStoresConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListFilesConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListFilesConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListFilesConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListModelsConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListModelsConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListModelsConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.ListTuningJobsConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.ListTuningJobsConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.ListTuningJobsConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.LiveConnectConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.RecontextImageConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.RegisterFilesConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.RegisterFilesConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.RegisterFilesConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.SegmentImageConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.SegmentImageConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.SegmentImageConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UpdateCachedContentConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UpdateCachedContentConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UpdateCachedContentConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UpdateModelConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UpdateModelConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UpdateModelConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UploadFileConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UploadFileConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UploadFileConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UploadToFileSearchStoreConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UploadToFileSearchStoreConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UpscaleImageAPIConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
- Setter for httpOptions builder.
- httpOptions() - function in com.google.genai.types.UpscaleImageConfig
- Used to override HTTP request options.
- httpOptions(com.google.genai.types.HttpOptions) - function in com.google.genai.types.UpscaleImageConfig.Builder
- Setter for httpOptions.
- httpOptions(com.google.genai.types.HttpOptions.Builder) - function in com.google.genai.types.UpscaleImageConfig.Builder
- Setter for httpOptions builder.
- HttpOptions.Builder - class in com.google.genai.types.HttpOptions
- Builder for HttpOptions.
- HttpResponse - class in com.google.genai.types
- A wrapper class for the http response.
- HttpResponse.Builder - class in com.google.genai.types.HttpResponse
- Builder for HttpResponse.
- HttpRetryOptions - class in com.google.genai.types
- HTTP retry options to be used in each of the requests.
- HttpRetryOptions.Builder - class in com.google.genai.types.HttpRetryOptions
- Builder for HttpRetryOptions.
- httpStatusCodes() - function in com.google.genai.types.HttpRetryOptions
- List of HTTP status codes that should trigger a retry.
- httpStatusCodes(kotlin.Array) - function in com.google.genai.types.HttpRetryOptions.Builder
- Setter for httpStatusCodes.
- httpStatusCodes(java.util.List) - function in com.google.genai.types.HttpRetryOptions.Builder
- Setter for httpStatusCodes.
- hybridSearch() - function in com.google.genai.types.RagRetrievalConfig
- Optional.
- hybridSearch(com.google.genai.types.RagRetrievalConfigHybridSearch) - function in com.google.genai.types.RagRetrievalConfig.Builder
- Setter for hybridSearch.
- hybridSearch(com.google.genai.types.RagRetrievalConfigHybridSearch.Builder) - function in com.google.genai.types.RagRetrievalConfig.Builder
- Setter for hybridSearch builder.
- hyperParameters() - function in com.google.genai.types.DistillationSpec
- Optional.
- hyperParameters(com.google.genai.types.DistillationHyperParameters) - function in com.google.genai.types.DistillationSpec.Builder
- Setter for hyperParameters.
- hyperParameters(com.google.genai.types.DistillationHyperParameters.Builder) - function in com.google.genai.types.DistillationSpec.Builder
- Setter for hyperParameters builder.
- hyperParameters() - function in com.google.genai.types.FullFineTuningSpec
- Optional.
- hyperParameters(com.google.genai.types.SupervisedHyperParameters) - function in com.google.genai.types.FullFineTuningSpec.Builder
- Setter for hyperParameters.
- hyperParameters(com.google.genai.types.SupervisedHyperParameters.Builder) - function in com.google.genai.types.FullFineTuningSpec.Builder
- Setter for hyperParameters builder.
- hyperParameters() - function in com.google.genai.types.PartnerModelTuningSpec
- Hyperparameters for tuning.
- hyperParameters(java.util.Map) - function in com.google.genai.types.PartnerModelTuningSpec.Builder
- Setter for hyperParameters.
- hyperParameters() - function in com.google.genai.types.PreferenceOptimizationSpec
- Optional.
- hyperParameters(com.google.genai.types.PreferenceOptimizationHyperParameters) - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
- Setter for hyperParameters.
- hyperParameters(com.google.genai.types.PreferenceOptimizationHyperParameters.Builder) - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
- Setter for hyperParameters builder.
- hyperParameters() - function in com.google.genai.types.SupervisedTuningSpec
- Optional.
- hyperParameters(com.google.genai.types.SupervisedHyperParameters) - function in com.google.genai.types.SupervisedTuningSpec.Builder
- Setter for hyperParameters.
- hyperParameters(com.google.genai.types.SupervisedHyperParameters.Builder) - function in com.google.genai.types.SupervisedTuningSpec.Builder
- Setter for hyperParameters builder.
- hyperParameters() - function in com.google.genai.types.VeoTuningSpec
- Optional.
- hyperParameters(com.google.genai.types.VeoHyperParameters) - function in com.google.genai.types.VeoTuningSpec.Builder
- Setter for hyperParameters.
- hyperParameters(com.google.genai.types.VeoHyperParameters.Builder) - function in com.google.genai.types.VeoTuningSpec.Builder
- Setter for hyperParameters builder.