Class TextDelta
-
- All Implemented Interfaces:
public final class TextDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextDelta.BuilderA builder for TextDelta.
-
Method Summary
Modifier and Type Method Description final Optional<List<AnnotationDelta>>annotations()final Optional<String>value()The data that makes up the text. final JsonField<List<AnnotationDelta>>_annotations()Returns the raw JSON value of annotations. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final TextDelta.BuildertoBuilder()final TextDeltavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TextDelta.Builderbuilder()Returns a mutable builder for constructing an instance of TextDelta. -
-
Method Detail
-
annotations
final Optional<List<AnnotationDelta>> annotations()
-
_annotations
final JsonField<List<AnnotationDelta>> _annotations()
Returns the raw JSON value of annotations.
Unlike annotations, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TextDelta.Builder toBuilder()
-
validate
final TextDelta 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 TextDelta.Builder builder()
Returns a mutable builder for constructing an instance of TextDelta.
-
-
-
-