func (b *SingleImageImportLoggableBuilder) AppendTraceLogs(traceLogs []string) *SingleImageImportLoggableBuilder {
	if b.traceLogs != nil {
		b.traceLogs = append(b.traceLogs, traceLogs...)
	} else {
		b.traceLogs = traceLogs
	}
	return b
}
AppendTraceLogs sets trace logs during the import.
package service
import "github.com/GoogleCloudPlatform/compute-image-tools/proto/go/pb"
type literalLoggable struct {
	strings           map[string]string
	int64s            map[string][]int64
	bools             map[string]bool
	traceLogs         []string
	inspectionResults *pb.InspectionResults
}
func (w literalLoggable) GetInspectionResults() *pb.InspectionResults {
	return w.inspectionResults
}
func (w literalLoggable) GetValue(key string) string { return w.strings[key] }
func (w literalLoggable) GetValueAsBool(key string) bool { return w.bools[key] }
func (w literalLoggable) GetValueAsInt64Slice(key string) []int64 { return w.int64s[key] }
func (w literalLoggable) ReadSerialPortLogs() []string { return w.traceLogs }
type SingleImageImportLoggableBuilder struct {
	literalLoggable
}
func NewSingleImageImportLoggableBuilder() *SingleImageImportLoggableBuilder {
	return &SingleImageImportLoggableBuilder{literalLoggable{
		strings: map[string]string{},
		int64s:  map[string][]int64{},
		bools:   map[string]bool{},
	}}
}
func (b *SingleImageImportLoggableBuilder) SetInspectionResults(inspectionResults *pb.InspectionResults) *SingleImageImportLoggableBuilder {
	b.inspectionResults = inspectionResults
	return b
}
func (b *SingleImageImportLoggableBuilder) SetUEFIMetrics(isUEFICompatibleImageBool bool, isUEFIDetectedBool bool,
	biosBootableBool bool, rootFSString string) *SingleImageImportLoggableBuilder {
	b.bools[isUEFICompatibleImage] = isUEFICompatibleImageBool
	b.bools[isUEFIDetected] = isUEFIDetectedBool
	b.bools[uefiBootable] = isUEFIDetectedBool
	b.bools[biosBootable] = biosBootableBool
	b.strings[rootFS] = rootFSString
	return b
}
func (b *SingleImageImportLoggableBuilder) SetDiskAttributes(fileFormat string, sourceSize int64,
	targetSize int64) *SingleImageImportLoggableBuilder {
	b.strings[importFileFormat] = fileFormat
	b.int64s[sourceSizeGb] = []int64{sourceSize}
	b.int64s[targetSizeGb] = []int64{targetSize}
	return b
}
func (b *SingleImageImportLoggableBuilder) SetInflationAttributes(matchResult string, inflationTypeStr string,
	inflationTimeInt64 int64, shadowInflationTimeInt64 int64) *SingleImageImportLoggableBuilder {
	b.strings[inflationType] = inflationTypeStr
	b.strings[shadowDiskMatchResult] = matchResult
	b.int64s[inflationTime] = []int64{inflationTimeInt64}
	b.int64s[shadowInflationTime] = []int64{shadowInflationTimeInt64}
	return b
}