| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: prototype/src/platform2/powerd/config.proto |
| |
| package prototype |
| |
| 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 |
| |
| type PowerdConfig struct { |
| AlsSmoothingConsant float64 `protobuf:"fixed64,1,opt,name=als_smoothing_consant,json=alsSmoothingConsant,proto3" json:"als_smoothing_consant,omitempty"` |
| AvoidSuspendWhenHeadphoneJackPlugged bool `protobuf:"varint,2,opt,name=avoid_suspend_when_headphone_jack_plugged,json=avoidSuspendWhenHeadphoneJackPlugged,proto3" json:"avoid_suspend_when_headphone_jack_plugged,omitempty"` |
| BatteryPollIntervalMs int32 `protobuf:"varint,3,opt,name=battery_poll_interval_ms,json=batteryPollIntervalMs,proto3" json:"battery_poll_interval_ms,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PowerdConfig) Reset() { *m = PowerdConfig{} } |
| func (m *PowerdConfig) String() string { return proto.CompactTextString(m) } |
| func (*PowerdConfig) ProtoMessage() {} |
| func (*PowerdConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_644bba9c72e7d1e6, []int{0} |
| } |
| |
| func (m *PowerdConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PowerdConfig.Unmarshal(m, b) |
| } |
| func (m *PowerdConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PowerdConfig.Marshal(b, m, deterministic) |
| } |
| func (m *PowerdConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PowerdConfig.Merge(m, src) |
| } |
| func (m *PowerdConfig) XXX_Size() int { |
| return xxx_messageInfo_PowerdConfig.Size(m) |
| } |
| func (m *PowerdConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_PowerdConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PowerdConfig proto.InternalMessageInfo |
| |
| func (m *PowerdConfig) GetAlsSmoothingConsant() float64 { |
| if m != nil { |
| return m.AlsSmoothingConsant |
| } |
| return 0 |
| } |
| |
| func (m *PowerdConfig) GetAvoidSuspendWhenHeadphoneJackPlugged() bool { |
| if m != nil { |
| return m.AvoidSuspendWhenHeadphoneJackPlugged |
| } |
| return false |
| } |
| |
| func (m *PowerdConfig) GetBatteryPollIntervalMs() int32 { |
| if m != nil { |
| return m.BatteryPollIntervalMs |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*PowerdConfig)(nil), "prototype.PowerdConfig") |
| } |
| |
| func init() { |
| proto.RegisterFile("prototype/src/platform2/powerd/config.proto", fileDescriptor_644bba9c72e7d1e6) |
| } |
| |
| var fileDescriptor_644bba9c72e7d1e6 = []byte{ |
| // 263 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0xd0, 0x41, 0x4b, 0xfb, 0x30, |
| 0x18, 0xc7, 0x71, 0xf2, 0xff, 0xa3, 0x68, 0xf1, 0x54, 0x19, 0xf4, 0x58, 0xc4, 0x43, 0x45, 0x68, |
| 0x60, 0x43, 0xbc, 0xbb, 0x8b, 0x0a, 0x42, 0xe9, 0x0e, 0x03, 0x2f, 0xe1, 0x59, 0x9a, 0x26, 0x71, |
| 0x69, 0x9e, 0x90, 0xa4, 0x1b, 0x7b, 0x9f, 0xbe, 0x20, 0x21, 0x5d, 0x77, 0x4b, 0xf8, 0x7e, 0x9e, |
| 0xcb, 0x2f, 0x7b, 0x76, 0x1e, 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