blob: 8399bdac417300012026f6c4d6c0dc96cd76c106 [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromiumos/test/api/firmware_provision.proto
package api
import (
_go "go.chromium.org/chromiumos/config/go"
api1 "go.chromium.org/chromiumos/config/go/build/api"
longrunning "go.chromium.org/chromiumos/config/go/longrunning"
api "go.chromium.org/chromiumos/config/go/test/lab/api"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// When the status code is other than OK, details in Status message should be
// parsed for ErrorInfo message with the following Reasons as the reason.
type ProvisionFirmwareResponse_Status int32
const (
ProvisionFirmwareResponse_STATUS_OK ProvisionFirmwareResponse_Status = 0
// status code: INVALID_ARGUMENT
ProvisionFirmwareResponse_STATUS_INVALID_REQUEST ProvisionFirmwareResponse_Status = 1
// status code: FAILED_PRECONDITION
ProvisionFirmwareResponse_STATUS_DUT_UNREACHABLE_PRE_PROVISION ProvisionFirmwareResponse_Status = 2
// status code: ABORTED
ProvisionFirmwareResponse_STATUS_UPDATE_FIRMWARE_FAILED ProvisionFirmwareResponse_Status = 3
// status code: ABORTED
ProvisionFirmwareResponse_STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE ProvisionFirmwareResponse_Status = 4
// status code: ABORTED
ProvisionFirmwareResponse_STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE ProvisionFirmwareResponse_Status = 5
)
// Enum value maps for ProvisionFirmwareResponse_Status.
var (
ProvisionFirmwareResponse_Status_name = map[int32]string{
0: "STATUS_OK",
1: "STATUS_INVALID_REQUEST",
2: "STATUS_DUT_UNREACHABLE_PRE_PROVISION",
3: "STATUS_UPDATE_FIRMWARE_FAILED",
4: "STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE",
5: "STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE",
}
ProvisionFirmwareResponse_Status_value = map[string]int32{
"STATUS_OK": 0,
"STATUS_INVALID_REQUEST": 1,
"STATUS_DUT_UNREACHABLE_PRE_PROVISION": 2,
"STATUS_UPDATE_FIRMWARE_FAILED": 3,
"STATUS_FIRMWARE_MISMATCH_POST_FIRMWARE_UPDATE": 4,
"STATUS_DUT_UNREACHABLE_POST_FIRMWARE_UPDATE": 5,
}
)
func (x ProvisionFirmwareResponse_Status) Enum() *ProvisionFirmwareResponse_Status {
p := new(ProvisionFirmwareResponse_Status)
*p = x
return p
}
func (x ProvisionFirmwareResponse_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ProvisionFirmwareResponse_Status) Descriptor() protoreflect.EnumDescriptor {
return file_chromiumos_test_api_firmware_provision_proto_enumTypes[0].Descriptor()
}
func (ProvisionFirmwareResponse_Status) Type() protoreflect.EnumType {
return &file_chromiumos_test_api_firmware_provision_proto_enumTypes[0]
}
func (x ProvisionFirmwareResponse_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ProvisionFirmwareResponse_Status.Descriptor instead.
func (ProvisionFirmwareResponse_Status) EnumDescriptor() ([]byte, []int) {
return file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP(), []int{2, 0}
}
type SimpleFirmwareRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// GS path of the firmware image.
FirmwareImagePath *_go.StoragePath `protobuf:"bytes,1,opt,name=firmware_image_path,json=firmwareImagePath,proto3" json:"firmware_image_path,omitempty"`
// Whether to flash read-only aka write-protected region.
FlashRo bool `protobuf:"varint,2,opt,name=flash_ro,json=flashRo,proto3" json:"flash_ro,omitempty"`
}
func (x *SimpleFirmwareRequest) Reset() {
*x = SimpleFirmwareRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SimpleFirmwareRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SimpleFirmwareRequest) ProtoMessage() {}
func (x *SimpleFirmwareRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SimpleFirmwareRequest.ProtoReflect.Descriptor instead.
func (*SimpleFirmwareRequest) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP(), []int{0}
}
func (x *SimpleFirmwareRequest) GetFirmwareImagePath() *_go.StoragePath {
if x != nil {
return x.FirmwareImagePath
}
return nil
}
func (x *SimpleFirmwareRequest) GetFlashRo() bool {
if x != nil {
return x.FlashRo
}
return false
}
type ProvisionFirmwareRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The path(s) to the firmware build artifact.
//
// Types that are assignable to FirmwareRequest:
// *ProvisionFirmwareRequest_SimpleRequest
// *ProvisionFirmwareRequest_DetailedRequest
FirmwareRequest isProvisionFirmwareRequest_FirmwareRequest `protobuf_oneof:"firmware_request"`
// Access to DUT Service is required to flash over SSH.
DutServerAddress *api.IpEndpoint `protobuf:"bytes,3,opt,name=dut_server_address,json=dutServerAddress,proto3" json:"dut_server_address,omitempty"`
// Access to cros-servod is required to flash over Servo.
CrosServodAddress *api.IpEndpoint `protobuf:"bytes,4,opt,name=cros_servod_address,json=crosServodAddress,proto3" json:"cros_servod_address,omitempty"`
// Board of the DUT. Required.
Board string `protobuf:"bytes,6,opt,name=board,proto3" json:"board,omitempty"`
// Model of the DUT. Required.
Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
// Use force to pass "--force" to futility, which skips the TPM checks.
Force bool `protobuf:"varint,8,opt,name=force,proto3" json:"force,omitempty"`
// If True, provision firmware over Servo, otherwise use SSH.
UseServo bool `protobuf:"varint,9,opt,name=use_servo,json=useServo,proto3" json:"use_servo,omitempty"`
}
func (x *ProvisionFirmwareRequest) Reset() {
*x = ProvisionFirmwareRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProvisionFirmwareRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProvisionFirmwareRequest) ProtoMessage() {}
func (x *ProvisionFirmwareRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProvisionFirmwareRequest.ProtoReflect.Descriptor instead.
func (*ProvisionFirmwareRequest) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP(), []int{1}
}
func (m *ProvisionFirmwareRequest) GetFirmwareRequest() isProvisionFirmwareRequest_FirmwareRequest {
if m != nil {
return m.FirmwareRequest
}
return nil
}
func (x *ProvisionFirmwareRequest) GetSimpleRequest() *SimpleFirmwareRequest {
if x, ok := x.GetFirmwareRequest().(*ProvisionFirmwareRequest_SimpleRequest); ok {
return x.SimpleRequest
}
return nil
}
func (x *ProvisionFirmwareRequest) GetDetailedRequest() *api1.FirmwareConfig {
if x, ok := x.GetFirmwareRequest().(*ProvisionFirmwareRequest_DetailedRequest); ok {
return x.DetailedRequest
}
return nil
}
func (x *ProvisionFirmwareRequest) GetDutServerAddress() *api.IpEndpoint {
if x != nil {
return x.DutServerAddress
}
return nil
}
func (x *ProvisionFirmwareRequest) GetCrosServodAddress() *api.IpEndpoint {
if x != nil {
return x.CrosServodAddress
}
return nil
}
func (x *ProvisionFirmwareRequest) GetBoard() string {
if x != nil {
return x.Board
}
return ""
}
func (x *ProvisionFirmwareRequest) GetModel() string {
if x != nil {
return x.Model
}
return ""
}
func (x *ProvisionFirmwareRequest) GetForce() bool {
if x != nil {
return x.Force
}
return false
}
func (x *ProvisionFirmwareRequest) GetUseServo() bool {
if x != nil {
return x.UseServo
}
return false
}
type isProvisionFirmwareRequest_FirmwareRequest interface {
isProvisionFirmwareRequest_FirmwareRequest()
}
type ProvisionFirmwareRequest_SimpleRequest struct {
// Simple Request installs a single firmware image archive entirely.
// Recommended for most use-cases.
// Uses `futility update -a path/to/archive.tar` interface.
SimpleRequest *SimpleFirmwareRequest `protobuf:"bytes,1,opt,name=simple_request,json=simpleRequest,proto3,oneof"`
}
type ProvisionFirmwareRequest_DetailedRequest struct {
// Detailed Request allows you to specify individual versions of
// AP_RW, AP_RO, EC_RO, and PD_RO.
// Service will extract the images from firmware archive and install
// them individually over futility.
// ec_ro over Servo is flashed using flash_ec.
DetailedRequest *api1.FirmwareConfig `protobuf:"bytes,2,opt,name=detailed_request,json=detailedRequest,proto3,oneof"`
}
func (*ProvisionFirmwareRequest_SimpleRequest) isProvisionFirmwareRequest_FirmwareRequest() {}
func (*ProvisionFirmwareRequest_DetailedRequest) isProvisionFirmwareRequest_FirmwareRequest() {}
type ProvisionFirmwareResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status ProvisionFirmwareResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chromiumos.test.api.ProvisionFirmwareResponse_Status" json:"status,omitempty"`
}
func (x *ProvisionFirmwareResponse) Reset() {
*x = ProvisionFirmwareResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProvisionFirmwareResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProvisionFirmwareResponse) ProtoMessage() {}
func (x *ProvisionFirmwareResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProvisionFirmwareResponse.ProtoReflect.Descriptor instead.
func (*ProvisionFirmwareResponse) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP(), []int{2}
}
func (x *ProvisionFirmwareResponse) GetStatus() ProvisionFirmwareResponse_Status {
if x != nil {
return x.Status
}
return ProvisionFirmwareResponse_STATUS_OK
}
// Empty as required by longrunning to comply
type ProvisionFirmwareMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ProvisionFirmwareMetadata) Reset() {
*x = ProvisionFirmwareMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProvisionFirmwareMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProvisionFirmwareMetadata) ProtoMessage() {}
func (x *ProvisionFirmwareMetadata) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_firmware_provision_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProvisionFirmwareMetadata.ProtoReflect.Descriptor instead.
func (*ProvisionFirmwareMetadata) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP(), []int{3}
}
var File_chromiumos_test_api_firmware_provision_proto protoreflect.FileDescriptor
var file_chromiumos_test_api_firmware_provision_proto_rawDesc = []byte{
0x0a, 0x2c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73,
0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x70,
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
0x61, 0x70, 0x69, 0x1a, 0x2a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61,
0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x27, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x6c, 0x6f, 0x6e, 0x67,
0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x6c, 0x61, 0x62, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f,
0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x15, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x46, 0x69, 0x72, 0x6d,
0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x13, 0x66,
0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61,
0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74,
0x68, 0x52, 0x11, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x72, 0x6f,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x52, 0x6f, 0x22,
0xdd, 0x03, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72,
0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x0e,
0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c,
0x65, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x48, 0x00, 0x52, 0x0d, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x51, 0x0a, 0x10, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x61,
0x70, 0x69, 0x2e, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x12, 0x64, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76,
0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65,
0x73, 0x74, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x70, 0x45, 0x6e, 0x64,
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x10, 0x64, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x13, 0x63, 0x72, 0x6f, 0x73, 0x5f,
0x73, 0x65, 0x72, 0x76, 0x6f, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49,
0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x11, 0x63, 0x72, 0x6f, 0x73, 0x53,
0x65, 0x72, 0x76, 0x6f, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05,
0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6f, 0x61,
0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63,
0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1b,
0x0a, 0x09, 0x75, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28,
0x08, 0x52, 0x08, 0x75, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x6f, 0x42, 0x12, 0x0a, 0x10, 0x66,
0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
0xd1, 0x02, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72,
0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a,
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72,
0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xe4, 0x01, 0x0a,
0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x54, 0x41, 0x54, 0x55,
0x53, 0x5f, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54,
0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x55, 0x54,
0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x45,
0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d,
0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49,
0x52, 0x4d, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12,
0x31, 0x0a, 0x2d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x49, 0x52, 0x4d, 0x57, 0x41,
0x52, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x50, 0x4f, 0x53, 0x54,
0x5f, 0x46, 0x49, 0x52, 0x4d, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
0x10, 0x04, 0x12, 0x2f, 0x0a, 0x2b, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x55, 0x54,
0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x4f, 0x53,
0x54, 0x5f, 0x46, 0x49, 0x52, 0x4d, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,
0x45, 0x10, 0x05, 0x22, 0x1b, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x32, 0xb5, 0x01, 0x0a, 0x18, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f,
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01,
0x0a, 0x09, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x6d, 0x77,
0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0xd2,
0x41, 0x36, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72,
0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x50,
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f,
0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_chromiumos_test_api_firmware_provision_proto_rawDescOnce sync.Once
file_chromiumos_test_api_firmware_provision_proto_rawDescData = file_chromiumos_test_api_firmware_provision_proto_rawDesc
)
func file_chromiumos_test_api_firmware_provision_proto_rawDescGZIP() []byte {
file_chromiumos_test_api_firmware_provision_proto_rawDescOnce.Do(func() {
file_chromiumos_test_api_firmware_provision_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_test_api_firmware_provision_proto_rawDescData)
})
return file_chromiumos_test_api_firmware_provision_proto_rawDescData
}
var file_chromiumos_test_api_firmware_provision_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_chromiumos_test_api_firmware_provision_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_chromiumos_test_api_firmware_provision_proto_goTypes = []interface{}{
(ProvisionFirmwareResponse_Status)(0), // 0: chromiumos.test.api.ProvisionFirmwareResponse.Status
(*SimpleFirmwareRequest)(nil), // 1: chromiumos.test.api.SimpleFirmwareRequest
(*ProvisionFirmwareRequest)(nil), // 2: chromiumos.test.api.ProvisionFirmwareRequest
(*ProvisionFirmwareResponse)(nil), // 3: chromiumos.test.api.ProvisionFirmwareResponse
(*ProvisionFirmwareMetadata)(nil), // 4: chromiumos.test.api.ProvisionFirmwareMetadata
(*_go.StoragePath)(nil), // 5: chromiumos.StoragePath
(*api1.FirmwareConfig)(nil), // 6: chromiumos.build.api.FirmwareConfig
(*api.IpEndpoint)(nil), // 7: chromiumos.test.lab.api.IpEndpoint
(*longrunning.Operation)(nil), // 8: chromiumos.longrunning.Operation
}
var file_chromiumos_test_api_firmware_provision_proto_depIdxs = []int32{
5, // 0: chromiumos.test.api.SimpleFirmwareRequest.firmware_image_path:type_name -> chromiumos.StoragePath
1, // 1: chromiumos.test.api.ProvisionFirmwareRequest.simple_request:type_name -> chromiumos.test.api.SimpleFirmwareRequest
6, // 2: chromiumos.test.api.ProvisionFirmwareRequest.detailed_request:type_name -> chromiumos.build.api.FirmwareConfig
7, // 3: chromiumos.test.api.ProvisionFirmwareRequest.dut_server_address:type_name -> chromiumos.test.lab.api.IpEndpoint
7, // 4: chromiumos.test.api.ProvisionFirmwareRequest.cros_servod_address:type_name -> chromiumos.test.lab.api.IpEndpoint
0, // 5: chromiumos.test.api.ProvisionFirmwareResponse.status:type_name -> chromiumos.test.api.ProvisionFirmwareResponse.Status
2, // 6: chromiumos.test.api.FirmwareProvisionService.Provision:input_type -> chromiumos.test.api.ProvisionFirmwareRequest
8, // 7: chromiumos.test.api.FirmwareProvisionService.Provision:output_type -> chromiumos.longrunning.Operation
7, // [7:8] is the sub-list for method output_type
6, // [6:7] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_chromiumos_test_api_firmware_provision_proto_init() }
func file_chromiumos_test_api_firmware_provision_proto_init() {
if File_chromiumos_test_api_firmware_provision_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromiumos_test_api_firmware_provision_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SimpleFirmwareRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_test_api_firmware_provision_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProvisionFirmwareRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_test_api_firmware_provision_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProvisionFirmwareResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_test_api_firmware_provision_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProvisionFirmwareMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_chromiumos_test_api_firmware_provision_proto_msgTypes[1].OneofWrappers = []interface{}{
(*ProvisionFirmwareRequest_SimpleRequest)(nil),
(*ProvisionFirmwareRequest_DetailedRequest)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromiumos_test_api_firmware_provision_proto_rawDesc,
NumEnums: 1,
NumMessages: 4,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_chromiumos_test_api_firmware_provision_proto_goTypes,
DependencyIndexes: file_chromiumos_test_api_firmware_provision_proto_depIdxs,
EnumInfos: file_chromiumos_test_api_firmware_provision_proto_enumTypes,
MessageInfos: file_chromiumos_test_api_firmware_provision_proto_msgTypes,
}.Build()
File_chromiumos_test_api_firmware_provision_proto = out.File
file_chromiumos_test_api_firmware_provision_proto_rawDesc = nil
file_chromiumos_test_api_firmware_provision_proto_goTypes = nil
file_chromiumos_test_api_firmware_provision_proto_depIdxs = nil
}