Class HTTPRequestProperties.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder> implements HTTPRequestPropertiesOrBuilder
[#next-free-field: 14]
Protobuf typeenvoy.data.accesslog.v3.HTTPRequestProperties
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HTTPRequestProperties.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPRequestPropertiesbuild()HTTPRequestPropertiesbuildPartial()HTTPRequestProperties.Builderclear()HTTPRequestProperties.BuilderclearAuthority()HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.HTTPRequestProperties.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HTTPRequestProperties.BuilderclearForwardedFor()Value of the ``X-Forwarded-For`` request header.HTTPRequestProperties.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HTTPRequestProperties.BuilderclearOriginalPath()Value of the ``X-Envoy-Original-Path`` request header.HTTPRequestProperties.BuilderclearPath()The path portion from the incoming request URI.HTTPRequestProperties.BuilderclearPort()The port of the incoming request URI (unused currently, as port is composed onto authority).HTTPRequestProperties.BuilderclearReferer()Value of the ``Referer`` request header.HTTPRequestProperties.BuilderclearRequestBodyBytes()Size of the HTTP request body in bytes.HTTPRequestProperties.BuilderclearRequestHeaders()HTTPRequestProperties.BuilderclearRequestHeadersBytes()Size of the HTTP request headers in bytes.HTTPRequestProperties.BuilderclearRequestId()Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.HTTPRequestProperties.BuilderclearRequestMethod()The request method (RFC 7231/2616).HTTPRequestProperties.BuilderclearScheme()The scheme portion of the incoming request URI.HTTPRequestProperties.BuilderclearUserAgent()Value of the ``User-Agent`` request header.HTTPRequestProperties.Builderclone()booleancontainsRequestHeaders(String key)Map of additional headers that have been configured to be logged.StringgetAuthority()HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.com.google.protobuf.ByteStringgetAuthorityBytes()HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.HTTPRequestPropertiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetForwardedFor()Value of the ``X-Forwarded-For`` request header.com.google.protobuf.ByteStringgetForwardedForBytes()Value of the ``X-Forwarded-For`` request header.Map<String,String>getMutableRequestHeaders()Deprecated.StringgetOriginalPath()Value of the ``X-Envoy-Original-Path`` request header.com.google.protobuf.ByteStringgetOriginalPathBytes()Value of the ``X-Envoy-Original-Path`` request header.StringgetPath()The path portion from the incoming request URI.com.google.protobuf.ByteStringgetPathBytes()The 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.BuildergetPortBuilder()The port of the incoming request URI (unused currently, as port is composed onto authority).com.google.protobuf.UInt32ValueOrBuildergetPortOrBuilder()The port of the incoming request URI (unused currently, as port is composed onto authority).StringgetReferer()Value of the ``Referer`` request header.com.google.protobuf.ByteStringgetRefererBytes()Value of the ``Referer`` request header.longgetRequestBodyBytes()Size of the HTTP request body in bytes.Map<String,String>getRequestHeaders()Deprecated.longgetRequestHeadersBytes()Size of the HTTP request headers in bytes.intgetRequestHeadersCount()Map of additional headers that have been configured to be logged.Map<String,String>getRequestHeadersMap()Map of additional headers that have been configured to be logged.StringgetRequestHeadersOrDefault(String key, String defaultValue)Map of additional headers that have been configured to be logged.StringgetRequestHeadersOrThrow(String key)Map of additional headers that have been configured to be logged.StringgetRequestId()Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.com.google.protobuf.ByteStringgetRequestIdBytes()Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.RequestMethodgetRequestMethod()The request method (RFC 7231/2616).intgetRequestMethodValue()The request method (RFC 7231/2616).StringgetScheme()The scheme portion of the incoming request URI.com.google.protobuf.ByteStringgetSchemeBytes()The scheme portion of the incoming request URI.StringgetUserAgent()Value of the ``User-Agent`` request header.com.google.protobuf.ByteStringgetUserAgentBytes()Value 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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()HTTPRequestProperties.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HTTPRequestProperties.BuildermergeFrom(com.google.protobuf.Message other)HTTPRequestProperties.BuildermergeFrom(HTTPRequestProperties other)HTTPRequestProperties.BuildermergePort(com.google.protobuf.UInt32Value value)The port of the incoming request URI (unused currently, as port is composed onto authority).HTTPRequestProperties.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HTTPRequestProperties.BuilderputAllRequestHeaders(Map<String,String> values)Map of additional headers that have been configured to be logged.HTTPRequestProperties.BuilderputRequestHeaders(String key, String value)Map of additional headers that have been configured to be logged.HTTPRequestProperties.BuilderremoveRequestHeaders(String key)Map of additional headers that have been configured to be logged.HTTPRequestProperties.BuildersetAuthority(String value)HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.HTTPRequestProperties.BuildersetAuthorityBytes(com.google.protobuf.ByteString value)HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.HTTPRequestProperties.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPRequestProperties.BuildersetForwardedFor(String value)Value of the ``X-Forwarded-For`` request header.HTTPRequestProperties.BuildersetForwardedForBytes(com.google.protobuf.ByteString value)Value of the ``X-Forwarded-For`` request header.HTTPRequestProperties.BuildersetOriginalPath(String value)Value of the ``X-Envoy-Original-Path`` request header.HTTPRequestProperties.BuildersetOriginalPathBytes(com.google.protobuf.ByteString value)Value of the ``X-Envoy-Original-Path`` request header.HTTPRequestProperties.BuildersetPath(String value)The path portion from the incoming request URI.HTTPRequestProperties.BuildersetPathBytes(com.google.protobuf.ByteString value)The path portion from the incoming request URI.HTTPRequestProperties.BuildersetPort(com.google.protobuf.UInt32Value value)The port of the incoming request URI (unused currently, as port is composed onto authority).HTTPRequestProperties.BuildersetPort(com.google.protobuf.UInt32Value.Builder builderForValue)The port of the incoming request URI (unused currently, as port is composed onto authority).HTTPRequestProperties.BuildersetReferer(String value)Value of the ``Referer`` request header.HTTPRequestProperties.BuildersetRefererBytes(com.google.protobuf.ByteString value)Value of the ``Referer`` request header.HTTPRequestProperties.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HTTPRequestProperties.BuildersetRequestBodyBytes(long value)Size of the HTTP request body in bytes.HTTPRequestProperties.BuildersetRequestHeadersBytes(long value)Size of the HTTP request headers in bytes.HTTPRequestProperties.BuildersetRequestId(String value)Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.HTTPRequestProperties.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request.HTTPRequestProperties.BuildersetRequestMethod(RequestMethod value)The request method (RFC 7231/2616).HTTPRequestProperties.BuildersetRequestMethodValue(int value)The request method (RFC 7231/2616).HTTPRequestProperties.BuildersetScheme(String value)The scheme portion of the incoming request URI.HTTPRequestProperties.BuildersetSchemeBytes(com.google.protobuf.ByteString value)The scheme portion of the incoming request URI.HTTPRequestProperties.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HTTPRequestProperties.BuildersetUserAgent(String value)Value of the ``User-Agent`` request header.HTTPRequestProperties.BuildersetUserAgentBytes(com.google.protobuf.ByteString value)Value of the ``User-Agent`` request header.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
clear
public HTTPRequestProperties.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
getDefaultInstanceForType
public HTTPRequestProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HTTPRequestProperties build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HTTPRequestProperties buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HTTPRequestProperties.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
setField
public HTTPRequestProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
clearField
public HTTPRequestProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
clearOneof
public HTTPRequestProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
setRepeatedField
public HTTPRequestProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
addRepeatedField
public HTTPRequestProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
mergeFrom
public HTTPRequestProperties.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPRequestProperties.Builder>
-
mergeFrom
public HTTPRequestProperties.Builder mergeFrom(HTTPRequestProperties other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
-
setRequestMethodValue
public HTTPRequestProperties.Builder setRequestMethodValue(int value)
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }
-
getRequestMethod
public RequestMethod getRequestMethod()
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }- Specified by:
getRequestMethodin interfaceHTTPRequestPropertiesOrBuilder
-
setRequestMethod
public HTTPRequestProperties.Builder setRequestMethod(RequestMethod value)
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }
-
clearRequestMethod
public HTTPRequestProperties.Builder clearRequestMethod()
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }
-
getScheme
public String getScheme()
The scheme portion of the incoming request URI.
string scheme = 2;- Specified by:
getSchemein interfaceHTTPRequestPropertiesOrBuilder
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()
The scheme portion of the incoming request URI.
string scheme = 2;- Specified by:
getSchemeBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setScheme
public HTTPRequestProperties.Builder setScheme(String value)
The scheme portion of the incoming request URI.
string scheme = 2;
-
clearScheme
public HTTPRequestProperties.Builder clearScheme()
The scheme portion of the incoming request URI.
string scheme = 2;
-
setSchemeBytes
public HTTPRequestProperties.Builder setSchemeBytes(com.google.protobuf.ByteString value)
The scheme portion of the incoming request URI.
string scheme = 2;
-
getAuthority
public String getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Specified by:
getAuthorityin interfaceHTTPRequestPropertiesOrBuilder
-
getAuthorityBytes
public com.google.protobuf.ByteString getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;- Specified by:
getAuthorityBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setAuthority
public HTTPRequestProperties.Builder setAuthority(String value)
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;
-
clearAuthority
public HTTPRequestProperties.Builder clearAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;
-
setAuthorityBytes
public HTTPRequestProperties.Builder setAuthorityBytes(com.google.protobuf.ByteString value)
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;
-
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
-
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
-
setPort
public HTTPRequestProperties.Builder setPort(com.google.protobuf.UInt32Value value)
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
public HTTPRequestProperties.Builder mergePort(com.google.protobuf.UInt32Value value)
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;
-
clearPort
public HTTPRequestProperties.Builder 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
-
getPath
public String getPath()
The path portion from the incoming request URI.
string path = 5;- Specified by:
getPathin interfaceHTTPRequestPropertiesOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
The path portion from the incoming request URI.
string path = 5;- Specified by:
getPathBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setPath
public HTTPRequestProperties.Builder setPath(String value)
The path portion from the incoming request URI.
string path = 5;
-
clearPath
public HTTPRequestProperties.Builder clearPath()
The path portion from the incoming request URI.
string path = 5;
-
setPathBytes
public HTTPRequestProperties.Builder setPathBytes(com.google.protobuf.ByteString value)
The path portion from the incoming request URI.
string path = 5;
-
getUserAgent
public String getUserAgent()
Value of the ``User-Agent`` request header.
string user_agent = 6;- Specified by:
getUserAgentin interfaceHTTPRequestPropertiesOrBuilder
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()
Value of the ``User-Agent`` request header.
string user_agent = 6;- Specified by:
getUserAgentBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setUserAgent
public HTTPRequestProperties.Builder setUserAgent(String value)
Value of the ``User-Agent`` request header.
string user_agent = 6;
-
clearUserAgent
public HTTPRequestProperties.Builder clearUserAgent()
Value of the ``User-Agent`` request header.
string user_agent = 6;
-
setUserAgentBytes
public HTTPRequestProperties.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
Value of the ``User-Agent`` request header.
string user_agent = 6;
-
getReferer
public String getReferer()
Value of the ``Referer`` request header.
string referer = 7;- Specified by:
getRefererin interfaceHTTPRequestPropertiesOrBuilder
-
getRefererBytes
public com.google.protobuf.ByteString getRefererBytes()
Value of the ``Referer`` request header.
string referer = 7;- Specified by:
getRefererBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setReferer
public HTTPRequestProperties.Builder setReferer(String value)
Value of the ``Referer`` request header.
string referer = 7;
-
clearReferer
public HTTPRequestProperties.Builder clearReferer()
Value of the ``Referer`` request header.
string referer = 7;
-
setRefererBytes
public HTTPRequestProperties.Builder setRefererBytes(com.google.protobuf.ByteString value)
Value of the ``Referer`` request header.
string referer = 7;
-
getForwardedFor
public String getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Specified by:
getForwardedForin interfaceHTTPRequestPropertiesOrBuilder
-
getForwardedForBytes
public com.google.protobuf.ByteString getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;- Specified by:
getForwardedForBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setForwardedFor
public HTTPRequestProperties.Builder setForwardedFor(String value)
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;
-
clearForwardedFor
public HTTPRequestProperties.Builder clearForwardedFor()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;
-
setForwardedForBytes
public HTTPRequestProperties.Builder setForwardedForBytes(com.google.protobuf.ByteString value)
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;
-
getRequestId
public 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;- Specified by:
getRequestIdin interfaceHTTPRequestPropertiesOrBuilder
-
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
-
setRequestId
public HTTPRequestProperties.Builder setRequestId(String value)
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;
-
clearRequestId
public HTTPRequestProperties.Builder 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;
-
setRequestIdBytes
public HTTPRequestProperties.Builder 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. It will be generated for all external requests and internal requests that do not already have a request ID.
string request_id = 9;
-
getOriginalPath
public String getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Specified by:
getOriginalPathin interfaceHTTPRequestPropertiesOrBuilder
-
getOriginalPathBytes
public com.google.protobuf.ByteString getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;- Specified by:
getOriginalPathBytesin interfaceHTTPRequestPropertiesOrBuilder
-
setOriginalPath
public HTTPRequestProperties.Builder setOriginalPath(String value)
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;
-
clearOriginalPath
public HTTPRequestProperties.Builder clearOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;
-
setOriginalPathBytes
public HTTPRequestProperties.Builder setOriginalPathBytes(com.google.protobuf.ByteString value)
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;
-
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
-
setRequestHeadersBytes
public HTTPRequestProperties.Builder setRequestHeadersBytes(long value)
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;
-
clearRequestHeadersBytes
public HTTPRequestProperties.Builder 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;
-
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
-
setRequestBodyBytes
public HTTPRequestProperties.Builder setRequestBodyBytes(long value)
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;
-
clearRequestBodyBytes
public HTTPRequestProperties.Builder 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;
-
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
public boolean containsRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
containsRequestHeadersin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeaders
@Deprecated public Map<String,String> getRequestHeaders()
Deprecated.UsegetRequestHeadersMap()instead.- Specified by:
getRequestHeadersin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersMap
public Map<String,String> getRequestHeadersMap()
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersMapin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrDefault
public String getRequestHeadersOrDefault(String key, String defaultValue)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersOrDefaultin interfaceHTTPRequestPropertiesOrBuilder
-
getRequestHeadersOrThrow
public String getRequestHeadersOrThrow(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;- Specified by:
getRequestHeadersOrThrowin interfaceHTTPRequestPropertiesOrBuilder
-
clearRequestHeaders
public HTTPRequestProperties.Builder clearRequestHeaders()
-
removeRequestHeaders
public HTTPRequestProperties.Builder removeRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
-
getMutableRequestHeaders
@Deprecated public Map<String,String> getMutableRequestHeaders()
Deprecated.Use alternate mutation accessors instead.
-
putRequestHeaders
public HTTPRequestProperties.Builder putRequestHeaders(String key, String value)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
-
putAllRequestHeaders
public HTTPRequestProperties.Builder putAllRequestHeaders(Map<String,String> values)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;
-
setUnknownFields
public final HTTPRequestProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
mergeUnknownFields
public final HTTPRequestProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPRequestProperties.Builder>
-
-