@@ -602,6 +602,25 @@ pub struct PythonSettings {
602602 /// Some settings.
603603 #[ prost( message, optional, tag="1" ) ]
604604 pub common : :: core:: option:: Option < CommonLanguageSettings > ,
605+ /// Experimental features to be included during client library generation.
606+ #[ prost( message, optional, tag="2" ) ]
607+ pub experimental_features : :: core:: option:: Option < python_settings:: ExperimentalFeatures > ,
608+ }
609+ /// Nested message and enum types in `PythonSettings`.
610+ pub mod python_settings {
611+ /// Experimental features to be included during client library generation.
612+ /// These fields will be deprecated once the feature graduates and is enabled
613+ /// by default.
614+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
615+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
616+ pub struct ExperimentalFeatures {
617+ /// Enables generation of asynchronous REST clients if `rest` transport is
618+ /// enabled. By default, asynchronous REST clients will not be generated.
619+ /// This feature will be enabled by default 1 month after launching the
620+ /// feature in preview packages.
621+ #[ prost( bool , tag="1" ) ]
622+ pub rest_async_io_enabled : bool ,
623+ }
605624}
606625/// Settings for Node client libraries.
607626#[ allow( clippy:: derive_partial_eq_without_eq) ]
0 commit comments