github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/service/auth/v2/attribute_context.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/service/auth/v2/attribute_context.proto
     6  
     7  package envoy_service_auth_v2
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "github.com/hxx258456/ccgo/go-control-plane/envoy/api/v2/core"
    12  	proto "github.com/golang/protobuf/proto"
    13  	timestamp "github.com/golang/protobuf/ptypes/timestamp"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  // This is a compile-time assertion that a sufficiently up-to-date version
    28  // of the legacy proto package is being used.
    29  const _ = proto.ProtoPackageIsVersion4
    30  
    31  // An attribute is a piece of metadata that describes an activity on a network.
    32  // For example, the size of an HTTP request, or the status code of an HTTP response.
    33  //
    34  // Each attribute has a type and a name, which is logically defined as a proto message field
    35  // of the `AttributeContext`. The `AttributeContext` is a collection of individual attributes
    36  // supported by Envoy authorization system.
    37  // [#comment: The following items are left out of this proto
    38  // Request.Auth field for jwt tokens
    39  // Request.Api for api management
    40  // Origin peer that originated the request
    41  // Caching Protocol
    42  // request_context return values to inject back into the filter chain
    43  // peer.claims -- from X.509 extensions
    44  // Configuration
    45  // - field mask to send
    46  // - which return values from request_context are copied back
    47  // - which return values are copied into request_headers]
    48  // [#next-free-field: 12]
    49  type AttributeContext struct {
    50  	state         protoimpl.MessageState
    51  	sizeCache     protoimpl.SizeCache
    52  	unknownFields protoimpl.UnknownFields
    53  
    54  	// The source of a network activity, such as starting a TCP connection.
    55  	// In a multi hop network activity, the source represents the sender of the
    56  	// last hop.
    57  	Source *AttributeContext_Peer `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
    58  	// The destination of a network activity, such as accepting a TCP connection.
    59  	// In a multi hop network activity, the destination represents the receiver of
    60  	// the last hop.
    61  	Destination *AttributeContext_Peer `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
    62  	// Represents a network request, such as an HTTP request.
    63  	Request *AttributeContext_Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
    64  	// This is analogous to http_request.headers, however these contents will not be sent to the
    65  	// upstream server. Context_extensions provide an extension mechanism for sending additional
    66  	// information to the auth server without modifying the proto definition. It maps to the
    67  	// internal opaque context in the filter chain.
    68  	ContextExtensions map[string]string `protobuf:"bytes,10,rep,name=context_extensions,json=contextExtensions,proto3" json:"context_extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    69  	// Dynamic metadata associated with the request.
    70  	MetadataContext *core.Metadata `protobuf:"bytes,11,opt,name=metadata_context,json=metadataContext,proto3" json:"metadata_context,omitempty"`
    71  }
    72  
    73  func (x *AttributeContext) Reset() {
    74  	*x = AttributeContext{}
    75  	if protoimpl.UnsafeEnabled {
    76  		mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[0]
    77  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    78  		ms.StoreMessageInfo(mi)
    79  	}
    80  }
    81  
    82  func (x *AttributeContext) String() string {
    83  	return protoimpl.X.MessageStringOf(x)
    84  }
    85  
    86  func (*AttributeContext) ProtoMessage() {}
    87  
    88  func (x *AttributeContext) ProtoReflect() protoreflect.Message {
    89  	mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[0]
    90  	if protoimpl.UnsafeEnabled && x != nil {
    91  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    92  		if ms.LoadMessageInfo() == nil {
    93  			ms.StoreMessageInfo(mi)
    94  		}
    95  		return ms
    96  	}
    97  	return mi.MessageOf(x)
    98  }
    99  
   100  // Deprecated: Use AttributeContext.ProtoReflect.Descriptor instead.
   101  func (*AttributeContext) Descriptor() ([]byte, []int) {
   102  	return file_envoy_service_auth_v2_attribute_context_proto_rawDescGZIP(), []int{0}
   103  }
   104  
   105  func (x *AttributeContext) GetSource() *AttributeContext_Peer {
   106  	if x != nil {
   107  		return x.Source
   108  	}
   109  	return nil
   110  }
   111  
   112  func (x *AttributeContext) GetDestination() *AttributeContext_Peer {
   113  	if x != nil {
   114  		return x.Destination
   115  	}
   116  	return nil
   117  }
   118  
   119  func (x *AttributeContext) GetRequest() *AttributeContext_Request {
   120  	if x != nil {
   121  		return x.Request
   122  	}
   123  	return nil
   124  }
   125  
   126  func (x *AttributeContext) GetContextExtensions() map[string]string {
   127  	if x != nil {
   128  		return x.ContextExtensions
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *AttributeContext) GetMetadataContext() *core.Metadata {
   134  	if x != nil {
   135  		return x.MetadataContext
   136  	}
   137  	return nil
   138  }
   139  
   140  // This message defines attributes for a node that handles a network request.
   141  // The node can be either a service or an application that sends, forwards,
   142  // or receives the request. Service peers should fill in the `service`,
   143  // `principal`, and `labels` as appropriate.
   144  // [#next-free-field: 6]
   145  type AttributeContext_Peer struct {
   146  	state         protoimpl.MessageState
   147  	sizeCache     protoimpl.SizeCache
   148  	unknownFields protoimpl.UnknownFields
   149  
   150  	// The address of the peer, this is typically the IP address.
   151  	// It can also be UDS path, or others.
   152  	Address *core.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   153  	// The canonical service name of the peer.
   154  	// It should be set to :ref:`the HTTP x-envoy-downstream-service-cluster
   155  	// <config_http_conn_man_headers_downstream-service-cluster>`
   156  	// If a more trusted source of the service name is available through mTLS/secure naming, it
   157  	// should be used.
   158  	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
   159  	// The labels associated with the peer.
   160  	// These could be pod labels for Kubernetes or tags for VMs.
   161  	// The source of the labels could be an X.509 certificate or other configuration.
   162  	Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   163  	// The authenticated identity of this peer.
   164  	// For example, the identity associated with the workload such as a service account.
   165  	// If an X.509 certificate is used to assert the identity this field should be sourced from
   166  	// `URI Subject Alternative Names`, `DNS Subject Alternate Names` or `Subject` in that order.
   167  	// The primary identity should be the principal. The principal format is issuer specific.
   168  	//
   169  	// Example:
   170  	// *    SPIFFE format is `spiffe://trust-domain/path`
   171  	// *    Google account format is `https://accounts.google.com/{userid}`
   172  	Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"`
   173  	// The X.509 certificate used to authenticate the identify of this peer.
   174  	// When present, the certificate contents are encoded in URL and PEM format.
   175  	Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
   176  }
   177  
   178  func (x *AttributeContext_Peer) Reset() {
   179  	*x = AttributeContext_Peer{}
   180  	if protoimpl.UnsafeEnabled {
   181  		mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[1]
   182  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   183  		ms.StoreMessageInfo(mi)
   184  	}
   185  }
   186  
   187  func (x *AttributeContext_Peer) String() string {
   188  	return protoimpl.X.MessageStringOf(x)
   189  }
   190  
   191  func (*AttributeContext_Peer) ProtoMessage() {}
   192  
   193  func (x *AttributeContext_Peer) ProtoReflect() protoreflect.Message {
   194  	mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[1]
   195  	if protoimpl.UnsafeEnabled && x != nil {
   196  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   197  		if ms.LoadMessageInfo() == nil {
   198  			ms.StoreMessageInfo(mi)
   199  		}
   200  		return ms
   201  	}
   202  	return mi.MessageOf(x)
   203  }
   204  
   205  // Deprecated: Use AttributeContext_Peer.ProtoReflect.Descriptor instead.
   206  func (*AttributeContext_Peer) Descriptor() ([]byte, []int) {
   207  	return file_envoy_service_auth_v2_attribute_context_proto_rawDescGZIP(), []int{0, 0}
   208  }
   209  
   210  func (x *AttributeContext_Peer) GetAddress() *core.Address {
   211  	if x != nil {
   212  		return x.Address
   213  	}
   214  	return nil
   215  }
   216  
   217  func (x *AttributeContext_Peer) GetService() string {
   218  	if x != nil {
   219  		return x.Service
   220  	}
   221  	return ""
   222  }
   223  
   224  func (x *AttributeContext_Peer) GetLabels() map[string]string {
   225  	if x != nil {
   226  		return x.Labels
   227  	}
   228  	return nil
   229  }
   230  
   231  func (x *AttributeContext_Peer) GetPrincipal() string {
   232  	if x != nil {
   233  		return x.Principal
   234  	}
   235  	return ""
   236  }
   237  
   238  func (x *AttributeContext_Peer) GetCertificate() string {
   239  	if x != nil {
   240  		return x.Certificate
   241  	}
   242  	return ""
   243  }
   244  
   245  // Represents a network request, such as an HTTP request.
   246  type AttributeContext_Request struct {
   247  	state         protoimpl.MessageState
   248  	sizeCache     protoimpl.SizeCache
   249  	unknownFields protoimpl.UnknownFields
   250  
   251  	// The timestamp when the proxy receives the first byte of the request.
   252  	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
   253  	// Represents an HTTP request or an HTTP-like request.
   254  	Http *AttributeContext_HttpRequest `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"`
   255  }
   256  
   257  func (x *AttributeContext_Request) Reset() {
   258  	*x = AttributeContext_Request{}
   259  	if protoimpl.UnsafeEnabled {
   260  		mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[2]
   261  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   262  		ms.StoreMessageInfo(mi)
   263  	}
   264  }
   265  
   266  func (x *AttributeContext_Request) String() string {
   267  	return protoimpl.X.MessageStringOf(x)
   268  }
   269  
   270  func (*AttributeContext_Request) ProtoMessage() {}
   271  
   272  func (x *AttributeContext_Request) ProtoReflect() protoreflect.Message {
   273  	mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[2]
   274  	if protoimpl.UnsafeEnabled && x != nil {
   275  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   276  		if ms.LoadMessageInfo() == nil {
   277  			ms.StoreMessageInfo(mi)
   278  		}
   279  		return ms
   280  	}
   281  	return mi.MessageOf(x)
   282  }
   283  
   284  // Deprecated: Use AttributeContext_Request.ProtoReflect.Descriptor instead.
   285  func (*AttributeContext_Request) Descriptor() ([]byte, []int) {
   286  	return file_envoy_service_auth_v2_attribute_context_proto_rawDescGZIP(), []int{0, 1}
   287  }
   288  
   289  func (x *AttributeContext_Request) GetTime() *timestamp.Timestamp {
   290  	if x != nil {
   291  		return x.Time
   292  	}
   293  	return nil
   294  }
   295  
   296  func (x *AttributeContext_Request) GetHttp() *AttributeContext_HttpRequest {
   297  	if x != nil {
   298  		return x.Http
   299  	}
   300  	return nil
   301  }
   302  
   303  // This message defines attributes for an HTTP request.
   304  // HTTP/1.x, HTTP/2, gRPC are all considered as HTTP requests.
   305  // [#next-free-field: 12]
   306  type AttributeContext_HttpRequest struct {
   307  	state         protoimpl.MessageState
   308  	sizeCache     protoimpl.SizeCache
   309  	unknownFields protoimpl.UnknownFields
   310  
   311  	// The unique ID for a request, which can be propagated to downstream
   312  	// systems. The ID should have low probability of collision
   313  	// within a single day for a specific service.
   314  	// For HTTP requests, it should be X-Request-ID or equivalent.
   315  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   316  	// The HTTP request method, such as `GET`, `POST`.
   317  	Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
   318  	// The HTTP request headers. If multiple headers share the same key, they
   319  	// must be merged according to the HTTP spec. All header keys must be
   320  	// lower-cased, because HTTP header keys are case-insensitive.
   321  	Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   322  	// The request target, as it appears in the first line of the HTTP request. This includes
   323  	// the URL path and query-string. No decoding is performed.
   324  	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
   325  	// The HTTP request `Host` or 'Authority` header value.
   326  	Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
   327  	// The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2
   328  	// requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup
   329  	// the scheme of the request.
   330  	Scheme string `protobuf:"bytes,6,opt,name=scheme,proto3" json:"scheme,omitempty"`
   331  	// This field is always empty, and exists for compatibility reasons. The HTTP URL query is
   332  	// included in `path` field.
   333  	Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"`
   334  	// This field is always empty, and exists for compatibility reasons. The URL fragment is
   335  	// not submitted as part of HTTP requests; it is unknowable.
   336  	Fragment string `protobuf:"bytes,8,opt,name=fragment,proto3" json:"fragment,omitempty"`
   337  	// The HTTP request size in bytes. If unknown, it must be -1.
   338  	Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
   339  	// The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
   340  	//
   341  	// See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
   342  	// possible values.
   343  	Protocol string `protobuf:"bytes,10,opt,name=protocol,proto3" json:"protocol,omitempty"`
   344  	// The HTTP request body.
   345  	Body string `protobuf:"bytes,11,opt,name=body,proto3" json:"body,omitempty"`
   346  }
   347  
   348  func (x *AttributeContext_HttpRequest) Reset() {
   349  	*x = AttributeContext_HttpRequest{}
   350  	if protoimpl.UnsafeEnabled {
   351  		mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[3]
   352  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   353  		ms.StoreMessageInfo(mi)
   354  	}
   355  }
   356  
   357  func (x *AttributeContext_HttpRequest) String() string {
   358  	return protoimpl.X.MessageStringOf(x)
   359  }
   360  
   361  func (*AttributeContext_HttpRequest) ProtoMessage() {}
   362  
   363  func (x *AttributeContext_HttpRequest) ProtoReflect() protoreflect.Message {
   364  	mi := &file_envoy_service_auth_v2_attribute_context_proto_msgTypes[3]
   365  	if protoimpl.UnsafeEnabled && x != nil {
   366  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   367  		if ms.LoadMessageInfo() == nil {
   368  			ms.StoreMessageInfo(mi)
   369  		}
   370  		return ms
   371  	}
   372  	return mi.MessageOf(x)
   373  }
   374  
   375  // Deprecated: Use AttributeContext_HttpRequest.ProtoReflect.Descriptor instead.
   376  func (*AttributeContext_HttpRequest) Descriptor() ([]byte, []int) {
   377  	return file_envoy_service_auth_v2_attribute_context_proto_rawDescGZIP(), []int{0, 2}
   378  }
   379  
   380  func (x *AttributeContext_HttpRequest) GetId() string {
   381  	if x != nil {
   382  		return x.Id
   383  	}
   384  	return ""
   385  }
   386  
   387  func (x *AttributeContext_HttpRequest) GetMethod() string {
   388  	if x != nil {
   389  		return x.Method
   390  	}
   391  	return ""
   392  }
   393  
   394  func (x *AttributeContext_HttpRequest) GetHeaders() map[string]string {
   395  	if x != nil {
   396  		return x.Headers
   397  	}
   398  	return nil
   399  }
   400  
   401  func (x *AttributeContext_HttpRequest) GetPath() string {
   402  	if x != nil {
   403  		return x.Path
   404  	}
   405  	return ""
   406  }
   407  
   408  func (x *AttributeContext_HttpRequest) GetHost() string {
   409  	if x != nil {
   410  		return x.Host
   411  	}
   412  	return ""
   413  }
   414  
   415  func (x *AttributeContext_HttpRequest) GetScheme() string {
   416  	if x != nil {
   417  		return x.Scheme
   418  	}
   419  	return ""
   420  }
   421  
   422  func (x *AttributeContext_HttpRequest) GetQuery() string {
   423  	if x != nil {
   424  		return x.Query
   425  	}
   426  	return ""
   427  }
   428  
   429  func (x *AttributeContext_HttpRequest) GetFragment() string {
   430  	if x != nil {
   431  		return x.Fragment
   432  	}
   433  	return ""
   434  }
   435  
   436  func (x *AttributeContext_HttpRequest) GetSize() int64 {
   437  	if x != nil {
   438  		return x.Size
   439  	}
   440  	return 0
   441  }
   442  
   443  func (x *AttributeContext_HttpRequest) GetProtocol() string {
   444  	if x != nil {
   445  		return x.Protocol
   446  	}
   447  	return ""
   448  }
   449  
   450  func (x *AttributeContext_HttpRequest) GetBody() string {
   451  	if x != nil {
   452  		return x.Body
   453  	}
   454  	return ""
   455  }
   456  
   457  var File_envoy_service_auth_v2_attribute_context_proto protoreflect.FileDescriptor
   458  
   459  var file_envoy_service_auth_v2_attribute_context_proto_rawDesc = []byte{
   460  	0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
   461  	0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
   462  	0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   463  	0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61,
   464  	0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70,
   465  	0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
   466  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61,
   467  	0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e,
   468  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
   469  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
   470  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
   471  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
   472  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x0a, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
   473  	0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x6f,
   474  	0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76,
   475  	0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
   476  	0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
   477  	0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   478  	0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
   479  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
   480  	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74,
   481  	0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50,
   482  	0x65, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   483  	0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
   484  	0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   485  	0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
   486  	0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
   487  	0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, 0x12, 0x63,
   488  	0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
   489  	0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   490  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e,
   491  	0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
   492  	0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   493  	0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
   494  	0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x10, 0x6d, 0x65,
   495  	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b,
   496  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
   497  	0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
   498  	0x61, 0x52, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65,
   499  	0x78, 0x74, 0x1a, 0xa3, 0x02, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x61,
   500  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65,
   501  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   502  	0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
   503  	0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
   504  	0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x06, 0x6c,
   505  	0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e,
   506  	0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68,
   507  	0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e,
   508  	0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   509  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a,
   510  	0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   511  	0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x63,
   512  	0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
   513  	0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a,
   514  	0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
   515  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
   516  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
   517  	0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x82, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71,
   518  	0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   519  	0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   520  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04,
   521  	0x74, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x02, 0x20, 0x01,
   522  	0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
   523  	0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69,
   524  	0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70,
   525  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0x83, 0x03,
   526  	0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
   527  	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a,
   528  	0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d,
   529  	0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x5a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
   530  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
   531  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41,
   532  	0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e,
   533  	0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64,
   534  	0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
   535  	0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
   536  	0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20,
   537  	0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68,
   538  	0x65, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
   539  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
   540  	0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d,
   541  	0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d,
   542  	0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
   543  	0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   544  	0x63, 0x6f, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   545  	0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28,
   546  	0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65,
   547  	0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   548  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   549  	0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
   550  	0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78,
   551  	0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
   552  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
   553  	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
   554  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x46, 0x0a, 0x23, 0x69, 0x6f, 0x2e,
   555  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   556  	0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32,
   557  	0x42, 0x15, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
   558  	0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10,
   559  	0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   560  }
   561  
   562  var (
   563  	file_envoy_service_auth_v2_attribute_context_proto_rawDescOnce sync.Once
   564  	file_envoy_service_auth_v2_attribute_context_proto_rawDescData = file_envoy_service_auth_v2_attribute_context_proto_rawDesc
   565  )
   566  
   567  func file_envoy_service_auth_v2_attribute_context_proto_rawDescGZIP() []byte {
   568  	file_envoy_service_auth_v2_attribute_context_proto_rawDescOnce.Do(func() {
   569  		file_envoy_service_auth_v2_attribute_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_auth_v2_attribute_context_proto_rawDescData)
   570  	})
   571  	return file_envoy_service_auth_v2_attribute_context_proto_rawDescData
   572  }
   573  
   574  var file_envoy_service_auth_v2_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   575  var file_envoy_service_auth_v2_attribute_context_proto_goTypes = []interface{}{
   576  	(*AttributeContext)(nil),             // 0: envoy.service.auth.v2.AttributeContext
   577  	(*AttributeContext_Peer)(nil),        // 1: envoy.service.auth.v2.AttributeContext.Peer
   578  	(*AttributeContext_Request)(nil),     // 2: envoy.service.auth.v2.AttributeContext.Request
   579  	(*AttributeContext_HttpRequest)(nil), // 3: envoy.service.auth.v2.AttributeContext.HttpRequest
   580  	nil,                                  // 4: envoy.service.auth.v2.AttributeContext.ContextExtensionsEntry
   581  	nil,                                  // 5: envoy.service.auth.v2.AttributeContext.Peer.LabelsEntry
   582  	nil,                                  // 6: envoy.service.auth.v2.AttributeContext.HttpRequest.HeadersEntry
   583  	(*core.Metadata)(nil),                // 7: envoy.api.v2.core.Metadata
   584  	(*core.Address)(nil),                 // 8: envoy.api.v2.core.Address
   585  	(*timestamp.Timestamp)(nil),          // 9: google.protobuf.Timestamp
   586  }
   587  var file_envoy_service_auth_v2_attribute_context_proto_depIdxs = []int32{
   588  	1,  // 0: envoy.service.auth.v2.AttributeContext.source:type_name -> envoy.service.auth.v2.AttributeContext.Peer
   589  	1,  // 1: envoy.service.auth.v2.AttributeContext.destination:type_name -> envoy.service.auth.v2.AttributeContext.Peer
   590  	2,  // 2: envoy.service.auth.v2.AttributeContext.request:type_name -> envoy.service.auth.v2.AttributeContext.Request
   591  	4,  // 3: envoy.service.auth.v2.AttributeContext.context_extensions:type_name -> envoy.service.auth.v2.AttributeContext.ContextExtensionsEntry
   592  	7,  // 4: envoy.service.auth.v2.AttributeContext.metadata_context:type_name -> envoy.api.v2.core.Metadata
   593  	8,  // 5: envoy.service.auth.v2.AttributeContext.Peer.address:type_name -> envoy.api.v2.core.Address
   594  	5,  // 6: envoy.service.auth.v2.AttributeContext.Peer.labels:type_name -> envoy.service.auth.v2.AttributeContext.Peer.LabelsEntry
   595  	9,  // 7: envoy.service.auth.v2.AttributeContext.Request.time:type_name -> google.protobuf.Timestamp
   596  	3,  // 8: envoy.service.auth.v2.AttributeContext.Request.http:type_name -> envoy.service.auth.v2.AttributeContext.HttpRequest
   597  	6,  // 9: envoy.service.auth.v2.AttributeContext.HttpRequest.headers:type_name -> envoy.service.auth.v2.AttributeContext.HttpRequest.HeadersEntry
   598  	10, // [10:10] is the sub-list for method output_type
   599  	10, // [10:10] is the sub-list for method input_type
   600  	10, // [10:10] is the sub-list for extension type_name
   601  	10, // [10:10] is the sub-list for extension extendee
   602  	0,  // [0:10] is the sub-list for field type_name
   603  }
   604  
   605  func init() { file_envoy_service_auth_v2_attribute_context_proto_init() }
   606  func file_envoy_service_auth_v2_attribute_context_proto_init() {
   607  	if File_envoy_service_auth_v2_attribute_context_proto != nil {
   608  		return
   609  	}
   610  	if !protoimpl.UnsafeEnabled {
   611  		file_envoy_service_auth_v2_attribute_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   612  			switch v := v.(*AttributeContext); i {
   613  			case 0:
   614  				return &v.state
   615  			case 1:
   616  				return &v.sizeCache
   617  			case 2:
   618  				return &v.unknownFields
   619  			default:
   620  				return nil
   621  			}
   622  		}
   623  		file_envoy_service_auth_v2_attribute_context_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   624  			switch v := v.(*AttributeContext_Peer); i {
   625  			case 0:
   626  				return &v.state
   627  			case 1:
   628  				return &v.sizeCache
   629  			case 2:
   630  				return &v.unknownFields
   631  			default:
   632  				return nil
   633  			}
   634  		}
   635  		file_envoy_service_auth_v2_attribute_context_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   636  			switch v := v.(*AttributeContext_Request); i {
   637  			case 0:
   638  				return &v.state
   639  			case 1:
   640  				return &v.sizeCache
   641  			case 2:
   642  				return &v.unknownFields
   643  			default:
   644  				return nil
   645  			}
   646  		}
   647  		file_envoy_service_auth_v2_attribute_context_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   648  			switch v := v.(*AttributeContext_HttpRequest); i {
   649  			case 0:
   650  				return &v.state
   651  			case 1:
   652  				return &v.sizeCache
   653  			case 2:
   654  				return &v.unknownFields
   655  			default:
   656  				return nil
   657  			}
   658  		}
   659  	}
   660  	type x struct{}
   661  	out := protoimpl.TypeBuilder{
   662  		File: protoimpl.DescBuilder{
   663  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   664  			RawDescriptor: file_envoy_service_auth_v2_attribute_context_proto_rawDesc,
   665  			NumEnums:      0,
   666  			NumMessages:   7,
   667  			NumExtensions: 0,
   668  			NumServices:   0,
   669  		},
   670  		GoTypes:           file_envoy_service_auth_v2_attribute_context_proto_goTypes,
   671  		DependencyIndexes: file_envoy_service_auth_v2_attribute_context_proto_depIdxs,
   672  		MessageInfos:      file_envoy_service_auth_v2_attribute_context_proto_msgTypes,
   673  	}.Build()
   674  	File_envoy_service_auth_v2_attribute_context_proto = out.File
   675  	file_envoy_service_auth_v2_attribute_context_proto_rawDesc = nil
   676  	file_envoy_service_auth_v2_attribute_context_proto_goTypes = nil
   677  	file_envoy_service_auth_v2_attribute_context_proto_depIdxs = nil
   678  }