Package com.google.genai.types
Class CreateEmbeddingsBatchJobParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class CreateEmbeddingsBatchJobParameters extends JsonSerializable
Config for batches.create parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classCreateEmbeddingsBatchJobParameters.BuilderBuilder for CreateEmbeddingsBatchJobParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description CreateEmbeddingsBatchJobParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>model()The name of the model to produces the predictions via the BatchJob. abstract Optional<EmbeddingsBatchJobSource>src()input data to run batch job". abstract Optional<CreateEmbeddingsBatchJobConfig>config()Optional parameters for creating a BatchJob. static CreateEmbeddingsBatchJobParameters.Builderbuilder()Instantiates a builder for CreateEmbeddingsBatchJobParameters. abstract CreateEmbeddingsBatchJobParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static CreateEmbeddingsBatchJobParametersfromJson(String jsonString)Deserializes a JSON string to a CreateEmbeddingsBatchJobParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
model
abstract Optional<String> model()
The name of the model to produces the predictions via the BatchJob.
-
src
abstract Optional<EmbeddingsBatchJobSource> src()
input data to run batch job".
-
config
abstract Optional<CreateEmbeddingsBatchJobConfig> config()
Optional parameters for creating a BatchJob.
-
builder
static CreateEmbeddingsBatchJobParameters.Builder builder()
Instantiates a builder for CreateEmbeddingsBatchJobParameters.
-
toBuilder
abstract CreateEmbeddingsBatchJobParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static CreateEmbeddingsBatchJobParameters fromJson(String jsonString)
Deserializes a JSON string to a CreateEmbeddingsBatchJobParameters object.
-
-
-
-