Documentation ¶
Index ¶
- Constants
- Variables
- type Temp
- func (*Temp) Descriptor() ([]byte, []int)
- func (m *Temp) GetState() TempCpuState
- func (m *Temp) Marshal() (dAtA []byte, err error)
- func (m *Temp) MarshalTo(dAtA []byte) (int, error)
- func (m *Temp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Temp) Name() string
- func (*Temp) New() types.Message
- func (*Temp) ProtoMessage()
- func (m *Temp) Reset()
- func (m *Temp) Size() (n int)
- func (m *Temp) String() string
- func (m *Temp) Unmarshal(dAtA []byte) error
- func (m *Temp) XXX_DiscardUnknown()
- func (m *Temp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Temp) XXX_Merge(src proto.Message)
- func (*Temp) XXX_MessageName() string
- func (m *Temp) XXX_Size() int
- func (m *Temp) XXX_Unmarshal(b []byte) error
- type TempCpuState
Constants ¶
View Source
const Name = "type.googleapis.com/HostThermal.Temp"
Variables ¶
View Source
var ( ErrInvalidLengthHostthermal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHostthermal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHostthermal = fmt.Errorf("proto: unexpected end of group") )
View Source
var TempCpuState_name = map[int32]string{
0: "CPU_TEMP_NONE",
1: "CPU_TEMP_NORMAL",
2: "CPU_TEMP_HIGH",
3: "CPU_TEMP_CRITICAL",
}
View Source
var TempCpuState_value = map[string]int32{
"CPU_TEMP_NONE": 0,
"CPU_TEMP_NORMAL": 1,
"CPU_TEMP_HIGH": 2,
"CPU_TEMP_CRITICAL": 3,
}
Functions ¶
This section is empty.
Types ¶
type Temp ¶
type Temp struct { State TempCpuState `protobuf:"varint,1,opt,name=state,proto3,enum=HostThermal.TempCpuState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Temp) Descriptor ¶
func (*Temp) GetState ¶
func (m *Temp) GetState() TempCpuState
func (*Temp) ProtoMessage ¶
func (*Temp) ProtoMessage()
func (*Temp) XXX_DiscardUnknown ¶
func (m *Temp) XXX_DiscardUnknown()
func (*Temp) XXX_MessageName ¶
func (*Temp) XXX_Unmarshal ¶
type TempCpuState ¶
type TempCpuState int32
const ( Temp_CPU_TEMP_NONE TempCpuState = 0 Temp_CPU_TEMP_NORMAL TempCpuState = 1 Temp_CPU_TEMP_HIGH TempCpuState = 2 Temp_CPU_TEMP_CRITICAL TempCpuState = 3 )
func (TempCpuState) EnumDescriptor ¶
func (TempCpuState) EnumDescriptor() ([]byte, []int)
func (TempCpuState) String ¶
func (x TempCpuState) String() string
Click to show internal directories.
Click to hide internal directories.