proto_test

package
v0.23.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gke_internal_proto_test_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CPU

type CPU struct {
	Model string              `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // CPU model.
	Cores map[string]*CPUCore ``                                                                // Map from core label to CPU core
	/* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

CPU represent a computer central processing unit.

func (*CPU) Descriptor deprecated

func (*CPU) Descriptor() ([]byte, []int)

Deprecated: Use CPU.ProtoReflect.Descriptor instead.

func (*CPU) GetCores

func (x *CPU) GetCores() map[string]*CPUCore

func (*CPU) GetModel

func (x *CPU) GetModel() string

func (*CPU) ProtoMessage

func (*CPU) ProtoMessage()

func (*CPU) ProtoReflect

func (x *CPU) ProtoReflect() protoreflect.Message

func (*CPU) Reset

func (x *CPU) Reset()

func (*CPU) String

func (x *CPU) String() string

type CPUCore

type CPUCore struct {
	MinMhz         int32 `protobuf:"varint,1,opt,name=min_mhz,json=minMhz,proto3" json:"min_mhz,omitempty"`                           // Minimum core clock.
	MaxMhz         int32 `protobuf:"varint,2,opt,name=max_mhz,json=maxMhz,proto3" json:"max_mhz,omitempty"`                           // Maximum core clock.
	CacheSizeBytes int64 `protobuf:"varint,3,opt,name=cache_size_bytes,json=cacheSizeBytes,proto3" json:"cache_size_bytes,omitempty"` // L1 Cache size for the core, in bytes.
	// contains filtered or unexported fields
}

CPUCore represents a core inside a CPU.

func (*CPUCore) Descriptor deprecated

func (*CPUCore) Descriptor() ([]byte, []int)

Deprecated: Use CPUCore.ProtoReflect.Descriptor instead.

func (*CPUCore) GetCacheSizeBytes

func (x *CPUCore) GetCacheSizeBytes() int64

func (*CPUCore) GetMaxMhz

func (x *CPUCore) GetMaxMhz() int32

func (*CPUCore) GetMinMhz

func (x *CPUCore) GetMinMhz() int32

func (*CPUCore) ProtoMessage

func (*CPUCore) ProtoMessage()

func (*CPUCore) ProtoReflect

func (x *CPUCore) ProtoReflect() protoreflect.Message

func (*CPUCore) Reset

func (x *CPUCore) Reset()

func (*CPUCore) String

func (x *CPUCore) String() string

type Computer

type Computer struct {

	// Motherboard component of the computer.
	Motherboard *Motherboard `protobuf:"bytes,1,opt,name=motherboard,proto3" json:"motherboard,omitempty"`
	// contains filtered or unexported fields
}

Computer represents a personal computer.

func (*Computer) Descriptor deprecated

func (*Computer) Descriptor() ([]byte, []int)

Deprecated: Use Computer.ProtoReflect.Descriptor instead.

func (*Computer) GetMotherboard

func (x *Computer) GetMotherboard() *Motherboard

func (*Computer) ProtoMessage

func (*Computer) ProtoMessage()

func (*Computer) ProtoReflect

func (x *Computer) ProtoReflect() protoreflect.Message

func (*Computer) Reset

func (x *Computer) Reset()

func (*Computer) String

func (x *Computer) String() string

type Memory

type Memory struct {
	Manufacturer string        `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` // Memory manufacturer.
	Chips        []*MemoryChip `protobuf:"bytes,2,rep,name=chips,proto3" json:"chips,omitempty"`               // Memory chips.
	// contains filtered or unexported fields
}

Memory represents computer memory.

func (*Memory) Descriptor deprecated

func (*Memory) Descriptor() ([]byte, []int)

Deprecated: Use Memory.ProtoReflect.Descriptor instead.

func (*Memory) GetChips

func (x *Memory) GetChips() []*MemoryChip

func (*Memory) GetManufacturer

func (x *Memory) GetManufacturer() string

func (*Memory) ProtoMessage

func (*Memory) ProtoMessage()

func (*Memory) ProtoReflect

func (x *Memory) ProtoReflect() protoreflect.Message

func (*Memory) Reset

func (x *Memory) Reset()

func (*Memory) String

func (x *Memory) String() string

type MemoryChip

type MemoryChip struct {
	Manufacturer  string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`                         // Memory chip manufacturer.
	CapacityBytes int64  `protobuf:"varint,2,opt,name=capacity_bytes,json=capacityBytes,proto3" json:"capacity_bytes,omitempty"` // Memory chip capacity, in bytes.
	// contains filtered or unexported fields
}

MemoryChip represents a computer memory chip that appears on a memory card.

func (*MemoryChip) Descriptor deprecated

func (*MemoryChip) Descriptor() ([]byte, []int)

Deprecated: Use MemoryChip.ProtoReflect.Descriptor instead.

func (*MemoryChip) GetCapacityBytes

func (x *MemoryChip) GetCapacityBytes() int64

func (*MemoryChip) GetManufacturer

func (x *MemoryChip) GetManufacturer() string

func (*MemoryChip) ProtoMessage

func (*MemoryChip) ProtoMessage()

func (*MemoryChip) ProtoReflect

func (x *MemoryChip) ProtoReflect() protoreflect.Message

func (*MemoryChip) Reset

func (x *MemoryChip) Reset()

func (*MemoryChip) String

func (x *MemoryChip) String() string

type Motherboard

type Motherboard struct {
	Chipset     string    `protobuf:"bytes,1,opt,name=chipset,proto3" json:"chipset,omitempty"`                            // Motherboard chipset.
	MemorySlots []*Memory `protobuf:"bytes,2,rep,name=memory_slots,json=memorySlots,proto3" json:"memory_slots,omitempty"` // Motherboard memory slots.
	Cpu         *CPU      `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"`                                    // CPU attached to the motherboard.
	// contains filtered or unexported fields
}

Motherboard represents a computer motherboard.

func (*Motherboard) Descriptor deprecated

func (*Motherboard) Descriptor() ([]byte, []int)

Deprecated: Use Motherboard.ProtoReflect.Descriptor instead.

func (*Motherboard) GetChipset

func (x *Motherboard) GetChipset() string

func (*Motherboard) GetCpu

func (x *Motherboard) GetCpu() *CPU

func (*Motherboard) GetMemorySlots

func (x *Motherboard) GetMemorySlots() []*Memory

func (*Motherboard) ProtoMessage

func (*Motherboard) ProtoMessage()

func (*Motherboard) ProtoReflect

func (x *Motherboard) ProtoReflect() protoreflect.Message

func (*Motherboard) Reset

func (x *Motherboard) Reset()

func (*Motherboard) String

func (x *Motherboard) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL