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