google.golang.org/grpc@v1.62.1/internal/proto/grpc_lookup_v1/rls.pb.go (about) 1 // Copyright 2020 The gRPC Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.32.0 18 // protoc v4.25.2 19 // source: grpc/lookup/v1/rls.proto 20 21 package grpc_lookup_v1 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 anypb "google.golang.org/protobuf/types/known/anypb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // Possible reasons for making a request. 39 type RouteLookupRequest_Reason int32 40 41 const ( 42 RouteLookupRequest_REASON_UNKNOWN RouteLookupRequest_Reason = 0 // Unused 43 RouteLookupRequest_REASON_MISS RouteLookupRequest_Reason = 1 // No data available in local cache 44 RouteLookupRequest_REASON_STALE RouteLookupRequest_Reason = 2 // Data in local cache is stale 45 ) 46 47 // Enum value maps for RouteLookupRequest_Reason. 48 var ( 49 RouteLookupRequest_Reason_name = map[int32]string{ 50 0: "REASON_UNKNOWN", 51 1: "REASON_MISS", 52 2: "REASON_STALE", 53 } 54 RouteLookupRequest_Reason_value = map[string]int32{ 55 "REASON_UNKNOWN": 0, 56 "REASON_MISS": 1, 57 "REASON_STALE": 2, 58 } 59 ) 60 61 func (x RouteLookupRequest_Reason) Enum() *RouteLookupRequest_Reason { 62 p := new(RouteLookupRequest_Reason) 63 *p = x 64 return p 65 } 66 67 func (x RouteLookupRequest_Reason) String() string { 68 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 69 } 70 71 func (RouteLookupRequest_Reason) Descriptor() protoreflect.EnumDescriptor { 72 return file_grpc_lookup_v1_rls_proto_enumTypes[0].Descriptor() 73 } 74 75 func (RouteLookupRequest_Reason) Type() protoreflect.EnumType { 76 return &file_grpc_lookup_v1_rls_proto_enumTypes[0] 77 } 78 79 func (x RouteLookupRequest_Reason) Number() protoreflect.EnumNumber { 80 return protoreflect.EnumNumber(x) 81 } 82 83 // Deprecated: Use RouteLookupRequest_Reason.Descriptor instead. 84 func (RouteLookupRequest_Reason) EnumDescriptor() ([]byte, []int) { 85 return file_grpc_lookup_v1_rls_proto_rawDescGZIP(), []int{0, 0} 86 } 87 88 type RouteLookupRequest struct { 89 state protoimpl.MessageState 90 sizeCache protoimpl.SizeCache 91 unknownFields protoimpl.UnknownFields 92 93 // Target type allows the client to specify what kind of target format it 94 // would like from RLS to allow it to find the regional server, e.g. "grpc". 95 TargetType string `protobuf:"bytes,3,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"` 96 // Reason for making this request. 97 Reason RouteLookupRequest_Reason `protobuf:"varint,5,opt,name=reason,proto3,enum=grpc.lookup.v1.RouteLookupRequest_Reason" json:"reason,omitempty"` 98 // For REASON_STALE, the header_data from the stale response, if any. 99 StaleHeaderData string `protobuf:"bytes,6,opt,name=stale_header_data,json=staleHeaderData,proto3" json:"stale_header_data,omitempty"` 100 // Map of key values extracted via key builders for the gRPC or HTTP request. 101 KeyMap map[string]string `protobuf:"bytes,4,rep,name=key_map,json=keyMap,proto3" json:"key_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 102 // Application-specific optional extensions. 103 Extensions []*anypb.Any `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty"` 104 } 105 106 func (x *RouteLookupRequest) Reset() { 107 *x = RouteLookupRequest{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_grpc_lookup_v1_rls_proto_msgTypes[0] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (x *RouteLookupRequest) String() string { 116 return protoimpl.X.MessageStringOf(x) 117 } 118 119 func (*RouteLookupRequest) ProtoMessage() {} 120 121 func (x *RouteLookupRequest) ProtoReflect() protoreflect.Message { 122 mi := &file_grpc_lookup_v1_rls_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 RouteLookupRequest.ProtoReflect.Descriptor instead. 134 func (*RouteLookupRequest) Descriptor() ([]byte, []int) { 135 return file_grpc_lookup_v1_rls_proto_rawDescGZIP(), []int{0} 136 } 137 138 func (x *RouteLookupRequest) GetTargetType() string { 139 if x != nil { 140 return x.TargetType 141 } 142 return "" 143 } 144 145 func (x *RouteLookupRequest) GetReason() RouteLookupRequest_Reason { 146 if x != nil { 147 return x.Reason 148 } 149 return RouteLookupRequest_REASON_UNKNOWN 150 } 151 152 func (x *RouteLookupRequest) GetStaleHeaderData() string { 153 if x != nil { 154 return x.StaleHeaderData 155 } 156 return "" 157 } 158 159 func (x *RouteLookupRequest) GetKeyMap() map[string]string { 160 if x != nil { 161 return x.KeyMap 162 } 163 return nil 164 } 165 166 func (x *RouteLookupRequest) GetExtensions() []*anypb.Any { 167 if x != nil { 168 return x.Extensions 169 } 170 return nil 171 } 172 173 type RouteLookupResponse struct { 174 state protoimpl.MessageState 175 sizeCache protoimpl.SizeCache 176 unknownFields protoimpl.UnknownFields 177 178 // Prioritized list (best one first) of addressable entities to use 179 // for routing, using syntax requested by the request target_type. 180 // The targets will be tried in order until a healthy one is found. 181 Targets []string `protobuf:"bytes,3,rep,name=targets,proto3" json:"targets,omitempty"` 182 // Optional header value to pass along to AFE in the X-Google-RLS-Data header. 183 // Cached with "target" and sent with all requests that match the request key. 184 // Allows the RLS to pass its work product to the eventual target. 185 HeaderData string `protobuf:"bytes,2,opt,name=header_data,json=headerData,proto3" json:"header_data,omitempty"` 186 // Application-specific optional extensions. 187 Extensions []*anypb.Any `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty"` 188 } 189 190 func (x *RouteLookupResponse) Reset() { 191 *x = RouteLookupResponse{} 192 if protoimpl.UnsafeEnabled { 193 mi := &file_grpc_lookup_v1_rls_proto_msgTypes[1] 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 ms.StoreMessageInfo(mi) 196 } 197 } 198 199 func (x *RouteLookupResponse) String() string { 200 return protoimpl.X.MessageStringOf(x) 201 } 202 203 func (*RouteLookupResponse) ProtoMessage() {} 204 205 func (x *RouteLookupResponse) ProtoReflect() protoreflect.Message { 206 mi := &file_grpc_lookup_v1_rls_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 RouteLookupResponse.ProtoReflect.Descriptor instead. 218 func (*RouteLookupResponse) Descriptor() ([]byte, []int) { 219 return file_grpc_lookup_v1_rls_proto_rawDescGZIP(), []int{1} 220 } 221 222 func (x *RouteLookupResponse) GetTargets() []string { 223 if x != nil { 224 return x.Targets 225 } 226 return nil 227 } 228 229 func (x *RouteLookupResponse) GetHeaderData() string { 230 if x != nil { 231 return x.HeaderData 232 } 233 return "" 234 } 235 236 func (x *RouteLookupResponse) GetExtensions() []*anypb.Any { 237 if x != nil { 238 return x.Extensions 239 } 240 return nil 241 } 242 243 var File_grpc_lookup_v1_rls_proto protoreflect.FileDescriptor 244 245 var file_grpc_lookup_v1_rls_proto_rawDesc = []byte{ 246 0x0a, 0x18, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 247 0x2f, 0x72, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x67, 0x72, 0x70, 0x63, 248 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 249 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 250 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x03, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4c, 251 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 252 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 253 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 254 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 255 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 256 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 257 0x74, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 258 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 259 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 260 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x07, 261 0x6b, 0x65, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 262 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 263 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 264 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6b, 265 0x65, 0x79, 0x4d, 0x61, 0x70, 0x12, 0x34, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 266 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 267 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 268 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4b, 269 0x65, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 270 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 271 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 272 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3f, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 273 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 274 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d, 275 0x49, 0x53, 0x53, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 276 0x53, 0x54, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 277 0x02, 0x10, 0x03, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x04, 0x70, 0x61, 0x74, 278 0x68, 0x22, 0x94, 0x01, 0x0a, 0x13, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 279 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 280 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 281 0x65, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x61, 282 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 283 0x44, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 284 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 285 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0a, 286 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 287 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x32, 0x6e, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 288 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x58, 289 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x12, 0x22, 0x2e, 290 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 291 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 292 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 293 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 294 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4d, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x67, 295 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x52, 296 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 297 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 298 0x63, 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x6c, 0x6f, 299 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 300 } 301 302 var ( 303 file_grpc_lookup_v1_rls_proto_rawDescOnce sync.Once 304 file_grpc_lookup_v1_rls_proto_rawDescData = file_grpc_lookup_v1_rls_proto_rawDesc 305 ) 306 307 func file_grpc_lookup_v1_rls_proto_rawDescGZIP() []byte { 308 file_grpc_lookup_v1_rls_proto_rawDescOnce.Do(func() { 309 file_grpc_lookup_v1_rls_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_lookup_v1_rls_proto_rawDescData) 310 }) 311 return file_grpc_lookup_v1_rls_proto_rawDescData 312 } 313 314 var file_grpc_lookup_v1_rls_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 315 var file_grpc_lookup_v1_rls_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 316 var file_grpc_lookup_v1_rls_proto_goTypes = []interface{}{ 317 (RouteLookupRequest_Reason)(0), // 0: grpc.lookup.v1.RouteLookupRequest.Reason 318 (*RouteLookupRequest)(nil), // 1: grpc.lookup.v1.RouteLookupRequest 319 (*RouteLookupResponse)(nil), // 2: grpc.lookup.v1.RouteLookupResponse 320 nil, // 3: grpc.lookup.v1.RouteLookupRequest.KeyMapEntry 321 (*anypb.Any)(nil), // 4: google.protobuf.Any 322 } 323 var file_grpc_lookup_v1_rls_proto_depIdxs = []int32{ 324 0, // 0: grpc.lookup.v1.RouteLookupRequest.reason:type_name -> grpc.lookup.v1.RouteLookupRequest.Reason 325 3, // 1: grpc.lookup.v1.RouteLookupRequest.key_map:type_name -> grpc.lookup.v1.RouteLookupRequest.KeyMapEntry 326 4, // 2: grpc.lookup.v1.RouteLookupRequest.extensions:type_name -> google.protobuf.Any 327 4, // 3: grpc.lookup.v1.RouteLookupResponse.extensions:type_name -> google.protobuf.Any 328 1, // 4: grpc.lookup.v1.RouteLookupService.RouteLookup:input_type -> grpc.lookup.v1.RouteLookupRequest 329 2, // 5: grpc.lookup.v1.RouteLookupService.RouteLookup:output_type -> grpc.lookup.v1.RouteLookupResponse 330 5, // [5:6] is the sub-list for method output_type 331 4, // [4:5] is the sub-list for method input_type 332 4, // [4:4] is the sub-list for extension type_name 333 4, // [4:4] is the sub-list for extension extendee 334 0, // [0:4] is the sub-list for field type_name 335 } 336 337 func init() { file_grpc_lookup_v1_rls_proto_init() } 338 func file_grpc_lookup_v1_rls_proto_init() { 339 if File_grpc_lookup_v1_rls_proto != nil { 340 return 341 } 342 if !protoimpl.UnsafeEnabled { 343 file_grpc_lookup_v1_rls_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 344 switch v := v.(*RouteLookupRequest); i { 345 case 0: 346 return &v.state 347 case 1: 348 return &v.sizeCache 349 case 2: 350 return &v.unknownFields 351 default: 352 return nil 353 } 354 } 355 file_grpc_lookup_v1_rls_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 356 switch v := v.(*RouteLookupResponse); i { 357 case 0: 358 return &v.state 359 case 1: 360 return &v.sizeCache 361 case 2: 362 return &v.unknownFields 363 default: 364 return nil 365 } 366 } 367 } 368 type x struct{} 369 out := protoimpl.TypeBuilder{ 370 File: protoimpl.DescBuilder{ 371 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 372 RawDescriptor: file_grpc_lookup_v1_rls_proto_rawDesc, 373 NumEnums: 1, 374 NumMessages: 3, 375 NumExtensions: 0, 376 NumServices: 1, 377 }, 378 GoTypes: file_grpc_lookup_v1_rls_proto_goTypes, 379 DependencyIndexes: file_grpc_lookup_v1_rls_proto_depIdxs, 380 EnumInfos: file_grpc_lookup_v1_rls_proto_enumTypes, 381 MessageInfos: file_grpc_lookup_v1_rls_proto_msgTypes, 382 }.Build() 383 File_grpc_lookup_v1_rls_proto = out.File 384 file_grpc_lookup_v1_rls_proto_rawDesc = nil 385 file_grpc_lookup_v1_rls_proto_goTypes = nil 386 file_grpc_lookup_v1_rls_proto_depIdxs = nil 387 }