Class SessionExtractParams.Options.Model.VertexModelConfigObject
-
- All Implemented Interfaces:
public final class SessionExtractParams.Options.Model.VertexModelConfigObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExtractParams.Options.Model.VertexModelConfigObject.BuilderA builder for VertexModelConfigObject.
public final classSessionExtractParams.Options.Model.VertexModelConfigObject.AuthVertex provider authentication configuration
public final classSessionExtractParams.Options.Model.VertexModelConfigObject.ProviderOptionsVertex provider-specific model configuration
public final classSessionExtractParams.Options.Model.VertexModelConfigObject.HeadersCustom headers sent with every request to the model provider
-
Method Summary
-
-
Method Detail
-
auth
final SessionExtractParams.Options.Model.VertexModelConfigObject.Auth auth()
Vertex provider authentication configuration
-
modelName
final String modelName()
Model name string with provider prefix (e.g., 'openai/gpt-5-nano')
-
_provider
final JsonValue _provider()
Vertex AI model provider
Expected to always return the following:
JsonValue.from("vertex")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
providerOptions
final SessionExtractParams.Options.Model.VertexModelConfigObject.ProviderOptions providerOptions()
Vertex provider-specific model configuration
-
headers
final Optional<SessionExtractParams.Options.Model.VertexModelConfigObject.Headers> headers()
Custom headers sent with every request to the model provider
-
_auth
final JsonField<SessionExtractParams.Options.Model.VertexModelConfigObject.Auth> _auth()
Returns the raw JSON value of auth.
Unlike auth, this method doesn't throw if the JSON field has an unexpected type.
-
_modelName
final JsonField<String> _modelName()
Returns the raw JSON value of modelName.
Unlike modelName, this method doesn't throw if the JSON field has an unexpected type.
-
_providerOptions
final JsonField<SessionExtractParams.Options.Model.VertexModelConfigObject.ProviderOptions> _providerOptions()
Returns the raw JSON value of providerOptions.
Unlike providerOptions, this method doesn't throw if the JSON field has an unexpected type.
-
_apiKey
final JsonField<String> _apiKey()
Returns the raw JSON value of apiKey.
Unlike apiKey, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrl
final JsonField<String> _baseUrl()
Returns the raw JSON value of baseUrl.
Unlike baseUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<SessionExtractParams.Options.Model.VertexModelConfigObject.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExtractParams.Options.Model.VertexModelConfigObject.Builder toBuilder()
-
validate
final SessionExtractParams.Options.Model.VertexModelConfigObject validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SessionExtractParams.Options.Model.VertexModelConfigObject.Builder builder()
Returns a mutable builder for constructing an instance of VertexModelConfigObject.
The following fields are required:
.auth() .modelName() .providerOptions()
-
-
-
-