Class BetaJsonOutputFormat.Builder
-
- All Implemented Interfaces:
public final class BetaJsonOutputFormat.BuilderA builder for BetaJsonOutputFormat.
-
-
Method Summary
Modifier and Type Method Description final BetaJsonOutputFormat.Builderschema(BetaJsonOutputFormat.Schema schema)The JSON schema of the format final BetaJsonOutputFormat.Builderschema(JsonField<BetaJsonOutputFormat.Schema> schema)Sets Builder.schema to an arbitrary JSON value. final BetaJsonOutputFormat.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaJsonOutputFormat.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaJsonOutputFormat.BuilderputAdditionalProperty(String key, JsonValue value)final BetaJsonOutputFormat.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaJsonOutputFormat.BuilderremoveAdditionalProperty(String key)final BetaJsonOutputFormat.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaJsonOutputFormatbuild()Returns an immutable instance of BetaJsonOutputFormat. -
-
Method Detail
-
schema
final BetaJsonOutputFormat.Builder schema(BetaJsonOutputFormat.Schema schema)
The JSON schema of the format
-
schema
final BetaJsonOutputFormat.Builder schema(JsonField<BetaJsonOutputFormat.Schema> schema)
Sets Builder.schema to an arbitrary JSON value.
You should usually call Builder.schema with a well-typed Schema value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaJsonOutputFormat.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("json_schema")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaJsonOutputFormat.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaJsonOutputFormat.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaJsonOutputFormat.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaJsonOutputFormat.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaJsonOutputFormat.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaJsonOutputFormat build()
Returns an immutable instance of BetaJsonOutputFormat.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.schema()
-
-
-
-