Class Text
-
- All Implemented Interfaces:
public final class Text
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Text.Builder
A builder for Text.
-
Method Summary
Modifier and Type Method Description final List<Annotation>
annotations()
final String
value()
The data that makes up the text. final JsonField<List<Annotation>>
_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 Text.Builder
toBuilder()
final Text
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Text.Builder
builder()
Returns a mutable builder for constructing an instance of Text. -
-
Method Detail
-
annotations
final List<Annotation> annotations()
-
_annotations
final JsonField<List<Annotation>> _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 Text.Builder toBuilder()
-
builder
final static Text.Builder builder()
Returns a mutable builder for constructing an instance of Text.
The following fields are required:
.annotations() .value()
-
-
-
-