Class HTTPRequestProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HTTPRequestProperties.Builder>
com.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
io.envoyproxy.envoy.data.accesslog.v3.HTTPRequestProperties.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPRequestPropertiesOrBuilder, Cloneable
- Enclosing class:
HTTPRequestProperties
public static final class HTTPRequestProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
implements HTTPRequestPropertiesOrBuilder
[#next-free-field: 16]Protobuf type
envoy.data.accesslog.v3.HTTPRequestProperties-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Objectprivate intprivate longprivate Objectprivate Objectprivate Objectprivate com.google.protobuf.UInt32Valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Objectprivate longprivate longprivate Objectprivate intprivate Objectprivate longprivate Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(HTTPRequestProperties result) clear()HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.Number of header bytes received from the downstream by the http stream, including protocol overhead.Value of the ``X-Forwarded-For`` request header.Value of the ``X-Envoy-Original-Path`` request header.The path portion from the incoming request URI.The port of the incoming request URI (unused currently, as port is composed onto authority).Value of the ``Referer`` request header.Size of the HTTP request body in bytes.Size of the HTTP request headers in bytes.Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.The request method (RFC 7231/2616).The scheme portion of the incoming request URI.Number of header bytes sent to the upstream by the http stream, including protocol overhead.Value of the ``User-Agent`` request header.booleanMap of additional headers that have been configured to be logged.HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.com.google.protobuf.ByteStringHTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongNumber of header bytes received from the downstream by the http stream, including protocol overhead.Value of the ``X-Forwarded-For`` request header.com.google.protobuf.ByteStringValue of the ``X-Forwarded-For`` request header.Deprecated.Value of the ``X-Envoy-Original-Path`` request header.com.google.protobuf.ByteStringValue of the ``X-Envoy-Original-Path`` request header.getPath()The path portion from the incoming request URI.com.google.protobuf.ByteStringThe path portion from the incoming request URI.com.google.protobuf.UInt32ValuegetPort()The port of the incoming request URI (unused currently, as port is composed onto authority).com.google.protobuf.UInt32Value.BuilderThe port of the incoming request URI (unused currently, as port is composed onto authority).com.google.protobuf.UInt32ValueOrBuilderThe port of the incoming request URI (unused currently, as port is composed onto authority).Value of the ``Referer`` request header.com.google.protobuf.ByteStringValue of the ``Referer`` request header.longSize of the HTTP request body in bytes.Deprecated.longSize of the HTTP request headers in bytes.intMap of additional headers that have been configured to be logged.Map of additional headers that have been configured to be logged.getRequestHeadersOrDefault(String key, String defaultValue) Map of additional headers that have been configured to be logged.Map of additional headers that have been configured to be logged.Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.com.google.protobuf.ByteStringValue of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.The request method (RFC 7231/2616).intThe request method (RFC 7231/2616).The scheme portion of the incoming request URI.com.google.protobuf.ByteStringThe scheme portion of the incoming request URI.longNumber of header bytes sent to the upstream by the http stream, including protocol overhead.Value of the ``User-Agent`` request header.com.google.protobuf.ByteStringValue of the ``User-Agent`` request header.booleanhasPort()The port of the incoming request URI (unused currently, as port is composed onto authority).protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The port of the incoming request URI (unused currently, as port is composed onto authority).final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HTTPRequestProperties other) mergePort(com.google.protobuf.UInt32Value value) The port of the incoming request URI (unused currently, as port is composed onto authority).putAllRequestHeaders(Map<String, String> values) Map of additional headers that have been configured to be logged.putRequestHeaders(String key, String value) Map of additional headers that have been configured to be logged.Map of additional headers that have been configured to be logged.setAuthority(String value) HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.setAuthorityBytes(com.google.protobuf.ByteString value) HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.setDownstreamHeaderBytesReceived(long value) Number of header bytes received from the downstream by the http stream, including protocol overhead.setForwardedFor(String value) Value of the ``X-Forwarded-For`` request header.setForwardedForBytes(com.google.protobuf.ByteString value) Value of the ``X-Forwarded-For`` request header.setOriginalPath(String value) Value of the ``X-Envoy-Original-Path`` request header.setOriginalPathBytes(com.google.protobuf.ByteString value) Value of the ``X-Envoy-Original-Path`` request header.The path portion from the incoming request URI.setPathBytes(com.google.protobuf.ByteString value) The path portion from the incoming request URI.setPort(com.google.protobuf.UInt32Value value) The port of the incoming request URI (unused currently, as port is composed onto authority).setPort(com.google.protobuf.UInt32Value.Builder builderForValue) The port of the incoming request URI (unused currently, as port is composed onto authority).setReferer(String value) Value of the ``Referer`` request header.setRefererBytes(com.google.protobuf.ByteString value) Value of the ``Referer`` request header.setRequestBodyBytes(long value) Size of the HTTP request body in bytes.setRequestHeadersBytes(long value) Size of the HTTP request headers in bytes.setRequestId(String value) Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.setRequestIdBytes(com.google.protobuf.ByteString value) Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.setRequestMethod(RequestMethod value) The request method (RFC 7231/2616).setRequestMethodValue(int value) The request method (RFC 7231/2616).The scheme portion of the incoming request URI.setSchemeBytes(com.google.protobuf.ByteString value) The scheme portion of the incoming request URI.setUpstreamHeaderBytesSent(long value) Number of header bytes sent to the upstream by the http stream, including protocol overhead.setUserAgent(String value) Value of the ``User-Agent`` request header.setUserAgentBytes(com.google.protobuf.ByteString value) Value of the ``User-Agent`` request header.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
requestMethod_
private int requestMethod_ -
scheme_
-
authority_
-
port_
private com.google.protobuf.UInt32Value port_ -
portBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> portBuilder_ -
path_
-
userAgent_
-
referer_
-
forwardedFor_
-
requestId_
-
originalPath_
-
requestHeadersBytes_
private long requestHeadersBytes_ -
requestBodyBytes_
private long requestBodyBytes_ -
requestHeaders_
-
upstreamHeaderBytesSent_
private long upstreamHeaderBytesSent_ -
downstreamHeaderBytesReceived_
private long downstreamHeaderBytesReceived_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPRequestProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
mergeFrom
public HTTPRequestProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPRequestProperties.Builder>- Throws:
IOException
-
getRequestMethodValue
public int getRequestMethodValue()The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Specified by:
getRequestMethodValuein interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The enum numeric value on the wire for requestMethod.
-
setRequestMethodValue
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for requestMethod to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getRequestMethod
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Specified by:
getRequestMethodin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The requestMethod.
-
setRequestMethod
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Parameters:
value- The requestMethod to set.- Returns:
- This builder for chaining.
-
clearRequestMethod
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getScheme
The scheme portion of the incoming request URI.
string scheme = 2;- Specified by:
getSchemein interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The scheme.
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()The scheme portion of the incoming request URI.
string scheme = 2;- Specified by:
getSchemeBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for scheme.
-
setScheme
The scheme portion of the incoming request URI.
string scheme = 2;- Parameters:
value- The scheme to set.- Returns:
- This builder for chaining.
-
clearScheme
The scheme portion of the incoming request URI.
string scheme = 2;- Returns:
- This builder for chaining.
-
setSchemeBytes
The scheme portion of the incoming request URI.
string scheme = 2;- Parameters:
value- The bytes for scheme to set.- Returns:
- This builder for chaining.
-
getAuthority
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Specified by:
getAuthorityin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The authority.
-
getAuthorityBytes
public com.google.protobuf.ByteString getAuthorityBytes()HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Specified by:
getAuthorityBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for authority.
-
setAuthority
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Parameters:
value- The authority to set.- Returns:
- This builder for chaining.
-
clearAuthority
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Returns:
- This builder for chaining.
-
setAuthorityBytes
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Parameters:
value- The bytes for authority to set.- Returns:
- This builder for chaining.
-
hasPort
public boolean hasPort()The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;- Specified by:
hasPortin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public 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;- Specified by:
getPortin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The port.
-
setPort
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
setPort
public HTTPRequestProperties.Builder setPort(com.google.protobuf.UInt32Value.Builder builderForValue) The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
mergePort
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
clearPort
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
getPortBuilder
public com.google.protobuf.UInt32Value.Builder getPortBuilder()The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
getPortOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder()The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;- Specified by:
getPortOrBuilderin interfaceHTTPRequestPropertiesOrBuilder
-
internalGetPortFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> internalGetPortFieldBuilder()The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4; -
getPath
The path portion from the incoming request URI.
string path = 5;- Specified by:
getPathin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()The path portion from the incoming request URI.
string path = 5;- Specified by:
getPathBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for path.
-
setPath
The path portion from the incoming request URI.
string path = 5;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
The path portion from the incoming request URI.
string path = 5;- Returns:
- This builder for chaining.
-
setPathBytes
The path portion from the incoming request URI.
string path = 5;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getUserAgent
Value of the ``User-Agent`` request header.
string user_agent = 6;- Specified by:
getUserAgentin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The userAgent.
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()Value of the ``User-Agent`` request header.
string user_agent = 6;- Specified by:
getUserAgentBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for userAgent.
-
setUserAgent
Value of the ``User-Agent`` request header.
string user_agent = 6;- Parameters:
value- The userAgent to set.- Returns:
- This builder for chaining.
-
clearUserAgent
Value of the ``User-Agent`` request header.
string user_agent = 6;- Returns:
- This builder for chaining.
-
setUserAgentBytes
Value of the ``User-Agent`` request header.
string user_agent = 6;- Parameters:
value- The bytes for userAgent to set.- Returns:
- This builder for chaining.
-
getReferer
Value of the ``Referer`` request header.
string referer = 7;- Specified by:
getRefererin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The referer.
-
getRefererBytes
public com.google.protobuf.ByteString getRefererBytes()Value of the ``Referer`` request header.
string referer = 7;- Specified by:
getRefererBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for referer.
-
setReferer
Value of the ``Referer`` request header.
string referer = 7;- Parameters:
value- The referer to set.- Returns:
- This builder for chaining.
-
clearReferer
Value of the ``Referer`` request header.
string referer = 7;- Returns:
- This builder for chaining.
-
setRefererBytes
Value of the ``Referer`` request header.
string referer = 7;- Parameters:
value- The bytes for referer to set.- Returns:
- This builder for chaining.
-
getForwardedFor
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Specified by:
getForwardedForin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The forwardedFor.
-
getForwardedForBytes
public com.google.protobuf.ByteString getForwardedForBytes()Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Specified by:
getForwardedForBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for forwardedFor.
-
setForwardedFor
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Parameters:
value- The forwardedFor to set.- Returns:
- This builder for chaining.
-
clearForwardedFor
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Returns:
- This builder for chaining.
-
setForwardedForBytes
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Parameters:
value- The bytes for forwardedFor to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRequestIdin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()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;- Specified by:
getRequestIdBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
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;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
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;- Returns:
- This builder for chaining.
-
setRequestIdBytes
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;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getOriginalPath
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Specified by:
getOriginalPathin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The originalPath.
-
getOriginalPathBytes
public com.google.protobuf.ByteString getOriginalPathBytes()Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Specified by:
getOriginalPathBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The bytes for originalPath.
-
setOriginalPath
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Parameters:
value- The originalPath to set.- Returns:
- This builder for chaining.
-
clearOriginalPath
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Returns:
- This builder for chaining.
-
setOriginalPathBytes
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Parameters:
value- The bytes for originalPath to set.- Returns:
- This builder for chaining.
-
getRequestHeadersBytes
public long getRequestHeadersBytes()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;- Specified by:
getRequestHeadersBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The requestHeadersBytes.
-
setRequestHeadersBytes
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;- Parameters:
value- The requestHeadersBytes to set.- Returns:
- This builder for chaining.
-
clearRequestHeadersBytes
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;- Returns:
- This builder for chaining.
-
getRequestBodyBytes
public long getRequestBodyBytes()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;- Specified by:
getRequestBodyBytesin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The requestBodyBytes.
-
setRequestBodyBytes
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;- Parameters:
value- The requestBodyBytes to set.- Returns:
- This builder for chaining.
-
clearRequestBodyBytes
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;- Returns:
- This builder for chaining.
-
internalGetRequestHeaders
-
internalGetMutableRequestHeaders
-
getRequestHeadersCount
public int getRequestHeadersCount()Description copied from interface:HTTPRequestPropertiesOrBuilderMap of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersCountin interfaceHTTPRequestPropertiesOrBuilder
-
containsRequestHeaders
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
containsRequestHeadersin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeaders
Deprecated.UsegetRequestHeadersMap()instead.- Specified by:
getRequestHeadersin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersMap
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersMapin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrDefault
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersOrDefaultin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrThrow
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersOrThrowin interfaceHTTPRequestPropertiesOrBuilder
-
clearRequestHeaders
-
removeRequestHeaders
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13; -
getMutableRequestHeaders
Deprecated.Use alternate mutation accessors instead. -
putRequestHeaders
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13; -
putAllRequestHeaders
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13; -
getUpstreamHeaderBytesSent
public long getUpstreamHeaderBytesSent()Number of header bytes sent to the upstream by the http stream, including protocol overhead. This value accumulates during upstream retries.
uint64 upstream_header_bytes_sent = 14;- Specified by:
getUpstreamHeaderBytesSentin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The upstreamHeaderBytesSent.
-
setUpstreamHeaderBytesSent
Number of header bytes sent to the upstream by the http stream, including protocol overhead. This value accumulates during upstream retries.
uint64 upstream_header_bytes_sent = 14;- Parameters:
value- The upstreamHeaderBytesSent to set.- Returns:
- This builder for chaining.
-
clearUpstreamHeaderBytesSent
Number of header bytes sent to the upstream by the http stream, including protocol overhead. This value accumulates during upstream retries.
uint64 upstream_header_bytes_sent = 14;- Returns:
- This builder for chaining.
-
getDownstreamHeaderBytesReceived
public long getDownstreamHeaderBytesReceived()Number of header bytes received from the downstream by the http stream, including protocol overhead.
uint64 downstream_header_bytes_received = 15;- Specified by:
getDownstreamHeaderBytesReceivedin interfaceHTTPRequestPropertiesOrBuilder- Returns:
- The downstreamHeaderBytesReceived.
-
setDownstreamHeaderBytesReceived
Number of header bytes received from the downstream by the http stream, including protocol overhead.
uint64 downstream_header_bytes_received = 15;- Parameters:
value- The downstreamHeaderBytesReceived to set.- Returns:
- This builder for chaining.
-
clearDownstreamHeaderBytesReceived
Number of header bytes received from the downstream by the http stream, including protocol overhead.
uint64 downstream_header_bytes_received = 15;- Returns:
- This builder for chaining.
-