Debian Codegraph @

go/udpa/service/orca/v1/orca.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: udpa/service/orca/v1/orca.proto
6
7 package v1
8
9 import (
10 v1 "github.com/cncf/xds/go/udpa/data/orca/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 durationpb "google.golang.org/protobuf/types/known/durationpb"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type OrcaLoadReportRequest struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 ReportInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=report_interval,json=reportInterval,proto3" json:"report_interval,omitempty"`
29 RequestCostNames []string `protobuf:"bytes,2,rep,name=request_cost_names,json=requestCostNames,proto3" json:"request_cost_names,omitempty"`
30 unknownFields protoimpl.UnknownFields
31 sizeCache protoimpl.SizeCache
32 }
33
34 func (x *OrcaLoadReportRequest) Reset() {
35 *x = OrcaLoadReportRequest{}
36 mi := &file_udpa_service_orca_v1_orca_proto_msgTypes[0]
37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38 ms.StoreMessageInfo(mi)
39 }
40
41 func (x *OrcaLoadReportRequest) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*OrcaLoadReportRequest) ProtoMessage() {}
46
47 func (x *OrcaLoadReportRequest) ProtoReflect() protoreflect.Message {
48 mi := &file_udpa_service_orca_v1_orca_proto_msgTypes[0]
49 if x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59 // Deprecated: Use OrcaLoadReportRequest.ProtoReflect.Descriptor instead.
60 func (*OrcaLoadReportRequest) Descriptor() ([]byte, []int) {
61 return file_udpa_service_orca_v1_orca_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *OrcaLoadReportRequest) GetReportInterval() *durationpb.Duration {
65 if x != nil {
66 return x.ReportInterval
67 }
68 return nil
69 }
70
71 func (x *OrcaLoadReportRequest) GetRequestCostNames() []string {
72 if x != nil {
73 return x.RequestCostNames
74 }
75 return nil
76 }
77
78 var File_udpa_service_orca_v1_orca_proto protoreflect.FileDescriptor
79
80 const file_udpa_service_orca_v1_orca_proto_rawDesc = "" +
81 "\n" +
82 "\x1fudpa/service/orca/v1/orca.proto\x12\x14udpa.service.orca.v1\x1a(udpa/data/orca/v1/orca_load_report.proto\x1a\x1egoogle/protobuf/duration.proto\"\x89\x01\n" +
83 "\x15OrcaLoadReportRequest\x12B\n" +
84 "\x0freport_interval\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\x0ereportInterval\x12,\n" +
85 "\x12request_cost_names\x18\x02 \x03(\tR\x10requestCostNames2w\n" +
86 "\x0eOpenRcaService\x12e\n" +
87 "\x11StreamCoreMetrics\x12+.udpa.service.orca.v1.OrcaLoadReportRequest\x1a!.udpa.data.orca.v1.OrcaLoadReport0\x01B`\n" +
88 "$com.github.udpa.udpa.service.orca.v1B\tOrcaProtoP\x01Z+github.com/cncf/xds/go/udpa/service/orca/v1b\x06proto3"
89
90 var (
91 file_udpa_service_orca_v1_orca_proto_rawDescOnce sync.Once
92 file_udpa_service_orca_v1_orca_proto_rawDescData []byte
93 )
94
95 func file_udpa_service_orca_v1_orca_proto_rawDescGZIP() []byte {
96 file_udpa_service_orca_v1_orca_proto_rawDescOnce.Do(func() {
97 file_udpa_service_orca_v1_orca_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_udpa_service_orca_v1_orca_proto_rawDesc), len(file_udpa_service_orca_v1_orca_proto_rawDesc)))
98 })
99 return file_udpa_service_orca_v1_orca_proto_rawDescData
100 }
101
102 var file_udpa_service_orca_v1_orca_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
103 var file_udpa_service_orca_v1_orca_proto_goTypes = []any{
104 (*OrcaLoadReportRequest)(nil), // 0: udpa.service.orca.v1.OrcaLoadReportRequest
105 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
106 (*v1.OrcaLoadReport)(nil), // 2: udpa.data.orca.v1.OrcaLoadReport
107 }
108 var file_udpa_service_orca_v1_orca_proto_depIdxs = []int32{
109 1, // 0: udpa.service.orca.v1.OrcaLoadReportRequest.report_interval:type_name -> google.protobuf.Duration
110 0, // 1: udpa.service.orca.v1.OpenRcaService.StreamCoreMetrics:input_type -> udpa.service.orca.v1.OrcaLoadReportRequest
111 2, // 2: udpa.service.orca.v1.OpenRcaService.StreamCoreMetrics:output_type -> udpa.data.orca.v1.OrcaLoadReport
112 2, // [2:3] is the sub-list for method output_type
113 1, // [1:2] is the sub-list for method input_type
114 1, // [1:1] is the sub-list for extension type_name
115 1, // [1:1] is the sub-list for extension extendee
116 0, // [0:1] is the sub-list for field type_name
117 }
118
119 func init() { file_udpa_service_orca_v1_orca_proto_init() }
120 func file_udpa_service_orca_v1_orca_proto_init() {
121 if File_udpa_service_orca_v1_orca_proto != nil {
122 return
123 }
124 type x struct{}
125 out := protoimpl.TypeBuilder{
126 File: protoimpl.DescBuilder{
127 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
128 RawDescriptor: unsafe.Slice(unsafe.StringData(file_udpa_service_orca_v1_orca_proto_rawDesc), len(file_udpa_service_orca_v1_orca_proto_rawDesc)),
129 NumEnums: 0,
130 NumMessages: 1,
131 NumExtensions: 0,
132 NumServices: 1,
133 },
134 GoTypes: file_udpa_service_orca_v1_orca_proto_goTypes,
135 DependencyIndexes: file_udpa_service_orca_v1_orca_proto_depIdxs,
136 MessageInfos: file_udpa_service_orca_v1_orca_proto_msgTypes,
137 }.Build()
138 File_udpa_service_orca_v1_orca_proto = out.File
139 file_udpa_service_orca_v1_orca_proto_goTypes = nil
140 file_udpa_service_orca_v1_orca_proto_depIdxs = nil
141 }