Skip to content

Commit

Permalink
update somm_proto
Browse files Browse the repository at this point in the history
  • Loading branch information
EricBolten committed Feb 3, 2024
1 parent ad35638 commit df8a077
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions somm_proto/src/prost/pubsub.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,13 @@ pub struct QuerySubscribersResponse {
pub subscribers: ::prost::alloc::vec::Vec<Subscriber>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryValidatorSubscribersRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryValidatorSubscribersResponse {
#[prost(message, repeated, tag = "1")]
pub subscribers: ::prost::alloc::vec::Vec<Subscriber>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryPublisherIntentRequest {
#[prost(string, tag = "1")]
pub publisher_domain: ::prost::alloc::string::String,
Expand Down Expand Up @@ -666,6 +673,22 @@ pub mod query_client {
let path = http::uri::PathAndQuery::from_static("/pubsub.v1.Query/QuerySubscribers");
self.inner.unary(request.into_request(), path, codec).await
}
pub async fn query_validator_subscribers(
&mut self,
request: impl tonic::IntoRequest<super::QueryValidatorSubscribersRequest>,
) -> Result<tonic::Response<super::QueryValidatorSubscribersResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path =
http::uri::PathAndQuery::from_static("/pubsub.v1.Query/QueryValidatorSubscribers");
self.inner.unary(request.into_request(), path, codec).await
}
pub async fn query_publisher_intent(
&mut self,
request: impl tonic::IntoRequest<super::QueryPublisherIntentRequest>,
Expand Down

0 comments on commit df8a077

Please sign in to comment.