// 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).
*
*
* .envoy.api.v2.core.RequestMethod request_method = 1 [(.validate.rules) = { ... }
* @return The enum numeric value on the wire for requestMethod.
*/
int getRequestMethodValue();
/**
*
* The request method (RFC 7231/2616).
*
*
* .envoy.api.v2.core.RequestMethod request_method = 1 [(.validate.rules) = { ... }
* @return The requestMethod.
*/
io.envoyproxy.envoy.api.v2.core.RequestMethod getRequestMethod();
/**
*
* The scheme portion of the incoming request URI.
*
*
* string scheme = 2;
* @return The scheme.
*/
java.lang.String getScheme();
/**
*
* The scheme portion of the incoming request URI.
*
*
* string scheme = 2;
* @return The bytes for scheme.
*/
com.google.protobuf.ByteString
getSchemeBytes();
/**
*
* HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
*
*
* string authority = 3;
* @return The authority.
*/
java.lang.String getAuthority();
/**
*
* HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
*
*
* string authority = 3;
* @return The bytes for authority.
*/
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;
* @return Whether the port field is set.
*/
boolean hasPort();
/**
*
* The port of the incoming request URI
* (unused currently, as port is composed onto authority).
*
*
* .google.protobuf.UInt32Value port = 4;
* @return The port.
*/
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;
* @return The path.
*/
java.lang.String getPath();
/**
*
* The path portion from the incoming request URI.
*
*
* string path = 5;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* Value of the ``User-Agent`` request header.
*
*
* string user_agent = 6;
* @return The userAgent.
*/
java.lang.String getUserAgent();
/**
*
* Value of the ``User-Agent`` request header.
*
*
* string user_agent = 6;
* @return The bytes for userAgent.
*/
com.google.protobuf.ByteString
getUserAgentBytes();
/**
*
* Value of the ``Referer`` request header.
*
*
* string referer = 7;
* @return The referer.
*/
java.lang.String getReferer();
/**
*
* Value of the ``Referer`` request header.
*
*
* string referer = 7;
* @return The bytes for referer.
*/
com.google.protobuf.ByteString
getRefererBytes();
/**
*
* Value of the ``X-Forwarded-For`` request header.
*
*
* string forwarded_for = 8;
* @return The forwardedFor.
*/
java.lang.String getForwardedFor();
/**
*
* Value of the ``X-Forwarded-For`` request header.
*
*
* string forwarded_for = 8;
* @return The bytes for forwardedFor.
*/
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;
* @return The requestId.
*/
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;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
*
* Value of the ``X-Envoy-Original-Path`` request header.
*
*
* string original_path = 10;
* @return The originalPath.
*/
java.lang.String getOriginalPath();
/**
*
* Value of the ``X-Envoy-Original-Path`` request header.
*
*
* string original_path = 10;
* @return The bytes for originalPath.
*/
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;
* @return The requestHeadersBytes.
*/
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;
* @return The requestBodyBytes.
*/
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;
*/
/* nullable */
java.lang.String getRequestHeadersOrDefault(
java.lang.String key,
/* nullable */
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);
}