@@ -106,7 +106,7 @@ pub struct JobRequest {
106106}
107107/// Nested message and enum types in `JobRequest`.
108108pub mod job_request {
109- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
109+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
110110 pub struct GenerationStatus {
111111 #[ prost( enumeration = "generation_status::State" , tag = "1" ) ]
112112 pub state : i32 ,
@@ -224,7 +224,7 @@ pub struct Job {
224224}
225225/// Nested message and enum types in `Job`.
226226pub mod job {
227- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
227+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
228228 pub struct Status {
229229 #[ prost( enumeration = "State" , tag = "1" ) ]
230230 pub state : i32 ,
@@ -472,7 +472,7 @@ pub struct UpdateJobsResponse {
472472/// With the MapStore used as a wrapper around the BadgerDB k/v store we don't
473473/// have to duplicate all information and can use the Metadata field of the
474474/// MapStore to create references to data stored in other MapStores.
475- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
475+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
476476pub struct GetJobsRequest {
477477 #[ prost( bool , tag = "4" ) ]
478478 pub include_work_requests : bool ,
@@ -493,14 +493,14 @@ pub struct GetJobsRequest {
493493}
494494/// Nested message and enum types in `GetJobsRequest`.
495495pub mod get_jobs_request {
496- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
496+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
497497 pub struct QueryIdAndPath {
498498 #[ prost( string, tag = "1" ) ]
499499 pub job_id : :: prost:: alloc:: string:: String ,
500500 #[ prost( string, tag = "2" ) ]
501501 pub path : :: prost:: alloc:: string:: String ,
502502 }
503- #[ derive( Clone , PartialEq , :: prost:: Oneof ) ]
503+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Oneof ) ]
504504 pub enum Query {
505505 /// Returns at most one Job.
506506 #[ prost( message, tag = "1" ) ]
@@ -528,21 +528,21 @@ pub struct UpdateWorkRequest {
528528}
529529/// We use our own empty message instead of google.protobuf.Empty to ensure backwards
530530/// compatibility should we need to add fields in the future.
531- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
531+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
532532pub struct UpdateWorkResponse { }
533- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
533+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
534534pub struct GetRstConfigRequest { }
535535#[ derive( Clone , PartialEq , :: prost:: Message ) ]
536536pub struct GetRstConfigResponse {
537537 #[ prost( message, repeated, tag = "1" ) ]
538538 pub rsts : :: prost:: alloc:: vec:: Vec < super :: flex:: RemoteStorageTarget > ,
539539}
540- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
540+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
541541pub struct GetStubContentsRequest {
542542 #[ prost( string, tag = "1" ) ]
543543 pub path : :: prost:: alloc:: string:: String ,
544544}
545- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
545+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
546546pub struct GetStubContentsResponse {
547547 #[ prost( uint32, optional, tag = "1" ) ]
548548 pub rst_id : :: core:: option:: Option < u32 > ,
@@ -657,7 +657,7 @@ pub mod bee_remote_client {
657657 format ! ( "Service was not ready: {}" , e. into( ) ) ,
658658 )
659659 } ) ?;
660- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
660+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
661661 let path = http:: uri:: PathAndQuery :: from_static (
662662 "/beeremote.BeeRemote/SubmitJob" ,
663663 ) ;
@@ -681,7 +681,7 @@ pub mod bee_remote_client {
681681 format ! ( "Service was not ready: {}" , e. into( ) ) ,
682682 )
683683 } ) ?;
684- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
684+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
685685 let path = http:: uri:: PathAndQuery :: from_static (
686686 "/beeremote.BeeRemote/UpdatePaths" ,
687687 ) ;
@@ -705,7 +705,7 @@ pub mod bee_remote_client {
705705 format ! ( "Service was not ready: {}" , e. into( ) ) ,
706706 )
707707 } ) ?;
708- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
708+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
709709 let path = http:: uri:: PathAndQuery :: from_static (
710710 "/beeremote.BeeRemote/UpdateJobs" ,
711711 ) ;
@@ -729,7 +729,7 @@ pub mod bee_remote_client {
729729 format ! ( "Service was not ready: {}" , e. into( ) ) ,
730730 )
731731 } ) ?;
732- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
732+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
733733 let path = http:: uri:: PathAndQuery :: from_static (
734734 "/beeremote.BeeRemote/GetJobs" ,
735735 ) ;
@@ -762,7 +762,7 @@ pub mod bee_remote_client {
762762 format ! ( "Service was not ready: {}" , e. into( ) ) ,
763763 )
764764 } ) ?;
765- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
765+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
766766 let path = http:: uri:: PathAndQuery :: from_static (
767767 "/beeremote.BeeRemote/UpdateWork" ,
768768 ) ;
@@ -786,7 +786,7 @@ pub mod bee_remote_client {
786786 format ! ( "Service was not ready: {}" , e. into( ) ) ,
787787 )
788788 } ) ?;
789- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
789+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
790790 let path = http:: uri:: PathAndQuery :: from_static (
791791 "/beeremote.BeeRemote/GetRSTConfig" ,
792792 ) ;
@@ -810,7 +810,7 @@ pub mod bee_remote_client {
810810 format ! ( "Service was not ready: {}" , e. into( ) ) ,
811811 )
812812 } ) ?;
813- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
813+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
814814 let path = http:: uri:: PathAndQuery :: from_static (
815815 "/beeremote.BeeRemote/GetStubContents" ,
816816 ) ;
@@ -834,7 +834,7 @@ pub mod bee_remote_client {
834834 format ! ( "Service was not ready: {}" , e. into( ) ) ,
835835 )
836836 } ) ?;
837- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
837+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
838838 let path = http:: uri:: PathAndQuery :: from_static (
839839 "/beeremote.BeeRemote/GetCapabilities" ,
840840 ) ;
@@ -1041,7 +1041,7 @@ pub mod bee_remote_server {
10411041 let inner = self . inner . clone ( ) ;
10421042 let fut = async move {
10431043 let method = SubmitJobSvc ( inner) ;
1044- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1044+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
10451045 let mut grpc = tonic:: server:: Grpc :: new ( codec)
10461046 . apply_compression_config (
10471047 accept_compression_encodings,
@@ -1087,7 +1087,7 @@ pub mod bee_remote_server {
10871087 let inner = self . inner . clone ( ) ;
10881088 let fut = async move {
10891089 let method = UpdatePathsSvc ( inner) ;
1090- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1090+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
10911091 let mut grpc = tonic:: server:: Grpc :: new ( codec)
10921092 . apply_compression_config (
10931093 accept_compression_encodings,
@@ -1132,7 +1132,7 @@ pub mod bee_remote_server {
11321132 let inner = self . inner . clone ( ) ;
11331133 let fut = async move {
11341134 let method = UpdateJobsSvc ( inner) ;
1135- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1135+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
11361136 let mut grpc = tonic:: server:: Grpc :: new ( codec)
11371137 . apply_compression_config (
11381138 accept_compression_encodings,
@@ -1178,7 +1178,7 @@ pub mod bee_remote_server {
11781178 let inner = self . inner . clone ( ) ;
11791179 let fut = async move {
11801180 let method = GetJobsSvc ( inner) ;
1181- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1181+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
11821182 let mut grpc = tonic:: server:: Grpc :: new ( codec)
11831183 . apply_compression_config (
11841184 accept_compression_encodings,
@@ -1223,7 +1223,7 @@ pub mod bee_remote_server {
12231223 let inner = self . inner . clone ( ) ;
12241224 let fut = async move {
12251225 let method = UpdateWorkSvc ( inner) ;
1226- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1226+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
12271227 let mut grpc = tonic:: server:: Grpc :: new ( codec)
12281228 . apply_compression_config (
12291229 accept_compression_encodings,
@@ -1268,7 +1268,7 @@ pub mod bee_remote_server {
12681268 let inner = self . inner . clone ( ) ;
12691269 let fut = async move {
12701270 let method = GetRSTConfigSvc ( inner) ;
1271- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1271+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
12721272 let mut grpc = tonic:: server:: Grpc :: new ( codec)
12731273 . apply_compression_config (
12741274 accept_compression_encodings,
@@ -1313,7 +1313,7 @@ pub mod bee_remote_server {
13131313 let inner = self . inner . clone ( ) ;
13141314 let fut = async move {
13151315 let method = GetStubContentsSvc ( inner) ;
1316- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1316+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
13171317 let mut grpc = tonic:: server:: Grpc :: new ( codec)
13181318 . apply_compression_config (
13191319 accept_compression_encodings,
@@ -1361,7 +1361,7 @@ pub mod bee_remote_server {
13611361 let inner = self . inner . clone ( ) ;
13621362 let fut = async move {
13631363 let method = GetCapabilitiesSvc ( inner) ;
1364- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
1364+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
13651365 let mut grpc = tonic:: server:: Grpc :: new ( codec)
13661366 . apply_compression_config (
13671367 accept_compression_encodings,
0 commit comments