Version  |  Firebase

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 Method Summary

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.
public static Version withDescription(String description)
Creates a new Version with a description.

Public Methods

public boolean equals(Object o)

public String getDescription()

Gets the user-provided description of the corresponding Remote Config template.

Returns

public String getRollbackSource()

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.

Returns

public String getUpdateOrigin()

Gets the origin of the template update action.

Returns

public long getUpdateTime()

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.

Returns

public String getUpdateType()

Gets the type of the template update action.

Returns

public User getUpdateUser()

Gets the update user of the template. An aggregation of all metadata fields about the account that performed the update.

Returns

public String getVersionNumber()

Gets the version number of the template.

Returns

public int hashCode()

public boolean isLegacy()

Indicates whether this Remote Config template was published before version history was supported.

Returns

public Version setDescription(String description)

Sets the user-provided description of the template.

Parameters

| description | The description of the template. |

Returns

public static Version withDescription(String description)

Creates a new Version with a description.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.