Class ResponseFlags

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

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

      • bitField0_

        private int bitField0_
      • FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER

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

        private boolean failedLocalHealthcheck_
      • NO_HEALTHY_UPSTREAM_FIELD_NUMBER

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

        private boolean noHealthyUpstream_
      • UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER

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

        private boolean upstreamRequestTimeout_
      • LOCAL_RESET_FIELD_NUMBER

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

        private boolean localReset_
      • UPSTREAM_REMOTE_RESET_FIELD_NUMBER

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

        private boolean upstreamRemoteReset_
      • UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER

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

        private boolean upstreamConnectionFailure_
      • UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER

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

        private boolean upstreamConnectionTermination_
      • UPSTREAM_OVERFLOW_FIELD_NUMBER

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

        private boolean upstreamOverflow_
      • NO_ROUTE_FOUND_FIELD_NUMBER

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

        private boolean noRouteFound_
      • DELAY_INJECTED_FIELD_NUMBER

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

        private boolean delayInjected_
      • FAULT_INJECTED_FIELD_NUMBER

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

        private boolean faultInjected_
      • RATE_LIMITED_FIELD_NUMBER

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

        private boolean rateLimited_
      • 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
      • rateLimitServiceError_

        private boolean rateLimitServiceError_
      • DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER

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

        private boolean downstreamConnectionTermination_
      • UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER

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

        private boolean upstreamRetryLimitExceeded_
      • STREAM_IDLE_TIMEOUT_FIELD_NUMBER

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

        private boolean streamIdleTimeout_
      • INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER

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

        private boolean invalidEnvoyRequestHeaders_
      • DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER

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

        private boolean downstreamProtocolError_
      • UPSTREAM_MAX_STREAM_DURATION_REACHED_FIELD_NUMBER

        public static final int UPSTREAM_MAX_STREAM_DURATION_REACHED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • upstreamMaxStreamDurationReached_

        private boolean upstreamMaxStreamDurationReached_
      • RESPONSE_FROM_CACHE_FILTER_FIELD_NUMBER

        public static final int RESPONSE_FROM_CACHE_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • responseFromCacheFilter_

        private boolean responseFromCacheFilter_
      • NO_FILTER_CONFIG_FOUND_FIELD_NUMBER

        public static final int NO_FILTER_CONFIG_FOUND_FIELD_NUMBER
        See Also:
        Constant Field Values
      • noFilterConfigFound_

        private boolean noFilterConfigFound_
      • DURATION_TIMEOUT_FIELD_NUMBER

        public static final int DURATION_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • durationTimeout_

        private boolean durationTimeout_
      • UPSTREAM_PROTOCOL_ERROR_FIELD_NUMBER

        public static final int UPSTREAM_PROTOCOL_ERROR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • upstreamProtocolError_

        private boolean upstreamProtocolError_
      • NO_CLUSTER_FOUND_FIELD_NUMBER

        public static final int NO_CLUSTER_FOUND_FIELD_NUMBER
        See Also:
        Constant Field Values
      • noClusterFound_

        private boolean noClusterFound_
      • OVERLOAD_MANAGER_FIELD_NUMBER

        public static final int OVERLOAD_MANAGER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • overloadManager_

        private boolean overloadManager_
      • DNS_RESOLUTION_FAILURE_FIELD_NUMBER

        public static final int DNS_RESOLUTION_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • dnsResolutionFailure_

        private boolean dnsResolutionFailure_
      • DOWNSTREAM_REMOTE_RESET_FIELD_NUMBER

        public static final int DOWNSTREAM_REMOTE_RESET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • downstreamRemoteReset_

        private boolean downstreamRemoteReset_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final ResponseFlags DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<ResponseFlags> PARSER
    • Constructor Detail

      • ResponseFlags

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

        private ResponseFlags()
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • 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.v3.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.
      • getUpstreamMaxStreamDurationReached

        public boolean getUpstreamMaxStreamDurationReached()
         Indicates there was a max stream duration reached on the upstream request.
         
        bool upstream_max_stream_duration_reached = 20;
        Specified by:
        getUpstreamMaxStreamDurationReached in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamMaxStreamDurationReached.
      • getResponseFromCacheFilter

        public boolean getResponseFromCacheFilter()
         Indicates the response was served from a cache filter.
         
        bool response_from_cache_filter = 21;
        Specified by:
        getResponseFromCacheFilter in interface ResponseFlagsOrBuilder
        Returns:
        The responseFromCacheFilter.
      • getNoFilterConfigFound

        public boolean getNoFilterConfigFound()
         Indicates that a filter configuration is not available.
         
        bool no_filter_config_found = 22;
        Specified by:
        getNoFilterConfigFound in interface ResponseFlagsOrBuilder
        Returns:
        The noFilterConfigFound.
      • getDurationTimeout

        public boolean getDurationTimeout()
         Indicates that request or connection exceeded the downstream connection duration.
         
        bool duration_timeout = 23;
        Specified by:
        getDurationTimeout in interface ResponseFlagsOrBuilder
        Returns:
        The durationTimeout.
      • getUpstreamProtocolError

        public boolean getUpstreamProtocolError()
         Indicates there was an HTTP protocol error in the upstream response.
         
        bool upstream_protocol_error = 24;
        Specified by:
        getUpstreamProtocolError in interface ResponseFlagsOrBuilder
        Returns:
        The upstreamProtocolError.
      • getNoClusterFound

        public boolean getNoClusterFound()
         Indicates no cluster was found for the request.
         
        bool no_cluster_found = 25;
        Specified by:
        getNoClusterFound in interface ResponseFlagsOrBuilder
        Returns:
        The noClusterFound.
      • getOverloadManager

        public boolean getOverloadManager()
         Indicates overload manager terminated the request.
         
        bool overload_manager = 26;
        Specified by:
        getOverloadManager in interface ResponseFlagsOrBuilder
        Returns:
        The overloadManager.
      • getDnsResolutionFailure

        public boolean getDnsResolutionFailure()
         Indicates a DNS resolution failed.
         
        bool dns_resolution_failure = 27;
        Specified by:
        getDnsResolutionFailure in interface ResponseFlagsOrBuilder
        Returns:
        The dnsResolutionFailure.
      • getDownstreamRemoteReset

        public boolean getDownstreamRemoteReset()
         Indicates a downstream remote codec level reset was received on the stream
         
        bool downstream_remote_reset = 28;
        Specified by:
        getDownstreamRemoteReset in interface ResponseFlagsOrBuilder
        Returns:
        The downstreamRemoteReset.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ResponseFlags parseFrom​(java.nio.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​(java.io.InputStream input)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static ResponseFlags parseDelimitedFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static ResponseFlags parseFrom​(com.google.protobuf.CodedInputStream input)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ResponseFlags parseFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
        Throws:
        java.io.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.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • 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.GeneratedMessage
      • getDefaultInstanceForType

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