Class ResponseFlags
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.data.accesslog.v2.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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFlags indicating occurrences during request/response processing.static final classProtobuf typeenvoy.data.accesslog.v2.ResponseFlags.Unauthorizedstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ResponseFlagsbooleanIndicates that the request was delayed before proxying.static final com.google.protobuf.Descriptors.DescriptorbooleanIndicates the stream was reset due to a downstream connection termination.booleanIndicates there was an HTTP protocol error on the downstream request.booleanIndicates local server healthcheck failed.booleanIndicates that the request was aborted with an injected error code.booleanIndicates that the request was rejected because an envoy request header failed strict validation.booleanIndicates local codec level reset was sent on the stream.booleanIndicates there was no healthy upstream.booleanIndicates no route was found for the request.com.google.protobuf.Parser<ResponseFlags>booleanIndicates that the request was rate-limited locally.booleanIndicates that the request was rejected because there was an error in rate limit service.intbooleanIndicates that the stream idle timeout was hit, resulting in a downstream 408.Indicates if the request was deemed unauthorized and the reason for it.Indicates if the request was deemed unauthorized and the reason for it.booleanIndicates there was a local reset by a connection pool due to an initial connection failure.booleanIndicates the stream was reset due to an upstream connection termination.booleanIndicates the stream was reset because of a resource overflow.booleanIndicates remote codec level reset was received on the stream.booleanIndicates an there was an upstream request timeout.booleanIndicates that the upstream retry limit was exceeded, resulting in a downstream error.inthashCode()booleanIndicates if the request was deemed unauthorized and the reason for it.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ResponseFlags.Builderstatic ResponseFlags.BuildernewBuilder(ResponseFlags prototype) protected ResponseFlags.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResponseFlagsparseDelimitedFrom(InputStream input) static ResponseFlagsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseFlagsparseFrom(byte[] data) static ResponseFlagsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseFlagsparseFrom(com.google.protobuf.ByteString data) static ResponseFlagsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseFlagsparseFrom(com.google.protobuf.CodedInputStream input) static ResponseFlagsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseFlagsparseFrom(InputStream input) static ResponseFlagsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseFlagsparseFrom(ByteBuffer data) static ResponseFlagsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResponseFlags>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER
public static final int FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER- See Also:
-
NO_HEALTHY_UPSTREAM_FIELD_NUMBER
public static final int NO_HEALTHY_UPSTREAM_FIELD_NUMBER- See Also:
-
UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER
public static final int UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER- See Also:
-
LOCAL_RESET_FIELD_NUMBER
public static final int LOCAL_RESET_FIELD_NUMBER- See Also:
-
UPSTREAM_REMOTE_RESET_FIELD_NUMBER
public static final int UPSTREAM_REMOTE_RESET_FIELD_NUMBER- See Also:
-
UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER
public static final int UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER- See Also:
-
UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER
public static final int UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER- See Also:
-
UPSTREAM_OVERFLOW_FIELD_NUMBER
public static final int UPSTREAM_OVERFLOW_FIELD_NUMBER- See Also:
-
NO_ROUTE_FOUND_FIELD_NUMBER
public static final int NO_ROUTE_FOUND_FIELD_NUMBER- See Also:
-
DELAY_INJECTED_FIELD_NUMBER
public static final int DELAY_INJECTED_FIELD_NUMBER- See Also:
-
FAULT_INJECTED_FIELD_NUMBER
public static final int FAULT_INJECTED_FIELD_NUMBER- See Also:
-
RATE_LIMITED_FIELD_NUMBER
public static final int RATE_LIMITED_FIELD_NUMBER- See Also:
-
UNAUTHORIZED_DETAILS_FIELD_NUMBER
public static final int UNAUTHORIZED_DETAILS_FIELD_NUMBER- See Also:
-
RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER
public static final int RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER- See Also:
-
DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER
public static final int DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER- See Also:
-
UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER
public static final int UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER- See Also:
-
STREAM_IDLE_TIMEOUT_FIELD_NUMBER
public static final int STREAM_IDLE_TIMEOUT_FIELD_NUMBER- See Also:
-
INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER
public static final int INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER- See Also:
-
DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER
public static final int DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFailedLocalHealthcheck
public boolean getFailedLocalHealthcheck()Indicates local server healthcheck failed.
bool failed_local_healthcheck = 1;- Specified by:
getFailedLocalHealthcheckin interfaceResponseFlagsOrBuilder- Returns:
- The failedLocalHealthcheck.
-
getNoHealthyUpstream
public boolean getNoHealthyUpstream()Indicates there was no healthy upstream.
bool no_healthy_upstream = 2;- Specified by:
getNoHealthyUpstreamin interfaceResponseFlagsOrBuilder- Returns:
- The noHealthyUpstream.
-
getUpstreamRequestTimeout
public boolean getUpstreamRequestTimeout()Indicates an there was an upstream request timeout.
bool upstream_request_timeout = 3;- Specified by:
getUpstreamRequestTimeoutin interfaceResponseFlagsOrBuilder- Returns:
- The upstreamRequestTimeout.
-
getLocalReset
public boolean getLocalReset()Indicates local codec level reset was sent on the stream.
bool local_reset = 4;- Specified by:
getLocalResetin interfaceResponseFlagsOrBuilder- Returns:
- The localReset.
-
getUpstreamRemoteReset
public boolean getUpstreamRemoteReset()Indicates remote codec level reset was received on the stream.
bool upstream_remote_reset = 5;- Specified by:
getUpstreamRemoteResetin interfaceResponseFlagsOrBuilder- 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:
getUpstreamConnectionFailurein interfaceResponseFlagsOrBuilder- 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:
getUpstreamConnectionTerminationin interfaceResponseFlagsOrBuilder- Returns:
- The upstreamConnectionTermination.
-
getUpstreamOverflow
public boolean getUpstreamOverflow()Indicates the stream was reset because of a resource overflow.
bool upstream_overflow = 8;- Specified by:
getUpstreamOverflowin interfaceResponseFlagsOrBuilder- Returns:
- The upstreamOverflow.
-
getNoRouteFound
public boolean getNoRouteFound()Indicates no route was found for the request.
bool no_route_found = 9;- Specified by:
getNoRouteFoundin interfaceResponseFlagsOrBuilder- Returns:
- The noRouteFound.
-
getDelayInjected
public boolean getDelayInjected()Indicates that the request was delayed before proxying.
bool delay_injected = 10;- Specified by:
getDelayInjectedin interfaceResponseFlagsOrBuilder- Returns:
- The delayInjected.
-
getFaultInjected
public boolean getFaultInjected()Indicates that the request was aborted with an injected error code.
bool fault_injected = 11;- Specified by:
getFaultInjectedin interfaceResponseFlagsOrBuilder- Returns:
- The faultInjected.
-
getRateLimited
public boolean getRateLimited()Indicates that the request was rate-limited locally.
bool rate_limited = 12;- Specified by:
getRateLimitedin interfaceResponseFlagsOrBuilder- 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:
hasUnauthorizedDetailsin interfaceResponseFlagsOrBuilder- Returns:
- Whether the unauthorizedDetails field is set.
-
getUnauthorizedDetails
Indicates if the request was deemed unauthorized and the reason for it.
.envoy.data.accesslog.v2.ResponseFlags.Unauthorized unauthorized_details = 13;- Specified by:
getUnauthorizedDetailsin interfaceResponseFlagsOrBuilder- Returns:
- The unauthorizedDetails.
-
getUnauthorizedDetailsOrBuilder
Indicates if the request was deemed unauthorized and the reason for it.
.envoy.data.accesslog.v2.ResponseFlags.Unauthorized unauthorized_details = 13;- Specified by:
getUnauthorizedDetailsOrBuilderin interfaceResponseFlagsOrBuilder
-
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:
getRateLimitServiceErrorin interfaceResponseFlagsOrBuilder- 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:
getDownstreamConnectionTerminationin interfaceResponseFlagsOrBuilder- 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:
getUpstreamRetryLimitExceededin interfaceResponseFlagsOrBuilder- 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:
getStreamIdleTimeoutin interfaceResponseFlagsOrBuilder- 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:
getInvalidEnvoyRequestHeadersin interfaceResponseFlagsOrBuilder- 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:
getDownstreamProtocolErrorin interfaceResponseFlagsOrBuilder- Returns:
- The downstreamProtocolError.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ResponseFlags parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResponseFlags parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ResponseFlags parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ResponseFlags parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResponseFlags.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-