Class BetaDreamOutput
-
- All Implemented Interfaces:
public final class BetaDreamOutputAn entry in a dream's
outputsthat references the memory store holding its result.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaDreamOutput.BuilderA builder for BetaDreamOutput.
-
Method Summary
Modifier and Type Method Description final StringmemoryStoreId()The ID of the memory store that the dream writes its result to ( memstore_...).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("memory_store")final JsonField<String>_memoryStoreId()Returns the raw JSON value of memoryStoreId. final Map<String, JsonValue>_additionalProperties()final BetaDreamOutput.BuildertoBuilder()final BetaDreamOutputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaDreamOutput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaDreamOutput. final static BetaDreamOutputof(String memoryStoreId)Returns an immutable instance of BetaDreamOutput with the required memoryStoreId set to the given value. -
-
Method Detail
-
memoryStoreId
final String memoryStoreId()
The ID of the memory store that the dream writes its result to (
memstore_...).With
output_behaviorset tocreate_new, this is a new memory store. Withupdate_existing, it is the input memory store.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("memory_store")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_memoryStoreId
final JsonField<String> _memoryStoreId()
Returns the raw JSON value of memoryStoreId.
Unlike memoryStoreId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaDreamOutput.Builder toBuilder()
-
validate
final BetaDreamOutput 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 BetaDreamOutput.Builder builder()
Returns a mutable builder for constructing an instance of BetaDreamOutput.
The following fields are required:
.memoryStoreId()
-
of
final static BetaDreamOutput of(String memoryStoreId)
Returns an immutable instance of BetaDreamOutput with the required memoryStoreId set to the given value.
-
-
-
-