| 150 | func (DRPCRecorderDescription) NumMethods() int { return 6 } |
| 151 | |
| 152 | func (DRPCRecorderDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool) { |
| 153 | switch n { |
| 154 | case 0: |
| 155 | return "/proto.Recorder/RecordInterception", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 156 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 157 | return srv.(DRPCRecorderServer). |
| 158 | RecordInterception( |
| 159 | ctx, |
| 160 | in1.(*RecordInterceptionRequest), |
| 161 | ) |
| 162 | }, DRPCRecorderServer.RecordInterception, true |
| 163 | case 1: |
| 164 | return "/proto.Recorder/RecordInterceptionEnded", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 165 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 166 | return srv.(DRPCRecorderServer). |
| 167 | RecordInterceptionEnded( |
| 168 | ctx, |
| 169 | in1.(*RecordInterceptionEndedRequest), |
| 170 | ) |
| 171 | }, DRPCRecorderServer.RecordInterceptionEnded, true |
| 172 | case 2: |
| 173 | return "/proto.Recorder/RecordTokenUsage", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 174 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 175 | return srv.(DRPCRecorderServer). |
| 176 | RecordTokenUsage( |
| 177 | ctx, |
| 178 | in1.(*RecordTokenUsageRequest), |
| 179 | ) |
| 180 | }, DRPCRecorderServer.RecordTokenUsage, true |
| 181 | case 3: |
| 182 | return "/proto.Recorder/RecordPromptUsage", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 183 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 184 | return srv.(DRPCRecorderServer). |
| 185 | RecordPromptUsage( |
| 186 | ctx, |
| 187 | in1.(*RecordPromptUsageRequest), |
| 188 | ) |
| 189 | }, DRPCRecorderServer.RecordPromptUsage, true |
| 190 | case 4: |
| 191 | return "/proto.Recorder/RecordToolUsage", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 192 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 193 | return srv.(DRPCRecorderServer). |
| 194 | RecordToolUsage( |
| 195 | ctx, |
| 196 | in1.(*RecordToolUsageRequest), |
| 197 | ) |
| 198 | }, DRPCRecorderServer.RecordToolUsage, true |
| 199 | case 5: |
| 200 | return "/proto.Recorder/RecordModelThought", drpcEncoding_File_coderd_aibridged_proto_aibridged_proto{}, |
| 201 | func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) { |
| 202 | return srv.(DRPCRecorderServer). |
| 203 | RecordModelThought( |
| 204 | ctx, |
| 205 | in1.(*RecordModelThoughtRequest), |
| 206 | ) |
| 207 | }, DRPCRecorderServer.RecordModelThought, true |
| 208 | default: |
| 209 | return "", nil, nil, nil, false |