The builder for Indexable
.
Convenience methods to construct indexables for common data types are available via
Indexables
.
Note that the following limitations are automatically applied:
- The name field must be set for the root
Indexable
. Refer to theIndexableBuilder.setName(String)
method. - The number of characters in a string value is limited to
Indexable.MAX_STRING_LENGTH
. - The number of values for a single field is limited to
Indexable.MAX_REPEATED_SIZE
. - The depth of nested values is limited to
Indexable.MAX_NESTING_DEPTH
. - The number of set fields on an
Indexable
is limited toIndexable.MAX_NUMBER_OF_FIELDS
. - The total byte size of an
Indexable
is limited toIndexable.MAX_BYTE_SIZE
.
Public Constructor Summary
Builder()
The constructor.
|
|
Inherited Method Summary
Public Constructors
public Builder ()
The constructor.
public Builder (String type)
The constructor.
Parameters
type | The Schema.org type best describing this indexable unit (refer to schema.org for a list of standard types). |
---|