Command

abstract class Command


A specific instance of the execution of a command.

Summary

Nested types

abstract class Command.Builder

Builder for Command.

The status of the clear apps data command.

Builder for Command.ClearAppsDataStatus.

The status of clearing a single app.

Builder for Command.ClearAppsDataStatus.PerAppStatus.

Whether the given app was cleared, and what error if any occurred.

State of the command.

abstract class Command.StatusCase

Status specific to the kind of command.

The possible kind of Command.StatusCase.

Public functions

java-static Command.Builder!
abstract String!

A unique id for this instance of the command.

abstract Instant!

The time at which this command was completed.

abstract Instant!

The time at which this command was created.

java-static Command!
abstract Command.State!

The state of this command.

abstract Command.StatusCase!

Status specific to the kind of command.

abstract Command.Builder!

Public functions

builder

java-static fun builder(): Command.Builder!

getCommandId

abstract fun getCommandId(): String!

A unique id for this instance of the command.

getCompleteTime

abstract fun getCompleteTime(): Instant!

The time at which this command was completed.

getCreateTime

abstract fun getCreateTime(): Instant!

The time at which this command was created.

getDefaultInstance

java-static fun getDefaultInstance(): Command!

getState

abstract fun getState(): Command.State!

The state of this command.

getStatus

abstract fun getStatus(): Command.StatusCase!

Status specific to the kind of command.

toBuilder

abstract fun toBuilder(): Command.Builder!