Class 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.GeneratedMessageV3
    implements HTTPResponsePropertiesOrBuilder
     [#next-free-field: 9]
     
    Protobuf type envoy.data.accesslog.v3.HTTPResponseProperties
    See Also:
    Serialized Form
    • Field Detail

      • RESPONSE_CODE_FIELD_NUMBER

        public static final int RESPONSE_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_HEADERS_BYTES_FIELD_NUMBER

        public static final int RESPONSE_HEADERS_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_BODY_BYTES_FIELD_NUMBER

        public static final int RESPONSE_BODY_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_HEADERS_FIELD_NUMBER

        public static final int RESPONSE_HEADERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_TRAILERS_FIELD_NUMBER

        public static final int RESPONSE_TRAILERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_CODE_DETAILS_FIELD_NUMBER

        public static final int RESPONSE_CODE_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_HEADER_BYTES_RECEIVED_FIELD_NUMBER

        public static final int UPSTREAM_HEADER_BYTES_RECEIVED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOWNSTREAM_HEADER_BYTES_SENT_FIELD_NUMBER

        public static final int DOWNSTREAM_HEADER_BYTES_SENT_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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
      • newBuilderForType

        public HTTPResponseProperties.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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