CreateSystemUpdateRequest

public 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

public abstract class CreateSystemUpdateRequest.Builder

Builder for CreateSystemUpdateRequest.

Public methods

static CreateSystemUpdateRequest.Builder
static CreateSystemUpdateRequest
SystemUpdate

The SystemUpdate object to create.

boolean

Returns true if systemUpdate is set.

abstract CreateSystemUpdateRequest.Builder

Public methods

builder

public static CreateSystemUpdateRequest.Builder builder()

getDefaultInstance

public static CreateSystemUpdateRequest getDefaultInstance()

getSystemUpdate

public SystemUpdate getSystemUpdate()

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

public boolean hasSystemUpdate()

Returns true if systemUpdate is set.

toBuilder

public abstract CreateSystemUpdateRequest.Builder toBuilder()