1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.18.0
5// source: xds/data/orca/v3/orca_load_report.proto
6
7package v3
8
9import (
10	_ "github.com/envoyproxy/protoc-gen-validate/validate"
11	proto "github.com/golang/protobuf/proto"
12	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14	reflect "reflect"
15	sync "sync"
16)
17
18const (
19	// Verify that this generated code is sufficiently up-to-date.
20	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21	// Verify that runtime/protoimpl is sufficiently up-to-date.
22	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23)
24
25// This is a compile-time assertion that a sufficiently up-to-date version
26// of the legacy proto package is being used.
27const _ = proto.ProtoPackageIsVersion4
28
29type OrcaLoadReport struct {
30	state         protoimpl.MessageState
31	sizeCache     protoimpl.SizeCache
32	unknownFields protoimpl.UnknownFields
33
34	CpuUtilization float64 `protobuf:"fixed64,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
35	MemUtilization float64 `protobuf:"fixed64,2,opt,name=mem_utilization,json=memUtilization,proto3" json:"mem_utilization,omitempty"`
36	// Deprecated: Do not use.
37	Rps                    uint64             `protobuf:"varint,3,opt,name=rps,proto3" json:"rps,omitempty"`
38	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"`
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	RpsFractional          float64            `protobuf:"fixed64,6,opt,name=rps_fractional,json=rpsFractional,proto3" json:"rps_fractional,omitempty"`
41	Eps                    float64            `protobuf:"fixed64,7,opt,name=eps,proto3" json:"eps,omitempty"`
42	NamedMetrics           map[string]float64 `protobuf:"bytes,8,rep,name=named_metrics,json=namedMetrics,proto3" json:"named_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
43	ApplicationUtilization float64            `protobuf:"fixed64,9,opt,name=application_utilization,json=applicationUtilization,proto3" json:"application_utilization,omitempty"`
44}
45
46func (x *OrcaLoadReport) Reset() {
47	*x = OrcaLoadReport{}
48	if protoimpl.UnsafeEnabled {
49		mi := &file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0]
50		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51		ms.StoreMessageInfo(mi)
52	}
53}
54
55func (x *OrcaLoadReport) String() string {
56	return protoimpl.X.MessageStringOf(x)
57}
58
59func (*OrcaLoadReport) ProtoMessage() {}
60
61func (x *OrcaLoadReport) ProtoReflect() protoreflect.Message {
62	mi := &file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0]
63	if protoimpl.UnsafeEnabled && x != nil {
64		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65		if ms.LoadMessageInfo() == nil {
66			ms.StoreMessageInfo(mi)
67		}
68		return ms
69	}
70	return mi.MessageOf(x)
71}
72
73// Deprecated: Use OrcaLoadReport.ProtoReflect.Descriptor instead.
74func (*OrcaLoadReport) Descriptor() ([]byte, []int) {
75	return file_xds_data_orca_v3_orca_load_report_proto_rawDescGZIP(), []int{0}
76}
77
78func (x *OrcaLoadReport) GetCpuUtilization() float64 {
79	if x != nil {
80		return x.CpuUtilization
81	}
82	return 0
83}
84
85func (x *OrcaLoadReport) GetMemUtilization() float64 {
86	if x != nil {
87		return x.MemUtilization
88	}
89	return 0
90}
91
92// Deprecated: Do not use.
93func (x *OrcaLoadReport) GetRps() uint64 {
94	if x != nil {
95		return x.Rps
96	}
97	return 0
98}
99
100func (x *OrcaLoadReport) GetRequestCost() map[string]float64 {
101	if x != nil {
102		return x.RequestCost
103	}
104	return nil
105}
106
107func (x *OrcaLoadReport) GetUtilization() map[string]float64 {
108	if x != nil {
109		return x.Utilization
110	}
111	return nil
112}
113
114func (x *OrcaLoadReport) GetRpsFractional() float64 {
115	if x != nil {
116		return x.RpsFractional
117	}
118	return 0
119}
120
121func (x *OrcaLoadReport) GetEps() float64 {
122	if x != nil {
123		return x.Eps
124	}
125	return 0
126}
127
128func (x *OrcaLoadReport) GetNamedMetrics() map[string]float64 {
129	if x != nil {
130		return x.NamedMetrics
131	}
132	return nil
133}
134
135func (x *OrcaLoadReport) GetApplicationUtilization() float64 {
136	if x != nil {
137		return x.ApplicationUtilization
138	}
139	return 0
140}
141
142var File_xds_data_orca_v3_orca_load_report_proto protoreflect.FileDescriptor
143
144var file_xds_data_orca_v3_orca_load_report_proto_rawDesc = []byte{
145	0x0a, 0x27, 0x78, 0x64, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x63, 0x61, 0x2f,
146	0x76, 0x33, 0x2f, 0x6f, 0x72, 0x63, 0x61, 0x5f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x70,
147	0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x64, 0x73, 0x2e, 0x64,
148	0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x76, 0x61, 0x6c,
149	0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
150	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x06, 0x0a, 0x0e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61,
151	0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x37, 0x0a, 0x0f, 0x63, 0x70, 0x75, 0x5f, 0x75,
152	0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01,
153	0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
154	0x52, 0x0e, 0x63, 0x70, 0x75, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
155	0x12, 0x45, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74,
156	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x1c, 0xfa, 0x42, 0x0b, 0x12, 0x09,
157	0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x19, 0x00,
158	0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x52, 0x0e, 0x6d, 0x65, 0x6d, 0x55, 0x74, 0x69, 0x6c,
159	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x03, 0x72, 0x70, 0x73, 0x18, 0x03,
160	0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x03, 0x72, 0x70, 0x73, 0x12, 0x54, 0x0a,
161	0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20,
162	0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f,
163	0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x52,
164	0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x73,
165	0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43,
166	0x6f, 0x73, 0x74, 0x12, 0x7b, 0x0a, 0x0b, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69,
167	0x6f, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64,
168	0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x63, 0x61,
169	0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x55, 0x74, 0x69, 0x6c, 0x69,
170	0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x26, 0xfa, 0x42, 0x10,
171	0x9a, 0x01, 0x0d, 0x2a, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
172	0xfa, 0x42, 0x10, 0x9a, 0x01, 0x0d, 0x2a, 0x0b, 0x12, 0x09, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00,
173	0x00, 0xf0, 0x3f, 0x52, 0x0b, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
174	0x12, 0x35, 0x0a, 0x0e, 0x72, 0x70, 0x73, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
175	0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29,
176	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x0d, 0x72, 0x70, 0x73, 0x46, 0x72, 0x61,
177	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x03, 0x65, 0x70, 0x73, 0x18, 0x07,
178	0x20, 0x01, 0x28, 0x01, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00,
179	0x00, 0x00, 0x00, 0x00, 0x52, 0x03, 0x65, 0x70, 0x73, 0x12, 0x57, 0x0a, 0x0d, 0x6e, 0x61, 0x6d,
180	0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
181	0x32, 0x32, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61,
182	0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f,
183	0x72, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45,
184	0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69,
185	0x63, 0x73, 0x12, 0x47, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
186	0x6e, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20,
187	0x01, 0x28, 0x01, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00,
188	0x00, 0x00, 0x00, 0x52, 0x16, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
189	0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x52,
190	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
191	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
192	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
193	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x55,
194	0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
195	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
196	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
197	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x4e,
198	0x61, 0x6d, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
199	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
200	0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
201	0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x5d, 0x0a, 0x1b,
202	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64,
203	0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x4f, 0x72, 0x63,
204	0x61, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
205	0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
206	0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x64,
207	0x61, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x63, 0x61, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
208	0x74, 0x6f, 0x33,
209}
210
211var (
212	file_xds_data_orca_v3_orca_load_report_proto_rawDescOnce sync.Once
213	file_xds_data_orca_v3_orca_load_report_proto_rawDescData = file_xds_data_orca_v3_orca_load_report_proto_rawDesc
214)
215
216func file_xds_data_orca_v3_orca_load_report_proto_rawDescGZIP() []byte {
217	file_xds_data_orca_v3_orca_load_report_proto_rawDescOnce.Do(func() {
218		file_xds_data_orca_v3_orca_load_report_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_data_orca_v3_orca_load_report_proto_rawDescData)
219	})
220	return file_xds_data_orca_v3_orca_load_report_proto_rawDescData
221}
222
223var file_xds_data_orca_v3_orca_load_report_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
224var file_xds_data_orca_v3_orca_load_report_proto_goTypes = []interface{}{
225	(*OrcaLoadReport)(nil), // 0: xds.data.orca.v3.OrcaLoadReport
226	nil,                    // 1: xds.data.orca.v3.OrcaLoadReport.RequestCostEntry
227	nil,                    // 2: xds.data.orca.v3.OrcaLoadReport.UtilizationEntry
228	nil,                    // 3: xds.data.orca.v3.OrcaLoadReport.NamedMetricsEntry
229}
230var file_xds_data_orca_v3_orca_load_report_proto_depIdxs = []int32{
231	1, // 0: xds.data.orca.v3.OrcaLoadReport.request_cost:type_name -> xds.data.orca.v3.OrcaLoadReport.RequestCostEntry
232	2, // 1: xds.data.orca.v3.OrcaLoadReport.utilization:type_name -> xds.data.orca.v3.OrcaLoadReport.UtilizationEntry
233	3, // 2: xds.data.orca.v3.OrcaLoadReport.named_metrics:type_name -> xds.data.orca.v3.OrcaLoadReport.NamedMetricsEntry
234	3, // [3:3] is the sub-list for method output_type
235	3, // [3:3] is the sub-list for method input_type
236	3, // [3:3] is the sub-list for extension type_name
237	3, // [3:3] is the sub-list for extension extendee
238	0, // [0:3] is the sub-list for field type_name
239}
240
241func init() { file_xds_data_orca_v3_orca_load_report_proto_init() }
242func file_xds_data_orca_v3_orca_load_report_proto_init() {
243	if File_xds_data_orca_v3_orca_load_report_proto != nil {
244		return
245	}
246	if !protoimpl.UnsafeEnabled {
247		file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
248			switch v := v.(*OrcaLoadReport); i {
249			case 0:
250				return &v.state
251			case 1:
252				return &v.sizeCache
253			case 2:
254				return &v.unknownFields
255			default:
256				return nil
257			}
258		}
259	}
260	type x struct{}
261	out := protoimpl.TypeBuilder{
262		File: protoimpl.DescBuilder{
263			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
264			RawDescriptor: file_xds_data_orca_v3_orca_load_report_proto_rawDesc,
265			NumEnums:      0,
266			NumMessages:   4,
267			NumExtensions: 0,
268			NumServices:   0,
269		},
270		GoTypes:           file_xds_data_orca_v3_orca_load_report_proto_goTypes,
271		DependencyIndexes: file_xds_data_orca_v3_orca_load_report_proto_depIdxs,
272		MessageInfos:      file_xds_data_orca_v3_orca_load_report_proto_msgTypes,
273	}.Build()
274	File_xds_data_orca_v3_orca_load_report_proto = out.File
275	file_xds_data_orca_v3_orca_load_report_proto_rawDesc = nil
276	file_xds_data_orca_v3_orca_load_report_proto_goTypes = nil
277	file_xds_data_orca_v3_orca_load_report_proto_depIdxs = nil
278}
279