blob: ef83ef49593ad9a08731c42dafb867334d377b12 [file] [log] [blame] [edit]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package chromeos.recovery;
option go_package = "go.chromium.org/infra/cros/recovery/models;models";
// RecoveryVersion represents stable version information to be used for repair.
message RecoveryVersion {
// The board of the device.
// For CrOS it can be represented as build-target.
string board = 1;
// The model of the device.
string model = 2;
// The version of the OS.
// e.g. "R80-14444.333.0".
string os_image = 3;
// The version of the firmware RO.
// e.g. "Google_Board.14444.333.0".
string fw_version = 4;
// The path of the firmware RO image file.
// Examples:
// 1) "board-firmware/R80-14444.333.0"
// 2) "gs://bucket/board-firmware/R80-14444.333.0/file_name.tar.xz".
string fw_image = 5;
// The path of the OS image file.
// Examples:
// 1) "board-release/R80-14444.333.0"
// 2) "gs://bucket/board-release/R80-14444.333.0/file_name.tar.xz".
string os_image_path = 6;
// Device type like cros/androidos.
string device_type = 7;
}
// RecoveryVersionList represents list with different stable version dependent on device_type.
message RecoveryVersionList {
repeated RecoveryVersion versions = 1;
}