github.com/Axway/agent-sdk@v1.1.101/pkg/amplify/agent/correlation/correlation.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.18.1 5 // source: correlation/correlation.proto 6 7 package correlation 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 structpb "google.golang.org/protobuf/types/known/structpb" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 // Request - represents the API request properties 26 type Request struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // HTTP request method 32 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` 33 // The request protocol scheme 34 Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` 35 // The request protocol scheme version 36 ProtocolVersion string `protobuf:"bytes,3,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` 37 // The value of Authority/Host request header 38 Authority string `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"` 39 // The port of incoming request 40 Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` 41 // The request URI 42 Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` 43 // The request URI as received by dataplane gateway 44 OriginalPath string `protobuf:"bytes,7,opt,name=original_path,json=originalPath,proto3" json:"original_path,omitempty"` 45 // The value of User-Agent request header 46 UserAgent string `protobuf:"bytes,8,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` 47 // The value of Referer request header 48 Referer string `protobuf:"bytes,9,opt,name=referer,proto3" json:"referer,omitempty"` 49 // The value of X-Forwarded-For request header 50 ForwardedFor string `protobuf:"bytes,10,opt,name=forwarded_for,json=forwardedFor,proto3" json:"forwarded_for,omitempty"` 51 // The map of request headers 52 Headers map[string]string `protobuf:"bytes,11,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 53 } 54 55 func (x *Request) Reset() { 56 *x = Request{} 57 if protoimpl.UnsafeEnabled { 58 mi := &file_correlation_correlation_proto_msgTypes[0] 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 ms.StoreMessageInfo(mi) 61 } 62 } 63 64 func (x *Request) String() string { 65 return protoimpl.X.MessageStringOf(x) 66 } 67 68 func (*Request) ProtoMessage() {} 69 70 func (x *Request) ProtoReflect() protoreflect.Message { 71 mi := &file_correlation_correlation_proto_msgTypes[0] 72 if protoimpl.UnsafeEnabled && x != nil { 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 74 if ms.LoadMessageInfo() == nil { 75 ms.StoreMessageInfo(mi) 76 } 77 return ms 78 } 79 return mi.MessageOf(x) 80 } 81 82 // Deprecated: Use Request.ProtoReflect.Descriptor instead. 83 func (*Request) Descriptor() ([]byte, []int) { 84 return file_correlation_correlation_proto_rawDescGZIP(), []int{0} 85 } 86 87 func (x *Request) GetMethod() string { 88 if x != nil { 89 return x.Method 90 } 91 return "" 92 } 93 94 func (x *Request) GetProtocol() string { 95 if x != nil { 96 return x.Protocol 97 } 98 return "" 99 } 100 101 func (x *Request) GetProtocolVersion() string { 102 if x != nil { 103 return x.ProtocolVersion 104 } 105 return "" 106 } 107 108 func (x *Request) GetAuthority() string { 109 if x != nil { 110 return x.Authority 111 } 112 return "" 113 } 114 115 func (x *Request) GetPort() uint32 { 116 if x != nil { 117 return x.Port 118 } 119 return 0 120 } 121 122 func (x *Request) GetPath() string { 123 if x != nil { 124 return x.Path 125 } 126 return "" 127 } 128 129 func (x *Request) GetOriginalPath() string { 130 if x != nil { 131 return x.OriginalPath 132 } 133 return "" 134 } 135 136 func (x *Request) GetUserAgent() string { 137 if x != nil { 138 return x.UserAgent 139 } 140 return "" 141 } 142 143 func (x *Request) GetReferer() string { 144 if x != nil { 145 return x.Referer 146 } 147 return "" 148 } 149 150 func (x *Request) GetForwardedFor() string { 151 if x != nil { 152 return x.ForwardedFor 153 } 154 return "" 155 } 156 157 func (x *Request) GetHeaders() map[string]string { 158 if x != nil { 159 return x.Headers 160 } 161 return nil 162 } 163 164 // Response - represents the API response properties 165 type Response struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 // The HTTP response code 171 ResponseCode uint32 `protobuf:"varint,1,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"` 172 // The map of response headers 173 Headers map[string]string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 174 } 175 176 func (x *Response) Reset() { 177 *x = Response{} 178 if protoimpl.UnsafeEnabled { 179 mi := &file_correlation_correlation_proto_msgTypes[1] 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 ms.StoreMessageInfo(mi) 182 } 183 } 184 185 func (x *Response) String() string { 186 return protoimpl.X.MessageStringOf(x) 187 } 188 189 func (*Response) ProtoMessage() {} 190 191 func (x *Response) ProtoReflect() protoreflect.Message { 192 mi := &file_correlation_correlation_proto_msgTypes[1] 193 if protoimpl.UnsafeEnabled && x != nil { 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 if ms.LoadMessageInfo() == nil { 196 ms.StoreMessageInfo(mi) 197 } 198 return ms 199 } 200 return mi.MessageOf(x) 201 } 202 203 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 204 func (*Response) Descriptor() ([]byte, []int) { 205 return file_correlation_correlation_proto_rawDescGZIP(), []int{1} 206 } 207 208 func (x *Response) GetResponseCode() uint32 { 209 if x != nil { 210 return x.ResponseCode 211 } 212 return 0 213 } 214 215 func (x *Response) GetHeaders() map[string]string { 216 if x != nil { 217 return x.Headers 218 } 219 return nil 220 } 221 222 // TransactionContext - represents the API traffic transaction context 223 type TransactionContext struct { 224 state protoimpl.MessageState 225 sizeCache protoimpl.SizeCache 226 unknownFields protoimpl.UnknownFields 227 228 // The request/transaction identifier 229 TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` 230 // The source address on which the request from the user was received 231 OriginAddress string `protobuf:"bytes,2,opt,name=originAddress,proto3" json:"originAddress,omitempty"` 232 // The alias name for the source address 233 OriginAlias string `protobuf:"bytes,3,opt,name=originAlias,proto3" json:"originAlias,omitempty"` 234 // The destination address on which the request from the user was received 235 DestinationAddress string `protobuf:"bytes,4,opt,name=destinationAddress,proto3" json:"destinationAddress,omitempty"` 236 // The alias name for the destination address 237 DestinationAlias string `protobuf:"bytes,5,opt,name=destinationAlias,proto3" json:"destinationAlias,omitempty"` 238 // The name of the routing rule defined for dataplane gateway 239 RouteName string `protobuf:"bytes,6,opt,name=routeName,proto3" json:"routeName,omitempty"` 240 // The map of additional metadata associated to the traffic 241 // for specific dataplane gateway 242 Metadata map[string]*structpb.Value `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 243 // The response properties associated with the API transaction 244 Request *Request `protobuf:"bytes,8,opt,name=request,proto3" json:"request,omitempty"` 245 // The response properties associated with the API transaction 246 Response *Response `protobuf:"bytes,9,opt,name=response,proto3" json:"response,omitempty"` 247 // The time request was received by the dataplane gateway 248 StartTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 249 } 250 251 func (x *TransactionContext) Reset() { 252 *x = TransactionContext{} 253 if protoimpl.UnsafeEnabled { 254 mi := &file_correlation_correlation_proto_msgTypes[2] 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 ms.StoreMessageInfo(mi) 257 } 258 } 259 260 func (x *TransactionContext) String() string { 261 return protoimpl.X.MessageStringOf(x) 262 } 263 264 func (*TransactionContext) ProtoMessage() {} 265 266 func (x *TransactionContext) ProtoReflect() protoreflect.Message { 267 mi := &file_correlation_correlation_proto_msgTypes[2] 268 if protoimpl.UnsafeEnabled && x != nil { 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 if ms.LoadMessageInfo() == nil { 271 ms.StoreMessageInfo(mi) 272 } 273 return ms 274 } 275 return mi.MessageOf(x) 276 } 277 278 // Deprecated: Use TransactionContext.ProtoReflect.Descriptor instead. 279 func (*TransactionContext) Descriptor() ([]byte, []int) { 280 return file_correlation_correlation_proto_rawDescGZIP(), []int{2} 281 } 282 283 func (x *TransactionContext) GetTransactionId() string { 284 if x != nil { 285 return x.TransactionId 286 } 287 return "" 288 } 289 290 func (x *TransactionContext) GetOriginAddress() string { 291 if x != nil { 292 return x.OriginAddress 293 } 294 return "" 295 } 296 297 func (x *TransactionContext) GetOriginAlias() string { 298 if x != nil { 299 return x.OriginAlias 300 } 301 return "" 302 } 303 304 func (x *TransactionContext) GetDestinationAddress() string { 305 if x != nil { 306 return x.DestinationAddress 307 } 308 return "" 309 } 310 311 func (x *TransactionContext) GetDestinationAlias() string { 312 if x != nil { 313 return x.DestinationAlias 314 } 315 return "" 316 } 317 318 func (x *TransactionContext) GetRouteName() string { 319 if x != nil { 320 return x.RouteName 321 } 322 return "" 323 } 324 325 func (x *TransactionContext) GetMetadata() map[string]*structpb.Value { 326 if x != nil { 327 return x.Metadata 328 } 329 return nil 330 } 331 332 func (x *TransactionContext) GetRequest() *Request { 333 if x != nil { 334 return x.Request 335 } 336 return nil 337 } 338 339 func (x *TransactionContext) GetResponse() *Response { 340 if x != nil { 341 return x.Response 342 } 343 return nil 344 } 345 346 func (x *TransactionContext) GetStartTime() *timestamppb.Timestamp { 347 if x != nil { 348 return x.StartTime 349 } 350 return nil 351 } 352 353 // ResourceContext - holds the properties that correlates the transaction with 354 // Amplify API resources. 355 type ResourceContext struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 360 // The dataplane gateway specific identifier used for correlating 361 // the API service resource 362 ApiId string `protobuf:"bytes,1,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"` 363 // The dataplane gateway specific deployment stage name used for 364 // correlating the API service resource 365 Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"` 366 // The dataplane gateway specific version identifier used for 367 // correlating the API service resource 368 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 369 // The dataplane gateway specific identifier used for correlating 370 // the Amplify marketplace subscription/application 371 ConsumerId string `protobuf:"bytes,4,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` 372 } 373 374 func (x *ResourceContext) Reset() { 375 *x = ResourceContext{} 376 if protoimpl.UnsafeEnabled { 377 mi := &file_correlation_correlation_proto_msgTypes[3] 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 ms.StoreMessageInfo(mi) 380 } 381 } 382 383 func (x *ResourceContext) String() string { 384 return protoimpl.X.MessageStringOf(x) 385 } 386 387 func (*ResourceContext) ProtoMessage() {} 388 389 func (x *ResourceContext) ProtoReflect() protoreflect.Message { 390 mi := &file_correlation_correlation_proto_msgTypes[3] 391 if protoimpl.UnsafeEnabled && x != nil { 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 if ms.LoadMessageInfo() == nil { 394 ms.StoreMessageInfo(mi) 395 } 396 return ms 397 } 398 return mi.MessageOf(x) 399 } 400 401 // Deprecated: Use ResourceContext.ProtoReflect.Descriptor instead. 402 func (*ResourceContext) Descriptor() ([]byte, []int) { 403 return file_correlation_correlation_proto_rawDescGZIP(), []int{3} 404 } 405 406 func (x *ResourceContext) GetApiId() string { 407 if x != nil { 408 return x.ApiId 409 } 410 return "" 411 } 412 413 func (x *ResourceContext) GetStage() string { 414 if x != nil { 415 return x.Stage 416 } 417 return "" 418 } 419 420 func (x *ResourceContext) GetVersion() string { 421 if x != nil { 422 return x.Version 423 } 424 return "" 425 } 426 427 func (x *ResourceContext) GetConsumerId() string { 428 if x != nil { 429 return x.ConsumerId 430 } 431 return "" 432 } 433 434 var File_correlation_correlation_proto protoreflect.FileDescriptor 435 436 var file_correlation_correlation_proto_rawDesc = []byte{ 437 0x0a, 0x1d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 438 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 439 0x19, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 440 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 441 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 442 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 443 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 444 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x03, 0x0a, 0x07, 0x52, 0x65, 445 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 446 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 447 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 448 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 449 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 450 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 451 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 452 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 453 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 454 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 455 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x72, 456 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 457 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 458 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 459 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x18, 460 0x0a, 0x07, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 461 0x07, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x77, 462 0x61, 0x72, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 463 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x12, 0x49, 0x0a, 464 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 465 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 466 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 467 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 468 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 469 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 470 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 471 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 472 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb7, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 473 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 474 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 475 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 476 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 477 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 478 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 479 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 480 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 481 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 482 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 483 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe5, 484 0x04, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 485 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 486 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 487 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 488 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 489 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 490 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x69, 0x61, 491 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 492 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 493 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 494 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 495 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 496 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 497 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x69, 0x61, 0x73, 498 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 499 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x57, 500 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 501 0x32, 0x3b, 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 502 0x2e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 503 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 504 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 505 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 506 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 507 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 508 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 509 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 510 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 511 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 512 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 513 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 514 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 515 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 516 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 517 0x65, 0x1a, 0x53, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 518 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 519 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 520 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 521 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 522 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x79, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 523 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x69, 524 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x69, 0x49, 0x64, 525 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 526 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 527 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 528 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 529 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 530 0x64, 0x32, 0x87, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 531 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x71, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 532 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2d, 533 0x2e, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 534 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 535 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x2a, 0x2e, 536 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 537 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 538 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x42, 0x1f, 0x5a, 0x1d, 0x70, 539 0x6b, 0x67, 0x2f, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 540 0x2f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 541 0x6f, 0x74, 0x6f, 0x33, 542 } 543 544 var ( 545 file_correlation_correlation_proto_rawDescOnce sync.Once 546 file_correlation_correlation_proto_rawDescData = file_correlation_correlation_proto_rawDesc 547 ) 548 549 func file_correlation_correlation_proto_rawDescGZIP() []byte { 550 file_correlation_correlation_proto_rawDescOnce.Do(func() { 551 file_correlation_correlation_proto_rawDescData = protoimpl.X.CompressGZIP(file_correlation_correlation_proto_rawDescData) 552 }) 553 return file_correlation_correlation_proto_rawDescData 554 } 555 556 var file_correlation_correlation_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 557 var file_correlation_correlation_proto_goTypes = []interface{}{ 558 (*Request)(nil), // 0: amplify.agent.correlation.Request 559 (*Response)(nil), // 1: amplify.agent.correlation.Response 560 (*TransactionContext)(nil), // 2: amplify.agent.correlation.TransactionContext 561 (*ResourceContext)(nil), // 3: amplify.agent.correlation.ResourceContext 562 nil, // 4: amplify.agent.correlation.Request.HeadersEntry 563 nil, // 5: amplify.agent.correlation.Response.HeadersEntry 564 nil, // 6: amplify.agent.correlation.TransactionContext.MetadataEntry 565 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp 566 (*structpb.Value)(nil), // 8: google.protobuf.Value 567 } 568 var file_correlation_correlation_proto_depIdxs = []int32{ 569 4, // 0: amplify.agent.correlation.Request.headers:type_name -> amplify.agent.correlation.Request.HeadersEntry 570 5, // 1: amplify.agent.correlation.Response.headers:type_name -> amplify.agent.correlation.Response.HeadersEntry 571 6, // 2: amplify.agent.correlation.TransactionContext.metadata:type_name -> amplify.agent.correlation.TransactionContext.MetadataEntry 572 0, // 3: amplify.agent.correlation.TransactionContext.request:type_name -> amplify.agent.correlation.Request 573 1, // 4: amplify.agent.correlation.TransactionContext.response:type_name -> amplify.agent.correlation.Response 574 7, // 5: amplify.agent.correlation.TransactionContext.start_time:type_name -> google.protobuf.Timestamp 575 8, // 6: amplify.agent.correlation.TransactionContext.MetadataEntry.value:type_name -> google.protobuf.Value 576 2, // 7: amplify.agent.correlation.CorrelationService.GetResourceContext:input_type -> amplify.agent.correlation.TransactionContext 577 3, // 8: amplify.agent.correlation.CorrelationService.GetResourceContext:output_type -> amplify.agent.correlation.ResourceContext 578 8, // [8:9] is the sub-list for method output_type 579 7, // [7:8] is the sub-list for method input_type 580 7, // [7:7] is the sub-list for extension type_name 581 7, // [7:7] is the sub-list for extension extendee 582 0, // [0:7] is the sub-list for field type_name 583 } 584 585 func init() { file_correlation_correlation_proto_init() } 586 func file_correlation_correlation_proto_init() { 587 if File_correlation_correlation_proto != nil { 588 return 589 } 590 if !protoimpl.UnsafeEnabled { 591 file_correlation_correlation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 592 switch v := v.(*Request); i { 593 case 0: 594 return &v.state 595 case 1: 596 return &v.sizeCache 597 case 2: 598 return &v.unknownFields 599 default: 600 return nil 601 } 602 } 603 file_correlation_correlation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 604 switch v := v.(*Response); i { 605 case 0: 606 return &v.state 607 case 1: 608 return &v.sizeCache 609 case 2: 610 return &v.unknownFields 611 default: 612 return nil 613 } 614 } 615 file_correlation_correlation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 616 switch v := v.(*TransactionContext); i { 617 case 0: 618 return &v.state 619 case 1: 620 return &v.sizeCache 621 case 2: 622 return &v.unknownFields 623 default: 624 return nil 625 } 626 } 627 file_correlation_correlation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 628 switch v := v.(*ResourceContext); i { 629 case 0: 630 return &v.state 631 case 1: 632 return &v.sizeCache 633 case 2: 634 return &v.unknownFields 635 default: 636 return nil 637 } 638 } 639 } 640 type x struct{} 641 out := protoimpl.TypeBuilder{ 642 File: protoimpl.DescBuilder{ 643 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 644 RawDescriptor: file_correlation_correlation_proto_rawDesc, 645 NumEnums: 0, 646 NumMessages: 7, 647 NumExtensions: 0, 648 NumServices: 1, 649 }, 650 GoTypes: file_correlation_correlation_proto_goTypes, 651 DependencyIndexes: file_correlation_correlation_proto_depIdxs, 652 MessageInfos: file_correlation_correlation_proto_msgTypes, 653 }.Build() 654 File_correlation_correlation_proto = out.File 655 file_correlation_correlation_proto_rawDesc = nil 656 file_correlation_correlation_proto_goTypes = nil 657 file_correlation_correlation_proto_depIdxs = nil 658 }