Class InteractionAnalyzeResponse.Metadata.Builder
-
- All Implemented Interfaces:
public final class InteractionAnalyzeResponse.Metadata.BuilderA builder for Metadata.
-
-
Method Summary
-
-
Method Detail
-
model
final InteractionAnalyzeResponse.Metadata.Builder model(String model)
The language model from the request.
-
model
final InteractionAnalyzeResponse.Metadata.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processingTimeMs
final InteractionAnalyzeResponse.Metadata.Builder processingTimeMs(Double processingTimeMs)
The total time taken to perform the analysis.
-
processingTimeMs
final InteractionAnalyzeResponse.Metadata.Builder processingTimeMs(JsonField<Double> processingTimeMs)
Sets Builder.processingTimeMs to an arbitrary JSON value.
You should usually call Builder.processingTimeMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
project
final InteractionAnalyzeResponse.Metadata.Builder project(InteractionAnalyzeResponse.Metadata.Project project)
-
project
final InteractionAnalyzeResponse.Metadata.Builder project(JsonField<InteractionAnalyzeResponse.Metadata.Project> project)
Sets Builder.project to an arbitrary JSON value.
You should usually call Builder.project with a well-typed Project value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
provider
final InteractionAnalyzeResponse.Metadata.Builder provider(String provider)
The provider of the language model from the request.
-
provider
final InteractionAnalyzeResponse.Metadata.Builder provider(JsonField<String> provider)
Sets Builder.provider to an arbitrary JSON value.
You should usually call Builder.provider with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requesterId
final InteractionAnalyzeResponse.Metadata.Builder requesterId(String requesterId)
The identifier for the entity from the request.
-
requesterId
final InteractionAnalyzeResponse.Metadata.Builder requesterId(JsonField<String> requesterId)
Sets Builder.requesterId to an arbitrary JSON value.
You should usually call Builder.requesterId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
analyzedAt
final InteractionAnalyzeResponse.Metadata.Builder analyzedAt(OffsetDateTime analyzedAt)
The timestamp when the analysis was performed.
-
analyzedAt
final InteractionAnalyzeResponse.Metadata.Builder analyzedAt(JsonField<OffsetDateTime> analyzedAt)
Sets Builder.analyzedAt to an arbitrary JSON value.
You should usually call Builder.analyzedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventId
final InteractionAnalyzeResponse.Metadata.Builder eventId(String eventId)
The unique identifier for the analysis event.
-
eventId
final InteractionAnalyzeResponse.Metadata.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InteractionAnalyzeResponse.Metadata.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InteractionAnalyzeResponse.Metadata.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InteractionAnalyzeResponse.Metadata.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InteractionAnalyzeResponse.Metadata.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InteractionAnalyzeResponse.Metadata.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InteractionAnalyzeResponse.Metadata build()
Returns an immutable instance of Metadata.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.model() .processingTimeMs() .project() .provider() .requesterId()
-
-
-
-