Class BetaJsonOutputFormat
-
- All Implemented Interfaces:
public final class BetaJsonOutputFormat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaJsonOutputFormat.BuilderA builder for BetaJsonOutputFormat.
public final classBetaJsonOutputFormat.SchemaThe JSON schema of the format
-
Method Summary
Modifier and Type Method Description final BetaJsonOutputFormat.Schemaschema()The JSON schema of the format final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("json_schema")final JsonField<BetaJsonOutputFormat.Schema>_schema()Returns the raw JSON value of schema. final Map<String, JsonValue>_additionalProperties()final BetaJsonOutputFormat.BuildertoBuilder()final BetaJsonOutputFormatvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaJsonOutputFormat.Builderbuilder()Returns a mutable builder for constructing an instance of BetaJsonOutputFormat. -
-
Method Detail
-
schema
final BetaJsonOutputFormat.Schema schema()
The JSON schema of the format
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("json_schema")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_schema
final JsonField<BetaJsonOutputFormat.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaJsonOutputFormat.Builder toBuilder()
-
validate
final BetaJsonOutputFormat validate()
-
builder
final static BetaJsonOutputFormat.Builder builder()
Returns a mutable builder for constructing an instance of BetaJsonOutputFormat.
The following fields are required:
.schema()
-
-
-
-