1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: udpa/data/orca/v1/orca_load_report.proto
3
4package udpa_data_orca_v1
5
6import (
7	fmt "fmt"
8	_ "github.com/envoyproxy/protoc-gen-validate/validate"
9	proto "github.com/golang/protobuf/proto"
10	math "math"
11)
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
23
24type OrcaLoadReport struct {
25	// CPU utilization expressed as a fraction of available CPU resources. This
26	// should be derived from the latest sample or measurement.
27	CpuUtilization float64 `protobuf:"fixed64,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
28	// Memory utilization expressed as a fraction of available memory
29	// resources. This should be derived from the latest sample or measurement.
30	MemUtilization float64 `protobuf:"fixed64,2,opt,name=mem_utilization,json=memUtilization,proto3" json:"mem_utilization,omitempty"`
31	// Total RPS being served by an endpoint. This should cover all services that an endpoint is
32	// responsible for.
33	Rps uint64 `protobuf:"varint,3,opt,name=rps,proto3" json:"rps,omitempty"`
34	// Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
35	// storage) associated with the request.
36	RequestCost map[string]float64 `protobuf:"bytes,4,rep,name=request_cost,json=requestCost,proto3" json:"request_cost,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
37	// Resource utilization values. Each value is expressed as a fraction of total resources
38	// available, derived from the latest sample or measurement.
39	Utilization          map[string]float64 `protobuf:"bytes,5,rep,name=utilization,proto3" json:"utilization,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
40	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
41	XXX_unrecognized     []byte             `json:"-"`
42	XXX_sizecache        int32              `json:"-"`
43}
44
45func (m *OrcaLoadReport) Reset()         { *m = OrcaLoadReport{} }
46func (m *OrcaLoadReport) String() string { return proto.CompactTextString(m) }
47func (*OrcaLoadReport) ProtoMessage()    {}
48func (*OrcaLoadReport) Descriptor() ([]byte, []int) {
49	return fileDescriptor_27edb21f16098bf0, []int{0}
50}
51
52func (m *OrcaLoadReport) XXX_Unmarshal(b []byte) error {
53	return xxx_messageInfo_OrcaLoadReport.Unmarshal(m, b)
54}
55func (m *OrcaLoadReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
56	return xxx_messageInfo_OrcaLoadReport.Marshal(b, m, deterministic)
57}
58func (m *OrcaLoadReport) XXX_Merge(src proto.Message) {
59	xxx_messageInfo_OrcaLoadReport.Merge(m, src)
60}
61func (m *OrcaLoadReport) XXX_Size() int {
62	return xxx_messageInfo_OrcaLoadReport.Size(m)
63}
64func (m *OrcaLoadReport) XXX_DiscardUnknown() {
65	xxx_messageInfo_OrcaLoadReport.DiscardUnknown(m)
66}
67
68var xxx_messageInfo_OrcaLoadReport proto.InternalMessageInfo
69
70func (m *OrcaLoadReport) GetCpuUtilization() float64 {
71	if m != nil {
72		return m.CpuUtilization
73	}
74	return 0
75}
76
77func (m *OrcaLoadReport) GetMemUtilization() float64 {
78	if m != nil {
79		return m.MemUtilization
80	}
81	return 0
82}
83
84func (m *OrcaLoadReport) GetRps() uint64 {
85	if m != nil {
86		return m.Rps
87	}
88	return 0
89}
90
91func (m *OrcaLoadReport) GetRequestCost() map[string]float64 {
92	if m != nil {
93		return m.RequestCost
94	}
95	return nil
96}
97
98func (m *OrcaLoadReport) GetUtilization() map[string]float64 {
99	if m != nil {
100		return m.Utilization
101	}
102	return nil
103}
104
105func init() {
106	proto.RegisterType((*OrcaLoadReport)(nil), "udpa.data.orca.v1.OrcaLoadReport")
107	proto.RegisterMapType((map[string]float64)(nil), "udpa.data.orca.v1.OrcaLoadReport.RequestCostEntry")
108	proto.RegisterMapType((map[string]float64)(nil), "udpa.data.orca.v1.OrcaLoadReport.UtilizationEntry")
109}
110
111func init() {
112	proto.RegisterFile("udpa/data/orca/v1/orca_load_report.proto", fileDescriptor_27edb21f16098bf0)
113}
114
115var fileDescriptor_27edb21f16098bf0 = []byte{
116	// 341 bytes of a gzipped FileDescriptorProto
117	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x4b, 0xfb, 0x30,
118	0x1c, 0xc6, 0x7f, 0xd9, 0x9f, 0x1f, 0x2c, 0xd5, 0x39, 0xab, 0xe0, 0x1c, 0x1e, 0xa6, 0x07, 0xa9,
119	0x1e, 0x52, 0x36, 0x2f, 0xb2, 0x83, 0x42, 0x65, 0x37, 0xc1, 0x11, 0xd8, 0xb9, 0x64, 0x6d, 0xd0,
120	0x62, 0xbb, 0xc4, 0x34, 0x29, 0x4c, 0xbc, 0xfa, 0x26, 0x7c, 0x95, 0x9e, 0x77, 0x92, 0x24, 0x8e,
121	0xb5, 0xdb, 0x65, 0xf6, 0xd2, 0x6f, 0xc2, 0xf3, 0x3c, 0x79, 0x3e, 0x21, 0xd0, 0x53, 0x31, 0x27,
122	0x7e, 0x4c, 0x24, 0xf1, 0x99, 0x88, 0x88, 0x5f, 0x0c, 0xcc, 0x3f, 0x4c, 0x19, 0x89, 0x43, 0x41,
123	0x39, 0x13, 0x12, 0x71, 0xc1, 0x24, 0x73, 0x0f, 0xb5, 0x12, 0x69, 0x25, 0xd2, 0x0a, 0x54, 0x0c,
124	0x7a, 0x27, 0x05, 0x49, 0x93, 0x98, 0x48, 0xea, 0xaf, 0x06, 0xab, 0xbd, 0xf8, 0x6c, 0xc0, 0xf6,
125	0x93, 0x88, 0xc8, 0x23, 0x23, 0x31, 0x36, 0x21, 0xee, 0x18, 0x1e, 0x44, 0x5c, 0x85, 0x4a, 0x26,
126	0x69, 0xf2, 0x4e, 0x64, 0xc2, 0xe6, 0x5d, 0xd0, 0x07, 0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