@@ -33,7 +33,7 @@ export interface ConsoleSettings {
3333}
3434/**
3535 * Settings defines the global pomerium settings
36- * Next id: 120 .
36+ * Next id: 122 .
3737 *
3838 * @generated from protobuf message pomerium.dashboard.Settings
3939 */
@@ -81,25 +81,33 @@ export interface Settings {
8181 /**
8282 * dns options
8383 *
84- * @generated from protobuf field: optional string dns_lookup_family = 60 ;
84+ * @generated from protobuf field: optional google.protobuf.Duration dns_failure_refresh_rate = 120 ;
8585 */
86- dnsLookupFamily ?: string ;
86+ dnsFailureRefreshRate ?: Duration ;
8787 /**
88- * @generated from protobuf field: optional uint32 dns_udp_max_queries = 116 ;
88+ * @generated from protobuf field: optional string dns_lookup_family = 60 ;
8989 */
90- dnsUdpMaxQueries ?: number ;
90+ dnsLookupFamily ?: string ;
9191 /**
92- * @generated from protobuf field: optional bool dns_use_tcp = 117 ;
92+ * @generated from protobuf field: optional google.protobuf.Duration dns_query_timeout = 119 ;
9393 */
94- dnsUseTcp ?: boolean ;
94+ dnsQueryTimeout ?: Duration ;
9595 /**
9696 * @generated from protobuf field: optional uint32 dns_query_tries = 118;
9797 */
9898 dnsQueryTries ?: number ;
9999 /**
100- * @generated from protobuf field: optional google.protobuf.Duration dns_query_timeout = 119 ;
100+ * @generated from protobuf field: optional google.protobuf.Duration dns_refresh_rate = 121 ;
101101 */
102- dnsQueryTimeout ?: Duration ;
102+ dnsRefreshRate ?: Duration ;
103+ /**
104+ * @generated from protobuf field: optional uint32 dns_udp_max_queries = 116;
105+ */
106+ dnsUdpMaxQueries ?: number ;
107+ /**
108+ * @generated from protobuf field: optional bool dns_use_tcp = 117;
109+ */
110+ dnsUseTcp ?: boolean ;
103111 /**
104112 * @generated from protobuf field: repeated pomerium.dashboard.Settings.Certificate certificates = 9;
105113 */
@@ -617,11 +625,13 @@ class Settings$Type extends MessageType<Settings> {
617625 { no : 6 , name : "services" , kind : "scalar" , opt : true , T : 9 /*ScalarType.STRING*/ } ,
618626 { no : 7 , name : "address" , kind : "scalar" , opt : true , T : 9 /*ScalarType.STRING*/ } ,
619627 { no : 8 , name : "insecure_server" , kind : "scalar" , opt : true , T : 8 /*ScalarType.BOOL*/ } ,
628+ { no : 120 , name : "dns_failure_refresh_rate" , kind : "message" , T : ( ) => Duration } ,
620629 { no : 60 , name : "dns_lookup_family" , kind : "scalar" , opt : true , T : 9 /*ScalarType.STRING*/ } ,
630+ { no : 119 , name : "dns_query_timeout" , kind : "message" , T : ( ) => Duration } ,
631+ { no : 118 , name : "dns_query_tries" , kind : "scalar" , opt : true , T : 13 /*ScalarType.UINT32*/ } ,
632+ { no : 121 , name : "dns_refresh_rate" , kind : "message" , T : ( ) => Duration } ,
621633 { no : 116 , name : "dns_udp_max_queries" , kind : "scalar" , opt : true , T : 13 /*ScalarType.UINT32*/ } ,
622634 { no : 117 , name : "dns_use_tcp" , kind : "scalar" , opt : true , T : 8 /*ScalarType.BOOL*/ } ,
623- { no : 118 , name : "dns_query_tries" , kind : "scalar" , opt : true , T : 13 /*ScalarType.UINT32*/ } ,
624- { no : 119 , name : "dns_query_timeout" , kind : "message" , T : ( ) => Duration } ,
625635 { no : 9 , name : "certificates" , kind : "message" , repeat : 1 /*RepeatType.PACKED*/ , T : ( ) => Settings_Certificate } ,
626636 { no : 10 , name : "http_redirect_addr" , kind : "scalar" , opt : true , T : 9 /*ScalarType.STRING*/ } ,
627637 { no : 11 , name : "timeout_read" , kind : "message" , T : ( ) => Duration } ,
@@ -760,21 +770,27 @@ class Settings$Type extends MessageType<Settings> {
760770 case /* optional bool insecure_server */ 8 :
761771 message . insecureServer = reader . bool ( ) ;
762772 break ;
773+ case /* optional google.protobuf.Duration dns_failure_refresh_rate */ 120 :
774+ message . dnsFailureRefreshRate = Duration . internalBinaryRead ( reader , reader . uint32 ( ) , options , message . dnsFailureRefreshRate ) ;
775+ break ;
763776 case /* optional string dns_lookup_family */ 60 :
764777 message . dnsLookupFamily = reader . string ( ) ;
765778 break ;
779+ case /* optional google.protobuf.Duration dns_query_timeout */ 119 :
780+ message . dnsQueryTimeout = Duration . internalBinaryRead ( reader , reader . uint32 ( ) , options , message . dnsQueryTimeout ) ;
781+ break ;
782+ case /* optional uint32 dns_query_tries */ 118 :
783+ message . dnsQueryTries = reader . uint32 ( ) ;
784+ break ;
785+ case /* optional google.protobuf.Duration dns_refresh_rate */ 121 :
786+ message . dnsRefreshRate = Duration . internalBinaryRead ( reader , reader . uint32 ( ) , options , message . dnsRefreshRate ) ;
787+ break ;
766788 case /* optional uint32 dns_udp_max_queries */ 116 :
767789 message . dnsUdpMaxQueries = reader . uint32 ( ) ;
768790 break ;
769791 case /* optional bool dns_use_tcp */ 117 :
770792 message . dnsUseTcp = reader . bool ( ) ;
771793 break ;
772- case /* optional uint32 dns_query_tries */ 118 :
773- message . dnsQueryTries = reader . uint32 ( ) ;
774- break ;
775- case /* optional google.protobuf.Duration dns_query_timeout */ 119 :
776- message . dnsQueryTimeout = Duration . internalBinaryRead ( reader , reader . uint32 ( ) , options , message . dnsQueryTimeout ) ;
777- break ;
778794 case /* repeated pomerium.dashboard.Settings.Certificate certificates */ 9 :
779795 message . certificates . push ( Settings_Certificate . internalBinaryRead ( reader , reader . uint32 ( ) , options ) ) ;
780796 break ;
@@ -1120,21 +1136,27 @@ class Settings$Type extends MessageType<Settings> {
11201136 /* optional bool insecure_server = 8; */
11211137 if ( message . insecureServer !== undefined )
11221138 writer . tag ( 8 , WireType . Varint ) . bool ( message . insecureServer ) ;
1139+ /* optional google.protobuf.Duration dns_failure_refresh_rate = 120; */
1140+ if ( message . dnsFailureRefreshRate )
1141+ Duration . internalBinaryWrite ( message . dnsFailureRefreshRate , writer . tag ( 120 , WireType . LengthDelimited ) . fork ( ) , options ) . join ( ) ;
11231142 /* optional string dns_lookup_family = 60; */
11241143 if ( message . dnsLookupFamily !== undefined )
11251144 writer . tag ( 60 , WireType . LengthDelimited ) . string ( message . dnsLookupFamily ) ;
1145+ /* optional google.protobuf.Duration dns_query_timeout = 119; */
1146+ if ( message . dnsQueryTimeout )
1147+ Duration . internalBinaryWrite ( message . dnsQueryTimeout , writer . tag ( 119 , WireType . LengthDelimited ) . fork ( ) , options ) . join ( ) ;
1148+ /* optional uint32 dns_query_tries = 118; */
1149+ if ( message . dnsQueryTries !== undefined )
1150+ writer . tag ( 118 , WireType . Varint ) . uint32 ( message . dnsQueryTries ) ;
1151+ /* optional google.protobuf.Duration dns_refresh_rate = 121; */
1152+ if ( message . dnsRefreshRate )
1153+ Duration . internalBinaryWrite ( message . dnsRefreshRate , writer . tag ( 121 , WireType . LengthDelimited ) . fork ( ) , options ) . join ( ) ;
11261154 /* optional uint32 dns_udp_max_queries = 116; */
11271155 if ( message . dnsUdpMaxQueries !== undefined )
11281156 writer . tag ( 116 , WireType . Varint ) . uint32 ( message . dnsUdpMaxQueries ) ;
11291157 /* optional bool dns_use_tcp = 117; */
11301158 if ( message . dnsUseTcp !== undefined )
11311159 writer . tag ( 117 , WireType . Varint ) . bool ( message . dnsUseTcp ) ;
1132- /* optional uint32 dns_query_tries = 118; */
1133- if ( message . dnsQueryTries !== undefined )
1134- writer . tag ( 118 , WireType . Varint ) . uint32 ( message . dnsQueryTries ) ;
1135- /* optional google.protobuf.Duration dns_query_timeout = 119; */
1136- if ( message . dnsQueryTimeout )
1137- Duration . internalBinaryWrite ( message . dnsQueryTimeout , writer . tag ( 119 , WireType . LengthDelimited ) . fork ( ) , options ) . join ( ) ;
11381160 /* repeated pomerium.dashboard.Settings.Certificate certificates = 9; */
11391161 for ( let i = 0 ; i < message . certificates . length ; i ++ )
11401162 Settings_Certificate . internalBinaryWrite ( message . certificates [ i ] , writer . tag ( 9 , WireType . LengthDelimited ) . fork ( ) , options ) . join ( ) ;
0 commit comments