| java.lang.Object | |
| ↳ | com.google.firebase.remoteconfig.Version |
Represents a Remote Config template version. Output only, except for the version description. Contains metadata about a particular version of the Remote Config template. All fields are set at the time the specified Remote Config template is published. A version's description field may be specified when publishing a template.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| String |
getDescription()
Gets the user-provided description of the corresponding Remote Config template.
| ||||||||||
| String |
getRollbackSource()
Gets the rollback source of the template.
| ||||||||||
| String |
getUpdateOrigin()
Gets the origin of the template update action.
| ||||||||||
| long |
getUpdateTime()
Gets the update time of the version.
| ||||||||||
| String |
getUpdateType()
Gets the type of the template update action.
| ||||||||||
| User |
getUpdateUser()
Gets the update user of the template.
| ||||||||||
| String |
getVersionNumber()
Gets the version number of the template.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean |
isLegacy()
Indicates whether this Remote Config template was published before version history was
supported.
| ||||||||||
| Version |
setDescription(String description)
Sets the user-provided description of the template.
| ||||||||||
| static Version |
withDescription(String description)
Creates a new
Version with a description. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the user-provided description of the corresponding Remote Config template.
Gets the rollback source of the template.
The version number of the Remote Config template that has become the current version due to a rollback. Only present if this version is the result of a rollback.
Gets the origin of the template update action.
Gets the update time of the version. The timestamp of when this version of the Remote Config template was written to the Remote Config backend.
Gets the type of the template update action.
Gets the update user of the template. An aggregation of all metadata fields about the account that performed the update.
Gets the version number of the template.
Indicates whether this Remote Config template was published before version history was supported.
Sets the user-provided description of the template.
| description | The description of the template. |
|---|
Version.
Creates a new Version with a description.