CreateSystemUpdateRequest

abstract class CreateSystemUpdateRequest


Request message for CreateSystemUpdate. This is called by the OEM's OTA client to provide AMAPI with a new SystemUpdate resource.

Summary

Nested types

Builder for CreateSystemUpdateRequest.

Public functions

java-static CreateSystemUpdateRequest.Builder!
java-static CreateSystemUpdateRequest!
SystemUpdate!

The SystemUpdate object to create.

Boolean

Returns true if systemUpdate is set.

abstract CreateSystemUpdateRequest.Builder!

Public functions

builder

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

getDefaultInstance

java-static fun getDefaultInstance(): CreateSystemUpdateRequest!

getSystemUpdate

fun getSystemUpdate(): SystemUpdate!

The SystemUpdate object to create. The SystemUpdate object should only contain fields owned by the OEM (e.g., name, type, api_level, name). Fields marked as output-only in the SystemUpdate message (like `instruction`) are ignored if provided in this request.

hasSystemUpdate

fun hasSystemUpdate(): Boolean

Returns true if systemUpdate is set.

toBuilder

abstract fun toBuilder(): CreateSystemUpdateRequest.Builder!