java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.DigitalDocumentBuilder> | |
↳ | com.google.firebase.appindexing.builders.DigitalDocumentBuilder |
Builder to construct an Indexable
for a digital document
of different types.
For reference, see: http://schema.org/DigitalDocument.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets authors of the digital document.
| |||||||||||
Sets the date on which the digital document was created.
| |||||||||||
Sets the date on which the digital document was last edited.
| |||||||||||
Sets the permission related to the access to this digital document (e.g. permission to
read or write).
| |||||||||||
Sets the textual content of the digital document.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets authors of the digital document.
Parameters | |
---|---|
personBuilders |
PersonBuilder :
The authors of this digital document.
|
Returns | |
---|---|
DigitalDocumentBuilder |
Sets the date on which the digital document was created.
Parameters | |
---|---|
dateCreated |
Date :
The date on which the digital document was created.
|
Returns | |
---|---|
DigitalDocumentBuilder |
Sets the date on which the digital document was last edited.
Parameters | |
---|---|
dateModified |
Date :
The date on which the digital document was last edited.
|
Returns | |
---|---|
DigitalDocumentBuilder |
Sets the permission related to the access to this digital document (e.g. permission to read or write). For a public digital document, specify a grantee with an Audience with audienceType equal to "public".
Parameters | |
---|---|
permissions |
DigitalDocumentPermissionBuilder :
The permissions related to the access to this digital document.
|
Returns | |
---|---|
DigitalDocumentBuilder |
Sets the textual content of the digital document.
Parameters | |
---|---|
text |
String :
The textual content of the digital document.
|
Returns | |
---|---|
DigitalDocumentBuilder |