Class BetaAdvisorRedactedResultBlock
-
- All Implemented Interfaces:
public final class BetaAdvisorRedactedResultBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAdvisorRedactedResultBlock.BuilderA builder for BetaAdvisorRedactedResultBlock.
-
Method Summary
Modifier and Type Method Description final BetaAdvisorRedactedResultBlockParamtoParam()final StringencryptedContent()Opaque blob containing the advisor's output. final Optional<String>stopReason()The advisor sub-inference's stop reason (same values as the top-level message stop_reason).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("advisor_redacted_result")final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final JsonField<String>_stopReason()Returns the raw JSON value of stopReason. final Map<String, JsonValue>_additionalProperties()final BetaAdvisorRedactedResultBlock.BuildertoBuilder()final BetaAdvisorRedactedResultBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAdvisorRedactedResultBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAdvisorRedactedResultBlock. -
-
Method Detail
-
toParam
final BetaAdvisorRedactedResultBlockParam toParam()
-
encryptedContent
final String encryptedContent()
Opaque blob containing the advisor's output. Round-trip verbatim; do not inspect or modify.
-
stopReason
final Optional<String> stopReason()
The advisor sub-inference's stop reason (same values as the top-level message
stop_reason).
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("advisor_redacted_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_encryptedContent
final JsonField<String> _encryptedContent()
Returns the raw JSON value of encryptedContent.
Unlike encryptedContent, this method doesn't throw if the JSON field has an unexpected type.
-
_stopReason
final JsonField<String> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAdvisorRedactedResultBlock.Builder toBuilder()
-
validate
final BetaAdvisorRedactedResultBlock 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 BetaAdvisorRedactedResultBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaAdvisorRedactedResultBlock.
The following fields are required:
.encryptedContent() .stopReason()
-
-
-
-