public static final class HttpRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder> implements HttpRequestOrBuilder
A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.Protobuf type
google.logging.type.HttpRequest| Modifier and Type | Method and Description |
|---|---|
HttpRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
HttpRequest |
build() |
HttpRequest |
buildPartial() |
HttpRequest.Builder |
clear() |
HttpRequest.Builder |
clearCacheFillBytes()
The number of HTTP response bytes inserted into cache.
|
HttpRequest.Builder |
clearCacheHit()
Whether or not an entity was served from cache
(with or without validation).
|
HttpRequest.Builder |
clearCacheLookup()
Whether or not a cache lookup was attempted.
|
HttpRequest.Builder |
clearCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before
being served from cache.
|
HttpRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpRequest.Builder |
clearLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
HttpRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpRequest.Builder |
clearProtocol()
Protocol used for the request.
|
HttpRequest.Builder |
clearReferer()
The referer URL of the request, as defined in
[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
HttpRequest.Builder |
clearRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
HttpRequest.Builder |
clearRequestMethod()
The request method.
|
HttpRequest.Builder |
clearRequestSize()
The size of the HTTP request message in bytes, including the request
headers and the request body.
|
HttpRequest.Builder |
clearRequestUrl()
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
HttpRequest.Builder |
clearResponseSize()
The size of the HTTP response message sent back to the client, in bytes,
including the response headers and the response body.
|
HttpRequest.Builder |
clearServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
HttpRequest.Builder |
clearStatus()
The response code indicating the status of response.
|
HttpRequest.Builder |
clearUserAgent()
The user agent sent by the client.
|
HttpRequest.Builder |
clone() |
long |
getCacheFillBytes()
The number of HTTP response bytes inserted into cache.
|
boolean |
getCacheHit()
Whether or not an entity was served from cache
(with or without validation).
|
boolean |
getCacheLookup()
Whether or not a cache lookup was attempted.
|
boolean |
getCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before
being served from cache.
|
HttpRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
com.google.protobuf.Duration.Builder |
getLatencyBuilder()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
com.google.protobuf.DurationOrBuilder |
getLatencyOrBuilder()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
java.lang.String |
getProtocol()
Protocol used for the request.
|
com.google.protobuf.ByteString |
getProtocolBytes()
Protocol used for the request.
|
java.lang.String |
getReferer()
The referer URL of the request, as defined in
[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
com.google.protobuf.ByteString |
getRefererBytes()
The referer URL of the request, as defined in
[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
java.lang.String |
getRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
com.google.protobuf.ByteString |
getRemoteIpBytes()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
java.lang.String |
getRequestMethod()
The request method.
|
com.google.protobuf.ByteString |
getRequestMethodBytes()
The request method.
|
long |
getRequestSize()
The size of the HTTP request message in bytes, including the request
headers and the request body.
|
java.lang.String |
getRequestUrl()
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
com.google.protobuf.ByteString |
getRequestUrlBytes()
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
long |
getResponseSize()
The size of the HTTP response message sent back to the client, in bytes,
including the response headers and the response body.
|
java.lang.String |
getServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
com.google.protobuf.ByteString |
getServerIpBytes()
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
int |
getStatus()
The response code indicating the status of response.
|
java.lang.String |
getUserAgent()
The user agent sent by the client.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
The user agent sent by the client.
|
boolean |
hasLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpRequest.Builder |
mergeFrom(HttpRequest other) |
HttpRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpRequest.Builder |
mergeLatency(com.google.protobuf.Duration value)
The request processing latency on the server, from the time the request was
received until the response was sent.
|
HttpRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRequest.Builder |
setCacheFillBytes(long value)
The number of HTTP response bytes inserted into cache.
|
HttpRequest.Builder |
setCacheHit(boolean value)
Whether or not an entity was served from cache
(with or without validation).
|
HttpRequest.Builder |
setCacheLookup(boolean value)
Whether or not a cache lookup was attempted.
|
HttpRequest.Builder |
setCacheValidatedWithOriginServer(boolean value)
Whether or not the response was validated with the origin server before
being served from cache.
|
HttpRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
HttpRequest.Builder |
setLatency(com.google.protobuf.Duration.Builder builderForValue)
The request processing latency on the server, from the time the request was
received until the response was sent.
|
HttpRequest.Builder |
setLatency(com.google.protobuf.Duration value)
The request processing latency on the server, from the time the request was
received until the response was sent.
|
HttpRequest.Builder |
setProtocol(java.lang.String value)
Protocol used for the request.
|
HttpRequest.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
Protocol used for the request.
|
HttpRequest.Builder |
setReferer(java.lang.String value)
The referer URL of the request, as defined in
[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
HttpRequest.Builder |
setRefererBytes(com.google.protobuf.ByteString value)
The referer URL of the request, as defined in
[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
HttpRequest.Builder |
setRemoteIp(java.lang.String value)
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
HttpRequest.Builder |
setRemoteIpBytes(com.google.protobuf.ByteString value)
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
HttpRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
HttpRequest.Builder |
setRequestMethod(java.lang.String value)
The request method.
|
HttpRequest.Builder |
setRequestMethodBytes(com.google.protobuf.ByteString value)
The request method.
|
HttpRequest.Builder |
setRequestSize(long value)
The size of the HTTP request message in bytes, including the request
headers and the request body.
|
HttpRequest.Builder |
setRequestUrl(java.lang.String value)
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
HttpRequest.Builder |
setRequestUrlBytes(com.google.protobuf.ByteString value)
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
HttpRequest.Builder |
setResponseSize(long value)
The size of the HTTP response message sent back to the client, in bytes,
including the response headers and the response body.
|
HttpRequest.Builder |
setServerIp(java.lang.String value)
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
HttpRequest.Builder |
setServerIpBytes(com.google.protobuf.ByteString value)
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
HttpRequest.Builder |
setStatus(int value)
The response code indicating the status of response.
|
HttpRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRequest.Builder |
setUserAgent(java.lang.String value)
The user agent sent by the client.
|
HttpRequest.Builder |
setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent sent by the client.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpRequest.Builder>public HttpRequest.Builder mergeFrom(HttpRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public HttpRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpRequest.Builder>java.io.IOExceptionpublic java.lang.String getRequestMethod()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;getRequestMethod in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getRequestMethodBytes()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;getRequestMethodBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setRequestMethod(java.lang.String value)
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;public HttpRequest.Builder clearRequestMethod()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;public HttpRequest.Builder setRequestMethodBytes(com.google.protobuf.ByteString value)
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;public java.lang.String getRequestUrl()
The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`.
string request_url = 2;getRequestUrl in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getRequestUrlBytes()
The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`.
string request_url = 2;getRequestUrlBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setRequestUrl(java.lang.String value)
The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`.
string request_url = 2;public HttpRequest.Builder clearRequestUrl()
The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`.
string request_url = 2;public HttpRequest.Builder setRequestUrlBytes(com.google.protobuf.ByteString value)
The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`.
string request_url = 2;public long getRequestSize()
The size of the HTTP request message in bytes, including the request headers and the request body.
int64 request_size = 3;getRequestSize in interface HttpRequestOrBuilderpublic HttpRequest.Builder setRequestSize(long value)
The size of the HTTP request message in bytes, including the request headers and the request body.
int64 request_size = 3;public HttpRequest.Builder clearRequestSize()
The size of the HTTP request message in bytes, including the request headers and the request body.
int64 request_size = 3;public int getStatus()
The response code indicating the status of response. Examples: 200, 404.
int32 status = 4;getStatus in interface HttpRequestOrBuilderpublic HttpRequest.Builder setStatus(int value)
The response code indicating the status of response. Examples: 200, 404.
int32 status = 4;public HttpRequest.Builder clearStatus()
The response code indicating the status of response. Examples: 200, 404.
int32 status = 4;public long getResponseSize()
The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
int64 response_size = 5;getResponseSize in interface HttpRequestOrBuilderpublic HttpRequest.Builder setResponseSize(long value)
The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
int64 response_size = 5;public HttpRequest.Builder clearResponseSize()
The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
int64 response_size = 5;public java.lang.String getUserAgent()
The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
string user_agent = 6;getUserAgent in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
string user_agent = 6;getUserAgentBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setUserAgent(java.lang.String value)
The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
string user_agent = 6;public HttpRequest.Builder clearUserAgent()
The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
string user_agent = 6;public HttpRequest.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
string user_agent = 6;public java.lang.String getRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
string remote_ip = 7;getRemoteIp in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getRemoteIpBytes()
The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
string remote_ip = 7;getRemoteIpBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setRemoteIp(java.lang.String value)
The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
string remote_ip = 7;public HttpRequest.Builder clearRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
string remote_ip = 7;public HttpRequest.Builder setRemoteIpBytes(com.google.protobuf.ByteString value)
The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
string remote_ip = 7;public java.lang.String getServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;getServerIp in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getServerIpBytes()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;getServerIpBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setServerIp(java.lang.String value)
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;public HttpRequest.Builder clearServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;public HttpRequest.Builder setServerIpBytes(com.google.protobuf.ByteString value)
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;public java.lang.String getReferer()
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;getReferer in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getRefererBytes()
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;getRefererBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setReferer(java.lang.String value)
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;public HttpRequest.Builder clearReferer()
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;public HttpRequest.Builder setRefererBytes(com.google.protobuf.ByteString value)
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;public boolean hasLatency()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;hasLatency in interface HttpRequestOrBuilderpublic com.google.protobuf.Duration getLatency()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;getLatency in interface HttpRequestOrBuilderpublic HttpRequest.Builder setLatency(com.google.protobuf.Duration value)
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;public HttpRequest.Builder setLatency(com.google.protobuf.Duration.Builder builderForValue)
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;public HttpRequest.Builder mergeLatency(com.google.protobuf.Duration value)
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;public HttpRequest.Builder clearLatency()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;public com.google.protobuf.Duration.Builder getLatencyBuilder()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;public com.google.protobuf.DurationOrBuilder getLatencyOrBuilder()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;getLatencyOrBuilder in interface HttpRequestOrBuilderpublic boolean getCacheLookup()
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;getCacheLookup in interface HttpRequestOrBuilderpublic HttpRequest.Builder setCacheLookup(boolean value)
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;public HttpRequest.Builder clearCacheLookup()
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;public boolean getCacheHit()
Whether or not an entity was served from cache (with or without validation).
bool cache_hit = 9;getCacheHit in interface HttpRequestOrBuilderpublic HttpRequest.Builder setCacheHit(boolean value)
Whether or not an entity was served from cache (with or without validation).
bool cache_hit = 9;public HttpRequest.Builder clearCacheHit()
Whether or not an entity was served from cache (with or without validation).
bool cache_hit = 9;public boolean getCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True.
bool cache_validated_with_origin_server = 10;getCacheValidatedWithOriginServer in interface HttpRequestOrBuilderpublic HttpRequest.Builder setCacheValidatedWithOriginServer(boolean value)
Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True.
bool cache_validated_with_origin_server = 10;public HttpRequest.Builder clearCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True.
bool cache_validated_with_origin_server = 10;public long getCacheFillBytes()
The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
int64 cache_fill_bytes = 12;getCacheFillBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setCacheFillBytes(long value)
The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
int64 cache_fill_bytes = 12;public HttpRequest.Builder clearCacheFillBytes()
The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
int64 cache_fill_bytes = 12;public java.lang.String getProtocol()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;getProtocol in interface HttpRequestOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;getProtocolBytes in interface HttpRequestOrBuilderpublic HttpRequest.Builder setProtocol(java.lang.String value)
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;public HttpRequest.Builder clearProtocol()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;public HttpRequest.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;public final HttpRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>public final HttpRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequest.Builder>