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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsResponseHeaders(String key)
Map of additional headers configured to be logged.boolean
containsResponseTrailers(String key)
Map of trailers configured to be logged.long
getResponseBodyBytes()
Size of the HTTP response body in bytes.com.google.protobuf.UInt32Value
getResponseCode()
The HTTP response code returned by Envoy.String
getResponseCodeDetails()
The HTTP response code details.com.google.protobuf.ByteString
getResponseCodeDetailsBytes()
The HTTP response code details.com.google.protobuf.UInt32ValueOrBuilder
getResponseCodeOrBuilder()
The HTTP response code returned by Envoy.Map<String,String>
getResponseHeaders()
Deprecated.long
getResponseHeadersBytes()
Size of the HTTP response headers in bytes.int
getResponseHeadersCount()
Map of additional headers configured to be logged.Map<String,String>
getResponseHeadersMap()
Map of additional headers configured to be logged.String
getResponseHeadersOrDefault(String key, String defaultValue)
Map of additional headers configured to be logged.String
getResponseHeadersOrThrow(String key)
Map of additional headers configured to be logged.Map<String,String>
getResponseTrailers()
Deprecated.int
getResponseTrailersCount()
Map of trailers configured to be logged.Map<String,String>
getResponseTrailersMap()
Map of trailers configured to be logged.String
getResponseTrailersOrDefault(String key, String defaultValue)
Map of trailers configured to be logged.String
getResponseTrailersOrThrow(String key)
Map of trailers configured to be logged.boolean
hasResponseCode()
The HTTP response code returned by Envoy.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 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
boolean containsResponseHeaders(String key)
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeaders
@Deprecated Map<String,String> getResponseHeaders()
Deprecated.UsegetResponseHeadersMap()
instead.
-
getResponseHeadersMap
Map<String,String> getResponseHeadersMap()
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeadersOrDefault
String getResponseHeadersOrDefault(String key, String defaultValue)
Map of additional headers configured to be logged.
map<string, string> response_headers = 4;
-
getResponseHeadersOrThrow
String getResponseHeadersOrThrow(String key)
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
boolean containsResponseTrailers(String key)
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailers
@Deprecated Map<String,String> getResponseTrailers()
Deprecated.UsegetResponseTrailersMap()
instead.
-
getResponseTrailersMap
Map<String,String> getResponseTrailersMap()
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailersOrDefault
String getResponseTrailersOrDefault(String key, String defaultValue)
Map of trailers configured to be logged.
map<string, string> response_trailers = 5;
-
getResponseTrailersOrThrow
String getResponseTrailersOrThrow(String key)
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.
-
-