public final class HTTPRequestProperties extends com.google.protobuf.GeneratedMessageV3 implements HTTPRequestPropertiesOrBuilder
[#next-free-field: 14]Protobuf type
envoy.data.accesslog.v2.HTTPRequestProperties| Modifier and Type | Class and Description |
|---|---|
static class |
HTTPRequestProperties.Builder
[#next-free-field: 14]
Protobuf type
envoy.data.accesslog.v2.HTTPRequestProperties |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORITY_FIELD_NUMBER |
static int |
FORWARDED_FOR_FIELD_NUMBER |
static int |
ORIGINAL_PATH_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
REFERER_FIELD_NUMBER |
static int |
REQUEST_BODY_BYTES_FIELD_NUMBER |
static int |
REQUEST_HEADERS_BYTES_FIELD_NUMBER |
static int |
REQUEST_HEADERS_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
REQUEST_METHOD_FIELD_NUMBER |
static int |
SCHEME_FIELD_NUMBER |
static int |
USER_AGENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
|
boolean |
equals(Object obj) |
String |
getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
|
com.google.protobuf.ByteString |
getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
|
static HTTPRequestProperties |
getDefaultInstance() |
HTTPRequestProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
|
com.google.protobuf.ByteString |
getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
|
String |
getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
|
com.google.protobuf.ByteString |
getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
|
com.google.protobuf.Parser<HTTPRequestProperties> |
getParserForType() |
String |
getPath()
The path portion from the incoming request URI.
|
com.google.protobuf.ByteString |
getPathBytes()
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.UInt32ValueOrBuilder |
getPortOrBuilder()
The port of the incoming request URI
(unused currently, as port is composed onto authority).
|
String |
getReferer()
Value of the ``Referer`` request header.
|
com.google.protobuf.ByteString |
getRefererBytes()
Value of the ``Referer`` request header.
|
long |
getRequestBodyBytes()
Size of the HTTP request body in bytes.
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
long |
getRequestHeadersBytes()
Size of the HTTP request headers in bytes.
|
int |
getRequestHeadersCount()
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.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
Map of additional headers that have been configured to be logged.
|
String |
getRequestHeadersOrThrow(String key)
Map of additional headers that have been configured to be logged.
|
String |
getRequestId()
Value of the ``X-Request-Id`` request header
This header is used by Envoy to uniquely identify a request.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Value of the ``X-Request-Id`` request header
This header is used by Envoy to uniquely identify a request.
|
RequestMethod |
getRequestMethod()
The request method (RFC 7231/2616).
|
int |
getRequestMethodValue()
The request method (RFC 7231/2616).
|
String |
getScheme()
The scheme portion of the incoming request URI.
|
com.google.protobuf.ByteString |
getSchemeBytes()
The scheme portion of the incoming request URI.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUserAgent()
Value of the ``User-Agent`` request header.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
Value of the ``User-Agent`` request header.
|
int |
hashCode() |
boolean |
hasPort()
The port of the incoming request URI
(unused currently, as port is composed onto authority).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HTTPRequestProperties.Builder |
newBuilder() |
static HTTPRequestProperties.Builder |
newBuilder(HTTPRequestProperties prototype) |
HTTPRequestProperties.Builder |
newBuilderForType() |
protected HTTPRequestProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HTTPRequestProperties |
parseDelimitedFrom(InputStream input) |
static HTTPRequestProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTPRequestProperties |
parseFrom(byte[] data) |
static HTTPRequestProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTPRequestProperties |
parseFrom(ByteBuffer data) |
static HTTPRequestProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTPRequestProperties |
parseFrom(com.google.protobuf.ByteString data) |
static HTTPRequestProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTPRequestProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HTTPRequestProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTPRequestProperties |
parseFrom(InputStream input) |
static HTTPRequestProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HTTPRequestProperties> |
parser() |
HTTPRequestProperties.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUEST_METHOD_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int USER_AGENT_FIELD_NUMBER
public static final int REFERER_FIELD_NUMBER
public static final int FORWARDED_FOR_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
public static final int ORIGINAL_PATH_FIELD_NUMBER
public static final int REQUEST_HEADERS_BYTES_FIELD_NUMBER
public static final int REQUEST_BODY_BYTES_FIELD_NUMBER
public static final int REQUEST_HEADERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getRequestMethodValue()
The request method (RFC 7231/2616).
.envoy.api.v2.core.RequestMethod request_method = 1 [(.validate.rules) = { ... }getRequestMethodValue in interface HTTPRequestPropertiesOrBuilderpublic RequestMethod getRequestMethod()
The request method (RFC 7231/2616).
.envoy.api.v2.core.RequestMethod request_method = 1 [(.validate.rules) = { ... }getRequestMethod in interface HTTPRequestPropertiesOrBuilderpublic String getScheme()
The scheme portion of the incoming request URI.
string scheme = 2;getScheme in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getSchemeBytes()
The scheme portion of the incoming request URI.
string scheme = 2;getSchemeBytes in interface HTTPRequestPropertiesOrBuilderpublic String getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;getAuthority in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;getAuthorityBytes in interface HTTPRequestPropertiesOrBuilderpublic boolean hasPort()
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;hasPort in interface HTTPRequestPropertiesOrBuilderpublic 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;getPort in interface HTTPRequestPropertiesOrBuilderpublic 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;getPortOrBuilder in interface HTTPRequestPropertiesOrBuilderpublic String getPath()
The path portion from the incoming request URI.
string path = 5;getPath in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
The path portion from the incoming request URI.
string path = 5;getPathBytes in interface HTTPRequestPropertiesOrBuilderpublic String getUserAgent()
Value of the ``User-Agent`` request header.
string user_agent = 6;getUserAgent in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
Value of the ``User-Agent`` request header.
string user_agent = 6;getUserAgentBytes in interface HTTPRequestPropertiesOrBuilderpublic String getReferer()
Value of the ``Referer`` request header.
string referer = 7;getReferer in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getRefererBytes()
Value of the ``Referer`` request header.
string referer = 7;getRefererBytes in interface HTTPRequestPropertiesOrBuilderpublic String getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;getForwardedFor in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;getForwardedForBytes in interface HTTPRequestPropertiesOrBuilderpublic 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;getRequestId in interface HTTPRequestPropertiesOrBuilderpublic 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;getRequestIdBytes in interface HTTPRequestPropertiesOrBuilderpublic String getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;getOriginalPath in interface HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;getOriginalPathBytes in interface HTTPRequestPropertiesOrBuilderpublic 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;getRequestHeadersBytes in interface HTTPRequestPropertiesOrBuilderpublic 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;getRequestBodyBytes in interface HTTPRequestPropertiesOrBuilderpublic int getRequestHeadersCount()
HTTPRequestPropertiesOrBuilderMap of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;getRequestHeadersCount in interface HTTPRequestPropertiesOrBuilderpublic boolean containsRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;containsRequestHeaders in interface HTTPRequestPropertiesOrBuilder@Deprecated public Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.getRequestHeaders in interface HTTPRequestPropertiesOrBuilderpublic Map<String,String> getRequestHeadersMap()
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;getRequestHeadersMap in interface HTTPRequestPropertiesOrBuilderpublic String getRequestHeadersOrDefault(String key, String defaultValue)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;getRequestHeadersOrDefault in interface HTTPRequestPropertiesOrBuilderpublic String getRequestHeadersOrThrow(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;getRequestHeadersOrThrow in interface HTTPRequestPropertiesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HTTPRequestProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTPRequestProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static HTTPRequestProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HTTPRequestProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HTTPRequestProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HTTPRequestProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HTTPRequestProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HTTPRequestProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HTTPRequestProperties.Builder newBuilder()
public static HTTPRequestProperties.Builder newBuilder(HTTPRequestProperties prototype)
public HTTPRequestProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HTTPRequestProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HTTPRequestProperties getDefaultInstance()
public static com.google.protobuf.Parser<HTTPRequestProperties> parser()
public com.google.protobuf.Parser<HTTPRequestProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HTTPRequestProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.