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 Object
private int
private long
private Object
private Object
private Object
private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Object
private long
private long
private Object
private int
private Object
private long
private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(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.boolean
Map of additional headers that have been configured to be logged.HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.com.google.protobuf.ByteString
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Number 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.ByteString
Value of the ``X-Forwarded-For`` request header.Deprecated.Value of the ``X-Envoy-Original-Path`` request header.com.google.protobuf.ByteString
Value of the ``X-Envoy-Original-Path`` request header.getPath()
The path portion from the incoming request URI.com.google.protobuf.ByteString
The path portion from the incoming request URI.com.google.protobuf.UInt32Value
getPort()
The port of the incoming request URI (unused currently, as port is composed onto authority).com.google.protobuf.UInt32Value.Builder
The port of the incoming request URI (unused currently, as port is composed onto authority).com.google.protobuf.UInt32ValueOrBuilder
The port of the incoming request URI (unused currently, as port is composed onto authority).Value of the ``Referer`` request header.com.google.protobuf.ByteString
Value of the ``Referer`` request header.long
Size of the HTTP request body in bytes.Deprecated.long
Size of the HTTP request headers in bytes.int
Map 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.ByteString
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).int
The request method (RFC 7231/2616).The scheme portion of the incoming request URI.com.google.protobuf.ByteString
The scheme portion of the incoming request URI.long
Number of header bytes sent to the upstream by the http stream, including protocol overhead.Value of the ``User-Agent`` request header.com.google.protobuf.ByteString
Value of the ``User-Agent`` request header.boolean
hasPort()
The port of the incoming request URI (unused currently, as port is composed onto authority).protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(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 boolean
private void
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, portBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
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:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPRequestProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HTTPRequestProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getRequestMethodValue
in 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.
-
getRequestMethod
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }
- Specified by:
getRequestMethod
in 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:
getScheme
in interfaceHTTPRequestPropertiesOrBuilder
- Returns:
- The scheme.
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()The scheme portion of the incoming request URI.
string scheme = 2;
- Specified by:
getSchemeBytes
in 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:
getAuthority
in 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:
getAuthorityBytes
in 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:
hasPort
in 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:
getPort
in 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:
getPortOrBuilder
in interfaceHTTPRequestPropertiesOrBuilder
-
internalGetPortFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetPortFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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:
getPath
in interfaceHTTPRequestPropertiesOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()The path portion from the incoming request URI.
string path = 5;
- Specified by:
getPathBytes
in 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:
getUserAgent
in interfaceHTTPRequestPropertiesOrBuilder
- Returns:
- The userAgent.
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()Value of the ``User-Agent`` request header.
string user_agent = 6;
- Specified by:
getUserAgentBytes
in 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:
getReferer
in interfaceHTTPRequestPropertiesOrBuilder
- Returns:
- The referer.
-
getRefererBytes
public com.google.protobuf.ByteString getRefererBytes()Value of the ``Referer`` request header.
string referer = 7;
- Specified by:
getRefererBytes
in 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:
getForwardedFor
in 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:
getForwardedForBytes
in 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:
getRequestId
in 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:
getRequestIdBytes
in 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:
getOriginalPath
in 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:
getOriginalPathBytes
in 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:
getRequestHeadersBytes
in 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:
getRequestBodyBytes
in 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:HTTPRequestPropertiesOrBuilder
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
- Specified by:
getRequestHeadersCount
in interfaceHTTPRequestPropertiesOrBuilder
-
containsRequestHeaders
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
- Specified by:
containsRequestHeaders
in interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeaders
Deprecated.UsegetRequestHeadersMap()
instead.- Specified by:
getRequestHeaders
in interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersMap
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
- Specified by:
getRequestHeadersMap
in interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrDefault
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
- Specified by:
getRequestHeadersOrDefault
in interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrThrow
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
- Specified by:
getRequestHeadersOrThrow
in 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:
getUpstreamHeaderBytesSent
in 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:
getDownstreamHeaderBytesReceived
in 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.
-