/// Lists occurrences referencing the specified note. Provider projects can use
/// this method to get all occurrences across consumer projects referencing the
/// specified note.
Lists occurrences referencing the specified note. Provider projects can use
this method to get all occurrences across consumer projects referencing the
specified note.
Lists occurrences referencing the specified note . Provider projects can use this method to get all occurrences across consumer projects referencing the specified note .
pub async fn list_note_occurrences(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNoteOccurrencesRequest>,
        ) -> Result<tonic::Response<super::ListNoteOccurrencesResponse>, 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(
                "/grafeas.v1.Grafeas/ListNoteOccurrences",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_note_occurrences ( & mut self , request : impl tonic :: IntoRequest < super :: ListNoteOccurrencesRequest > , ) -> Result < tonic :: Response < super :: ListNoteOccurrencesResponse > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Lists occurrences referencing the specified note.
Lists occurrences referencing the specified note .
&mut self
request
impl tonic::IntoRequest<super::ListNoteOccurrencesRequest>