@@ -57,6 +57,8 @@ pub struct PromRemoteWriteClientConfig {
5757 pub retry_policy : :: protobuf:: MessageField < super :: retry:: RetryPolicy > ,
5858 // @@protoc_insertion_point(field:pulse.config.outflow.v1.PromRemoteWriteClientConfig.lyft_specific_config)
5959 pub lyft_specific_config : :: protobuf:: MessageField < prom_remote_write_client_config:: LyftSpecificConfig > ,
60+ // @@protoc_insertion_point(field:pulse.config.outflow.v1.PromRemoteWriteClientConfig.pool_idle_timeout)
61+ pub pool_idle_timeout : :: protobuf:: MessageField < :: protobuf:: well_known_types:: duration:: Duration > ,
6062 // special fields
6163 // @@protoc_insertion_point(special_field:pulse.config.outflow.v1.PromRemoteWriteClientConfig.special_fields)
6264 pub special_fields : :: protobuf:: SpecialFields ,
@@ -74,7 +76,7 @@ impl PromRemoteWriteClientConfig {
7476 }
7577
7678 fn generated_message_descriptor_data ( ) -> :: protobuf:: reflect:: GeneratedMessageDescriptorData {
77- let mut fields = :: std:: vec:: Vec :: with_capacity ( 11 ) ;
79+ let mut fields = :: std:: vec:: Vec :: with_capacity ( 12 ) ;
7880 let mut oneofs = :: std:: vec:: Vec :: with_capacity ( 0 ) ;
7981 fields. push ( :: protobuf:: reflect:: rt:: v2:: make_simpler_field_accessor :: < _ , _ > (
8082 "send_to" ,
@@ -131,6 +133,11 @@ impl PromRemoteWriteClientConfig {
131133 |m : & PromRemoteWriteClientConfig | { & m. lyft_specific_config } ,
132134 |m : & mut PromRemoteWriteClientConfig | { & mut m. lyft_specific_config } ,
133135 ) ) ;
136+ fields. push ( :: protobuf:: reflect:: rt:: v2:: make_message_field_accessor :: < _ , :: protobuf:: well_known_types:: duration:: Duration > (
137+ "pool_idle_timeout" ,
138+ |m : & PromRemoteWriteClientConfig | { & m. pool_idle_timeout } ,
139+ |m : & mut PromRemoteWriteClientConfig | { & mut m. pool_idle_timeout } ,
140+ ) ) ;
134141 :: protobuf:: reflect:: GeneratedMessageDescriptorData :: new_2 :: < PromRemoteWriteClientConfig > (
135142 "PromRemoteWriteClientConfig" ,
136143 fields,
@@ -182,6 +189,9 @@ impl ::protobuf::Message for PromRemoteWriteClientConfig {
182189 90 => {
183190 :: protobuf:: rt:: read_singular_message_into_field ( is, & mut self . lyft_specific_config ) ?;
184191 } ,
192+ 98 => {
193+ :: protobuf:: rt:: read_singular_message_into_field ( is, & mut self . pool_idle_timeout ) ?;
194+ } ,
185195 tag => {
186196 :: protobuf:: rt:: read_unknown_or_skip_group ( tag, is, self . special_fields . mut_unknown_fields ( ) ) ?;
187197 } ,
@@ -233,6 +243,10 @@ impl ::protobuf::Message for PromRemoteWriteClientConfig {
233243 let len = v. compute_size ( ) ;
234244 my_size += 1 + :: protobuf:: rt:: compute_raw_varint64_size ( len) + len;
235245 }
246+ if let Some ( v) = self . pool_idle_timeout . as_ref ( ) {
247+ let len = v. compute_size ( ) ;
248+ my_size += 1 + :: protobuf:: rt:: compute_raw_varint64_size ( len) + len;
249+ }
236250 my_size += :: protobuf:: rt:: unknown_fields_size ( self . special_fields . unknown_fields ( ) ) ;
237251 self . special_fields . cached_size ( ) . set ( my_size as u32 ) ;
238252 my_size
@@ -272,6 +286,9 @@ impl ::protobuf::Message for PromRemoteWriteClientConfig {
272286 if let Some ( v) = self . lyft_specific_config . as_ref ( ) {
273287 :: protobuf:: rt:: write_message_field_with_cached_size ( 11 , v, os) ?;
274288 }
289+ if let Some ( v) = self . pool_idle_timeout . as_ref ( ) {
290+ :: protobuf:: rt:: write_message_field_with_cached_size ( 12 , v, os) ?;
291+ }
275292 os. write_unknown_fields ( self . special_fields . unknown_fields ( ) ) ?;
276293 :: std:: result:: Result :: Ok ( ( ) )
277294 }
@@ -300,6 +317,7 @@ impl ::protobuf::Message for PromRemoteWriteClientConfig {
300317 self . convert_metric_name = :: std:: option:: Option :: None ;
301318 self . retry_policy . clear ( ) ;
302319 self . lyft_specific_config . clear ( ) ;
320+ self . pool_idle_timeout . clear ( ) ;
303321 self . special_fields . clear ( ) ;
304322 }
305323
@@ -316,6 +334,7 @@ impl ::protobuf::Message for PromRemoteWriteClientConfig {
316334 convert_metric_name : :: std:: option:: Option :: None ,
317335 retry_policy : :: protobuf:: MessageField :: none ( ) ,
318336 lyft_specific_config : :: protobuf:: MessageField :: none ( ) ,
337+ pool_idle_timeout : :: protobuf:: MessageField :: none ( ) ,
319338 special_fields : :: protobuf:: SpecialFields :: new ( ) ,
320339 } ;
321340 & instance
@@ -505,30 +524,31 @@ static file_descriptor_proto_data: &'static [u8] = b"\
505524 utflow.v1\x1a #pulse/config/common/v1/common.proto\x1a \" pulse/config/comm\
506525 on/v1/retry.proto\x1a *pulse/config/outflow/v1/queue_policy.proto\x1a ,pul\
507526 se/config/outflow/v1/outflow_common.proto\x1a \x1e google/protobuf/duratio\
508- n.proto\x1a \x17 validate/validate.proto\" \xe2 \x08 \n \x1b PromRemoteWriteCli\
509- entConfig\x12 \x20 \n \x07 send_to\x18 \x01 \x20 \x01 (\t R\x06 sendToB\x07 \xfa B\
510- \x04 r\x02 \x10 \x01 \x12 L\n \x0f request_timeout\x18 \x02 \x20 \x01 (\x0b 2\x19 .go\
511- ogle.protobuf.DurationR\x0e requestTimeoutB\x08 \xfa B\x05 \xaa \x01 \x02 *\0 \
512- \x12 '\n \r max_in_flight\x18 \x03 \x20 \x01 (\x04 H\0 R\x0b maxInFlight\x88 \x01 \
513- \x01 \x12 G\n \x0c queue_policy\x18 \x04 \x20 \x01 (\x0b 2$.pulse.config.outflow.\
514- v1.QueuePolicyR\x0b queuePolicy\x12 /\n \x11 batch_max_samples\x18 \x05 \x20 \
515- \x01 (\x04 H\x01 R\x0f batchMaxSamples\x88 \x01 \x01 \x12 #\n \r metadata_only\x18 \
516- \x06 \x20 \x01 (\x08 R\x0c metadataOnly\x12 F\n \x04 auth\x18 \x07 \x20 \x01 (\x0b 22\
517- .pulse.config.outflow.v1.HttpRemoteWriteAuthConfigR\x04 auth\x12 O\n \x0f re\
518- quest_headers\x18 \x08 \x20 \x03 (\x0b 2&.pulse.config.outflow.v1.RequestHead\
519- erR\x0e requestHeaders\x12 3\n \x13 convert_metric_name\x18 \t \x20 \x01 (\x08 H\
520- \x02 R\x11 convertMetricName\x88 \x01 \x01 \x12 F\n \x0c retry_policy\x18 \n \x20 \
521- \x01 (\x0b 2#.pulse.config.common.v1.RetryPolicyR\x0b retryPolicy\x12 y\n \
522- \x14 lyft_specific_config\x18 \x0b \x20 \x01 (\x0b 2G.pulse.config.outflow.v1.\
523- PromRemoteWriteClientConfig.LyftSpecificConfigR\x12 lyftSpecificConfig\
524- \x1a \xb9 \x02 \n \x12 LyftSpecificConfig\x12 =\n \x16 general_storage_policy\
525- \x18 \x01 \x20 \x01 (\t R\x14 generalStoragePolicyB\x07 \xfa B\x04 r\x02 \x10 \x01 \
526- \x12 J\n \x1f instance_metrics_storage_policy\x18 \x02 \x20 \x01 (\t H\0 R\x1c ins\
527- tanceMetricsStoragePolicy\x88 \x01 \x01 \x12 N\n !cloudwatch_metrics_storage_\
528- policy\x18 \x03 \x20 \x01 (\t H\x01 R\x1e cloudwatchMetricsStoragePolicy\x88 \
529- \x01 \x01 B\" \n \x20 _instance_metrics_storage_policyB$\n \" _cloudwatch_metri\
530- cs_storage_policyB\x10 \n \x0e _max_in_flightB\x14 \n \x12 _batch_max_samplesB\
531- \x16 \n \x14 _convert_metric_nameb\x06 proto3\
527+ n.proto\x1a \x17 validate/validate.proto\" \xa9 \t \n \x1b PromRemoteWriteClien\
528+ tConfig\x12 \x20 \n \x07 send_to\x18 \x01 \x20 \x01 (\t R\x06 sendToB\x07 \xfa B\x04 \
529+ r\x02 \x10 \x01 \x12 L\n \x0f request_timeout\x18 \x02 \x20 \x01 (\x0b 2\x19 .google\
530+ .protobuf.DurationR\x0e requestTimeoutB\x08 \xfa B\x05 \xaa \x01 \x02 *\0 \x12 '\
531+ \n \r max_in_flight\x18 \x03 \x20 \x01 (\x04 H\0 R\x0b maxInFlight\x88 \x01 \x01 \
532+ \x12 G\n \x0c queue_policy\x18 \x04 \x20 \x01 (\x0b 2$.pulse.config.outflow.v1.Q\
533+ ueuePolicyR\x0b queuePolicy\x12 /\n \x11 batch_max_samples\x18 \x05 \x20 \x01 (\
534+ \x04 H\x01 R\x0f batchMaxSamples\x88 \x01 \x01 \x12 #\n \r metadata_only\x18 \x06 \
535+ \x20 \x01 (\x08 R\x0c metadataOnly\x12 F\n \x04 auth\x18 \x07 \x20 \x01 (\x0b 22.pul\
536+ se.config.outflow.v1.HttpRemoteWriteAuthConfigR\x04 auth\x12 O\n \x0f reques\
537+ t_headers\x18 \x08 \x20 \x03 (\x0b 2&.pulse.config.outflow.v1.RequestHeaderR\
538+ \x0e requestHeaders\x12 3\n \x13 convert_metric_name\x18 \t \x20 \x01 (\x08 H\x02 \
539+ R\x11 convertMetricName\x88 \x01 \x01 \x12 F\n \x0c retry_policy\x18 \n \x20 \x01 (\
540+ \x0b 2#.pulse.config.common.v1.RetryPolicyR\x0b retryPolicy\x12 y\n \x14 lyft\
541+ _specific_config\x18 \x0b \x20 \x01 (\x0b 2G.pulse.config.outflow.v1.PromRemo\
542+ teWriteClientConfig.LyftSpecificConfigR\x12 lyftSpecificConfig\x12 E\n \x11 \
543+ pool_idle_timeout\x18 \x0c \x20 \x01 (\x0b 2\x19 .google.protobuf.DurationR\
544+ \x0f poolIdleTimeout\x1a \xb9 \x02 \n \x12 LyftSpecificConfig\x12 =\n \x16 genera\
545+ l_storage_policy\x18 \x01 \x20 \x01 (\t R\x14 generalStoragePolicyB\x07 \xfa B\
546+ \x04 r\x02 \x10 \x01 \x12 J\n \x1f instance_metrics_storage_policy\x18 \x02 \x20 \
547+ \x01 (\t H\0 R\x1c instanceMetricsStoragePolicy\x88 \x01 \x01 \x12 N\n !cloudwatc\
548+ h_metrics_storage_policy\x18 \x03 \x20 \x01 (\t H\x01 R\x1e cloudwatchMetricsSt\
549+ oragePolicy\x88 \x01 \x01 B\" \n \x20 _instance_metrics_storage_policyB$\n \" _c\
550+ loudwatch_metrics_storage_policyB\x10 \n \x0e _max_in_flightB\x14 \n \x12 _bat\
551+ ch_max_samplesB\x16 \n \x14 _convert_metric_nameb\x06 proto3\
532552 ";
533553
534554/// `FileDescriptorProto` object which was a source for this generated file
0 commit comments