Class ElementWithChecksums.Builder
-
- All Implemented Interfaces:
public final class ElementWithChecksums.BuilderA builder for ElementWithChecksums.
-
-
Method Summary
-
-
Method Detail
-
checksum
final ElementWithChecksums.Builder checksum(String checksum)
MD5 hash of translatable content.
-
checksum
final ElementWithChecksums.Builder checksum(JsonField<String> checksum)
Sets Builder.checksum to an arbitrary JSON value.
You should usually call Builder.checksum 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 ElementWithChecksums.Builder type(String type)
Element type (text, meta, action, etc.).
-
type
final ElementWithChecksums.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final ElementWithChecksums.Builder id(String id)
-
id
final ElementWithChecksums.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
elements
final ElementWithChecksums.Builder elements(List<ElementWithChecksums> elements)
Nested child elements (for group-type elements).
-
elements
final ElementWithChecksums.Builder elements(JsonField<List<ElementWithChecksums>> elements)
Sets Builder.elements to an arbitrary JSON value.
You should usually call Builder.elements with a well-typed
List<ElementWithChecksums>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addElement
final ElementWithChecksums.Builder addElement(ElementWithChecksums element)
Adds a single ElementWithChecksums to elements.
-
locales
final ElementWithChecksums.Builder locales(ElementWithChecksums.Locales locales)
Locale-specific content with checksums.
-
locales
final ElementWithChecksums.Builder locales(JsonField<ElementWithChecksums.Locales> locales)
Sets Builder.locales to an arbitrary JSON value.
You should usually call Builder.locales with a well-typed Locales value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ElementWithChecksums.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ElementWithChecksums.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ElementWithChecksums.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ElementWithChecksums.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ElementWithChecksums.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ElementWithChecksums build()
Returns an immutable instance of ElementWithChecksums.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.checksum() .type()
-
-
-
-