gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/route/v3/scoped_route.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/config/route/v3/scoped_route.proto 6 7 package envoy_config_route_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // Specifies a routing scope, which associates a 31 // :ref:`Key<envoy_v3_api_msg_config.route.v3.ScopedRouteConfiguration.Key>` to a 32 // :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration` (identified by its resource name). 33 // 34 // The HTTP connection manager builds up a table consisting of these Key to 35 // RouteConfiguration mappings, and looks up the RouteConfiguration to use per 36 // request according to the algorithm specified in the 37 // :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>` 38 // assigned to the HttpConnectionManager. 39 // 40 // For example, with the following configurations (in YAML): 41 // 42 // HttpConnectionManager config: 43 // 44 // .. code:: 45 // 46 // ... 47 // scoped_routes: 48 // name: foo-scoped-routes 49 // scope_key_builder: 50 // fragments: 51 // - header_value_extractor: 52 // name: X-Route-Selector 53 // element_separator: , 54 // element: 55 // separator: = 56 // key: vip 57 // 58 // ScopedRouteConfiguration resources (specified statically via 59 // :ref:`scoped_route_configurations_list<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scoped_route_configurations_list>` 60 // or obtained dynamically via SRDS): 61 // 62 // .. code:: 63 // 64 // (1) 65 // name: route-scope1 66 // route_configuration_name: route-config1 67 // key: 68 // fragments: 69 // - string_key: 172.10.10.20 70 // 71 // (2) 72 // name: route-scope2 73 // route_configuration_name: route-config2 74 // key: 75 // fragments: 76 // - string_key: 172.20.20.30 77 // 78 // A request from a client such as: 79 // 80 // .. code:: 81 // 82 // GET / HTTP/1.1 83 // Host: foo.com 84 // X-Route-Selector: vip=172.10.10.20 85 // 86 // would result in the routing table defined by the `route-config1` 87 // RouteConfiguration being assigned to the HTTP request/stream. 88 // 89 type ScopedRouteConfiguration struct { 90 state protoimpl.MessageState 91 sizeCache protoimpl.SizeCache 92 unknownFields protoimpl.UnknownFields 93 94 // Whether the RouteConfiguration should be loaded on demand. 95 OnDemand bool `protobuf:"varint,4,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` 96 // The name assigned to the routing scope. 97 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 98 // The resource name to use for a :ref:`envoy_v3_api_msg_service.discovery.v3.DiscoveryRequest` to an 99 // RDS server to fetch the :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration` associated 100 // with this scope. 101 RouteConfigurationName string `protobuf:"bytes,2,opt,name=route_configuration_name,json=routeConfigurationName,proto3" json:"route_configuration_name,omitempty"` 102 // The key to match against. 103 Key *ScopedRouteConfiguration_Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` 104 } 105 106 func (x *ScopedRouteConfiguration) Reset() { 107 *x = ScopedRouteConfiguration{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[0] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (x *ScopedRouteConfiguration) String() string { 116 return protoimpl.X.MessageStringOf(x) 117 } 118 119 func (*ScopedRouteConfiguration) ProtoMessage() {} 120 121 func (x *ScopedRouteConfiguration) ProtoReflect() protoreflect.Message { 122 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[0] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131 } 132 133 // Deprecated: Use ScopedRouteConfiguration.ProtoReflect.Descriptor instead. 134 func (*ScopedRouteConfiguration) Descriptor() ([]byte, []int) { 135 return file_envoy_config_route_v3_scoped_route_proto_rawDescGZIP(), []int{0} 136 } 137 138 func (x *ScopedRouteConfiguration) GetOnDemand() bool { 139 if x != nil { 140 return x.OnDemand 141 } 142 return false 143 } 144 145 func (x *ScopedRouteConfiguration) GetName() string { 146 if x != nil { 147 return x.Name 148 } 149 return "" 150 } 151 152 func (x *ScopedRouteConfiguration) GetRouteConfigurationName() string { 153 if x != nil { 154 return x.RouteConfigurationName 155 } 156 return "" 157 } 158 159 func (x *ScopedRouteConfiguration) GetKey() *ScopedRouteConfiguration_Key { 160 if x != nil { 161 return x.Key 162 } 163 return nil 164 } 165 166 // Specifies a key which is matched against the output of the 167 // :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>` 168 // specified in the HttpConnectionManager. The matching is done per HTTP 169 // request and is dependent on the order of the fragments contained in the 170 // Key. 171 type ScopedRouteConfiguration_Key struct { 172 state protoimpl.MessageState 173 sizeCache protoimpl.SizeCache 174 unknownFields protoimpl.UnknownFields 175 176 // The ordered set of fragments to match against. The order must match the 177 // fragments in the corresponding 178 // :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`. 179 Fragments []*ScopedRouteConfiguration_Key_Fragment `protobuf:"bytes,1,rep,name=fragments,proto3" json:"fragments,omitempty"` 180 } 181 182 func (x *ScopedRouteConfiguration_Key) Reset() { 183 *x = ScopedRouteConfiguration_Key{} 184 if protoimpl.UnsafeEnabled { 185 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[1] 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 ms.StoreMessageInfo(mi) 188 } 189 } 190 191 func (x *ScopedRouteConfiguration_Key) String() string { 192 return protoimpl.X.MessageStringOf(x) 193 } 194 195 func (*ScopedRouteConfiguration_Key) ProtoMessage() {} 196 197 func (x *ScopedRouteConfiguration_Key) ProtoReflect() protoreflect.Message { 198 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[1] 199 if protoimpl.UnsafeEnabled && x != nil { 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 if ms.LoadMessageInfo() == nil { 202 ms.StoreMessageInfo(mi) 203 } 204 return ms 205 } 206 return mi.MessageOf(x) 207 } 208 209 // Deprecated: Use ScopedRouteConfiguration_Key.ProtoReflect.Descriptor instead. 210 func (*ScopedRouteConfiguration_Key) Descriptor() ([]byte, []int) { 211 return file_envoy_config_route_v3_scoped_route_proto_rawDescGZIP(), []int{0, 0} 212 } 213 214 func (x *ScopedRouteConfiguration_Key) GetFragments() []*ScopedRouteConfiguration_Key_Fragment { 215 if x != nil { 216 return x.Fragments 217 } 218 return nil 219 } 220 221 type ScopedRouteConfiguration_Key_Fragment struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 // Types that are assignable to Type: 227 // *ScopedRouteConfiguration_Key_Fragment_StringKey 228 Type isScopedRouteConfiguration_Key_Fragment_Type `protobuf_oneof:"type"` 229 } 230 231 func (x *ScopedRouteConfiguration_Key_Fragment) Reset() { 232 *x = ScopedRouteConfiguration_Key_Fragment{} 233 if protoimpl.UnsafeEnabled { 234 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[2] 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 ms.StoreMessageInfo(mi) 237 } 238 } 239 240 func (x *ScopedRouteConfiguration_Key_Fragment) String() string { 241 return protoimpl.X.MessageStringOf(x) 242 } 243 244 func (*ScopedRouteConfiguration_Key_Fragment) ProtoMessage() {} 245 246 func (x *ScopedRouteConfiguration_Key_Fragment) ProtoReflect() protoreflect.Message { 247 mi := &file_envoy_config_route_v3_scoped_route_proto_msgTypes[2] 248 if protoimpl.UnsafeEnabled && x != nil { 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 if ms.LoadMessageInfo() == nil { 251 ms.StoreMessageInfo(mi) 252 } 253 return ms 254 } 255 return mi.MessageOf(x) 256 } 257 258 // Deprecated: Use ScopedRouteConfiguration_Key_Fragment.ProtoReflect.Descriptor instead. 259 func (*ScopedRouteConfiguration_Key_Fragment) Descriptor() ([]byte, []int) { 260 return file_envoy_config_route_v3_scoped_route_proto_rawDescGZIP(), []int{0, 0, 0} 261 } 262 263 func (m *ScopedRouteConfiguration_Key_Fragment) GetType() isScopedRouteConfiguration_Key_Fragment_Type { 264 if m != nil { 265 return m.Type 266 } 267 return nil 268 } 269 270 func (x *ScopedRouteConfiguration_Key_Fragment) GetStringKey() string { 271 if x, ok := x.GetType().(*ScopedRouteConfiguration_Key_Fragment_StringKey); ok { 272 return x.StringKey 273 } 274 return "" 275 } 276 277 type isScopedRouteConfiguration_Key_Fragment_Type interface { 278 isScopedRouteConfiguration_Key_Fragment_Type() 279 } 280 281 type ScopedRouteConfiguration_Key_Fragment_StringKey struct { 282 // A string to match against. 283 StringKey string `protobuf:"bytes,1,opt,name=string_key,json=stringKey,proto3,oneof"` 284 } 285 286 func (*ScopedRouteConfiguration_Key_Fragment_StringKey) isScopedRouteConfiguration_Key_Fragment_Type() { 287 } 288 289 var File_envoy_config_route_v3_scoped_route_proto protoreflect.FileDescriptor 290 291 var file_envoy_config_route_v3_scoped_route_proto_rawDesc = []byte{ 292 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 293 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x72, 294 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 295 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 296 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 297 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 298 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 299 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 300 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 301 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x04, 0x0a, 302 0x18, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 303 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 304 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x6e, 305 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 306 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 307 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x18, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 308 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 309 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x16, 310 0x72, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 311 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 312 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 313 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 314 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 315 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 316 0x10, 0x01, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x1a, 0x92, 0x02, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 317 0x64, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 318 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 319 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 320 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 321 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 322 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 323 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x73, 0x0a, 0x08, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 324 0x74, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 325 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4b, 326 0x65, 0x79, 0x3a, 0x39, 0x9a, 0xc5, 0x88, 0x1e, 0x34, 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 327 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 328 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 329 0x2e, 0x4b, 0x65, 0x79, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x0b, 0x0a, 330 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 331 0x2b, 0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 332 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 333 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x3a, 0x2c, 0x9a, 0xc5, 334 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 335 0x32, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 336 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x41, 0x0a, 0x23, 0x69, 0x6f, 337 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 338 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 339 0x33, 0x42, 0x10, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 340 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 341 0x72, 0x6f, 0x74, 0x6f, 0x33, 342 } 343 344 var ( 345 file_envoy_config_route_v3_scoped_route_proto_rawDescOnce sync.Once 346 file_envoy_config_route_v3_scoped_route_proto_rawDescData = file_envoy_config_route_v3_scoped_route_proto_rawDesc 347 ) 348 349 func file_envoy_config_route_v3_scoped_route_proto_rawDescGZIP() []byte { 350 file_envoy_config_route_v3_scoped_route_proto_rawDescOnce.Do(func() { 351 file_envoy_config_route_v3_scoped_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_route_v3_scoped_route_proto_rawDescData) 352 }) 353 return file_envoy_config_route_v3_scoped_route_proto_rawDescData 354 } 355 356 var file_envoy_config_route_v3_scoped_route_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 357 var file_envoy_config_route_v3_scoped_route_proto_goTypes = []interface{}{ 358 (*ScopedRouteConfiguration)(nil), // 0: envoy.config.route.v3.ScopedRouteConfiguration 359 (*ScopedRouteConfiguration_Key)(nil), // 1: envoy.config.route.v3.ScopedRouteConfiguration.Key 360 (*ScopedRouteConfiguration_Key_Fragment)(nil), // 2: envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment 361 } 362 var file_envoy_config_route_v3_scoped_route_proto_depIdxs = []int32{ 363 1, // 0: envoy.config.route.v3.ScopedRouteConfiguration.key:type_name -> envoy.config.route.v3.ScopedRouteConfiguration.Key 364 2, // 1: envoy.config.route.v3.ScopedRouteConfiguration.Key.fragments:type_name -> envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment 365 2, // [2:2] is the sub-list for method output_type 366 2, // [2:2] is the sub-list for method input_type 367 2, // [2:2] is the sub-list for extension type_name 368 2, // [2:2] is the sub-list for extension extendee 369 0, // [0:2] is the sub-list for field type_name 370 } 371 372 func init() { file_envoy_config_route_v3_scoped_route_proto_init() } 373 func file_envoy_config_route_v3_scoped_route_proto_init() { 374 if File_envoy_config_route_v3_scoped_route_proto != nil { 375 return 376 } 377 if !protoimpl.UnsafeEnabled { 378 file_envoy_config_route_v3_scoped_route_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 379 switch v := v.(*ScopedRouteConfiguration); i { 380 case 0: 381 return &v.state 382 case 1: 383 return &v.sizeCache 384 case 2: 385 return &v.unknownFields 386 default: 387 return nil 388 } 389 } 390 file_envoy_config_route_v3_scoped_route_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 391 switch v := v.(*ScopedRouteConfiguration_Key); i { 392 case 0: 393 return &v.state 394 case 1: 395 return &v.sizeCache 396 case 2: 397 return &v.unknownFields 398 default: 399 return nil 400 } 401 } 402 file_envoy_config_route_v3_scoped_route_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 403 switch v := v.(*ScopedRouteConfiguration_Key_Fragment); i { 404 case 0: 405 return &v.state 406 case 1: 407 return &v.sizeCache 408 case 2: 409 return &v.unknownFields 410 default: 411 return nil 412 } 413 } 414 } 415 file_envoy_config_route_v3_scoped_route_proto_msgTypes[2].OneofWrappers = []interface{}{ 416 (*ScopedRouteConfiguration_Key_Fragment_StringKey)(nil), 417 } 418 type x struct{} 419 out := protoimpl.TypeBuilder{ 420 File: protoimpl.DescBuilder{ 421 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 422 RawDescriptor: file_envoy_config_route_v3_scoped_route_proto_rawDesc, 423 NumEnums: 0, 424 NumMessages: 3, 425 NumExtensions: 0, 426 NumServices: 0, 427 }, 428 GoTypes: file_envoy_config_route_v3_scoped_route_proto_goTypes, 429 DependencyIndexes: file_envoy_config_route_v3_scoped_route_proto_depIdxs, 430 MessageInfos: file_envoy_config_route_v3_scoped_route_proto_msgTypes, 431 }.Build() 432 File_envoy_config_route_v3_scoped_route_proto = out.File 433 file_envoy_config_route_v3_scoped_route_proto_rawDesc = nil 434 file_envoy_config_route_v3_scoped_route_proto_goTypes = nil 435 file_envoy_config_route_v3_scoped_route_proto_depIdxs = nil 436 }