112 lines
3.5 KiB
Go
112 lines
3.5 KiB
Go
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||
|
// source: colinearcore/hardware.proto
|
||
|
|
||
|
package types
|
||
|
|
||
|
import (
|
||
|
fmt "fmt"
|
||
|
proto "github.com/gogo/protobuf/proto"
|
||
|
math "math"
|
||
|
)
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||
|
|
||
|
type GpuModel int32
|
||
|
|
||
|
const (
|
||
|
GpuModel_RTX_2080 GpuModel = 0
|
||
|
GpuModel_RTX_2080_TI GpuModel = 1
|
||
|
GpuModel_RTX_3070 GpuModel = 2
|
||
|
GpuModel_RTX_3070_TI GpuModel = 3
|
||
|
GpuModel_RTX_3080 GpuModel = 4
|
||
|
GpuModel_RTX_3080_TI GpuModel = 5
|
||
|
)
|
||
|
|
||
|
var GpuModel_name = map[int32]string{
|
||
|
0: "RTX_2080",
|
||
|
1: "RTX_2080_TI",
|
||
|
2: "RTX_3070",
|
||
|
3: "RTX_3070_TI",
|
||
|
4: "RTX_3080",
|
||
|
5: "RTX_3080_TI",
|
||
|
}
|
||
|
|
||
|
var GpuModel_value = map[string]int32{
|
||
|
"RTX_2080": 0,
|
||
|
"RTX_2080_TI": 1,
|
||
|
"RTX_3070": 2,
|
||
|
"RTX_3070_TI": 3,
|
||
|
"RTX_3080": 4,
|
||
|
"RTX_3080_TI": 5,
|
||
|
}
|
||
|
|
||
|
func (x GpuModel) String() string {
|
||
|
return proto.EnumName(GpuModel_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (GpuModel) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_b5d8e515bcf89b12, []int{0}
|
||
|
}
|
||
|
|
||
|
type CpuArchitecture int32
|
||
|
|
||
|
const (
|
||
|
CpuArchitecture_ANY CpuArchitecture = 0
|
||
|
CpuArchitecture_INTEL CpuArchitecture = 1
|
||
|
CpuArchitecture_AMD CpuArchitecture = 2
|
||
|
)
|
||
|
|
||
|
var CpuArchitecture_name = map[int32]string{
|
||
|
0: "ANY",
|
||
|
1: "INTEL",
|
||
|
2: "AMD",
|
||
|
}
|
||
|
|
||
|
var CpuArchitecture_value = map[string]int32{
|
||
|
"ANY": 0,
|
||
|
"INTEL": 1,
|
||
|
"AMD": 2,
|
||
|
}
|
||
|
|
||
|
func (x CpuArchitecture) String() string {
|
||
|
return proto.EnumName(CpuArchitecture_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (CpuArchitecture) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_b5d8e515bcf89b12, []int{1}
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterEnum("colinear.colinearcore.GpuModel", GpuModel_name, GpuModel_value)
|
||
|
proto.RegisterEnum("colinear.colinearcore.CpuArchitecture", CpuArchitecture_name, CpuArchitecture_value)
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("colinearcore/hardware.proto", fileDescriptor_b5d8e515bcf89b12) }
|
||
|
|
||
|
var fileDescriptor_b5d8e515bcf89b12 = []byte{
|
||
|
// 214 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xce, 0xcf, 0xc9,
|
||
|
0xcc, 0x4b, 0x4d, 0x2c, 0x4a, 0xce, 0x2f, 0x4a, 0xd5, 0xcf, 0x48, 0x2c, 0x4a, 0x29, 0x4f, 0x2c,
|
||
|
0x4a, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x85, 0x49, 0xea, 0x21, 0xab, 0xd2, 0x4a,
|
||
|
0xe7, 0xe2, 0x70, 0x2f, 0x28, 0xf5, 0xcd, 0x4f, 0x49, 0xcd, 0x11, 0xe2, 0xe1, 0xe2, 0x08, 0x0a,
|
||
|
0x89, 0x88, 0x37, 0x32, 0xb0, 0x30, 0x10, 0x60, 0x10, 0xe2, 0xe7, 0xe2, 0x86, 0xf1, 0xe2, 0x43,
|
||
|
0x3c, 0x05, 0x18, 0x61, 0xd2, 0xc6, 0x06, 0xe6, 0x06, 0x02, 0x4c, 0x30, 0x69, 0x10, 0x0f, 0x24,
|
||
|
0xcd, 0x8c, 0x90, 0xb6, 0x30, 0x10, 0x60, 0x41, 0x48, 0x43, 0x74, 0xb3, 0x6a, 0xe9, 0x71, 0xf1,
|
||
|
0x3b, 0x17, 0x94, 0x3a, 0x16, 0x25, 0x67, 0x64, 0x96, 0xa4, 0x26, 0x97, 0x94, 0x16, 0xa5, 0x0a,
|
||
|
0xb1, 0x73, 0x31, 0x3b, 0xfa, 0x45, 0x0a, 0x30, 0x08, 0x71, 0x72, 0xb1, 0x7a, 0xfa, 0x85, 0xb8,
|
||
|
0xfa, 0x08, 0x30, 0x82, 0xc5, 0x7c, 0x5d, 0x04, 0x98, 0x9c, 0xcc, 0x4f, 0x3c, 0x92, 0x63, 0xbc,
|
||
|
0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63,
|
||
|
0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x16, 0xe6, 0x01, 0xfd, 0x0a, 0x7d, 0x14, 0x1f, 0x97, 0x54,
|
||
|
0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xfd, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x59,
|
||
|
0x42, 0x58, 0x0e, 0x01, 0x00, 0x00,
|
||
|
}
|