Stay organized with collections
Save and categorize content based on your preferences.
@Document.BuilderProducer
class SportsTeam.Builder : SportsTeam.BuilderBase
Summary
Public constructors |
|
Constructor with all the existing values.
|
|
Constructor for SportsTeam.Builder.
|
Inherited functions |
| From androidx.appsearch.builtintypes.Organization.BuilderBase
|
| From androidx.appsearch.builtintypes.SportsOrganization.BuilderBase
|
From androidx.appsearch.builtintypes.SportsTeam.BuilderBase
SportsTeam |
Builds a Thing object.
|
T |
Sets the formatted record of the sports team. eg: "10 - 5", "10 - 5 (3 - 2)", "10 - 5 (3 - 2) - 1 OT" depending on the sport.
|
T |
Sets the number of losses of the sports team.
|
T |
Sets the number of overtime losses of the sports team.
|
T |
Sets the number of overtime wins of the sports team.
|
T |
Sets the number of ties of the sports team.
|
T |
Sets the number of wins of the sports team.
|
|
From androidx.appsearch.builtintypes.Thing.BuilderBase
T |
Adds an alias for the item.
|
T |
Add a new action to the list of potential actions for this document.
|
Thing |
Builds a Thing object.
|
T |
Clears the aliases, if any, for the item.
|
T |
Clear all the potential actions for this document.
|
Unit |
If built, make a copy of previous data for every field so that the builder can be reused.
|
T |
Sets a list of aliases for the item.
|
T |
Sets the creation timestamp for the current AppSearch entity, in milliseconds using the currentTimeMillis time base.
|
T |
Sets the description for the item.
|
T |
Sets the user-provided opaque document score of the current AppSearch document, which can be used for ranking using RANKING_STRATEGY_DOCUMENT_SCORE.
|
T |
Sets the time-to-live (TTL) for the current AppSearch document as a duration in milliseconds.
|
T |
Sets the URL for an image of the item.
|
T |
Sets the name of the item.
|
T |
Sets a list of potential actions for this document.
|
T |
Sets the deeplink URL of the item.
|
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-26 UTC."],[],[]]