11// This file is @generated by prost-build.
22/// *
3- /// A request to cancel an _indexing agreement_.
3+ ///
4+ /// A request to cancel an *indexing agreement*.
45///
56/// See the `DipsService.CancelAgreement` method.
6- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
7+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
78pub struct CancelAgreementRequest {
89 #[ prost( uint64, tag = "1" ) ]
910 pub version : u64 ,
@@ -12,29 +13,32 @@ pub struct CancelAgreementRequest {
1213 pub signed_cancellation : :: prost:: alloc:: vec:: Vec < u8 > ,
1314}
1415/// *
15- /// A response to a request to cancel an _indexing agreement_.
16+ ///
17+ /// A response to a request to cancel an *indexing agreement*.
1618///
1719/// See the `DipsService.CancelAgreement` method.
1820///
1921/// / Empty response, eventually we may add custom status codes
20- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
22+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
2123pub struct CancelAgreementResponse { }
2224/// *
23- /// A request to collect payment _indexing agreement_.
25+ ///
26+ /// A request to collect payment *indexing agreement*.
2427///
2528/// See the `DipsService.CollectPayment` method.
26- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
29+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
2730pub struct CollectPaymentRequest {
2831 #[ prost( uint64, tag = "1" ) ]
2932 pub version : u64 ,
3033 #[ prost( bytes = "vec" , tag = "2" ) ]
3134 pub signed_collection : :: prost:: alloc:: vec:: Vec < u8 > ,
3235}
3336/// *
34- /// A response to a request to collect payment for an _indexing agreement_.
37+ ///
38+ /// A response to a request to collect payment for an *indexing agreement*.
3539///
3640/// See the `DipsService.CollectAgreement` method.
37- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
41+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
3842pub struct CollectPaymentResponse {
3943 #[ prost( uint64, tag = "1" ) ]
4044 pub version : u64 ,
@@ -44,7 +48,8 @@ pub struct CollectPaymentResponse {
4448 pub tap_receipt : :: prost:: alloc:: vec:: Vec < u8 > ,
4549}
4650/// *
47- /// The status on response to collect an _indexing agreement_.
51+ ///
52+ /// The status on response to collect an *indexing agreement*.
4853#[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , PartialOrd , Ord , :: prost:: Enumeration ) ]
4954#[ repr( i32 ) ]
5055pub enum CollectPaymentStatus {
@@ -177,7 +182,8 @@ pub mod gateway_dips_service_client {
177182 self
178183 }
179184 /// *
180- /// Cancel an _indexing agreement_.
185+ ///
186+ /// Cancel an *indexing agreement*.
181187 ///
182188 /// This method allows the indexer to notify the DIPs gateway that the agreement
183189 /// should be canceled.
@@ -196,7 +202,7 @@ pub mod gateway_dips_service_client {
196202 format ! ( "Service was not ready: {}" , e. into( ) ) ,
197203 )
198204 } ) ?;
199- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
205+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
200206 let path = http:: uri:: PathAndQuery :: from_static (
201207 "/graphprotocol.gateway.dips.GatewayDipsService/CancelAgreement" ,
202208 ) ;
@@ -211,7 +217,8 @@ pub mod gateway_dips_service_client {
211217 self . inner . unary ( req, path, codec) . await
212218 }
213219 /// *
214- /// Collect payment for an _indexing agreement_.
220+ ///
221+ /// Collect payment for an *indexing agreement*.
215222 ///
216223 /// This method allows the indexer to report the work completed to the DIPs gateway
217224 /// and receive payment for the indexing work done.
@@ -230,7 +237,7 @@ pub mod gateway_dips_service_client {
230237 format ! ( "Service was not ready: {}" , e. into( ) ) ,
231238 )
232239 } ) ?;
233- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
240+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
234241 let path = http:: uri:: PathAndQuery :: from_static (
235242 "/graphprotocol.gateway.dips.GatewayDipsService/CollectPayment" ,
236243 ) ;
@@ -260,7 +267,8 @@ pub mod gateway_dips_service_server {
260267 #[ async_trait]
261268 pub trait GatewayDipsService : std:: marker:: Send + std:: marker:: Sync + ' static {
262269 /// *
263- /// Cancel an _indexing agreement_.
270+ ///
271+ /// Cancel an *indexing agreement*.
264272 ///
265273 /// This method allows the indexer to notify the DIPs gateway that the agreement
266274 /// should be canceled.
@@ -272,7 +280,8 @@ pub mod gateway_dips_service_server {
272280 tonic:: Status ,
273281 > ;
274282 /// *
275- /// Collect payment for an _indexing agreement_.
283+ ///
284+ /// Collect payment for an *indexing agreement*.
276285 ///
277286 /// This method allows the indexer to report the work completed to the DIPs gateway
278287 /// and receive payment for the indexing work done.
@@ -391,7 +400,7 @@ pub mod gateway_dips_service_server {
391400 let inner = self . inner . clone ( ) ;
392401 let fut = async move {
393402 let method = CancelAgreementSvc ( inner) ;
394- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
403+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
395404 let mut grpc = tonic:: server:: Grpc :: new ( codec)
396405 . apply_compression_config (
397406 accept_compression_encodings,
@@ -437,7 +446,7 @@ pub mod gateway_dips_service_server {
437446 let inner = self . inner . clone ( ) ;
438447 let fut = async move {
439448 let method = CollectPaymentSvc ( inner) ;
440- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
449+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
441450 let mut grpc = tonic:: server:: Grpc :: new ( codec)
442451 . apply_compression_config (
443452 accept_compression_encodings,
0 commit comments