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