命令

abstract class Command


执行命令的特定实例。

摘要

嵌套类型

abstract class Command.Builder

Command 的构建器。

“清除应用数据”命令的状态。

Command.ClearAppsDataStatus 的构建器。

清除单个应用的状态。

Command.ClearAppsDataStatus.PerAppStatus 的构建器。

指定应用是否已被清除,以及发生了什么错误(如果有)。

命令的状态。

abstract class Command.StatusCase

命令类型特有的状态。

可能的 Command.StatusCase 类型。

公共函数

java-static Command.Builder!
abstract String!

命令的此实例的唯一 ID。

abstract Instant!

完成此命令的时间。

abstract Instant!

创建此命令的时间。

java-static Command!
abstract Command.State!

此命令的状态。

abstract Command.StatusCase!

命令类型特有的状态。

abstract Command.Builder!

公共函数

builder

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

getCommandId

abstract fun getCommandId(): String!

命令的此实例的唯一 ID。

getCompleteTime

abstract fun getCompleteTime(): Instant!

完成此命令的时间。

getCreateTime

abstract fun getCreateTime(): Instant!

创建此命令的时间。

getDefaultInstance

java-static fun getDefaultInstance(): Command!

getState

abstract fun getState(): Command.State!

此命令的状态。

getStatus

abstract fun getStatus(): Command.StatusCase!

命令类型特有的状态。

toBuilder

abstract fun toBuilder(): Command.Builder!