Documentation ¶
Index ¶
- Variables
- type CPU
- type Computer
- func (*Computer) Descriptor() ([]byte, []int)deprecated
- func (x *Computer) GetCpu() *CPU
- func (x *Computer) GetMemory() *Memory
- func (x *Computer) GetName() string
- func (*Computer) ProtoMessage()
- func (x *Computer) ProtoReflect() protoreflect.Message
- func (x *Computer) Reset()
- func (x *Computer) String() string
- type Memory
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protobuf_import_component_proto protoreflect.FileDescriptor
View Source
var File_protobuf_import_computer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Frequency int64 `protobuf:"varint,2,opt,name=Frequency,proto3" json:"Frequency,omitempty"` // contains filtered or unexported fields }
func (*CPU) Descriptor
deprecated
func (*CPU) GetFrequency ¶
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
type Computer ¶
type Computer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Cpu *CPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory *Memory `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*Computer) Descriptor
deprecated
func (*Computer) ProtoMessage ¶
func (*Computer) ProtoMessage()
func (*Computer) ProtoReflect ¶
func (x *Computer) ProtoReflect() protoreflect.Message
type Memory ¶
type Memory struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Cap int64 `protobuf:"varint,2,opt,name=Cap,proto3" json:"Cap,omitempty"` // contains filtered or unexported fields }
func (*Memory) Descriptor
deprecated
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.