Interface HTTPResponsePropertiesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HTTPResponseProperties
,HTTPResponseProperties.Builder
public interface HTTPResponsePropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Map of additional headers configured to be logged.boolean
Map of trailers configured to be logged.long
Number of header bytes sent to the downstream by the http stream, including protocol overhead.long
Size of the HTTP response body in bytes.com.google.protobuf.UInt32Value
The HTTP response code returned by Envoy.The HTTP response code details.com.google.protobuf.ByteString
The HTTP response code details.com.google.protobuf.UInt32ValueOrBuilder
The HTTP response code returned by Envoy.Deprecated.long
Size of the HTTP response headers in bytes.int
Map of additional headers configured to be logged.Map of additional headers configured to be logged.getResponseHeadersOrDefault
(String key, String defaultValue) Map of additional headers configured to be logged.Map of additional headers configured to be logged.Deprecated.int
Map of trailers configured to be logged.Map of trailers configured to be logged.getResponseTrailersOrDefault
(String key, String defaultValue) Map of trailers configured to be logged.Map of trailers configured to be logged.long
Number of header bytes received from the upstream by the http stream, including protocol overhead.boolean
The HTTP response code returned by Envoy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResponseCode
boolean hasResponseCode()The HTTP response code returned by Envoy.
.google.protobuf.UInt32Value response_code = 1;
- Returns:
- Whether the responseCode field is set.
-
getResponseCode
com.google.protobuf.UInt32Value getResponseCode()The HTTP response code returned by Envoy.
.google.protobuf.UInt32Value response_code = 1;
- Returns:
- The responseCode.
-
getResponseCodeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getResponseCodeOrBuilder()The HTTP response code returned by Envoy.
.google.protobuf.UInt32Value response_code = 1;
-
getResponseHeadersBytes
long getResponseHeadersBytes()Size of the HTTP response headers in bytes. This value is captured from the OSI layer 7 perspective, i.e. it does not include protocol overhead or overhead from framing or encoding at other networking layers.
uint64 response_headers_bytes = 2;
- Returns:
- The responseHeadersBytes.
-
getResponseBodyBytes
long getResponseBodyBytes()Size of the HTTP response 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 response_body_bytes = 3;
- Returns:
- The responseBodyBytes.
-
getResponseHeadersCount
int getResponseHeadersCount()Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
containsResponseHeaders
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeaders
Deprecated.UsegetResponseHeadersMap()
instead. -
getResponseHeadersMap
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeadersOrDefault
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeadersOrThrow
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseTrailersCount
int getResponseTrailersCount()Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
containsResponseTrailers
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailers
Deprecated.UsegetResponseTrailersMap()
instead. -
getResponseTrailersMap
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailersOrDefault
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailersOrThrow
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseCodeDetails
String getResponseCodeDetails()The HTTP response code details.
string response_code_details = 6;
- Returns:
- The responseCodeDetails.
-
getResponseCodeDetailsBytes
com.google.protobuf.ByteString getResponseCodeDetailsBytes()The HTTP response code details.
string response_code_details = 6;
- Returns:
- The bytes for responseCodeDetails.
-
getUpstreamHeaderBytesReceived
long getUpstreamHeaderBytesReceived()Number of header bytes received from the upstream by the http stream, including protocol overhead.
uint64 upstream_header_bytes_received = 7;
- Returns:
- The upstreamHeaderBytesReceived.
-
getDownstreamHeaderBytesSent
long getDownstreamHeaderBytesSent()Number of header bytes sent to the downstream by the http stream, including protocol overhead.
uint64 downstream_header_bytes_sent = 8;
- Returns:
- The downstreamHeaderBytesSent.
-