Classe VertexAI.Builder (1.3.0)

public static class VertexAI.Builder

Builder per VertexAI.

Ereditarietà

java.lang.Object > VertexAI.Builder

Costruttori

Builder()

public Builder()

Metodi

build()

public VertexAI build()
Restituisce
Tipo Description
VertexAI

setApiEndpoint(String apiEndpoint)

public VertexAI.Builder setApiEndpoint(String apiEndpoint)
Parametro
Nome Description
apiEndpoint String
Restituisce
Tipo Description
VertexAI.Builder

setCredentials(Credentials credentials)

public VertexAI.Builder setCredentials(Credentials credentials)
Parametro
Nome Description
credentials com.google.auth.Credentials
Restituisce
Tipo Description
VertexAI.Builder

setLlmClientSupplier(Supplier<LlmUtilityServiceClient> llmClientSupplier)

public VertexAI.Builder setLlmClientSupplier(Supplier<LlmUtilityServiceClient> llmClientSupplier)
Parametro
Nome Description
llmClientSupplier com.google.common.base.Supplier<LlmUtilityServiceClient>
Restituisce
Tipo Description
VertexAI.Builder

setLocation(String location)

public VertexAI.Builder setLocation(String location)
Parametro
Nome Description
location String
Restituisce
Tipo Description
VertexAI.Builder

setPredictionClientSupplier(Supplier<PredictionServiceClient> predictionClientSupplier)

public VertexAI.Builder setPredictionClientSupplier(Supplier<PredictionServiceClient> predictionClientSupplier)
Parametro
Nome Description
predictionClientSupplier com.google.common.base.Supplier<PredictionServiceClient>
Restituisce
Tipo Description
VertexAI.Builder

setProjectId(String projectId)

public VertexAI.Builder setProjectId(String projectId)
Parametro
Nome Description
projectId String
Restituisce
Tipo Description
VertexAI.Builder

setScopes(List<String> scopes)

public VertexAI.Builder setScopes(List<String> scopes)
Parametro
Nome Description
scopes List<String>
Restituisce
Tipo Description
VertexAI.Builder

setTransport(Transport transport)

public VertexAI.Builder setTransport(Transport transport)
Parametro
Nome Description
transport Transport
Restituisce
Tipo Description
VertexAI.Builder