1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0 4// protoc v3.14.0 5// source: envoy/config/route/v4alpha/route.proto 6 7package envoy_config_route_v4alpha 8 9import ( 10 _ "github.com/cncf/udpa/go/udpa/annotations" 11 v4alpha "github.com/envoyproxy/go-control-plane/envoy/config/core/v4alpha" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 wrappers "github.com/golang/protobuf/ptypes/wrappers" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19) 20 21const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26) 27 28// This is a compile-time assertion that a sufficiently up-to-date version 29// of the legacy proto package is being used. 30const _ = proto.ProtoPackageIsVersion4 31 32// [#next-free-field: 12] 33type RouteConfiguration struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // The name of the route configuration. For example, it might match 39 // :ref:`route_config_name 40 // <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.Rds.route_config_name>` in 41 // :ref:`envoy_api_msg_extensions.filters.network.http_connection_manager.v4alpha.Rds`. 42 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 43 // An array of virtual hosts that make up the route table. 44 VirtualHosts []*VirtualHost `protobuf:"bytes,2,rep,name=virtual_hosts,json=virtualHosts,proto3" json:"virtual_hosts,omitempty"` 45 // An array of virtual hosts will be dynamically loaded via the VHDS API. 46 // Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used 47 // for a base routing table or for infrequently changing virtual hosts. *vhds* is used for 48 // on-demand discovery of virtual hosts. The contents of these two fields will be merged to 49 // generate a routing table for a given RouteConfiguration, with *vhds* derived configuration 50 // taking precedence. 51 Vhds *Vhds `protobuf:"bytes,9,opt,name=vhds,proto3" json:"vhds,omitempty"` 52 // Optionally specifies a list of HTTP headers that the connection manager 53 // will consider to be internal only. If they are found on external requests they will be cleaned 54 // prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more 55 // information. 56 InternalOnlyHeaders []string `protobuf:"bytes,3,rep,name=internal_only_headers,json=internalOnlyHeaders,proto3" json:"internal_only_headers,omitempty"` 57 // Specifies a list of HTTP headers that should be added to each response that 58 // the connection manager encodes. Headers specified at this level are applied 59 // after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or 60 // :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on 61 // header value syntax, see the documentation on :ref:`custom request headers 62 // <config_http_conn_man_headers_custom_request_headers>`. 63 ResponseHeadersToAdd []*v4alpha.HeaderValueOption `protobuf:"bytes,4,rep,name=response_headers_to_add,json=responseHeadersToAdd,proto3" json:"response_headers_to_add,omitempty"` 64 // Specifies a list of HTTP headers that should be removed from each response 65 // that the connection manager encodes. 66 ResponseHeadersToRemove []string `protobuf:"bytes,5,rep,name=response_headers_to_remove,json=responseHeadersToRemove,proto3" json:"response_headers_to_remove,omitempty"` 67 // Specifies a list of HTTP headers that should be added to each request 68 // routed by the HTTP connection manager. Headers specified at this level are 69 // applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or 70 // :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on 71 // header value syntax, see the documentation on :ref:`custom request headers 72 // <config_http_conn_man_headers_custom_request_headers>`. 73 RequestHeadersToAdd []*v4alpha.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"` 74 // Specifies a list of HTTP headers that should be removed from each request 75 // routed by the HTTP connection manager. 76 RequestHeadersToRemove []string `protobuf:"bytes,8,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"` 77 // By default, headers that should be added/removed are evaluated from most to least specific: 78 // 79 // * route level 80 // * virtual host level 81 // * connection manager level 82 // 83 // To allow setting overrides at the route or virtual host level, this order can be reversed 84 // by setting this option to true. Defaults to false. 85 // 86 // [#next-major-version: In the v3 API, this will default to true.] 87 MostSpecificHeaderMutationsWins bool `protobuf:"varint,10,opt,name=most_specific_header_mutations_wins,json=mostSpecificHeaderMutationsWins,proto3" json:"most_specific_header_mutations_wins,omitempty"` 88 // An optional boolean that specifies whether the clusters that the route 89 // table refers to will be validated by the cluster manager. If set to true 90 // and a route refers to a non-existent cluster, the route table will not 91 // load. If set to false and a route refers to a non-existent cluster, the 92 // route table will load and the router filter will return a 404 if the route 93 // is selected at runtime. This setting defaults to true if the route table 94 // is statically defined via the :ref:`route_config 95 // <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.route_config>` 96 // option. This setting default to false if the route table is loaded dynamically via the 97 // :ref:`rds 98 // <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.rds>` 99 // option. Users may wish to override the default behavior in certain cases (for example when 100 // using CDS with a static route table). 101 ValidateClusters *wrappers.BoolValue `protobuf:"bytes,7,opt,name=validate_clusters,json=validateClusters,proto3" json:"validate_clusters,omitempty"` 102 // The maximum bytes of the response :ref:`direct response body 103 // <envoy_api_field_config.route.v4alpha.DirectResponseAction.body>` size. If not specified the default 104 // is 4096. 105 // 106 // .. warning:: 107 // 108 // Envoy currently holds the content of :ref:`direct response body 109 // <envoy_api_field_config.route.v4alpha.DirectResponseAction.body>` in memory. Be careful setting 110 // this to be larger than the default 4KB, since the allocated memory for direct response body 111 // is not subject to data plane buffering controls. 112 // 113 MaxDirectResponseBodySizeBytes *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=max_direct_response_body_size_bytes,json=maxDirectResponseBodySizeBytes,proto3" json:"max_direct_response_body_size_bytes,omitempty"` 114} 115 116func (x *RouteConfiguration) Reset() { 117 *x = RouteConfiguration{} 118 if protoimpl.UnsafeEnabled { 119 mi := &file_envoy_config_route_v4alpha_route_proto_msgTypes[0] 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 ms.StoreMessageInfo(mi) 122 } 123} 124 125func (x *RouteConfiguration) String() string { 126 return protoimpl.X.MessageStringOf(x) 127} 128 129func (*RouteConfiguration) ProtoMessage() {} 130 131func (x *RouteConfiguration) ProtoReflect() protoreflect.Message { 132 mi := &file_envoy_config_route_v4alpha_route_proto_msgTypes[0] 133 if protoimpl.UnsafeEnabled && x != nil { 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 if ms.LoadMessageInfo() == nil { 136 ms.StoreMessageInfo(mi) 137 } 138 return ms 139 } 140 return mi.MessageOf(x) 141} 142 143// Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead. 144func (*RouteConfiguration) Descriptor() ([]byte, []int) { 145 return file_envoy_config_route_v4alpha_route_proto_rawDescGZIP(), []int{0} 146} 147 148func (x *RouteConfiguration) GetName() string { 149 if x != nil { 150 return x.Name 151 } 152 return "" 153} 154 155func (x *RouteConfiguration) GetVirtualHosts() []*VirtualHost { 156 if x != nil { 157 return x.VirtualHosts 158 } 159 return nil 160} 161 162func (x *RouteConfiguration) GetVhds() *Vhds { 163 if x != nil { 164 return x.Vhds 165 } 166 return nil 167} 168 169func (x *RouteConfiguration) GetInternalOnlyHeaders() []string { 170 if x != nil { 171 return x.InternalOnlyHeaders 172 } 173 return nil 174} 175 176func (x *RouteConfiguration) GetResponseHeadersToAdd() []*v4alpha.HeaderValueOption { 177 if x != nil { 178 return x.ResponseHeadersToAdd 179 } 180 return nil 181} 182 183func (x *RouteConfiguration) GetResponseHeadersToRemove() []string { 184 if x != nil { 185 return x.ResponseHeadersToRemove 186 } 187 return nil 188} 189 190func (x *RouteConfiguration) GetRequestHeadersToAdd() []*v4alpha.HeaderValueOption { 191 if x != nil { 192 return x.RequestHeadersToAdd 193 } 194 return nil 195} 196 197func (x *RouteConfiguration) GetRequestHeadersToRemove() []string { 198 if x != nil { 199 return x.RequestHeadersToRemove 200 } 201 return nil 202} 203 204func (x *RouteConfiguration) GetMostSpecificHeaderMutationsWins() bool { 205 if x != nil { 206 return x.MostSpecificHeaderMutationsWins 207 } 208 return false 209} 210 211func (x *RouteConfiguration) GetValidateClusters() *wrappers.BoolValue { 212 if x != nil { 213 return x.ValidateClusters 214 } 215 return nil 216} 217 218func (x *RouteConfiguration) GetMaxDirectResponseBodySizeBytes() *wrappers.UInt32Value { 219 if x != nil { 220 return x.MaxDirectResponseBodySizeBytes 221 } 222 return nil 223} 224 225type Vhds struct { 226 state protoimpl.MessageState 227 sizeCache protoimpl.SizeCache 228 unknownFields protoimpl.UnknownFields 229 230 // Configuration source specifier for VHDS. 231 ConfigSource *v4alpha.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` 232} 233 234func (x *Vhds) Reset() { 235 *x = Vhds{} 236 if protoimpl.UnsafeEnabled { 237 mi := &file_envoy_config_route_v4alpha_route_proto_msgTypes[1] 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 ms.StoreMessageInfo(mi) 240 } 241} 242 243func (x *Vhds) String() string { 244 return protoimpl.X.MessageStringOf(x) 245} 246 247func (*Vhds) ProtoMessage() {} 248 249func (x *Vhds) ProtoReflect() protoreflect.Message { 250 mi := &file_envoy_config_route_v4alpha_route_proto_msgTypes[1] 251 if protoimpl.UnsafeEnabled && x != nil { 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 if ms.LoadMessageInfo() == nil { 254 ms.StoreMessageInfo(mi) 255 } 256 return ms 257 } 258 return mi.MessageOf(x) 259} 260 261// Deprecated: Use Vhds.ProtoReflect.Descriptor instead. 262func (*Vhds) Descriptor() ([]byte, []int) { 263 return file_envoy_config_route_v4alpha_route_proto_rawDescGZIP(), []int{1} 264} 265 266func (x *Vhds) GetConfigSource() *v4alpha.ConfigSource { 267 if x != nil { 268 return x.ConfigSource 269 } 270 return nil 271} 272 273var File_envoy_config_route_v4alpha_route_proto protoreflect.FileDescriptor 274 275var file_envoy_config_route_v4alpha_route_proto_rawDesc = []byte{ 276 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 277 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x6f, 0x75, 278 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 279 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x34, 0x61, 280 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 281 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 282 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 283 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 284 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 285 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 286 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x76, 0x34, 287 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 288 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 289 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 290 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 291 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 292 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 293 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 294 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 295 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 296 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x07, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 297 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 298 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 299 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 300 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 301 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 302 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x48, 0x6f, 303 0x73, 0x74, 0x52, 0x0c, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x73, 304 0x12, 0x34, 0x0a, 0x04, 0x76, 0x68, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 305 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 306 0x75, 0x74, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x68, 0x64, 0x73, 307 0x52, 0x04, 0x76, 0x68, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 308 0x61, 0x6c, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 309 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x10, 0xfa, 0x42, 0x0d, 0x92, 0x01, 0x0a, 0x22, 0x08, 0x72, 310 0x06, 0xc0, 0x01, 0x01, 0xc8, 0x01, 0x00, 0x52, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 311 0x6c, 0x4f, 0x6e, 0x6c, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x6e, 0x0a, 0x17, 312 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 313 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 314 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 315 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 316 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0xfa, 0x42, 0x06, 317 0x92, 0x01, 0x03, 0x10, 0xe8, 0x07, 0x52, 0x14, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 318 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x12, 0x4d, 0x0a, 0x1a, 319 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 320 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 321 0x42, 0x10, 0xfa, 0x42, 0x0d, 0x92, 0x01, 0x0a, 0x22, 0x08, 0x72, 0x06, 0xc0, 0x01, 0x01, 0xc8, 322 0x01, 0x00, 0x52, 0x17, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 323 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x6c, 0x0a, 0x16, 0x72, 324 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 325 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 326 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 327 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 328 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x92, 0x01, 329 0x03, 0x10, 0xe8, 0x07, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 330 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x12, 0x4b, 0x0a, 0x19, 0x72, 0x65, 0x71, 331 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 332 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x10, 0xfa, 0x42, 333 0x0d, 0x92, 0x01, 0x0a, 0x22, 0x08, 0x72, 0x06, 0xc0, 0x01, 0x01, 0xc8, 0x01, 0x00, 0x52, 0x16, 334 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 335 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x4c, 0x0a, 0x23, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x73, 336 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6d, 337 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x77, 0x69, 0x6e, 0x73, 0x18, 0x0a, 0x20, 338 0x01, 0x28, 0x08, 0x52, 0x1f, 0x6d, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 339 0x63, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 340 0x57, 0x69, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 341 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 342 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 343 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x76, 0x61, 0x6c, 344 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x69, 0x0a, 345 0x23, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 346 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 347 0x79, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 348 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 349 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1e, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x72, 350 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x53, 351 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 352 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 353 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 354 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x04, 0x56, 0x68, 355 0x64, 0x73, 0x12, 0x56, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 356 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 357 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 358 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 359 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, 360 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x21, 0x9a, 0xc5, 0x88, 0x1e, 361 0x1c, 0x0a, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 362 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x68, 0x64, 0x73, 0x42, 0x40, 0x0a, 363 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 364 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 365 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 366 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 367 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 368} 369 370var ( 371 file_envoy_config_route_v4alpha_route_proto_rawDescOnce sync.Once 372 file_envoy_config_route_v4alpha_route_proto_rawDescData = file_envoy_config_route_v4alpha_route_proto_rawDesc 373) 374 375func file_envoy_config_route_v4alpha_route_proto_rawDescGZIP() []byte { 376 file_envoy_config_route_v4alpha_route_proto_rawDescOnce.Do(func() { 377 file_envoy_config_route_v4alpha_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_route_v4alpha_route_proto_rawDescData) 378 }) 379 return file_envoy_config_route_v4alpha_route_proto_rawDescData 380} 381 382var file_envoy_config_route_v4alpha_route_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 383var file_envoy_config_route_v4alpha_route_proto_goTypes = []interface{}{ 384 (*RouteConfiguration)(nil), // 0: envoy.config.route.v4alpha.RouteConfiguration 385 (*Vhds)(nil), // 1: envoy.config.route.v4alpha.Vhds 386 (*VirtualHost)(nil), // 2: envoy.config.route.v4alpha.VirtualHost 387 (*v4alpha.HeaderValueOption)(nil), // 3: envoy.config.core.v4alpha.HeaderValueOption 388 (*wrappers.BoolValue)(nil), // 4: google.protobuf.BoolValue 389 (*wrappers.UInt32Value)(nil), // 5: google.protobuf.UInt32Value 390 (*v4alpha.ConfigSource)(nil), // 6: envoy.config.core.v4alpha.ConfigSource 391} 392var file_envoy_config_route_v4alpha_route_proto_depIdxs = []int32{ 393 2, // 0: envoy.config.route.v4alpha.RouteConfiguration.virtual_hosts:type_name -> envoy.config.route.v4alpha.VirtualHost 394 1, // 1: envoy.config.route.v4alpha.RouteConfiguration.vhds:type_name -> envoy.config.route.v4alpha.Vhds 395 3, // 2: envoy.config.route.v4alpha.RouteConfiguration.response_headers_to_add:type_name -> envoy.config.core.v4alpha.HeaderValueOption 396 3, // 3: envoy.config.route.v4alpha.RouteConfiguration.request_headers_to_add:type_name -> envoy.config.core.v4alpha.HeaderValueOption 397 4, // 4: envoy.config.route.v4alpha.RouteConfiguration.validate_clusters:type_name -> google.protobuf.BoolValue 398 5, // 5: envoy.config.route.v4alpha.RouteConfiguration.max_direct_response_body_size_bytes:type_name -> google.protobuf.UInt32Value 399 6, // 6: envoy.config.route.v4alpha.Vhds.config_source:type_name -> envoy.config.core.v4alpha.ConfigSource 400 7, // [7:7] is the sub-list for method output_type 401 7, // [7:7] is the sub-list for method input_type 402 7, // [7:7] is the sub-list for extension type_name 403 7, // [7:7] is the sub-list for extension extendee 404 0, // [0:7] is the sub-list for field type_name 405} 406 407func init() { file_envoy_config_route_v4alpha_route_proto_init() } 408func file_envoy_config_route_v4alpha_route_proto_init() { 409 if File_envoy_config_route_v4alpha_route_proto != nil { 410 return 411 } 412 file_envoy_config_route_v4alpha_route_components_proto_init() 413 if !protoimpl.UnsafeEnabled { 414 file_envoy_config_route_v4alpha_route_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 415 switch v := v.(*RouteConfiguration); i { 416 case 0: 417 return &v.state 418 case 1: 419 return &v.sizeCache 420 case 2: 421 return &v.unknownFields 422 default: 423 return nil 424 } 425 } 426 file_envoy_config_route_v4alpha_route_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 427 switch v := v.(*Vhds); i { 428 case 0: 429 return &v.state 430 case 1: 431 return &v.sizeCache 432 case 2: 433 return &v.unknownFields 434 default: 435 return nil 436 } 437 } 438 } 439 type x struct{} 440 out := protoimpl.TypeBuilder{ 441 File: protoimpl.DescBuilder{ 442 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 443 RawDescriptor: file_envoy_config_route_v4alpha_route_proto_rawDesc, 444 NumEnums: 0, 445 NumMessages: 2, 446 NumExtensions: 0, 447 NumServices: 0, 448 }, 449 GoTypes: file_envoy_config_route_v4alpha_route_proto_goTypes, 450 DependencyIndexes: file_envoy_config_route_v4alpha_route_proto_depIdxs, 451 MessageInfos: file_envoy_config_route_v4alpha_route_proto_msgTypes, 452 }.Build() 453 File_envoy_config_route_v4alpha_route_proto = out.File 454 file_envoy_config_route_v4alpha_route_proto_rawDesc = nil 455 file_envoy_config_route_v4alpha_route_proto_goTypes = nil 456 file_envoy_config_route_v4alpha_route_proto_depIdxs = nil 457} 458