Documentation ¶
Index ¶
- Constants
- Variables
- type Scaler
- func (*Scaler) Descriptor() ([]byte, []int)
- func (m *Scaler) GetState() Scaler_ScalerState
- func (m *Scaler) Marshal() (dAtA []byte, err error)
- func (m *Scaler) MarshalTo(dAtA []byte) (int, error)
- func (m *Scaler) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Scaler) Name() string
- func (*Scaler) New() types.Message
- func (*Scaler) ProtoMessage()
- func (m *Scaler) Reset()
- func (m *Scaler) Size() (n int)
- func (m *Scaler) String() string
- func (m *Scaler) Unmarshal(dAtA []byte) error
- func (m *Scaler) XXX_DiscardUnknown()
- func (m *Scaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Scaler) XXX_Merge(src proto.Message)
- func (*Scaler) XXX_MessageName() string
- func (m *Scaler) XXX_Size() int
- func (m *Scaler) XXX_Unmarshal(b []byte) error
- type Scaler_ScalerState
Constants ¶
View Source
const Name = "type.googleapis.com/HostFrequencyScaler.Scaler"
Variables ¶
View Source
var ( ErrInvalidLengthHostfrequencyscaler = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHostfrequencyscaler = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHostfrequencyscaler = fmt.Errorf("proto: unexpected end of group") )
View Source
var Scaler_ScalerState_name = map[int32]string{
0: "NONE",
1: "POWER_SAVE",
2: "PERFORMANCE",
3: "SCHEDUTIL",
}
View Source
var Scaler_ScalerState_value = map[string]int32{
"NONE": 0,
"POWER_SAVE": 1,
"PERFORMANCE": 2,
"SCHEDUTIL": 3,
}
Functions ¶
This section is empty.
Types ¶
type Scaler ¶
type Scaler struct { State Scaler_ScalerState `protobuf:"varint,1,opt,name=state,proto3,enum=HostFrequencyScaler.Scaler_ScalerState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Scaler) Descriptor ¶
func (*Scaler) GetState ¶
func (m *Scaler) GetState() Scaler_ScalerState
func (*Scaler) MarshalToSizedBuffer ¶
func (*Scaler) ProtoMessage ¶
func (*Scaler) ProtoMessage()
func (*Scaler) XXX_DiscardUnknown ¶
func (m *Scaler) XXX_DiscardUnknown()
func (*Scaler) XXX_Marshal ¶
func (*Scaler) XXX_MessageName ¶
func (*Scaler) XXX_Unmarshal ¶
type Scaler_ScalerState ¶
type Scaler_ScalerState int32
const ( Scaler_NONE Scaler_ScalerState = 0 Scaler_POWER_SAVE Scaler_ScalerState = 1 Scaler_PERFORMANCE Scaler_ScalerState = 2 Scaler_SCHEDUTIL Scaler_ScalerState = 3 )
func (Scaler_ScalerState) EnumDescriptor ¶
func (Scaler_ScalerState) EnumDescriptor() ([]byte, []int)
func (Scaler_ScalerState) String ¶
func (x Scaler_ScalerState) String() string
Click to show internal directories.
Click to hide internal directories.