SoftwareInfo.SystemUpdateInfo

abstract class SoftwareInfo.SystemUpdateInfo


Information about a potential pending system update.

Summary

Nested types

Builder for SoftwareInfo.SystemUpdateInfo.

The status of an update: whether an update exists and what type it is.

Public functions

java-static SoftwareInfo.SystemUpdateInfo.Builder!
java-static SoftwareInfo.SystemUpdateInfo!
abstract Instant!

The time when the update was first available.

Metadata!

Metadata about update received time.

abstract SoftwareInfo.SystemUpdateInfo.UpdateStatus!

The status of an update: whether an update exists and what type it is.

Metadata!

Metadata about update status.

Boolean

Returns true if updateReceivedTimeMetadata is set.

Boolean

Returns true if updateStatusMetadata is set.

abstract SoftwareInfo.SystemUpdateInfo.Builder!

Public functions

builder

java-static fun builder(): SoftwareInfo.SystemUpdateInfo.Builder!

getDefaultInstance

java-static fun getDefaultInstance(): SoftwareInfo.SystemUpdateInfo!

getUpdateReceivedTime

abstract fun getUpdateReceivedTime(): Instant!

The time when the update was first available. A zero value indicates that this field is not set.

getUpdateReceivedTimeMetadata

fun getUpdateReceivedTimeMetadata(): Metadata!

Metadata about update received time.

getUpdateStatus

abstract fun getUpdateStatus(): SoftwareInfo.SystemUpdateInfo.UpdateStatus!

The status of an update: whether an update exists and what type it is.

getUpdateStatusMetadata

fun getUpdateStatusMetadata(): Metadata!

Metadata about update status.

hasUpdateReceivedTimeMetadata

fun hasUpdateReceivedTimeMetadata(): Boolean

Returns true if updateReceivedTimeMetadata is set.

hasUpdateStatusMetadata

fun hasUpdateStatusMetadata(): Boolean

Returns true if updateStatusMetadata is set.

toBuilder

abstract fun toBuilder(): SoftwareInfo.SystemUpdateInfo.Builder!