Class SessionActParams.Options.Model.VertexModelConfigObject
-
- All Implemented Interfaces:
public final class SessionActParams.Options.Model.VertexModelConfigObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionActParams.Options.Model.VertexModelConfigObject.BuilderA builder for VertexModelConfigObject.
public final classSessionActParams.Options.Model.VertexModelConfigObject.AuthVertex provider authentication configuration
public final classSessionActParams.Options.Model.VertexModelConfigObject.ProviderOptionsVertex provider-specific model configuration
public final classSessionActParams.Options.Model.VertexModelConfigObject.HeadersCustom headers sent with every request to the model provider
-
Method Summary
Modifier and Type Method Description final SessionActParams.Options.Model.VertexModelConfigObject.Authauth()Vertex provider authentication configuration final StringmodelName()Model name string with provider prefix (e.g. final JsonValue_provider()Vertex AI model providerExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("vertex")final SessionActParams.Options.Model.VertexModelConfigObject.ProviderOptionsproviderOptions()Vertex provider-specific model configuration final Optional<String>apiKey()API key for the model provider final Optional<String>baseUrl()Base URL for the model provider final Optional<SessionActParams.Options.Model.VertexModelConfigObject.Headers>headers()Custom headers sent with every request to the model provider final JsonField<SessionActParams.Options.Model.VertexModelConfigObject.Auth>_auth()Returns the raw JSON value of auth. final JsonField<String>_modelName()Returns the raw JSON value of modelName. final JsonField<SessionActParams.Options.Model.VertexModelConfigObject.ProviderOptions>_providerOptions()Returns the raw JSON value of providerOptions. final JsonField<String>_apiKey()Returns the raw JSON value of apiKey. final JsonField<String>_baseUrl()Returns the raw JSON value of baseUrl. final JsonField<SessionActParams.Options.Model.VertexModelConfigObject.Headers>_headers()Returns the raw JSON value of headers. final Map<String, JsonValue>_additionalProperties()final SessionActParams.Options.Model.VertexModelConfigObject.BuildertoBuilder()final SessionActParams.Options.Model.VertexModelConfigObjectvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionActParams.Options.Model.VertexModelConfigObject.Builderbuilder()Returns a mutable builder for constructing an instance of VertexModelConfigObject. -
-
Method Detail
-
auth
final SessionActParams.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 SessionActParams.Options.Model.VertexModelConfigObject.ProviderOptions providerOptions()
Vertex provider-specific model configuration
-
headers
final Optional<SessionActParams.Options.Model.VertexModelConfigObject.Headers> headers()
Custom headers sent with every request to the model provider
-
_auth
final JsonField<SessionActParams.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<SessionActParams.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<SessionActParams.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 SessionActParams.Options.Model.VertexModelConfigObject.Builder toBuilder()
-
validate
final SessionActParams.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 SessionActParams.Options.Model.VertexModelConfigObject.Builder builder()
Returns a mutable builder for constructing an instance of VertexModelConfigObject.
The following fields are required:
.auth() .modelName() .providerOptions()
-
-
-
-