All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/data/accesslog/v3/accesslog.proto

package io.envoyproxy.envoy.data.accesslog.v3;

/**
 * 
 * Flags indicating occurrences during request/response processing.
 * [#next-free-field: 28]
 * 
* * Protobuf type {@code envoy.data.accesslog.v3.ResponseFlags} */ public final class ResponseFlags extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.ResponseFlags) ResponseFlagsOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseFlags.newBuilder() to construct. private ResponseFlags(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseFlags() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ResponseFlags(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseFlags( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { failedLocalHealthcheck_ = input.readBool(); break; } case 16: { noHealthyUpstream_ = input.readBool(); break; } case 24: { upstreamRequestTimeout_ = input.readBool(); break; } case 32: { localReset_ = input.readBool(); break; } case 40: { upstreamRemoteReset_ = input.readBool(); break; } case 48: { upstreamConnectionFailure_ = input.readBool(); break; } case 56: { upstreamConnectionTermination_ = input.readBool(); break; } case 64: { upstreamOverflow_ = input.readBool(); break; } case 72: { noRouteFound_ = input.readBool(); break; } case 80: { delayInjected_ = input.readBool(); break; } case 88: { faultInjected_ = input.readBool(); break; } case 96: { rateLimited_ = input.readBool(); break; } case 106: { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder subBuilder = null; if (unauthorizedDetails_ != null) { subBuilder = unauthorizedDetails_.toBuilder(); } unauthorizedDetails_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(unauthorizedDetails_); unauthorizedDetails_ = subBuilder.buildPartial(); } break; } case 112: { rateLimitServiceError_ = input.readBool(); break; } case 120: { downstreamConnectionTermination_ = input.readBool(); break; } case 128: { upstreamRetryLimitExceeded_ = input.readBool(); break; } case 136: { streamIdleTimeout_ = input.readBool(); break; } case 144: { invalidEnvoyRequestHeaders_ = input.readBool(); break; } case 152: { downstreamProtocolError_ = input.readBool(); break; } case 160: { upstreamMaxStreamDurationReached_ = input.readBool(); break; } case 168: { responseFromCacheFilter_ = input.readBool(); break; } case 176: { noFilterConfigFound_ = input.readBool(); break; } case 184: { durationTimeout_ = input.readBool(); break; } case 192: { upstreamProtocolError_ = input.readBool(); break; } case 200: { noClusterFound_ = input.readBool(); break; } case 208: { overloadManager_ = input.readBool(); break; } case 216: { dnsResolutionFailure_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.class, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder.class); } public interface UnauthorizedOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.data.accesslog.v3.ResponseFlags.Unauthorized) com.google.protobuf.MessageOrBuilder { /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The reason. */ io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason getReason(); } /** * Protobuf type {@code envoy.data.accesslog.v3.ResponseFlags.Unauthorized} */ public static final class Unauthorized extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.ResponseFlags.Unauthorized) UnauthorizedOrBuilder { private static final long serialVersionUID = 0L; // Use Unauthorized.newBuilder() to construct. private Unauthorized(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Unauthorized() { reason_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Unauthorized(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Unauthorized( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); reason_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_Unauthorized_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_Unauthorized_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.class, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder.class); } /** *
     * Reasons why the request was unauthorized
     * 
* * Protobuf enum {@code envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason} */ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { /** * REASON_UNSPECIFIED = 0; */ REASON_UNSPECIFIED(0), /** *
       * The request was denied by the external authorization service.
       * 
* * EXTERNAL_SERVICE = 1; */ EXTERNAL_SERVICE(1), UNRECOGNIZED(-1), ; /** * REASON_UNSPECIFIED = 0; */ public static final int REASON_UNSPECIFIED_VALUE = 0; /** *
       * The request was denied by the external authorization service.
       * 
* * EXTERNAL_SERVICE = 1; */ public static final int EXTERNAL_SERVICE_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Reason valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Reason forNumber(int value) { switch (value) { case 0: return REASON_UNSPECIFIED; case 1: return EXTERNAL_SERVICE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Reason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Reason findValueByNumber(int number) { return Reason.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDescriptor().getEnumTypes().get(0); } private static final Reason[] VALUES = values(); public static Reason valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Reason(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason) } public static final int REASON_FIELD_NUMBER = 1; private int reason_; /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ @java.lang.Override public int getReasonValue() { return reason_; } /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The reason. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason getReason() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason result = io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.valueOf(reason_); return result == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (reason_ != io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.REASON_UNSPECIFIED.getNumber()) { output.writeEnum(1, reason_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (reason_ != io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.REASON_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, reason_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized other = (io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized) obj; if (reason_ != other.reason_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + reason_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.data.accesslog.v3.ResponseFlags.Unauthorized} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.ResponseFlags.Unauthorized) io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_Unauthorized_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_Unauthorized_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.class, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); reason_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_Unauthorized_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized build() { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized result = new io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized(this); result.reason_ = reason_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDefaultInstance()) return this; if (other.reason_ != 0) { setReasonValue(other.getReasonValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int reason_ = 0; /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ @java.lang.Override public int getReasonValue() { return reason_; } /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { reason_ = value; onChanged(); return this; } /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return The reason. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason getReason() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason result = io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.valueOf(reason_); return result == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason.UNRECOGNIZED : result; } /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @param value The reason to set. * @return This builder for chaining. */ public Builder setReason(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason value) { if (value == null) { throw new NullPointerException(); } reason_ = value.getNumber(); onChanged(); return this; } /** * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason reason = 1; * @return This builder for chaining. */ public Builder clearReason() { reason_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v3.ResponseFlags.Unauthorized) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.ResponseFlags.Unauthorized) private static final io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized(); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Unauthorized parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Unauthorized(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER = 1; private boolean failedLocalHealthcheck_; /** *
   * Indicates local server healthcheck failed.
   * 
* * bool failed_local_healthcheck = 1; * @return The failedLocalHealthcheck. */ @java.lang.Override public boolean getFailedLocalHealthcheck() { return failedLocalHealthcheck_; } public static final int NO_HEALTHY_UPSTREAM_FIELD_NUMBER = 2; private boolean noHealthyUpstream_; /** *
   * Indicates there was no healthy upstream.
   * 
* * bool no_healthy_upstream = 2; * @return The noHealthyUpstream. */ @java.lang.Override public boolean getNoHealthyUpstream() { return noHealthyUpstream_; } public static final int UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER = 3; private boolean upstreamRequestTimeout_; /** *
   * Indicates an there was an upstream request timeout.
   * 
* * bool upstream_request_timeout = 3; * @return The upstreamRequestTimeout. */ @java.lang.Override public boolean getUpstreamRequestTimeout() { return upstreamRequestTimeout_; } public static final int LOCAL_RESET_FIELD_NUMBER = 4; private boolean localReset_; /** *
   * Indicates local codec level reset was sent on the stream.
   * 
* * bool local_reset = 4; * @return The localReset. */ @java.lang.Override public boolean getLocalReset() { return localReset_; } public static final int UPSTREAM_REMOTE_RESET_FIELD_NUMBER = 5; private boolean upstreamRemoteReset_; /** *
   * Indicates remote codec level reset was received on the stream.
   * 
* * bool upstream_remote_reset = 5; * @return The upstreamRemoteReset. */ @java.lang.Override public boolean getUpstreamRemoteReset() { return upstreamRemoteReset_; } public static final int UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER = 6; private boolean upstreamConnectionFailure_; /** *
   * Indicates there was a local reset by a connection pool due to an initial connection failure.
   * 
* * bool upstream_connection_failure = 6; * @return The upstreamConnectionFailure. */ @java.lang.Override public boolean getUpstreamConnectionFailure() { return upstreamConnectionFailure_; } public static final int UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER = 7; private boolean upstreamConnectionTermination_; /** *
   * Indicates the stream was reset due to an upstream connection termination.
   * 
* * bool upstream_connection_termination = 7; * @return The upstreamConnectionTermination. */ @java.lang.Override public boolean getUpstreamConnectionTermination() { return upstreamConnectionTermination_; } public static final int UPSTREAM_OVERFLOW_FIELD_NUMBER = 8; private boolean upstreamOverflow_; /** *
   * Indicates the stream was reset because of a resource overflow.
   * 
* * bool upstream_overflow = 8; * @return The upstreamOverflow. */ @java.lang.Override public boolean getUpstreamOverflow() { return upstreamOverflow_; } public static final int NO_ROUTE_FOUND_FIELD_NUMBER = 9; private boolean noRouteFound_; /** *
   * Indicates no route was found for the request.
   * 
* * bool no_route_found = 9; * @return The noRouteFound. */ @java.lang.Override public boolean getNoRouteFound() { return noRouteFound_; } public static final int DELAY_INJECTED_FIELD_NUMBER = 10; private boolean delayInjected_; /** *
   * Indicates that the request was delayed before proxying.
   * 
* * bool delay_injected = 10; * @return The delayInjected. */ @java.lang.Override public boolean getDelayInjected() { return delayInjected_; } public static final int FAULT_INJECTED_FIELD_NUMBER = 11; private boolean faultInjected_; /** *
   * Indicates that the request was aborted with an injected error code.
   * 
* * bool fault_injected = 11; * @return The faultInjected. */ @java.lang.Override public boolean getFaultInjected() { return faultInjected_; } public static final int RATE_LIMITED_FIELD_NUMBER = 12; private boolean rateLimited_; /** *
   * Indicates that the request was rate-limited locally.
   * 
* * bool rate_limited = 12; * @return The rateLimited. */ @java.lang.Override public boolean getRateLimited() { return rateLimited_; } public static final int UNAUTHORIZED_DETAILS_FIELD_NUMBER = 13; private io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorizedDetails_; /** *
   * Indicates if the request was deemed unauthorized and the reason for it.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; * @return Whether the unauthorizedDetails field is set. */ @java.lang.Override public boolean hasUnauthorizedDetails() { return unauthorizedDetails_ != null; } /** *
   * Indicates if the request was deemed unauthorized and the reason for it.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; * @return The unauthorizedDetails. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized getUnauthorizedDetails() { return unauthorizedDetails_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDefaultInstance() : unauthorizedDetails_; } /** *
   * Indicates if the request was deemed unauthorized and the reason for it.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder getUnauthorizedDetailsOrBuilder() { return getUnauthorizedDetails(); } public static final int RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER = 14; private boolean rateLimitServiceError_; /** *
   * Indicates that the request was rejected because there was an error in rate limit service.
   * 
* * bool rate_limit_service_error = 14; * @return The rateLimitServiceError. */ @java.lang.Override public boolean getRateLimitServiceError() { return rateLimitServiceError_; } public static final int DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER = 15; private boolean downstreamConnectionTermination_; /** *
   * Indicates the stream was reset due to a downstream connection termination.
   * 
* * bool downstream_connection_termination = 15; * @return The downstreamConnectionTermination. */ @java.lang.Override public boolean getDownstreamConnectionTermination() { return downstreamConnectionTermination_; } public static final int UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER = 16; private boolean upstreamRetryLimitExceeded_; /** *
   * Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
   * 
* * bool upstream_retry_limit_exceeded = 16; * @return The upstreamRetryLimitExceeded. */ @java.lang.Override public boolean getUpstreamRetryLimitExceeded() { return upstreamRetryLimitExceeded_; } public static final int STREAM_IDLE_TIMEOUT_FIELD_NUMBER = 17; private boolean streamIdleTimeout_; /** *
   * Indicates that the stream idle timeout was hit, resulting in a downstream 408.
   * 
* * bool stream_idle_timeout = 17; * @return The streamIdleTimeout. */ @java.lang.Override public boolean getStreamIdleTimeout() { return streamIdleTimeout_; } public static final int INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER = 18; private boolean invalidEnvoyRequestHeaders_; /** *
   * Indicates that the request was rejected because an envoy request header failed strict
   * validation.
   * 
* * bool invalid_envoy_request_headers = 18; * @return The invalidEnvoyRequestHeaders. */ @java.lang.Override public boolean getInvalidEnvoyRequestHeaders() { return invalidEnvoyRequestHeaders_; } public static final int DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER = 19; private boolean downstreamProtocolError_; /** *
   * Indicates there was an HTTP protocol error on the downstream request.
   * 
* * bool downstream_protocol_error = 19; * @return The downstreamProtocolError. */ @java.lang.Override public boolean getDownstreamProtocolError() { return downstreamProtocolError_; } public static final int UPSTREAM_MAX_STREAM_DURATION_REACHED_FIELD_NUMBER = 20; private boolean upstreamMaxStreamDurationReached_; /** *
   * Indicates there was a max stream duration reached on the upstream request.
   * 
* * bool upstream_max_stream_duration_reached = 20; * @return The upstreamMaxStreamDurationReached. */ @java.lang.Override public boolean getUpstreamMaxStreamDurationReached() { return upstreamMaxStreamDurationReached_; } public static final int RESPONSE_FROM_CACHE_FILTER_FIELD_NUMBER = 21; private boolean responseFromCacheFilter_; /** *
   * Indicates the response was served from a cache filter.
   * 
* * bool response_from_cache_filter = 21; * @return The responseFromCacheFilter. */ @java.lang.Override public boolean getResponseFromCacheFilter() { return responseFromCacheFilter_; } public static final int NO_FILTER_CONFIG_FOUND_FIELD_NUMBER = 22; private boolean noFilterConfigFound_; /** *
   * Indicates that a filter configuration is not available.
   * 
* * bool no_filter_config_found = 22; * @return The noFilterConfigFound. */ @java.lang.Override public boolean getNoFilterConfigFound() { return noFilterConfigFound_; } public static final int DURATION_TIMEOUT_FIELD_NUMBER = 23; private boolean durationTimeout_; /** *
   * Indicates that request or connection exceeded the downstream connection duration.
   * 
* * bool duration_timeout = 23; * @return The durationTimeout. */ @java.lang.Override public boolean getDurationTimeout() { return durationTimeout_; } public static final int UPSTREAM_PROTOCOL_ERROR_FIELD_NUMBER = 24; private boolean upstreamProtocolError_; /** *
   * Indicates there was an HTTP protocol error in the upstream response.
   * 
* * bool upstream_protocol_error = 24; * @return The upstreamProtocolError. */ @java.lang.Override public boolean getUpstreamProtocolError() { return upstreamProtocolError_; } public static final int NO_CLUSTER_FOUND_FIELD_NUMBER = 25; private boolean noClusterFound_; /** *
   * Indicates no cluster was found for the request.
   * 
* * bool no_cluster_found = 25; * @return The noClusterFound. */ @java.lang.Override public boolean getNoClusterFound() { return noClusterFound_; } public static final int OVERLOAD_MANAGER_FIELD_NUMBER = 26; private boolean overloadManager_; /** *
   * Indicates overload manager terminated the request.
   * 
* * bool overload_manager = 26; * @return The overloadManager. */ @java.lang.Override public boolean getOverloadManager() { return overloadManager_; } public static final int DNS_RESOLUTION_FAILURE_FIELD_NUMBER = 27; private boolean dnsResolutionFailure_; /** *
   * Indicates a DNS resolution failed.
   * 
* * bool dns_resolution_failure = 27; * @return The dnsResolutionFailure. */ @java.lang.Override public boolean getDnsResolutionFailure() { return dnsResolutionFailure_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (failedLocalHealthcheck_ != false) { output.writeBool(1, failedLocalHealthcheck_); } if (noHealthyUpstream_ != false) { output.writeBool(2, noHealthyUpstream_); } if (upstreamRequestTimeout_ != false) { output.writeBool(3, upstreamRequestTimeout_); } if (localReset_ != false) { output.writeBool(4, localReset_); } if (upstreamRemoteReset_ != false) { output.writeBool(5, upstreamRemoteReset_); } if (upstreamConnectionFailure_ != false) { output.writeBool(6, upstreamConnectionFailure_); } if (upstreamConnectionTermination_ != false) { output.writeBool(7, upstreamConnectionTermination_); } if (upstreamOverflow_ != false) { output.writeBool(8, upstreamOverflow_); } if (noRouteFound_ != false) { output.writeBool(9, noRouteFound_); } if (delayInjected_ != false) { output.writeBool(10, delayInjected_); } if (faultInjected_ != false) { output.writeBool(11, faultInjected_); } if (rateLimited_ != false) { output.writeBool(12, rateLimited_); } if (unauthorizedDetails_ != null) { output.writeMessage(13, getUnauthorizedDetails()); } if (rateLimitServiceError_ != false) { output.writeBool(14, rateLimitServiceError_); } if (downstreamConnectionTermination_ != false) { output.writeBool(15, downstreamConnectionTermination_); } if (upstreamRetryLimitExceeded_ != false) { output.writeBool(16, upstreamRetryLimitExceeded_); } if (streamIdleTimeout_ != false) { output.writeBool(17, streamIdleTimeout_); } if (invalidEnvoyRequestHeaders_ != false) { output.writeBool(18, invalidEnvoyRequestHeaders_); } if (downstreamProtocolError_ != false) { output.writeBool(19, downstreamProtocolError_); } if (upstreamMaxStreamDurationReached_ != false) { output.writeBool(20, upstreamMaxStreamDurationReached_); } if (responseFromCacheFilter_ != false) { output.writeBool(21, responseFromCacheFilter_); } if (noFilterConfigFound_ != false) { output.writeBool(22, noFilterConfigFound_); } if (durationTimeout_ != false) { output.writeBool(23, durationTimeout_); } if (upstreamProtocolError_ != false) { output.writeBool(24, upstreamProtocolError_); } if (noClusterFound_ != false) { output.writeBool(25, noClusterFound_); } if (overloadManager_ != false) { output.writeBool(26, overloadManager_); } if (dnsResolutionFailure_ != false) { output.writeBool(27, dnsResolutionFailure_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (failedLocalHealthcheck_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, failedLocalHealthcheck_); } if (noHealthyUpstream_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, noHealthyUpstream_); } if (upstreamRequestTimeout_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, upstreamRequestTimeout_); } if (localReset_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, localReset_); } if (upstreamRemoteReset_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, upstreamRemoteReset_); } if (upstreamConnectionFailure_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, upstreamConnectionFailure_); } if (upstreamConnectionTermination_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, upstreamConnectionTermination_); } if (upstreamOverflow_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, upstreamOverflow_); } if (noRouteFound_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, noRouteFound_); } if (delayInjected_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, delayInjected_); } if (faultInjected_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, faultInjected_); } if (rateLimited_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, rateLimited_); } if (unauthorizedDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getUnauthorizedDetails()); } if (rateLimitServiceError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, rateLimitServiceError_); } if (downstreamConnectionTermination_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, downstreamConnectionTermination_); } if (upstreamRetryLimitExceeded_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, upstreamRetryLimitExceeded_); } if (streamIdleTimeout_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, streamIdleTimeout_); } if (invalidEnvoyRequestHeaders_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(18, invalidEnvoyRequestHeaders_); } if (downstreamProtocolError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, downstreamProtocolError_); } if (upstreamMaxStreamDurationReached_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, upstreamMaxStreamDurationReached_); } if (responseFromCacheFilter_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(21, responseFromCacheFilter_); } if (noFilterConfigFound_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(22, noFilterConfigFound_); } if (durationTimeout_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(23, durationTimeout_); } if (upstreamProtocolError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(24, upstreamProtocolError_); } if (noClusterFound_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(25, noClusterFound_); } if (overloadManager_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(26, overloadManager_); } if (dnsResolutionFailure_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(27, dnsResolutionFailure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags other = (io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags) obj; if (getFailedLocalHealthcheck() != other.getFailedLocalHealthcheck()) return false; if (getNoHealthyUpstream() != other.getNoHealthyUpstream()) return false; if (getUpstreamRequestTimeout() != other.getUpstreamRequestTimeout()) return false; if (getLocalReset() != other.getLocalReset()) return false; if (getUpstreamRemoteReset() != other.getUpstreamRemoteReset()) return false; if (getUpstreamConnectionFailure() != other.getUpstreamConnectionFailure()) return false; if (getUpstreamConnectionTermination() != other.getUpstreamConnectionTermination()) return false; if (getUpstreamOverflow() != other.getUpstreamOverflow()) return false; if (getNoRouteFound() != other.getNoRouteFound()) return false; if (getDelayInjected() != other.getDelayInjected()) return false; if (getFaultInjected() != other.getFaultInjected()) return false; if (getRateLimited() != other.getRateLimited()) return false; if (hasUnauthorizedDetails() != other.hasUnauthorizedDetails()) return false; if (hasUnauthorizedDetails()) { if (!getUnauthorizedDetails() .equals(other.getUnauthorizedDetails())) return false; } if (getRateLimitServiceError() != other.getRateLimitServiceError()) return false; if (getDownstreamConnectionTermination() != other.getDownstreamConnectionTermination()) return false; if (getUpstreamRetryLimitExceeded() != other.getUpstreamRetryLimitExceeded()) return false; if (getStreamIdleTimeout() != other.getStreamIdleTimeout()) return false; if (getInvalidEnvoyRequestHeaders() != other.getInvalidEnvoyRequestHeaders()) return false; if (getDownstreamProtocolError() != other.getDownstreamProtocolError()) return false; if (getUpstreamMaxStreamDurationReached() != other.getUpstreamMaxStreamDurationReached()) return false; if (getResponseFromCacheFilter() != other.getResponseFromCacheFilter()) return false; if (getNoFilterConfigFound() != other.getNoFilterConfigFound()) return false; if (getDurationTimeout() != other.getDurationTimeout()) return false; if (getUpstreamProtocolError() != other.getUpstreamProtocolError()) return false; if (getNoClusterFound() != other.getNoClusterFound()) return false; if (getOverloadManager() != other.getOverloadManager()) return false; if (getDnsResolutionFailure() != other.getDnsResolutionFailure()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FAILED_LOCAL_HEALTHCHECK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFailedLocalHealthcheck()); hash = (37 * hash) + NO_HEALTHY_UPSTREAM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoHealthyUpstream()); hash = (37 * hash) + UPSTREAM_REQUEST_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamRequestTimeout()); hash = (37 * hash) + LOCAL_RESET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLocalReset()); hash = (37 * hash) + UPSTREAM_REMOTE_RESET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamRemoteReset()); hash = (37 * hash) + UPSTREAM_CONNECTION_FAILURE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamConnectionFailure()); hash = (37 * hash) + UPSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamConnectionTermination()); hash = (37 * hash) + UPSTREAM_OVERFLOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamOverflow()); hash = (37 * hash) + NO_ROUTE_FOUND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoRouteFound()); hash = (37 * hash) + DELAY_INJECTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDelayInjected()); hash = (37 * hash) + FAULT_INJECTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFaultInjected()); hash = (37 * hash) + RATE_LIMITED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRateLimited()); if (hasUnauthorizedDetails()) { hash = (37 * hash) + UNAUTHORIZED_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getUnauthorizedDetails().hashCode(); } hash = (37 * hash) + RATE_LIMIT_SERVICE_ERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRateLimitServiceError()); hash = (37 * hash) + DOWNSTREAM_CONNECTION_TERMINATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDownstreamConnectionTermination()); hash = (37 * hash) + UPSTREAM_RETRY_LIMIT_EXCEEDED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamRetryLimitExceeded()); hash = (37 * hash) + STREAM_IDLE_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStreamIdleTimeout()); hash = (37 * hash) + INVALID_ENVOY_REQUEST_HEADERS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInvalidEnvoyRequestHeaders()); hash = (37 * hash) + DOWNSTREAM_PROTOCOL_ERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDownstreamProtocolError()); hash = (37 * hash) + UPSTREAM_MAX_STREAM_DURATION_REACHED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamMaxStreamDurationReached()); hash = (37 * hash) + RESPONSE_FROM_CACHE_FILTER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getResponseFromCacheFilter()); hash = (37 * hash) + NO_FILTER_CONFIG_FOUND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoFilterConfigFound()); hash = (37 * hash) + DURATION_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDurationTimeout()); hash = (37 * hash) + UPSTREAM_PROTOCOL_ERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUpstreamProtocolError()); hash = (37 * hash) + NO_CLUSTER_FOUND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoClusterFound()); hash = (37 * hash) + OVERLOAD_MANAGER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOverloadManager()); hash = (37 * hash) + DNS_RESOLUTION_FAILURE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDnsResolutionFailure()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Flags indicating occurrences during request/response processing.
   * [#next-free-field: 28]
   * 
* * Protobuf type {@code envoy.data.accesslog.v3.ResponseFlags} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.ResponseFlags) io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.class, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); failedLocalHealthcheck_ = false; noHealthyUpstream_ = false; upstreamRequestTimeout_ = false; localReset_ = false; upstreamRemoteReset_ = false; upstreamConnectionFailure_ = false; upstreamConnectionTermination_ = false; upstreamOverflow_ = false; noRouteFound_ = false; delayInjected_ = false; faultInjected_ = false; rateLimited_ = false; if (unauthorizedDetailsBuilder_ == null) { unauthorizedDetails_ = null; } else { unauthorizedDetails_ = null; unauthorizedDetailsBuilder_ = null; } rateLimitServiceError_ = false; downstreamConnectionTermination_ = false; upstreamRetryLimitExceeded_ = false; streamIdleTimeout_ = false; invalidEnvoyRequestHeaders_ = false; downstreamProtocolError_ = false; upstreamMaxStreamDurationReached_ = false; responseFromCacheFilter_ = false; noFilterConfigFound_ = false; durationTimeout_ = false; upstreamProtocolError_ = false; noClusterFound_ = false; overloadManager_ = false; dnsResolutionFailure_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_ResponseFlags_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags build() { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags result = new io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags(this); result.failedLocalHealthcheck_ = failedLocalHealthcheck_; result.noHealthyUpstream_ = noHealthyUpstream_; result.upstreamRequestTimeout_ = upstreamRequestTimeout_; result.localReset_ = localReset_; result.upstreamRemoteReset_ = upstreamRemoteReset_; result.upstreamConnectionFailure_ = upstreamConnectionFailure_; result.upstreamConnectionTermination_ = upstreamConnectionTermination_; result.upstreamOverflow_ = upstreamOverflow_; result.noRouteFound_ = noRouteFound_; result.delayInjected_ = delayInjected_; result.faultInjected_ = faultInjected_; result.rateLimited_ = rateLimited_; if (unauthorizedDetailsBuilder_ == null) { result.unauthorizedDetails_ = unauthorizedDetails_; } else { result.unauthorizedDetails_ = unauthorizedDetailsBuilder_.build(); } result.rateLimitServiceError_ = rateLimitServiceError_; result.downstreamConnectionTermination_ = downstreamConnectionTermination_; result.upstreamRetryLimitExceeded_ = upstreamRetryLimitExceeded_; result.streamIdleTimeout_ = streamIdleTimeout_; result.invalidEnvoyRequestHeaders_ = invalidEnvoyRequestHeaders_; result.downstreamProtocolError_ = downstreamProtocolError_; result.upstreamMaxStreamDurationReached_ = upstreamMaxStreamDurationReached_; result.responseFromCacheFilter_ = responseFromCacheFilter_; result.noFilterConfigFound_ = noFilterConfigFound_; result.durationTimeout_ = durationTimeout_; result.upstreamProtocolError_ = upstreamProtocolError_; result.noClusterFound_ = noClusterFound_; result.overloadManager_ = overloadManager_; result.dnsResolutionFailure_ = dnsResolutionFailure_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.getDefaultInstance()) return this; if (other.getFailedLocalHealthcheck() != false) { setFailedLocalHealthcheck(other.getFailedLocalHealthcheck()); } if (other.getNoHealthyUpstream() != false) { setNoHealthyUpstream(other.getNoHealthyUpstream()); } if (other.getUpstreamRequestTimeout() != false) { setUpstreamRequestTimeout(other.getUpstreamRequestTimeout()); } if (other.getLocalReset() != false) { setLocalReset(other.getLocalReset()); } if (other.getUpstreamRemoteReset() != false) { setUpstreamRemoteReset(other.getUpstreamRemoteReset()); } if (other.getUpstreamConnectionFailure() != false) { setUpstreamConnectionFailure(other.getUpstreamConnectionFailure()); } if (other.getUpstreamConnectionTermination() != false) { setUpstreamConnectionTermination(other.getUpstreamConnectionTermination()); } if (other.getUpstreamOverflow() != false) { setUpstreamOverflow(other.getUpstreamOverflow()); } if (other.getNoRouteFound() != false) { setNoRouteFound(other.getNoRouteFound()); } if (other.getDelayInjected() != false) { setDelayInjected(other.getDelayInjected()); } if (other.getFaultInjected() != false) { setFaultInjected(other.getFaultInjected()); } if (other.getRateLimited() != false) { setRateLimited(other.getRateLimited()); } if (other.hasUnauthorizedDetails()) { mergeUnauthorizedDetails(other.getUnauthorizedDetails()); } if (other.getRateLimitServiceError() != false) { setRateLimitServiceError(other.getRateLimitServiceError()); } if (other.getDownstreamConnectionTermination() != false) { setDownstreamConnectionTermination(other.getDownstreamConnectionTermination()); } if (other.getUpstreamRetryLimitExceeded() != false) { setUpstreamRetryLimitExceeded(other.getUpstreamRetryLimitExceeded()); } if (other.getStreamIdleTimeout() != false) { setStreamIdleTimeout(other.getStreamIdleTimeout()); } if (other.getInvalidEnvoyRequestHeaders() != false) { setInvalidEnvoyRequestHeaders(other.getInvalidEnvoyRequestHeaders()); } if (other.getDownstreamProtocolError() != false) { setDownstreamProtocolError(other.getDownstreamProtocolError()); } if (other.getUpstreamMaxStreamDurationReached() != false) { setUpstreamMaxStreamDurationReached(other.getUpstreamMaxStreamDurationReached()); } if (other.getResponseFromCacheFilter() != false) { setResponseFromCacheFilter(other.getResponseFromCacheFilter()); } if (other.getNoFilterConfigFound() != false) { setNoFilterConfigFound(other.getNoFilterConfigFound()); } if (other.getDurationTimeout() != false) { setDurationTimeout(other.getDurationTimeout()); } if (other.getUpstreamProtocolError() != false) { setUpstreamProtocolError(other.getUpstreamProtocolError()); } if (other.getNoClusterFound() != false) { setNoClusterFound(other.getNoClusterFound()); } if (other.getOverloadManager() != false) { setOverloadManager(other.getOverloadManager()); } if (other.getDnsResolutionFailure() != false) { setDnsResolutionFailure(other.getDnsResolutionFailure()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean failedLocalHealthcheck_ ; /** *
     * Indicates local server healthcheck failed.
     * 
* * bool failed_local_healthcheck = 1; * @return The failedLocalHealthcheck. */ @java.lang.Override public boolean getFailedLocalHealthcheck() { return failedLocalHealthcheck_; } /** *
     * Indicates local server healthcheck failed.
     * 
* * bool failed_local_healthcheck = 1; * @param value The failedLocalHealthcheck to set. * @return This builder for chaining. */ public Builder setFailedLocalHealthcheck(boolean value) { failedLocalHealthcheck_ = value; onChanged(); return this; } /** *
     * Indicates local server healthcheck failed.
     * 
* * bool failed_local_healthcheck = 1; * @return This builder for chaining. */ public Builder clearFailedLocalHealthcheck() { failedLocalHealthcheck_ = false; onChanged(); return this; } private boolean noHealthyUpstream_ ; /** *
     * Indicates there was no healthy upstream.
     * 
* * bool no_healthy_upstream = 2; * @return The noHealthyUpstream. */ @java.lang.Override public boolean getNoHealthyUpstream() { return noHealthyUpstream_; } /** *
     * Indicates there was no healthy upstream.
     * 
* * bool no_healthy_upstream = 2; * @param value The noHealthyUpstream to set. * @return This builder for chaining. */ public Builder setNoHealthyUpstream(boolean value) { noHealthyUpstream_ = value; onChanged(); return this; } /** *
     * Indicates there was no healthy upstream.
     * 
* * bool no_healthy_upstream = 2; * @return This builder for chaining. */ public Builder clearNoHealthyUpstream() { noHealthyUpstream_ = false; onChanged(); return this; } private boolean upstreamRequestTimeout_ ; /** *
     * Indicates an there was an upstream request timeout.
     * 
* * bool upstream_request_timeout = 3; * @return The upstreamRequestTimeout. */ @java.lang.Override public boolean getUpstreamRequestTimeout() { return upstreamRequestTimeout_; } /** *
     * Indicates an there was an upstream request timeout.
     * 
* * bool upstream_request_timeout = 3; * @param value The upstreamRequestTimeout to set. * @return This builder for chaining. */ public Builder setUpstreamRequestTimeout(boolean value) { upstreamRequestTimeout_ = value; onChanged(); return this; } /** *
     * Indicates an there was an upstream request timeout.
     * 
* * bool upstream_request_timeout = 3; * @return This builder for chaining. */ public Builder clearUpstreamRequestTimeout() { upstreamRequestTimeout_ = false; onChanged(); return this; } private boolean localReset_ ; /** *
     * Indicates local codec level reset was sent on the stream.
     * 
* * bool local_reset = 4; * @return The localReset. */ @java.lang.Override public boolean getLocalReset() { return localReset_; } /** *
     * Indicates local codec level reset was sent on the stream.
     * 
* * bool local_reset = 4; * @param value The localReset to set. * @return This builder for chaining. */ public Builder setLocalReset(boolean value) { localReset_ = value; onChanged(); return this; } /** *
     * Indicates local codec level reset was sent on the stream.
     * 
* * bool local_reset = 4; * @return This builder for chaining. */ public Builder clearLocalReset() { localReset_ = false; onChanged(); return this; } private boolean upstreamRemoteReset_ ; /** *
     * Indicates remote codec level reset was received on the stream.
     * 
* * bool upstream_remote_reset = 5; * @return The upstreamRemoteReset. */ @java.lang.Override public boolean getUpstreamRemoteReset() { return upstreamRemoteReset_; } /** *
     * Indicates remote codec level reset was received on the stream.
     * 
* * bool upstream_remote_reset = 5; * @param value The upstreamRemoteReset to set. * @return This builder for chaining. */ public Builder setUpstreamRemoteReset(boolean value) { upstreamRemoteReset_ = value; onChanged(); return this; } /** *
     * Indicates remote codec level reset was received on the stream.
     * 
* * bool upstream_remote_reset = 5; * @return This builder for chaining. */ public Builder clearUpstreamRemoteReset() { upstreamRemoteReset_ = false; onChanged(); return this; } private boolean upstreamConnectionFailure_ ; /** *
     * Indicates there was a local reset by a connection pool due to an initial connection failure.
     * 
* * bool upstream_connection_failure = 6; * @return The upstreamConnectionFailure. */ @java.lang.Override public boolean getUpstreamConnectionFailure() { return upstreamConnectionFailure_; } /** *
     * Indicates there was a local reset by a connection pool due to an initial connection failure.
     * 
* * bool upstream_connection_failure = 6; * @param value The upstreamConnectionFailure to set. * @return This builder for chaining. */ public Builder setUpstreamConnectionFailure(boolean value) { upstreamConnectionFailure_ = value; onChanged(); return this; } /** *
     * Indicates there was a local reset by a connection pool due to an initial connection failure.
     * 
* * bool upstream_connection_failure = 6; * @return This builder for chaining. */ public Builder clearUpstreamConnectionFailure() { upstreamConnectionFailure_ = false; onChanged(); return this; } private boolean upstreamConnectionTermination_ ; /** *
     * Indicates the stream was reset due to an upstream connection termination.
     * 
* * bool upstream_connection_termination = 7; * @return The upstreamConnectionTermination. */ @java.lang.Override public boolean getUpstreamConnectionTermination() { return upstreamConnectionTermination_; } /** *
     * Indicates the stream was reset due to an upstream connection termination.
     * 
* * bool upstream_connection_termination = 7; * @param value The upstreamConnectionTermination to set. * @return This builder for chaining. */ public Builder setUpstreamConnectionTermination(boolean value) { upstreamConnectionTermination_ = value; onChanged(); return this; } /** *
     * Indicates the stream was reset due to an upstream connection termination.
     * 
* * bool upstream_connection_termination = 7; * @return This builder for chaining. */ public Builder clearUpstreamConnectionTermination() { upstreamConnectionTermination_ = false; onChanged(); return this; } private boolean upstreamOverflow_ ; /** *
     * Indicates the stream was reset because of a resource overflow.
     * 
* * bool upstream_overflow = 8; * @return The upstreamOverflow. */ @java.lang.Override public boolean getUpstreamOverflow() { return upstreamOverflow_; } /** *
     * Indicates the stream was reset because of a resource overflow.
     * 
* * bool upstream_overflow = 8; * @param value The upstreamOverflow to set. * @return This builder for chaining. */ public Builder setUpstreamOverflow(boolean value) { upstreamOverflow_ = value; onChanged(); return this; } /** *
     * Indicates the stream was reset because of a resource overflow.
     * 
* * bool upstream_overflow = 8; * @return This builder for chaining. */ public Builder clearUpstreamOverflow() { upstreamOverflow_ = false; onChanged(); return this; } private boolean noRouteFound_ ; /** *
     * Indicates no route was found for the request.
     * 
* * bool no_route_found = 9; * @return The noRouteFound. */ @java.lang.Override public boolean getNoRouteFound() { return noRouteFound_; } /** *
     * Indicates no route was found for the request.
     * 
* * bool no_route_found = 9; * @param value The noRouteFound to set. * @return This builder for chaining. */ public Builder setNoRouteFound(boolean value) { noRouteFound_ = value; onChanged(); return this; } /** *
     * Indicates no route was found for the request.
     * 
* * bool no_route_found = 9; * @return This builder for chaining. */ public Builder clearNoRouteFound() { noRouteFound_ = false; onChanged(); return this; } private boolean delayInjected_ ; /** *
     * Indicates that the request was delayed before proxying.
     * 
* * bool delay_injected = 10; * @return The delayInjected. */ @java.lang.Override public boolean getDelayInjected() { return delayInjected_; } /** *
     * Indicates that the request was delayed before proxying.
     * 
* * bool delay_injected = 10; * @param value The delayInjected to set. * @return This builder for chaining. */ public Builder setDelayInjected(boolean value) { delayInjected_ = value; onChanged(); return this; } /** *
     * Indicates that the request was delayed before proxying.
     * 
* * bool delay_injected = 10; * @return This builder for chaining. */ public Builder clearDelayInjected() { delayInjected_ = false; onChanged(); return this; } private boolean faultInjected_ ; /** *
     * Indicates that the request was aborted with an injected error code.
     * 
* * bool fault_injected = 11; * @return The faultInjected. */ @java.lang.Override public boolean getFaultInjected() { return faultInjected_; } /** *
     * Indicates that the request was aborted with an injected error code.
     * 
* * bool fault_injected = 11; * @param value The faultInjected to set. * @return This builder for chaining. */ public Builder setFaultInjected(boolean value) { faultInjected_ = value; onChanged(); return this; } /** *
     * Indicates that the request was aborted with an injected error code.
     * 
* * bool fault_injected = 11; * @return This builder for chaining. */ public Builder clearFaultInjected() { faultInjected_ = false; onChanged(); return this; } private boolean rateLimited_ ; /** *
     * Indicates that the request was rate-limited locally.
     * 
* * bool rate_limited = 12; * @return The rateLimited. */ @java.lang.Override public boolean getRateLimited() { return rateLimited_; } /** *
     * Indicates that the request was rate-limited locally.
     * 
* * bool rate_limited = 12; * @param value The rateLimited to set. * @return This builder for chaining. */ public Builder setRateLimited(boolean value) { rateLimited_ = value; onChanged(); return this; } /** *
     * Indicates that the request was rate-limited locally.
     * 
* * bool rate_limited = 12; * @return This builder for chaining. */ public Builder clearRateLimited() { rateLimited_ = false; onChanged(); return this; } private io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorizedDetails_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder> unauthorizedDetailsBuilder_; /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; * @return Whether the unauthorizedDetails field is set. */ public boolean hasUnauthorizedDetails() { return unauthorizedDetailsBuilder_ != null || unauthorizedDetails_ != null; } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; * @return The unauthorizedDetails. */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized getUnauthorizedDetails() { if (unauthorizedDetailsBuilder_ == null) { return unauthorizedDetails_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDefaultInstance() : unauthorizedDetails_; } else { return unauthorizedDetailsBuilder_.getMessage(); } } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public Builder setUnauthorizedDetails(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized value) { if (unauthorizedDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } unauthorizedDetails_ = value; onChanged(); } else { unauthorizedDetailsBuilder_.setMessage(value); } return this; } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public Builder setUnauthorizedDetails( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder builderForValue) { if (unauthorizedDetailsBuilder_ == null) { unauthorizedDetails_ = builderForValue.build(); onChanged(); } else { unauthorizedDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public Builder mergeUnauthorizedDetails(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized value) { if (unauthorizedDetailsBuilder_ == null) { if (unauthorizedDetails_ != null) { unauthorizedDetails_ = io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.newBuilder(unauthorizedDetails_).mergeFrom(value).buildPartial(); } else { unauthorizedDetails_ = value; } onChanged(); } else { unauthorizedDetailsBuilder_.mergeFrom(value); } return this; } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public Builder clearUnauthorizedDetails() { if (unauthorizedDetailsBuilder_ == null) { unauthorizedDetails_ = null; onChanged(); } else { unauthorizedDetails_ = null; unauthorizedDetailsBuilder_ = null; } return this; } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder getUnauthorizedDetailsBuilder() { onChanged(); return getUnauthorizedDetailsFieldBuilder().getBuilder(); } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder getUnauthorizedDetailsOrBuilder() { if (unauthorizedDetailsBuilder_ != null) { return unauthorizedDetailsBuilder_.getMessageOrBuilder(); } else { return unauthorizedDetails_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.getDefaultInstance() : unauthorizedDetails_; } } /** *
     * Indicates if the request was deemed unauthorized and the reason for it.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags.Unauthorized unauthorized_details = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder> getUnauthorizedDetailsFieldBuilder() { if (unauthorizedDetailsBuilder_ == null) { unauthorizedDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.UnauthorizedOrBuilder>( getUnauthorizedDetails(), getParentForChildren(), isClean()); unauthorizedDetails_ = null; } return unauthorizedDetailsBuilder_; } private boolean rateLimitServiceError_ ; /** *
     * Indicates that the request was rejected because there was an error in rate limit service.
     * 
* * bool rate_limit_service_error = 14; * @return The rateLimitServiceError. */ @java.lang.Override public boolean getRateLimitServiceError() { return rateLimitServiceError_; } /** *
     * Indicates that the request was rejected because there was an error in rate limit service.
     * 
* * bool rate_limit_service_error = 14; * @param value The rateLimitServiceError to set. * @return This builder for chaining. */ public Builder setRateLimitServiceError(boolean value) { rateLimitServiceError_ = value; onChanged(); return this; } /** *
     * Indicates that the request was rejected because there was an error in rate limit service.
     * 
* * bool rate_limit_service_error = 14; * @return This builder for chaining. */ public Builder clearRateLimitServiceError() { rateLimitServiceError_ = false; onChanged(); return this; } private boolean downstreamConnectionTermination_ ; /** *
     * Indicates the stream was reset due to a downstream connection termination.
     * 
* * bool downstream_connection_termination = 15; * @return The downstreamConnectionTermination. */ @java.lang.Override public boolean getDownstreamConnectionTermination() { return downstreamConnectionTermination_; } /** *
     * Indicates the stream was reset due to a downstream connection termination.
     * 
* * bool downstream_connection_termination = 15; * @param value The downstreamConnectionTermination to set. * @return This builder for chaining. */ public Builder setDownstreamConnectionTermination(boolean value) { downstreamConnectionTermination_ = value; onChanged(); return this; } /** *
     * Indicates the stream was reset due to a downstream connection termination.
     * 
* * bool downstream_connection_termination = 15; * @return This builder for chaining. */ public Builder clearDownstreamConnectionTermination() { downstreamConnectionTermination_ = false; onChanged(); return this; } private boolean upstreamRetryLimitExceeded_ ; /** *
     * Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
     * 
* * bool upstream_retry_limit_exceeded = 16; * @return The upstreamRetryLimitExceeded. */ @java.lang.Override public boolean getUpstreamRetryLimitExceeded() { return upstreamRetryLimitExceeded_; } /** *
     * Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
     * 
* * bool upstream_retry_limit_exceeded = 16; * @param value The upstreamRetryLimitExceeded to set. * @return This builder for chaining. */ public Builder setUpstreamRetryLimitExceeded(boolean value) { upstreamRetryLimitExceeded_ = value; onChanged(); return this; } /** *
     * Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
     * 
* * bool upstream_retry_limit_exceeded = 16; * @return This builder for chaining. */ public Builder clearUpstreamRetryLimitExceeded() { upstreamRetryLimitExceeded_ = false; onChanged(); return this; } private boolean streamIdleTimeout_ ; /** *
     * Indicates that the stream idle timeout was hit, resulting in a downstream 408.
     * 
* * bool stream_idle_timeout = 17; * @return The streamIdleTimeout. */ @java.lang.Override public boolean getStreamIdleTimeout() { return streamIdleTimeout_; } /** *
     * Indicates that the stream idle timeout was hit, resulting in a downstream 408.
     * 
* * bool stream_idle_timeout = 17; * @param value The streamIdleTimeout to set. * @return This builder for chaining. */ public Builder setStreamIdleTimeout(boolean value) { streamIdleTimeout_ = value; onChanged(); return this; } /** *
     * Indicates that the stream idle timeout was hit, resulting in a downstream 408.
     * 
* * bool stream_idle_timeout = 17; * @return This builder for chaining. */ public Builder clearStreamIdleTimeout() { streamIdleTimeout_ = false; onChanged(); return this; } private boolean invalidEnvoyRequestHeaders_ ; /** *
     * Indicates that the request was rejected because an envoy request header failed strict
     * validation.
     * 
* * bool invalid_envoy_request_headers = 18; * @return The invalidEnvoyRequestHeaders. */ @java.lang.Override public boolean getInvalidEnvoyRequestHeaders() { return invalidEnvoyRequestHeaders_; } /** *
     * Indicates that the request was rejected because an envoy request header failed strict
     * validation.
     * 
* * bool invalid_envoy_request_headers = 18; * @param value The invalidEnvoyRequestHeaders to set. * @return This builder for chaining. */ public Builder setInvalidEnvoyRequestHeaders(boolean value) { invalidEnvoyRequestHeaders_ = value; onChanged(); return this; } /** *
     * Indicates that the request was rejected because an envoy request header failed strict
     * validation.
     * 
* * bool invalid_envoy_request_headers = 18; * @return This builder for chaining. */ public Builder clearInvalidEnvoyRequestHeaders() { invalidEnvoyRequestHeaders_ = false; onChanged(); return this; } private boolean downstreamProtocolError_ ; /** *
     * Indicates there was an HTTP protocol error on the downstream request.
     * 
* * bool downstream_protocol_error = 19; * @return The downstreamProtocolError. */ @java.lang.Override public boolean getDownstreamProtocolError() { return downstreamProtocolError_; } /** *
     * Indicates there was an HTTP protocol error on the downstream request.
     * 
* * bool downstream_protocol_error = 19; * @param value The downstreamProtocolError to set. * @return This builder for chaining. */ public Builder setDownstreamProtocolError(boolean value) { downstreamProtocolError_ = value; onChanged(); return this; } /** *
     * Indicates there was an HTTP protocol error on the downstream request.
     * 
* * bool downstream_protocol_error = 19; * @return This builder for chaining. */ public Builder clearDownstreamProtocolError() { downstreamProtocolError_ = false; onChanged(); return this; } private boolean upstreamMaxStreamDurationReached_ ; /** *
     * Indicates there was a max stream duration reached on the upstream request.
     * 
* * bool upstream_max_stream_duration_reached = 20; * @return The upstreamMaxStreamDurationReached. */ @java.lang.Override public boolean getUpstreamMaxStreamDurationReached() { return upstreamMaxStreamDurationReached_; } /** *
     * Indicates there was a max stream duration reached on the upstream request.
     * 
* * bool upstream_max_stream_duration_reached = 20; * @param value The upstreamMaxStreamDurationReached to set. * @return This builder for chaining. */ public Builder setUpstreamMaxStreamDurationReached(boolean value) { upstreamMaxStreamDurationReached_ = value; onChanged(); return this; } /** *
     * Indicates there was a max stream duration reached on the upstream request.
     * 
* * bool upstream_max_stream_duration_reached = 20; * @return This builder for chaining. */ public Builder clearUpstreamMaxStreamDurationReached() { upstreamMaxStreamDurationReached_ = false; onChanged(); return this; } private boolean responseFromCacheFilter_ ; /** *
     * Indicates the response was served from a cache filter.
     * 
* * bool response_from_cache_filter = 21; * @return The responseFromCacheFilter. */ @java.lang.Override public boolean getResponseFromCacheFilter() { return responseFromCacheFilter_; } /** *
     * Indicates the response was served from a cache filter.
     * 
* * bool response_from_cache_filter = 21; * @param value The responseFromCacheFilter to set. * @return This builder for chaining. */ public Builder setResponseFromCacheFilter(boolean value) { responseFromCacheFilter_ = value; onChanged(); return this; } /** *
     * Indicates the response was served from a cache filter.
     * 
* * bool response_from_cache_filter = 21; * @return This builder for chaining. */ public Builder clearResponseFromCacheFilter() { responseFromCacheFilter_ = false; onChanged(); return this; } private boolean noFilterConfigFound_ ; /** *
     * Indicates that a filter configuration is not available.
     * 
* * bool no_filter_config_found = 22; * @return The noFilterConfigFound. */ @java.lang.Override public boolean getNoFilterConfigFound() { return noFilterConfigFound_; } /** *
     * Indicates that a filter configuration is not available.
     * 
* * bool no_filter_config_found = 22; * @param value The noFilterConfigFound to set. * @return This builder for chaining. */ public Builder setNoFilterConfigFound(boolean value) { noFilterConfigFound_ = value; onChanged(); return this; } /** *
     * Indicates that a filter configuration is not available.
     * 
* * bool no_filter_config_found = 22; * @return This builder for chaining. */ public Builder clearNoFilterConfigFound() { noFilterConfigFound_ = false; onChanged(); return this; } private boolean durationTimeout_ ; /** *
     * Indicates that request or connection exceeded the downstream connection duration.
     * 
* * bool duration_timeout = 23; * @return The durationTimeout. */ @java.lang.Override public boolean getDurationTimeout() { return durationTimeout_; } /** *
     * Indicates that request or connection exceeded the downstream connection duration.
     * 
* * bool duration_timeout = 23; * @param value The durationTimeout to set. * @return This builder for chaining. */ public Builder setDurationTimeout(boolean value) { durationTimeout_ = value; onChanged(); return this; } /** *
     * Indicates that request or connection exceeded the downstream connection duration.
     * 
* * bool duration_timeout = 23; * @return This builder for chaining. */ public Builder clearDurationTimeout() { durationTimeout_ = false; onChanged(); return this; } private boolean upstreamProtocolError_ ; /** *
     * Indicates there was an HTTP protocol error in the upstream response.
     * 
* * bool upstream_protocol_error = 24; * @return The upstreamProtocolError. */ @java.lang.Override public boolean getUpstreamProtocolError() { return upstreamProtocolError_; } /** *
     * Indicates there was an HTTP protocol error in the upstream response.
     * 
* * bool upstream_protocol_error = 24; * @param value The upstreamProtocolError to set. * @return This builder for chaining. */ public Builder setUpstreamProtocolError(boolean value) { upstreamProtocolError_ = value; onChanged(); return this; } /** *
     * Indicates there was an HTTP protocol error in the upstream response.
     * 
* * bool upstream_protocol_error = 24; * @return This builder for chaining. */ public Builder clearUpstreamProtocolError() { upstreamProtocolError_ = false; onChanged(); return this; } private boolean noClusterFound_ ; /** *
     * Indicates no cluster was found for the request.
     * 
* * bool no_cluster_found = 25; * @return The noClusterFound. */ @java.lang.Override public boolean getNoClusterFound() { return noClusterFound_; } /** *
     * Indicates no cluster was found for the request.
     * 
* * bool no_cluster_found = 25; * @param value The noClusterFound to set. * @return This builder for chaining. */ public Builder setNoClusterFound(boolean value) { noClusterFound_ = value; onChanged(); return this; } /** *
     * Indicates no cluster was found for the request.
     * 
* * bool no_cluster_found = 25; * @return This builder for chaining. */ public Builder clearNoClusterFound() { noClusterFound_ = false; onChanged(); return this; } private boolean overloadManager_ ; /** *
     * Indicates overload manager terminated the request.
     * 
* * bool overload_manager = 26; * @return The overloadManager. */ @java.lang.Override public boolean getOverloadManager() { return overloadManager_; } /** *
     * Indicates overload manager terminated the request.
     * 
* * bool overload_manager = 26; * @param value The overloadManager to set. * @return This builder for chaining. */ public Builder setOverloadManager(boolean value) { overloadManager_ = value; onChanged(); return this; } /** *
     * Indicates overload manager terminated the request.
     * 
* * bool overload_manager = 26; * @return This builder for chaining. */ public Builder clearOverloadManager() { overloadManager_ = false; onChanged(); return this; } private boolean dnsResolutionFailure_ ; /** *
     * Indicates a DNS resolution failed.
     * 
* * bool dns_resolution_failure = 27; * @return The dnsResolutionFailure. */ @java.lang.Override public boolean getDnsResolutionFailure() { return dnsResolutionFailure_; } /** *
     * Indicates a DNS resolution failed.
     * 
* * bool dns_resolution_failure = 27; * @param value The dnsResolutionFailure to set. * @return This builder for chaining. */ public Builder setDnsResolutionFailure(boolean value) { dnsResolutionFailure_ = value; onChanged(); return this; } /** *
     * Indicates a DNS resolution failed.
     * 
* * bool dns_resolution_failure = 27; * @return This builder for chaining. */ public Builder clearDnsResolutionFailure() { dnsResolutionFailure_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v3.ResponseFlags) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.ResponseFlags) private static final io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags(); } public static io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseFlags parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseFlags(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy