// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/accesslog/v2/accesslog.proto
package io.envoyproxy.envoy.data.accesslog.v2;
public interface HTTPRequestPropertiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.accesslog.v2.HTTPRequestProperties)
com.google.protobuf.MessageOrBuilder {
/**
*
* The request method (RFC 7231/2616).
* [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
* https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
*
*
* .envoy.api.v2.core.RequestMethod request_method = 1;
*/
int getRequestMethodValue();
/**
*
* The request method (RFC 7231/2616).
* [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
* https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
*
*
* .envoy.api.v2.core.RequestMethod request_method = 1;
*/
io.envoyproxy.envoy.api.v2.core.RequestMethod getRequestMethod();
/**
*
* The scheme portion of the incoming request URI.
*
*
* string scheme = 2;
*/
java.lang.String getScheme();
/**
*
* The scheme portion of the incoming request URI.
*
*
* string scheme = 2;
*/
com.google.protobuf.ByteString
getSchemeBytes();
/**
*
* HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
*
*
* string authority = 3;
*/
java.lang.String getAuthority();
/**
*
* HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
*
*
* string authority = 3;
*/
com.google.protobuf.ByteString
getAuthorityBytes();
/**
*
* The port of the incoming request URI
* (unused currently, as port is composed onto authority).
*
*
* .google.protobuf.UInt32Value port = 4;
*/
boolean hasPort();
/**
*
* The port of the incoming request URI
* (unused currently, as port is composed onto authority).
*
*
* .google.protobuf.UInt32Value port = 4;
*/
com.google.protobuf.UInt32Value getPort();
/**
*
* The port of the incoming request URI
* (unused currently, as port is composed onto authority).
*
*
* .google.protobuf.UInt32Value port = 4;
*/
com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder();
/**
*
* The path portion from the incoming request URI.
*
*
* string path = 5;
*/
java.lang.String getPath();
/**
*
* The path portion from the incoming request URI.
*
*
* string path = 5;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* Value of the ``User-Agent`` request header.
*
*
* string user_agent = 6;
*/
java.lang.String getUserAgent();
/**
*
* Value of the ``User-Agent`` request header.
*
*
* string user_agent = 6;
*/
com.google.protobuf.ByteString
getUserAgentBytes();
/**
*
* Value of the ``Referer`` request header.
*
*
* string referer = 7;
*/
java.lang.String getReferer();
/**
*
* Value of the ``Referer`` request header.
*
*
* string referer = 7;
*/
com.google.protobuf.ByteString
getRefererBytes();
/**
*
* Value of the ``X-Forwarded-For`` request header.
*
*
* string forwarded_for = 8;
*/
java.lang.String getForwardedFor();
/**
*
* Value of the ``X-Forwarded-For`` request header.
*
*
* string forwarded_for = 8;
*/
com.google.protobuf.ByteString
getForwardedForBytes();
/**
*
* Value of the ``X-Request-Id`` request header
* This header is used by Envoy to uniquely identify a request.
* It will be generated for all external requests and internal requests that
* do not already have a request ID.
*
*
* string request_id = 9;
*/
java.lang.String getRequestId();
/**
*
* Value of the ``X-Request-Id`` request header
* This header is used by Envoy to uniquely identify a request.
* It will be generated for all external requests and internal requests that
* do not already have a request ID.
*
*
* string request_id = 9;
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
*
* Value of the ``X-Envoy-Original-Path`` request header.
*
*
* string original_path = 10;
*/
java.lang.String getOriginalPath();
/**
*
* Value of the ``X-Envoy-Original-Path`` request header.
*
*
* string original_path = 10;
*/
com.google.protobuf.ByteString
getOriginalPathBytes();
/**
*
* Size of the HTTP request headers in bytes.
* This value is captured from the OSI layer 7 perspective, i.e. it does not
* include overhead from framing or encoding at other networking layers.
*
*
* uint64 request_headers_bytes = 11;
*/
long getRequestHeadersBytes();
/**
*
* Size of the HTTP request body in bytes.
* This value is captured from the OSI layer 7 perspective, i.e. it does not
* include overhead from framing or encoding at other networking layers.
*
*
* uint64 request_body_bytes = 12;
*/
long getRequestBodyBytes();
/**
*
* Map of additional headers that have been configured to be logged.
*
*
* map<string, string> request_headers = 13;
*/
int getRequestHeadersCount();
/**
*
* Map of additional headers that have been configured to be logged.
*
*
* map<string, string> request_headers = 13;
*/
boolean containsRequestHeaders(
java.lang.String key);
/**
* Use {@link #getRequestHeadersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getRequestHeaders();
/**
*
* Map of additional headers that have been configured to be logged.
*
*
* map<string, string> request_headers = 13;
*/
java.util.Map
getRequestHeadersMap();
/**
*
* Map of additional headers that have been configured to be logged.
*
*
* map<string, string> request_headers = 13;
*/
java.lang.String getRequestHeadersOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* Map of additional headers that have been configured to be logged.
*
*
* map<string, string> request_headers = 13;
*/
java.lang.String getRequestHeadersOrThrow(
java.lang.String key);
}