SoftwareInfo.SystemUpdateInfo

public 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 methods

static SoftwareInfo.SystemUpdateInfo.Builder
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 methods

builder

public static SoftwareInfo.SystemUpdateInfo.Builder builder()

getDefaultInstance

public static SoftwareInfo.SystemUpdateInfo getDefaultInstance()

getUpdateReceivedTime

public abstract Instant getUpdateReceivedTime()

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

getUpdateReceivedTimeMetadata

public Metadata getUpdateReceivedTimeMetadata()

Metadata about update received time.

getUpdateStatus

public abstract SoftwareInfo.SystemUpdateInfo.UpdateStatus getUpdateStatus()

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

getUpdateStatusMetadata

public Metadata getUpdateStatusMetadata()

Metadata about update status.

hasUpdateReceivedTimeMetadata

public boolean hasUpdateReceivedTimeMetadata()

Returns true if updateReceivedTimeMetadata is set.

hasUpdateStatusMetadata

public boolean hasUpdateStatusMetadata()

Returns true if updateStatusMetadata is set.

toBuilder

public abstract SoftwareInfo.SystemUpdateInfo.Builder toBuilder()