| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VertexAI |
build() |
VertexAI.Builder |
setApiEndpoint(String apiEndpoint) |
VertexAI.Builder |
setCredentials(com.google.auth.Credentials credentials) |
VertexAI.Builder |
setCustomHeaders(Map<String,String> customHeaders) |
VertexAI.Builder |
setLlmClientSupplier(com.google.common.base.Supplier<LlmUtilityServiceClient> llmClientSupplier) |
VertexAI.Builder |
setLocation(String location) |
VertexAI.Builder |
setPredictionClientSupplier(com.google.common.base.Supplier<PredictionServiceClient> predictionClientSupplier) |
VertexAI.Builder |
setProjectId(String projectId) |
VertexAI.Builder |
setScopes(List<String> scopes) |
VertexAI.Builder |
setTransport(Transport transport) |
public VertexAI build()
@CanIgnoreReturnValue public VertexAI.Builder setProjectId(String projectId)
@CanIgnoreReturnValue public VertexAI.Builder setLocation(String location)
@CanIgnoreReturnValue public VertexAI.Builder setApiEndpoint(String apiEndpoint)
@CanIgnoreReturnValue public VertexAI.Builder setTransport(Transport transport)
@CanIgnoreReturnValue public VertexAI.Builder setCredentials(com.google.auth.Credentials credentials)
@CanIgnoreReturnValue public VertexAI.Builder setPredictionClientSupplier(com.google.common.base.Supplier<PredictionServiceClient> predictionClientSupplier)
@CanIgnoreReturnValue public VertexAI.Builder setLlmClientSupplier(com.google.common.base.Supplier<LlmUtilityServiceClient> llmClientSupplier)
@CanIgnoreReturnValue public VertexAI.Builder setScopes(List<String> scopes)
@CanIgnoreReturnValue public VertexAI.Builder setCustomHeaders(Map<String,String> customHeaders)
Copyright © 2024 Google LLC. All rights reserved.