blob: 134e43065a73b94eeee42b0fbfc1877985ca2fdc [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/config/api/software/power_config.proto
package software
import (
fmt "fmt"
proto "github.com/golang/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.ProtoPackageIsVersion3 // please upgrade the proto package
// Defines configuration settings for power management.
// For more details, see:
// https://source.chromium.org/chromiumos/chromiumos/codesearch/+/master:src/platform2/chromeos-config/README.md
type PowerConfig struct {
// Key/values that define all of the power management preferences.
Preferences map[string]string `protobuf:"bytes,1,rep,name=preferences,proto3" json:"preferences,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PowerConfig) Reset() { *m = PowerConfig{} }
func (m *PowerConfig) String() string { return proto.CompactTextString(m) }
func (*PowerConfig) ProtoMessage() {}
func (*PowerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_7a05ce817deafe28, []int{0}
}
func (m *PowerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PowerConfig.Unmarshal(m, b)
}
func (m *PowerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PowerConfig.Marshal(b, m, deterministic)
}
func (m *PowerConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_PowerConfig.Merge(m, src)
}
func (m *PowerConfig) XXX_Size() int {
return xxx_messageInfo_PowerConfig.Size(m)
}
func (m *PowerConfig) XXX_DiscardUnknown() {
xxx_messageInfo_PowerConfig.DiscardUnknown(m)
}
var xxx_messageInfo_PowerConfig proto.InternalMessageInfo
func (m *PowerConfig) GetPreferences() map[string]string {
if m != nil {
return m.Preferences
}
return nil
}
func init() {
proto.RegisterType((*PowerConfig)(nil), "chromiumos.config.api.software.PowerConfig")
proto.RegisterMapType((map[string]string)(nil), "chromiumos.config.api.software.PowerConfig.PreferencesEntry")
}
func init() {
proto.RegisterFile("chromiumos/config/api/software/power_config.proto", fileDescriptor_7a05ce817deafe28)
}
var fileDescriptor_7a05ce817deafe28 = []byte{
// 203 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0xce, 0x28, 0xca,
0xcf, 0xcd, 0x2c, 0xcd, 0xcd, 0x2f, 0xd6, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x4f, 0x2c,
0xc8, 0xd4, 0x2f, 0xce, 0x4f, 0x2b, 0x29, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0xc8, 0x2f, 0x4f, 0x2d,
0x8a, 0x87, 0xc8, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xc9, 0x21, 0xb4, 0xe8, 0x41, 0x25,
0x12, 0x0b, 0x32, 0xf5, 0x60, 0x5a, 0x94, 0xd6, 0x32, 0x72, 0x71, 0x07, 0x80, 0xb4, 0x39, 0x83,
0x25, 0x85, 0xe2, 0xb8, 0xb8, 0x0b, 0x8a, 0x52, 0xd3, 0x52, 0x8b, 0x52, 0xf3, 0x92, 0x53, 0x8b,
0x25, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0x6c, 0xf4, 0xf0, 0x9b, 0xa2, 0x87, 0x64, 0x82, 0x5e,
0x00, 0x42, 0xbb, 0x6b, 0x5e, 0x49, 0x51, 0x65, 0x10, 0xb2, 0x81, 0x52, 0x76, 0x5c, 0x02, 0xe8,
0x0a, 0x84, 0x04, 0xb8, 0x98, 0xb3, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18,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