public static final class Accesslog.HTTPRequestProperties extends com.google.protobuf.GeneratedMessageV3 implements Accesslog.HTTPRequestPropertiesOrBuilder
[#not-implemented-hide:] Not configuration. TBD how to doc proto APIs.Protobuf type
envoy.config.filter.accesslog.v2.HTTPRequestProperties| Modifier and Type | Class and Description |
|---|---|
static class |
Accesslog.HTTPRequestProperties.Builder
[#not-implemented-hide:] Not configuration.
|
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| 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 Accesslog.HTTPRequestProperties |
getDefaultInstance() |
Accesslog.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<Accesslog.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.
|
Base.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 Accesslog.HTTPRequestProperties.Builder |
newBuilder() |
static Accesslog.HTTPRequestProperties.Builder |
newBuilder(Accesslog.HTTPRequestProperties prototype) |
Accesslog.HTTPRequestProperties.Builder |
newBuilderForType() |
protected Accesslog.HTTPRequestProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Accesslog.HTTPRequestProperties |
parseDelimitedFrom(InputStream input) |
static Accesslog.HTTPRequestProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Accesslog.HTTPRequestProperties |
parseFrom(byte[] data) |
static Accesslog.HTTPRequestProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Accesslog.HTTPRequestProperties |
parseFrom(ByteBuffer data) |
static Accesslog.HTTPRequestProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Accesslog.HTTPRequestProperties |
parseFrom(com.google.protobuf.ByteString data) |
static Accesslog.HTTPRequestProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Accesslog.HTTPRequestProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Accesslog.HTTPRequestProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Accesslog.HTTPRequestProperties |
parseFrom(InputStream input) |
static Accesslog.HTTPRequestProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Accesslog.HTTPRequestProperties> |
parser() |
Accesslog.HTTPRequestProperties.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, 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
public 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). [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RequestMethod request_method = 1;getRequestMethodValue in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic Base.RequestMethod getRequestMethod()
The request method (RFC 7231/2616). [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RequestMethod request_method = 1;getRequestMethod in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic String getScheme()
The scheme portion of the incoming request URI.
string scheme = 2;getScheme in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getSchemeBytes()
The scheme portion of the incoming request URI.
string scheme = 2;getSchemeBytes in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic String getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;getAuthority in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;getAuthorityBytes in interface Accesslog.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 Accesslog.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 Accesslog.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 Accesslog.HTTPRequestPropertiesOrBuilderpublic String getPath()
The path portion from the incoming request URI.
string path = 5;getPath in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
The path portion from the incoming request URI.
string path = 5;getPathBytes in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic String getUserAgent()
Value of the ``User-Agent`` request header.
string user_agent = 6;getUserAgent in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
Value of the ``User-Agent`` request header.
string user_agent = 6;getUserAgentBytes in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic String getReferer()
Value of the ``Referer`` request header.
string referer = 7;getReferer in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getRefererBytes()
Value of the ``Referer`` request header.
string referer = 7;getRefererBytes in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic String getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;getForwardedFor in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;getForwardedForBytes in interface Accesslog.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 Accesslog.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 Accesslog.HTTPRequestPropertiesOrBuilderpublic String getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;getOriginalPath in interface Accesslog.HTTPRequestPropertiesOrBuilderpublic com.google.protobuf.ByteString getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;getOriginalPathBytes in interface Accesslog.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 Accesslog.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 Accesslog.HTTPRequestPropertiesOrBuilderpublic int getRequestHeadersCount()
Accesslog.HTTPRequestPropertiesOrBuilderMap of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;getRequestHeadersCount in interface Accesslog.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 Accesslog.HTTPRequestPropertiesOrBuilder@Deprecated public Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.getRequestHeaders in interface Accesslog.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 Accesslog.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 Accesslog.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 Accesslog.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 Accesslog.HTTPRequestProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Accesslog.HTTPRequestProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Accesslog.HTTPRequestProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Accesslog.HTTPRequestProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Accesslog.HTTPRequestProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Accesslog.HTTPRequestProperties.Builder newBuilder()
public static Accesslog.HTTPRequestProperties.Builder newBuilder(Accesslog.HTTPRequestProperties prototype)
public Accesslog.HTTPRequestProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Accesslog.HTTPRequestProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Accesslog.HTTPRequestProperties getDefaultInstance()
public static com.google.protobuf.Parser<Accesslog.HTTPRequestProperties> parser()
public com.google.protobuf.Parser<Accesslog.HTTPRequestProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Accesslog.HTTPRequestProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.