io.envoyproxy.envoy.data.accesslog.v3.HTTPResponsePropertiesOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/accesslog/v3/accesslog.proto
package io.envoyproxy.envoy.data.accesslog.v3;
public interface HTTPResponsePropertiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.accesslog.v3.HTTPResponseProperties)
com.google.protobuf.MessageOrBuilder {
/**
*
* The HTTP response code returned by Envoy.
*
*
* .google.protobuf.UInt32Value response_code = 1;
* @return Whether the responseCode field is set.
*/
boolean hasResponseCode();
/**
*
* The HTTP response code returned by Envoy.
*
*
* .google.protobuf.UInt32Value response_code = 1;
* @return The responseCode.
*/
com.google.protobuf.UInt32Value getResponseCode();
/**
*
* The HTTP response code returned by Envoy.
*
*
* .google.protobuf.UInt32Value response_code = 1;
*/
com.google.protobuf.UInt32ValueOrBuilder getResponseCodeOrBuilder();
/**
*
* 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;
* @return The responseHeadersBytes.
*/
long getResponseHeadersBytes();
/**
*
* 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;
* @return The responseBodyBytes.
*/
long getResponseBodyBytes();
/**
*
* Map of additional headers configured to be logged.
*
*
* map<string, string> response_headers = 4;
*/
int getResponseHeadersCount();
/**
*
* Map of additional headers configured to be logged.
*
*
* map<string, string> response_headers = 4;
*/
boolean containsResponseHeaders(
java.lang.String key);
/**
* Use {@link #getResponseHeadersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getResponseHeaders();
/**
*
* Map of additional headers configured to be logged.
*
*
* map<string, string> response_headers = 4;
*/
java.util.Map
getResponseHeadersMap();
/**
*
* Map of additional headers configured to be logged.
*
*
* map<string, string> response_headers = 4;
*/
/* nullable */
java.lang.String getResponseHeadersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* Map of additional headers configured to be logged.
*
*
* map<string, string> response_headers = 4;
*/
java.lang.String getResponseHeadersOrThrow(
java.lang.String key);
/**
*
* Map of trailers configured to be logged.
*
*
* map<string, string> response_trailers = 5;
*/
int getResponseTrailersCount();
/**
*
* Map of trailers configured to be logged.
*
*
* map<string, string> response_trailers = 5;
*/
boolean containsResponseTrailers(
java.lang.String key);
/**
* Use {@link #getResponseTrailersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getResponseTrailers();
/**
*
* Map of trailers configured to be logged.
*
*
* map<string, string> response_trailers = 5;
*/
java.util.Map
getResponseTrailersMap();
/**
*
* Map of trailers configured to be logged.
*
*
* map<string, string> response_trailers = 5;
*/
/* nullable */
java.lang.String getResponseTrailersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* Map of trailers configured to be logged.
*
*
* map<string, string> response_trailers = 5;
*/
java.lang.String getResponseTrailersOrThrow(
java.lang.String key);
/**
*
* The HTTP response code details.
*
*
* string response_code_details = 6;
* @return The responseCodeDetails.
*/
java.lang.String getResponseCodeDetails();
/**
*
* The HTTP response code details.
*
*
* string response_code_details = 6;
* @return The bytes for responseCodeDetails.
*/
com.google.protobuf.ByteString
getResponseCodeDetailsBytes();
/**
*
* Number of header bytes received from the upstream by the http stream, including protocol overhead.
*
*
* uint64 upstream_header_bytes_received = 7;
* @return The upstreamHeaderBytesReceived.
*/
long getUpstreamHeaderBytesReceived();
/**
*
* Number of header bytes sent to the downstream by the http stream, including protocol overhead.
*
*
* uint64 downstream_header_bytes_sent = 8;
* @return The downstreamHeaderBytesSent.
*/
long getDownstreamHeaderBytesSent();
}