Class ResponseFlags

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ResponseFlagsOrBuilder, Serializable

    public final class ResponseFlags
    extends com.google.protobuf.GeneratedMessageV3
    implements ResponseFlagsOrBuilder
     Flags indicating occurrences during request/response processing.
     [#next-free-field: 20]
     
    Protobuf type envoy.data.accesslog.v2.ResponseFlags
    See Also:
    Serialized Form
    • Field Detail

      • FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER

        public static final int FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NO_HEALTHY_UPSTREAM_FIELD_NUMBER

        public static final int NO_HEALTHY_UPSTREAM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER

        public static final int UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCAL_RESET_FIELD_NUMBER

        public static final int LOCAL_RESET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_REMOTE_RESET_FIELD_NUMBER

        public static final int UPSTREAM_REMOTE_RESET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER

        public static final int UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER

        public static final int UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_OVERFLOW_FIELD_NUMBER

        public static final int UPSTREAM_OVERFLOW_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NO_ROUTE_FOUND_FIELD_NUMBER

        public static final int NO_ROUTE_FOUND_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DELAY_INJECTED_FIELD_NUMBER

        public static final int DELAY_INJECTED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAULT_INJECTED_FIELD_NUMBER

        public static final int FAULT_INJECTED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RATE_LIMITED_FIELD_NUMBER

        public static final int RATE_LIMITED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNAUTHORIZED_DETAILS_FIELD_NUMBER

        public static final int UNAUTHORIZED_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER

        public static final int RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER

        public static final int DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER

        public static final int UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STREAM_IDLE_TIMEOUT_FIELD_NUMBER

        public static final int STREAM_IDLE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER

        public static final int INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER

        public static final int DOWNSTREAM_PROTOCOL_ERROR_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()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getFailedLocalHealthcheck

        public boolean getFailedLocalHealthcheck()
         Indicates local server healthcheck failed.
         
        bool failed_local_healthcheck = 1;
        Specified by:
        getFailedLocalHealthcheck in interface ResponseFlagsOrBuilder
        Returns:
        The failedLocalHealthcheck.
      • getNoHealthyUpstream

        public boolean getNoHealthyUpstream()
         Indicates there was no healthy upstream.
         
        bool no_healthy_upstream = 2;
        Specified by:
        getNoHealthyUpstream in interface ResponseFlagsOrBuilder
        Returns:
        The noHealthyUpstream.
      • getUpstreamRequestTimeout

        public boolean getUpstreamRequestTimeout()
         Indicates an there was an upstream request timeout.
         
        bool upstream_request_timeout = 3;
        Specified by:
        getUpstreamRequestTimeout in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamRequestTimeout.
      • getLocalReset

        public boolean getLocalReset()
         Indicates local codec level reset was sent on the stream.
         
        bool local_reset = 4;
        Specified by:
        getLocalReset in interface ResponseFlagsOrBuilder
        Returns:
        The localReset.
      • getUpstreamRemoteReset

        public boolean getUpstreamRemoteReset()
         Indicates remote codec level reset was received on the stream.
         
        bool upstream_remote_reset = 5;
        Specified by:
        getUpstreamRemoteReset in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamRemoteReset.
      • getUpstreamConnectionFailure

        public boolean getUpstreamConnectionFailure()
         Indicates there was a local reset by a connection pool due to an initial connection failure.
         
        bool upstream_connection_failure = 6;
        Specified by:
        getUpstreamConnectionFailure in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamConnectionFailure.
      • getUpstreamConnectionTermination

        public boolean getUpstreamConnectionTermination()
         Indicates the stream was reset due to an upstream connection termination.
         
        bool upstream_connection_termination = 7;
        Specified by:
        getUpstreamConnectionTermination in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamConnectionTermination.
      • getUpstreamOverflow

        public boolean getUpstreamOverflow()
         Indicates the stream was reset because of a resource overflow.
         
        bool upstream_overflow = 8;
        Specified by:
        getUpstreamOverflow in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamOverflow.
      • getNoRouteFound

        public boolean getNoRouteFound()
         Indicates no route was found for the request.
         
        bool no_route_found = 9;
        Specified by:
        getNoRouteFound in interface ResponseFlagsOrBuilder
        Returns:
        The noRouteFound.
      • getDelayInjected

        public boolean getDelayInjected()
         Indicates that the request was delayed before proxying.
         
        bool delay_injected = 10;
        Specified by:
        getDelayInjected in interface ResponseFlagsOrBuilder
        Returns:
        The delayInjected.
      • getFaultInjected

        public boolean getFaultInjected()
         Indicates that the request was aborted with an injected error code.
         
        bool fault_injected = 11;
        Specified by:
        getFaultInjected in interface ResponseFlagsOrBuilder
        Returns:
        The faultInjected.
      • getRateLimited

        public boolean getRateLimited()
         Indicates that the request was rate-limited locally.
         
        bool rate_limited = 12;
        Specified by:
        getRateLimited in interface ResponseFlagsOrBuilder
        Returns:
        The rateLimited.
      • hasUnauthorizedDetails

        public boolean hasUnauthorizedDetails()
         Indicates if the request was deemed unauthorized and the reason for it.
         
        .envoy.data.accesslog.v2.ResponseFlags.Unauthorized unauthorized_details = 13;
        Specified by:
        hasUnauthorizedDetails in interface ResponseFlagsOrBuilder
        Returns:
        Whether the unauthorizedDetails field is set.
      • getRateLimitServiceError

        public boolean getRateLimitServiceError()
         Indicates that the request was rejected because there was an error in rate limit service.
         
        bool rate_limit_service_error = 14;
        Specified by:
        getRateLimitServiceError in interface ResponseFlagsOrBuilder
        Returns:
        The rateLimitServiceError.
      • getDownstreamConnectionTermination

        public boolean getDownstreamConnectionTermination()
         Indicates the stream was reset due to a downstream connection termination.
         
        bool downstream_connection_termination = 15;
        Specified by:
        getDownstreamConnectionTermination in interface ResponseFlagsOrBuilder
        Returns:
        The downstreamConnectionTermination.
      • getUpstreamRetryLimitExceeded

        public boolean getUpstreamRetryLimitExceeded()
         Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
         
        bool upstream_retry_limit_exceeded = 16;
        Specified by:
        getUpstreamRetryLimitExceeded in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamRetryLimitExceeded.
      • getStreamIdleTimeout

        public boolean getStreamIdleTimeout()
         Indicates that the stream idle timeout was hit, resulting in a downstream 408.
         
        bool stream_idle_timeout = 17;
        Specified by:
        getStreamIdleTimeout in interface ResponseFlagsOrBuilder
        Returns:
        The streamIdleTimeout.
      • getInvalidEnvoyRequestHeaders

        public boolean getInvalidEnvoyRequestHeaders()
         Indicates that the request was rejected because an envoy request header failed strict
         validation.
         
        bool invalid_envoy_request_headers = 18;
        Specified by:
        getInvalidEnvoyRequestHeaders in interface ResponseFlagsOrBuilder
        Returns:
        The invalidEnvoyRequestHeaders.
      • getDownstreamProtocolError

        public boolean getDownstreamProtocolError()
         Indicates there was an HTTP protocol error on the downstream request.
         
        bool downstream_protocol_error = 19;
        Specified by:
        getDownstreamProtocolError in interface ResponseFlagsOrBuilder
        Returns:
        The downstreamProtocolError.
      • 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 ResponseFlags parseFrom​(ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected ResponseFlags.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static ResponseFlags getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<ResponseFlags> 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 ResponseFlags getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder