Class BetaCompactionContentBlockDelta
-
- All Implemented Interfaces:
public final class BetaCompactionContentBlockDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCompactionContentBlockDelta.BuilderA builder for BetaCompactionContentBlockDelta.
-
Method Summary
Modifier and Type Method Description final Optional<String>content()final Optional<String>encryptedContent()Opaque metadata from prior compaction, to be round-tripped verbatim final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("compaction_delta")final JsonField<String>_content()Returns the raw JSON value of content. final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final Map<String, JsonValue>_additionalProperties()final BetaCompactionContentBlockDelta.BuildertoBuilder()final BetaCompactionContentBlockDeltavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCompactionContentBlockDelta.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCompactionContentBlockDelta. -
-
Method Detail
-
encryptedContent
final Optional<String> encryptedContent()
Opaque metadata from prior compaction, to be round-tripped verbatim
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("compaction_delta")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCompactionContentBlockDelta.Builder toBuilder()
-
validate
final BetaCompactionContentBlockDelta 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 BetaCompactionContentBlockDelta.Builder builder()
Returns a mutable builder for constructing an instance of BetaCompactionContentBlockDelta.
The following fields are required:
.content() .encryptedContent()
-
-
-
-