Class BetaRawMessageDeltaEvent.Delta
-
- All Implemented Interfaces:
public final class BetaRawMessageDeltaEvent.Delta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRawMessageDeltaEvent.Delta.BuilderA builder for Delta.
-
Method Summary
Modifier and Type Method Description final Optional<BetaContainer>container()Information about the container used in the request (for the code execution tool) final Optional<BetaStopReason>stopReason()final Optional<String>stopSequence()final JsonField<BetaContainer>_container()Returns the raw JSON value of container. final JsonField<BetaStopReason>_stopReason()Returns the raw JSON value of stopReason. final JsonField<String>_stopSequence()Returns the raw JSON value of stopSequence. final Map<String, JsonValue>_additionalProperties()final BetaRawMessageDeltaEvent.Delta.BuildertoBuilder()final BetaRawMessageDeltaEvent.Deltavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRawMessageDeltaEvent.Delta.Builderbuilder()Returns a mutable builder for constructing an instance of Delta. -
-
Method Detail
-
container
final Optional<BetaContainer> container()
Information about the container used in the request (for the code execution tool)
-
stopReason
final Optional<BetaStopReason> stopReason()
-
stopSequence
final Optional<String> stopSequence()
-
_container
final JsonField<BetaContainer> _container()
Returns the raw JSON value of container.
Unlike container, this method doesn't throw if the JSON field has an unexpected type.
-
_stopReason
final JsonField<BetaStopReason> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_stopSequence
final JsonField<String> _stopSequence()
Returns the raw JSON value of stopSequence.
Unlike stopSequence, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRawMessageDeltaEvent.Delta.Builder toBuilder()
-
validate
final BetaRawMessageDeltaEvent.Delta validate()
-
builder
final static BetaRawMessageDeltaEvent.Delta.Builder builder()
Returns a mutable builder for constructing an instance of Delta.
The following fields are required:
.container() .stopReason() .stopSequence()
-
-
-
-