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 Trace
The 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 Summary
Nested Classes Modifier and Type Class Description static class
GenerationTrace.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.generativeaiagentruntime.model.Trace
Trace.TraceType
-
-
Constructor Summary
Constructors Constructor Description GenerationTrace(Date timeCreated, String generation)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenerationTrace.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getGeneration()
The generated response that’s returned to the user.int
hashCode()
GenerationTrace.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.generativeaiagentruntime.model.Trace
getTimeCreated
-
-
-
-
Constructor Detail
-
GenerationTrace
@Deprecated public GenerationTrace(Date timeCreated, String generation)
Deprecated.
-
-
Method Detail
-
builder
public static GenerationTrace.Builder builder()
Create a new builder.
-
toBuilder
public GenerationTrace.Builder toBuilder()
-
getGeneration
public String getGeneration()
The generated response that’s returned to the user.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-