Class GenerationTrace
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.generativeaiagentruntime.model.Trace
- 
- com.oracle.bmc.generativeaiagentruntime.model.GenerationTrace
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20240531") public final class GenerationTrace extends TraceThe trace information about the generated response.
 Note: Objects should always be created or deserialized using theGenerationTrace.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theGenerationTrace.Builder, which maintain a set of all explicitly set fields calledGenerationTrace.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGenerationTrace.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.generativeaiagentruntime.model.TraceTrace.TraceType
 
- 
 - 
Constructor SummaryConstructors Constructor Description GenerationTrace(String key, String parentKey, SourceDetails source, Date timeCreated, Date timeFinished, String generation, String input, List<Usage> usage)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenerationTrace.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetGeneration()The generated response that’s returned to the user.StringgetInput()The input to the generation operation.List<Usage>getUsage()Details of model and its usage.inthashCode()GenerationTrace.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.generativeaiagentruntime.model.TracegetKey, getParentKey, getSource, getTimeCreated, getTimeFinished
 
- 
 
- 
- 
- 
Constructor Detail- 
GenerationTrace@Deprecated public GenerationTrace(String key, String parentKey, SourceDetails source, Date timeCreated, Date timeFinished, String generation, String input, List<Usage> usage) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static GenerationTrace.Builder builder() Create a new builder.
 - 
toBuilderpublic GenerationTrace.Builder toBuilder() 
 - 
getGenerationpublic String getGeneration() The generated response that’s returned to the user.- Returns:
- the value
 
 - 
getInputpublic String getInput() The input to the generation operation.- Returns:
- the value
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.
 
- 
 
-