Skip to content

Commit

Permalink
Automated Protos Update (#133)
Browse files Browse the repository at this point in the history
Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Nov 5, 2024
1 parent 6a7f896 commit 7cc67af
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 332 deletions.
13 changes: 13 additions & 0 deletions src/gen/google.api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ pub struct CommonLanguageSettings {
/// The destination where API teams want this client library to be published.
#[prost(enumeration="ClientLibraryDestination", repeated, tag="2")]
pub destinations: ::prost::alloc::vec::Vec<i32>,
/// Configuration for which RPCs should be generated in the GAPIC client.
#[prost(message, optional, tag="3")]
pub selective_gapic_generation: ::core::option::Option<SelectiveGapicGeneration>,
}
/// Details about how and where to publish client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
Expand Down Expand Up @@ -758,6 +761,16 @@ pub mod method_settings {
pub total_poll_timeout: ::core::option::Option<::prost_types::Duration>,
}
}
/// This message is used to configure the generation of a subset of the RPCs in
/// a service for client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SelectiveGapicGeneration {
/// An allowlist of the fully qualified names of RPCs that should be included
/// on public client surfaces.
#[prost(string, repeated, tag="1")]
pub methods: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// The organization for which the client libraries are being published.
/// Affects the url where generated docs are published, etc.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
Expand Down
27 changes: 0 additions & 27 deletions src/gen/proto.rpc.examples.fileupload.v1.rs

This file was deleted.

304 changes: 0 additions & 304 deletions src/gen/proto.rpc.examples.fileupload.v1.tonic.rs

This file was deleted.

10 changes: 9 additions & 1 deletion src/gen/proto.rpc.webrtc.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,19 @@ pub struct AnswerRequestErrorStage {
#[prost(message, optional, tag="1")]
pub status: ::core::option::Option<super::super::super::super::google::rpc::Status>,
}
/// AnswerRequestHeartbeatStage is sent periodically to verify liveness of answerer.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AnswerRequestHeartbeatStage {
}
/// AnswerRequest is the SDP offer that the controlling side is making via the answering
/// stream.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AnswerRequest {
#[prost(string, tag="1")]
pub uuid: ::prost::alloc::string::String,
#[prost(oneof="answer_request::Stage", tags="2, 3, 4, 5")]
#[prost(oneof="answer_request::Stage", tags="2, 3, 4, 5, 6")]
pub stage: ::core::option::Option<answer_request::Stage>,
}
/// Nested message and enum types in `AnswerRequest`.
Expand All @@ -297,6 +302,9 @@ pub mod answer_request {
/// error is sent any time before done
#[prost(message, tag="5")]
Error(super::AnswerRequestErrorStage),
/// heartbeat is sent periodically to verify liveness of answerer
#[prost(message, tag="6")]
Heartbeat(super::AnswerRequestHeartbeatStage),
}
}
/// AnswerResponseInitStage is the first and a one time stage that represents the
Expand Down

0 comments on commit 7cc67af

Please sign in to comment.