Class InteractionAnalyzeResponse
-
- All Implemented Interfaces:
public final class InteractionAnalyzeResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInteractionAnalyzeResponse.BuilderA builder for InteractionAnalyzeResponse.
public final classInteractionAnalyzeResponse.Analysispublic final classInteractionAnalyzeResponse.AnalyzedDataThe language model input and/or output that was analyzed.
public final classInteractionAnalyzeResponse.Metadatapublic final classInteractionAnalyzeResponse.ModifiedDataThe potentially modified language model input and output after applying any redactions or modifications based on the analysis.
public final classInteractionAnalyzeResponse.EvaluationThe evaluation of the analysis results.
-
Method Summary
-
-
Method Detail
-
analysis
final List<InteractionAnalyzeResponse.Analysis> analysis()
-
analyzedData
final InteractionAnalyzeResponse.AnalyzedData analyzedData()
The language model input and/or output that was analyzed.
-
metadata
final InteractionAnalyzeResponse.Metadata metadata()
-
modifiedData
final InteractionAnalyzeResponse.ModifiedData modifiedData()
The potentially modified language model input and output after applying any redactions or modifications based on the analysis.
-
evaluation
final Optional<InteractionAnalyzeResponse.Evaluation> evaluation()
The evaluation of the analysis results.
-
_analysis
final JsonField<List<InteractionAnalyzeResponse.Analysis>> _analysis()
Returns the raw JSON value of analysis.
Unlike analysis, this method doesn't throw if the JSON field has an unexpected type.
-
_analyzedData
final JsonField<InteractionAnalyzeResponse.AnalyzedData> _analyzedData()
Returns the raw JSON value of analyzedData.
Unlike analyzedData, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<InteractionAnalyzeResponse.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_modifiedData
final JsonField<InteractionAnalyzeResponse.ModifiedData> _modifiedData()
Returns the raw JSON value of modifiedData.
Unlike modifiedData, this method doesn't throw if the JSON field has an unexpected type.
-
_evaluation
final JsonField<InteractionAnalyzeResponse.Evaluation> _evaluation()
Returns the raw JSON value of evaluation.
Unlike evaluation, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InteractionAnalyzeResponse.Builder toBuilder()
-
validate
final InteractionAnalyzeResponse 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 InteractionAnalyzeResponse.Builder builder()
Returns a mutable builder for constructing an instance of InteractionAnalyzeResponse.
The following fields are required:
.analysis() .analyzedData() .metadata() .modifiedData()
-
-
-
-