@@ -86,7 +86,7 @@ impl CollectPaymentStatus {
8686 }
8787}
8888/// Generated client implementations.
89- pub mod dipper_service_client {
89+ pub mod gateway_dips_service_client {
9090 #![ allow(
9191 unused_variables,
9292 dead_code,
@@ -97,10 +97,10 @@ pub mod dipper_service_client {
9797 use tonic:: codegen:: * ;
9898 use tonic:: codegen:: http:: Uri ;
9999 #[ derive( Debug , Clone ) ]
100- pub struct DipperServiceClient < T > {
100+ pub struct GatewayDipsServiceClient < T > {
101101 inner : tonic:: client:: Grpc < T > ,
102102 }
103- impl DipperServiceClient < tonic:: transport:: Channel > {
103+ impl GatewayDipsServiceClient < tonic:: transport:: Channel > {
104104 /// Attempt to create a new client by connecting to a given endpoint.
105105 pub async fn connect < D > ( dst : D ) -> Result < Self , tonic:: transport:: Error >
106106 where
@@ -111,7 +111,7 @@ pub mod dipper_service_client {
111111 Ok ( Self :: new ( conn) )
112112 }
113113 }
114- impl < T > DipperServiceClient < T >
114+ impl < T > GatewayDipsServiceClient < T >
115115 where
116116 T : tonic:: client:: GrpcService < tonic:: body:: BoxBody > ,
117117 T :: Error : Into < StdError > ,
@@ -129,7 +129,7 @@ pub mod dipper_service_client {
129129 pub fn with_interceptor < F > (
130130 inner : T ,
131131 interceptor : F ,
132- ) -> DipperServiceClient < InterceptedService < T , F > >
132+ ) -> GatewayDipsServiceClient < InterceptedService < T , F > >
133133 where
134134 F : tonic:: service:: Interceptor ,
135135 T :: ResponseBody : Default ,
@@ -143,7 +143,7 @@ pub mod dipper_service_client {
143143 http:: Request < tonic:: body:: BoxBody > ,
144144 > >:: Error : Into < StdError > + std:: marker:: Send + std:: marker:: Sync ,
145145 {
146- DipperServiceClient :: new ( InterceptedService :: new ( inner, interceptor) )
146+ GatewayDipsServiceClient :: new ( InterceptedService :: new ( inner, interceptor) )
147147 }
148148 /// Compress requests with the given encoding.
149149 ///
@@ -198,13 +198,13 @@ pub mod dipper_service_client {
198198 } ) ?;
199199 let codec = tonic:: codec:: ProstCodec :: default ( ) ;
200200 let path = http:: uri:: PathAndQuery :: from_static (
201- "/graphprotocol.gateway.dips.DipperService /CancelAgreement" ,
201+ "/graphprotocol.gateway.dips.GatewayDipsService /CancelAgreement" ,
202202 ) ;
203203 let mut req = request. into_request ( ) ;
204204 req. extensions_mut ( )
205205 . insert (
206206 GrpcMethod :: new (
207- "graphprotocol.gateway.dips.DipperService " ,
207+ "graphprotocol.gateway.dips.GatewayDipsService " ,
208208 "CancelAgreement" ,
209209 ) ,
210210 ) ;
@@ -232,13 +232,13 @@ pub mod dipper_service_client {
232232 } ) ?;
233233 let codec = tonic:: codec:: ProstCodec :: default ( ) ;
234234 let path = http:: uri:: PathAndQuery :: from_static (
235- "/graphprotocol.gateway.dips.DipperService /CollectPayment" ,
235+ "/graphprotocol.gateway.dips.GatewayDipsService /CollectPayment" ,
236236 ) ;
237237 let mut req = request. into_request ( ) ;
238238 req. extensions_mut ( )
239239 . insert (
240240 GrpcMethod :: new (
241- "graphprotocol.gateway.dips.DipperService " ,
241+ "graphprotocol.gateway.dips.GatewayDipsService " ,
242242 "CollectPayment" ,
243243 ) ,
244244 ) ;
@@ -247,7 +247,7 @@ pub mod dipper_service_client {
247247 }
248248}
249249/// Generated server implementations.
250- pub mod dipper_service_server {
250+ pub mod gateway_dips_service_server {
251251 #![ allow(
252252 unused_variables,
253253 dead_code,
@@ -256,9 +256,9 @@ pub mod dipper_service_server {
256256 clippy:: let_unit_value,
257257 ) ]
258258 use tonic:: codegen:: * ;
259- /// Generated trait containing gRPC methods that should be implemented for use with DipperServiceServer .
259+ /// Generated trait containing gRPC methods that should be implemented for use with GatewayDipsServiceServer .
260260 #[ async_trait]
261- pub trait DipperService : std:: marker:: Send + std:: marker:: Sync + ' static {
261+ pub trait GatewayDipsService : std:: marker:: Send + std:: marker:: Sync + ' static {
262262 /// *
263263 /// Cancel an _indexing agreement_.
264264 ///
@@ -285,14 +285,14 @@ pub mod dipper_service_server {
285285 > ;
286286 }
287287 #[ derive( Debug ) ]
288- pub struct DipperServiceServer < T > {
288+ pub struct GatewayDipsServiceServer < T > {
289289 inner : Arc < T > ,
290290 accept_compression_encodings : EnabledCompressionEncodings ,
291291 send_compression_encodings : EnabledCompressionEncodings ,
292292 max_decoding_message_size : Option < usize > ,
293293 max_encoding_message_size : Option < usize > ,
294294 }
295- impl < T > DipperServiceServer < T > {
295+ impl < T > GatewayDipsServiceServer < T > {
296296 pub fn new ( inner : T ) -> Self {
297297 Self :: from_arc ( Arc :: new ( inner) )
298298 }
@@ -343,9 +343,9 @@ pub mod dipper_service_server {
343343 self
344344 }
345345 }
346- impl < T , B > tonic:: codegen:: Service < http:: Request < B > > for DipperServiceServer < T >
346+ impl < T , B > tonic:: codegen:: Service < http:: Request < B > > for GatewayDipsServiceServer < T >
347347 where
348- T : DipperService ,
348+ T : GatewayDipsService ,
349349 B : Body + std:: marker:: Send + ' static ,
350350 B :: Error : Into < StdError > + std:: marker:: Send + ' static ,
351351 {
@@ -360,11 +360,11 @@ pub mod dipper_service_server {
360360 }
361361 fn call ( & mut self , req : http:: Request < B > ) -> Self :: Future {
362362 match req. uri ( ) . path ( ) {
363- "/graphprotocol.gateway.dips.DipperService /CancelAgreement" => {
363+ "/graphprotocol.gateway.dips.GatewayDipsService /CancelAgreement" => {
364364 #[ allow( non_camel_case_types) ]
365- struct CancelAgreementSvc < T : DipperService > ( pub Arc < T > ) ;
365+ struct CancelAgreementSvc < T : GatewayDipsService > ( pub Arc < T > ) ;
366366 impl <
367- T : DipperService ,
367+ T : GatewayDipsService ,
368368 > tonic:: server:: UnaryService < super :: CancelAgreementRequest >
369369 for CancelAgreementSvc < T > {
370370 type Response = super :: CancelAgreementResponse ;
@@ -378,7 +378,7 @@ pub mod dipper_service_server {
378378 ) -> Self :: Future {
379379 let inner = Arc :: clone ( & self . 0 ) ;
380380 let fut = async move {
381- <T as DipperService >:: cancel_agreement ( & inner, request)
381+ <T as GatewayDipsService >:: cancel_agreement ( & inner, request)
382382 . await
383383 } ;
384384 Box :: pin ( fut)
@@ -406,11 +406,11 @@ pub mod dipper_service_server {
406406 } ;
407407 Box :: pin ( fut)
408408 }
409- "/graphprotocol.gateway.dips.DipperService /CollectPayment" => {
409+ "/graphprotocol.gateway.dips.GatewayDipsService /CollectPayment" => {
410410 #[ allow( non_camel_case_types) ]
411- struct CollectPaymentSvc < T : DipperService > ( pub Arc < T > ) ;
411+ struct CollectPaymentSvc < T : GatewayDipsService > ( pub Arc < T > ) ;
412412 impl <
413- T : DipperService ,
413+ T : GatewayDipsService ,
414414 > tonic:: server:: UnaryService < super :: CollectPaymentRequest >
415415 for CollectPaymentSvc < T > {
416416 type Response = super :: CollectPaymentResponse ;
@@ -424,7 +424,8 @@ pub mod dipper_service_server {
424424 ) -> Self :: Future {
425425 let inner = Arc :: clone ( & self . 0 ) ;
426426 let fut = async move {
427- <T as DipperService >:: collect_payment ( & inner, request) . await
427+ <T as GatewayDipsService >:: collect_payment ( & inner, request)
428+ . await
428429 } ;
429430 Box :: pin ( fut)
430431 }
@@ -471,7 +472,7 @@ pub mod dipper_service_server {
471472 }
472473 }
473474 }
474- impl < T > Clone for DipperServiceServer < T > {
475+ impl < T > Clone for GatewayDipsServiceServer < T > {
475476 fn clone ( & self ) -> Self {
476477 let inner = self . inner . clone ( ) ;
477478 Self {
@@ -484,8 +485,8 @@ pub mod dipper_service_server {
484485 }
485486 }
486487 /// Generated gRPC service name
487- pub const SERVICE_NAME : & str = "graphprotocol.gateway.dips.DipperService " ;
488- impl < T > tonic:: server:: NamedService for DipperServiceServer < T > {
488+ pub const SERVICE_NAME : & str = "graphprotocol.gateway.dips.GatewayDipsService " ;
489+ impl < T > tonic:: server:: NamedService for GatewayDipsServiceServer < T > {
489490 const NAME : & ' static str = SERVICE_NAME ;
490491 }
491492}
0 commit comments