Class HTTPResponseProperties

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.data.accesslog.v3.HTTPResponseProperties
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPResponsePropertiesOrBuilder, Serializable

public final class HTTPResponseProperties extends com.google.protobuf.GeneratedMessage implements HTTPResponsePropertiesOrBuilder
 [#next-free-field: 9]
 
Protobuf type envoy.data.accesslog.v3.HTTPResponseProperties
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • RESPONSE_CODE_FIELD_NUMBER

      public static final int RESPONSE_CODE_FIELD_NUMBER
      See Also:
    • responseCode_

      private com.google.protobuf.UInt32Value responseCode_
    • RESPONSE_HEADERS_BYTES_FIELD_NUMBER

      public static final int RESPONSE_HEADERS_BYTES_FIELD_NUMBER
      See Also:
    • responseHeadersBytes_

      private long responseHeadersBytes_
    • RESPONSE_BODY_BYTES_FIELD_NUMBER

      public static final int RESPONSE_BODY_BYTES_FIELD_NUMBER
      See Also:
    • responseBodyBytes_

      private long responseBodyBytes_
    • RESPONSE_HEADERS_FIELD_NUMBER

      public static final int RESPONSE_HEADERS_FIELD_NUMBER
      See Also:
    • responseHeaders_

      private com.google.protobuf.MapField<String,String> responseHeaders_
    • RESPONSE_TRAILERS_FIELD_NUMBER

      public static final int RESPONSE_TRAILERS_FIELD_NUMBER
      See Also:
    • responseTrailers_

      private com.google.protobuf.MapField<String,String> responseTrailers_
    • RESPONSE_CODE_DETAILS_FIELD_NUMBER

      public static final int RESPONSE_CODE_DETAILS_FIELD_NUMBER
      See Also:
    • responseCodeDetails_

      private volatile Object responseCodeDetails_
    • UPSTREAM_HEADER_BYTES_RECEIVED_FIELD_NUMBER

      public static final int UPSTREAM_HEADER_BYTES_RECEIVED_FIELD_NUMBER
      See Also:
    • upstreamHeaderBytesReceived_

      private long upstreamHeaderBytesReceived_
    • DOWNSTREAM_HEADER_BYTES_SENT_FIELD_NUMBER

      public static final int DOWNSTREAM_HEADER_BYTES_SENT_FIELD_NUMBER
      See Also:
    • downstreamHeaderBytesSent_

      private long downstreamHeaderBytesSent_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final HTTPResponseProperties DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<HTTPResponseProperties> PARSER
  • Constructor Details

    • HTTPResponseProperties

      private HTTPResponseProperties(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • HTTPResponseProperties

      private HTTPResponseProperties()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasResponseCode

      public boolean hasResponseCode()
       The HTTP response code returned by Envoy.
       
      .google.protobuf.UInt32Value response_code = 1;
      Specified by:
      hasResponseCode in interface HTTPResponsePropertiesOrBuilder
      Returns:
      Whether the responseCode field is set.
    • getResponseCode

      public com.google.protobuf.UInt32Value getResponseCode()
       The HTTP response code returned by Envoy.
       
      .google.protobuf.UInt32Value response_code = 1;
      Specified by:
      getResponseCode in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The responseCode.
    • getResponseCodeOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getResponseCodeOrBuilder()
       The HTTP response code returned by Envoy.
       
      .google.protobuf.UInt32Value response_code = 1;
      Specified by:
      getResponseCodeOrBuilder in interface HTTPResponsePropertiesOrBuilder
    • getResponseHeadersBytes

      public 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;
      Specified by:
      getResponseHeadersBytes in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The responseHeadersBytes.
    • getResponseBodyBytes

      public 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;
      Specified by:
      getResponseBodyBytes in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The responseBodyBytes.
    • internalGetResponseHeaders

      private com.google.protobuf.MapField<String,String> internalGetResponseHeaders()
    • getResponseHeadersCount

      public int getResponseHeadersCount()
      Description copied from interface: HTTPResponsePropertiesOrBuilder
       Map of additional headers configured to be logged.
       
      map<string, string> response_headers = 4;
      Specified by:
      getResponseHeadersCount in interface HTTPResponsePropertiesOrBuilder
    • containsResponseHeaders

      public boolean containsResponseHeaders(String key)
       Map of additional headers configured to be logged.
       
      map<string, string> response_headers = 4;
      Specified by:
      containsResponseHeaders in interface HTTPResponsePropertiesOrBuilder
    • getResponseHeaders

      @Deprecated public Map<String,String> getResponseHeaders()
      Deprecated.
      Specified by:
      getResponseHeaders in interface HTTPResponsePropertiesOrBuilder
    • getResponseHeadersMap

      public Map<String,String> getResponseHeadersMap()
       Map of additional headers configured to be logged.
       
      map<string, string> response_headers = 4;
      Specified by:
      getResponseHeadersMap in interface HTTPResponsePropertiesOrBuilder
    • getResponseHeadersOrDefault

      public String getResponseHeadersOrDefault(String key, String defaultValue)
       Map of additional headers configured to be logged.
       
      map<string, string> response_headers = 4;
      Specified by:
      getResponseHeadersOrDefault in interface HTTPResponsePropertiesOrBuilder
    • getResponseHeadersOrThrow

      public String getResponseHeadersOrThrow(String key)
       Map of additional headers configured to be logged.
       
      map<string, string> response_headers = 4;
      Specified by:
      getResponseHeadersOrThrow in interface HTTPResponsePropertiesOrBuilder
    • internalGetResponseTrailers

      private com.google.protobuf.MapField<String,String> internalGetResponseTrailers()
    • getResponseTrailersCount

      public int getResponseTrailersCount()
      Description copied from interface: HTTPResponsePropertiesOrBuilder
       Map of trailers configured to be logged.
       
      map<string, string> response_trailers = 5;
      Specified by:
      getResponseTrailersCount in interface HTTPResponsePropertiesOrBuilder
    • containsResponseTrailers

      public boolean containsResponseTrailers(String key)
       Map of trailers configured to be logged.
       
      map<string, string> response_trailers = 5;
      Specified by:
      containsResponseTrailers in interface HTTPResponsePropertiesOrBuilder
    • getResponseTrailers

      @Deprecated public Map<String,String> getResponseTrailers()
      Deprecated.
      Specified by:
      getResponseTrailers in interface HTTPResponsePropertiesOrBuilder
    • getResponseTrailersMap

      public Map<String,String> getResponseTrailersMap()
       Map of trailers configured to be logged.
       
      map<string, string> response_trailers = 5;
      Specified by:
      getResponseTrailersMap in interface HTTPResponsePropertiesOrBuilder
    • getResponseTrailersOrDefault

      public String getResponseTrailersOrDefault(String key, String defaultValue)
       Map of trailers configured to be logged.
       
      map<string, string> response_trailers = 5;
      Specified by:
      getResponseTrailersOrDefault in interface HTTPResponsePropertiesOrBuilder
    • getResponseTrailersOrThrow

      public String getResponseTrailersOrThrow(String key)
       Map of trailers configured to be logged.
       
      map<string, string> response_trailers = 5;
      Specified by:
      getResponseTrailersOrThrow in interface HTTPResponsePropertiesOrBuilder
    • getResponseCodeDetails

      public String getResponseCodeDetails()
       The HTTP response code details.
       
      string response_code_details = 6;
      Specified by:
      getResponseCodeDetails in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The responseCodeDetails.
    • getResponseCodeDetailsBytes

      public com.google.protobuf.ByteString getResponseCodeDetailsBytes()
       The HTTP response code details.
       
      string response_code_details = 6;
      Specified by:
      getResponseCodeDetailsBytes in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The bytes for responseCodeDetails.
    • getUpstreamHeaderBytesReceived

      public long getUpstreamHeaderBytesReceived()
       Number of header bytes received from the upstream by the http stream, including protocol overhead.
       
      uint64 upstream_header_bytes_received = 7;
      Specified by:
      getUpstreamHeaderBytesReceived in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The upstreamHeaderBytesReceived.
    • getDownstreamHeaderBytesSent

      public long getDownstreamHeaderBytesSent()
       Number of header bytes sent to the downstream by the http stream, including protocol overhead.
       
      uint64 downstream_header_bytes_sent = 8;
      Specified by:
      getDownstreamHeaderBytesSent in interface HTTPResponsePropertiesOrBuilder
      Returns:
      The downstreamHeaderBytesSent.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static HTTPResponseProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPResponseProperties parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HTTPResponseProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HTTPResponseProperties parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HTTPResponseProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HTTPResponseProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HTTPResponseProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public HTTPResponseProperties.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HTTPResponseProperties.Builder newBuilder()
    • newBuilder

      public static HTTPResponseProperties.Builder newBuilder(HTTPResponseProperties prototype)
    • toBuilder

      public HTTPResponseProperties.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HTTPResponseProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HTTPResponseProperties getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HTTPResponseProperties> parser()
    • getParserForType

      public com.google.protobuf.Parser<HTTPResponseProperties> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HTTPResponseProperties getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder