Class InteractionAnalyzeResponse.Builder
-
- All Implemented Interfaces:
public final class InteractionAnalyzeResponse.BuilderA builder for InteractionAnalyzeResponse.
-
-
Method Summary
-
-
Method Detail
-
analysis
final InteractionAnalyzeResponse.Builder analysis(List<InteractionAnalyzeResponse.Analysis> analysis)
-
analysis
final InteractionAnalyzeResponse.Builder analysis(JsonField<List<InteractionAnalyzeResponse.Analysis>> analysis)
Sets Builder.analysis to an arbitrary JSON value.
You should usually call Builder.analysis with a well-typed
List<Analysis>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAnalysis
final InteractionAnalyzeResponse.Builder addAnalysis(InteractionAnalyzeResponse.Analysis analysis)
Adds a single Analysis to Builder.analysis.
-
analyzedData
final InteractionAnalyzeResponse.Builder analyzedData(InteractionAnalyzeResponse.AnalyzedData analyzedData)
The language model input and/or output that was analyzed.
-
analyzedData
final InteractionAnalyzeResponse.Builder analyzedData(JsonField<InteractionAnalyzeResponse.AnalyzedData> analyzedData)
Sets Builder.analyzedData to an arbitrary JSON value.
You should usually call Builder.analyzedData with a well-typed AnalyzedData value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final InteractionAnalyzeResponse.Builder metadata(InteractionAnalyzeResponse.Metadata metadata)
-
metadata
final InteractionAnalyzeResponse.Builder metadata(JsonField<InteractionAnalyzeResponse.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modifiedData
final InteractionAnalyzeResponse.Builder modifiedData(InteractionAnalyzeResponse.ModifiedData modifiedData)
The potentially modified language model input and output after applying any redactions or modifications based on the analysis.
-
modifiedData
final InteractionAnalyzeResponse.Builder modifiedData(JsonField<InteractionAnalyzeResponse.ModifiedData> modifiedData)
Sets Builder.modifiedData to an arbitrary JSON value.
You should usually call Builder.modifiedData with a well-typed ModifiedData value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InteractionAnalyzeResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InteractionAnalyzeResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InteractionAnalyzeResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InteractionAnalyzeResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InteractionAnalyzeResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InteractionAnalyzeResponse build()
Returns an immutable instance of InteractionAnalyzeResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.analysis() .analyzedData() .metadata() .modifiedData()
-
-
-
-