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​(java.lang.String key)
      Map of additional headers configured to be logged.
      boolean containsResponseTrailers​(java.lang.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.
      java.lang.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.
      java.util.Map<java.lang.String,​java.lang.String> getResponseHeaders()
      Deprecated.
      long getResponseHeadersBytes()
      Size of the HTTP response headers in bytes.
      int getResponseHeadersCount()
      Map of additional headers configured to be logged.
      java.util.Map<java.lang.String,​java.lang.String> getResponseHeadersMap()
      Map of additional headers configured to be logged.
      java.lang.String getResponseHeadersOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Map of additional headers configured to be logged.
      java.lang.String getResponseHeadersOrThrow​(java.lang.String key)
      Map of additional headers configured to be logged.
      java.util.Map<java.lang.String,​java.lang.String> getResponseTrailers()
      Deprecated.
      int getResponseTrailersCount()
      Map of trailers configured to be logged.
      java.util.Map<java.lang.String,​java.lang.String> getResponseTrailersMap()
      Map of trailers configured to be logged.
      java.lang.String getResponseTrailersOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Map of trailers configured to be logged.
      java.lang.String getResponseTrailersOrThrow​(java.lang.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.MessageLiteOrBuilder

        isInitialized
      • 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​(java.lang.String key)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeaders

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getResponseHeaders()
        Deprecated.
      • getResponseHeadersMap

        java.util.Map<java.lang.String,​java.lang.String> getResponseHeadersMap()
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeadersOrDefault

        java.lang.String getResponseHeadersOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeadersOrThrow

        java.lang.String getResponseHeadersOrThrow​(java.lang.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​(java.lang.String key)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailers

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getResponseTrailers()
        Deprecated.
      • getResponseTrailersMap

        java.util.Map<java.lang.String,​java.lang.String> getResponseTrailersMap()
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailersOrDefault

        java.lang.String getResponseTrailersOrDefault​(java.lang.String key,
                                                      java.lang.String defaultValue)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailersOrThrow

        java.lang.String getResponseTrailersOrThrow​(java.lang.String key)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseCodeDetails

        java.lang.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.