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