public static final class HttpRequest.Builder extends 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(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(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(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 Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Duration |
getLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
Duration.Builder |
getLatencyBuilder()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
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.
|
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).
|
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.
|
ByteString |
getRemoteIpBytes()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
java.lang.String |
getRequestMethod()
The request method.
|
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.
|
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.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
HttpRequest.Builder |
mergeFrom(HttpRequest other) |
HttpRequest.Builder |
mergeFrom(Message other) |
HttpRequest.Builder |
mergeLatency(Duration value)
The request processing latency on the server, from the time the request was
received until the response was sent.
|
HttpRequest.Builder |
mergeUnknownFields(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(Descriptors.FieldDescriptor field,
java.lang.Object value) |
HttpRequest.Builder |
setLatency(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(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(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(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(ByteString value)
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
HttpRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
HttpRequest.Builder |
setRequestMethod(java.lang.String value)
The request method.
|
HttpRequest.Builder |
setRequestMethodBytes(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(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(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(UnknownFieldSet unknownFields) |
HttpRequest.Builder |
setUserAgent(java.lang.String value)
The user agent sent by the client.
|
HttpRequest.Builder |
setUserAgentBytes(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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public HttpRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public HttpRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public HttpRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<HttpRequest.Builder>
public HttpRequest.Builder mergeFrom(HttpRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public HttpRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<HttpRequest.Builder>
java.io.IOException
public java.lang.String getRequestMethod()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;
getRequestMethod
in interface HttpRequestOrBuilder
public ByteString getRequestMethodBytes()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;
getRequestMethodBytes
in interface HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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(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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public HttpRequest.Builder setLatency(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(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(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 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 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 HttpRequestOrBuilder
public boolean getCacheLookup()
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;
getCacheLookup
in interface HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public 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 HttpRequestOrBuilder
public ByteString getProtocolBytes()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;
getProtocolBytes
in interface HttpRequestOrBuilder
public 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(ByteString value)
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;
public final HttpRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<HttpRequest.Builder>
public final HttpRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<HttpRequest.Builder>