Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/auth/v2/external_auth.proto
package io.envoyproxy.envoy.service.auth.v2;
/**
*
* Intended for gRPC and Network Authorization servers `only`.
*
*
* Protobuf type {@code envoy.service.auth.v2.CheckResponse}
*/
public final class CheckResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.service.auth.v2.CheckResponse)
CheckResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckResponse.newBuilder() to construct.
private CheckResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CheckResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckResponse(
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 10: {
com.google.rpc.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse.Builder subBuilder = null;
if (httpResponseCase_ == 2) {
subBuilder = ((io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_).toBuilder();
}
httpResponse_ =
input.readMessage(io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_);
httpResponse_ = subBuilder.buildPartial();
}
httpResponseCase_ = 2;
break;
}
case 26: {
io.envoyproxy.envoy.service.auth.v2.OkHttpResponse.Builder subBuilder = null;
if (httpResponseCase_ == 3) {
subBuilder = ((io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_).toBuilder();
}
httpResponse_ =
input.readMessage(io.envoyproxy.envoy.service.auth.v2.OkHttpResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_);
httpResponse_ = subBuilder.buildPartial();
}
httpResponseCase_ = 3;
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.service.auth.v2.ExternalAuthProto.internal_static_envoy_service_auth_v2_CheckResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.service.auth.v2.ExternalAuthProto.internal_static_envoy_service_auth_v2_CheckResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.service.auth.v2.CheckResponse.class, io.envoyproxy.envoy.service.auth.v2.CheckResponse.Builder.class);
}
private int httpResponseCase_ = 0;
private java.lang.Object httpResponse_;
public enum HttpResponseCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DENIED_RESPONSE(2),
OK_RESPONSE(3),
HTTPRESPONSE_NOT_SET(0);
private final int value;
private HttpResponseCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static HttpResponseCase valueOf(int value) {
return forNumber(value);
}
public static HttpResponseCase forNumber(int value) {
switch (value) {
case 2: return DENIED_RESPONSE;
case 3: return OK_RESPONSE;
case 0: return HTTPRESPONSE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public HttpResponseCase
getHttpResponseCase() {
return HttpResponseCase.forNumber(
httpResponseCase_);
}
public static final int STATUS_FIELD_NUMBER = 1;
private com.google.rpc.Status status_;
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
* @return The status.
*/
@java.lang.Override
public com.google.rpc.Status getStatus() {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
}
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
*/
@java.lang.Override
public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int DENIED_RESPONSE_FIELD_NUMBER = 2;
/**
*
* Supplies http attributes for a denied response.
*
*
* .envoy.service.auth.v2.DeniedHttpResponse denied_response = 2;
* @return Whether the deniedResponse field is set.
*/
@java.lang.Override
public boolean hasDeniedResponse() {
return httpResponseCase_ == 2;
}
/**
*
* Supplies http attributes for a denied response.
*
*
* .envoy.service.auth.v2.DeniedHttpResponse denied_response = 2;
* @return The deniedResponse.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse getDeniedResponse() {
if (httpResponseCase_ == 2) {
return (io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_;
}
return io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse.getDefaultInstance();
}
/**
*
* Supplies http attributes for a denied response.
*
*
* .envoy.service.auth.v2.DeniedHttpResponse denied_response = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponseOrBuilder getDeniedResponseOrBuilder() {
if (httpResponseCase_ == 2) {
return (io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_;
}
return io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse.getDefaultInstance();
}
public static final int OK_RESPONSE_FIELD_NUMBER = 3;
/**
*
* Supplies http attributes for an ok response.
*
*
* .envoy.service.auth.v2.OkHttpResponse ok_response = 3;
* @return Whether the okResponse field is set.
*/
@java.lang.Override
public boolean hasOkResponse() {
return httpResponseCase_ == 3;
}
/**
*
* Supplies http attributes for an ok response.
*
*
* .envoy.service.auth.v2.OkHttpResponse ok_response = 3;
* @return The okResponse.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.OkHttpResponse getOkResponse() {
if (httpResponseCase_ == 3) {
return (io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_;
}
return io.envoyproxy.envoy.service.auth.v2.OkHttpResponse.getDefaultInstance();
}
/**
*
* Supplies http attributes for an ok response.
*
*
* .envoy.service.auth.v2.OkHttpResponse ok_response = 3;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.OkHttpResponseOrBuilder getOkResponseOrBuilder() {
if (httpResponseCase_ == 3) {
return (io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_;
}
return io.envoyproxy.envoy.service.auth.v2.OkHttpResponse.getDefaultInstance();
}
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 (status_ != null) {
output.writeMessage(1, getStatus());
}
if (httpResponseCase_ == 2) {
output.writeMessage(2, (io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_);
}
if (httpResponseCase_ == 3) {
output.writeMessage(3, (io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (httpResponseCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse) httpResponse_);
}
if (httpResponseCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (io.envoyproxy.envoy.service.auth.v2.OkHttpResponse) httpResponse_);
}
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.service.auth.v2.CheckResponse)) {
return super.equals(obj);
}
io.envoyproxy.envoy.service.auth.v2.CheckResponse other = (io.envoyproxy.envoy.service.auth.v2.CheckResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getHttpResponseCase().equals(other.getHttpResponseCase())) return false;
switch (httpResponseCase_) {
case 2:
if (!getDeniedResponse()
.equals(other.getDeniedResponse())) return false;
break;
case 3:
if (!getOkResponse()
.equals(other.getOkResponse())) return false;
break;
case 0:
default:
}
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();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
switch (httpResponseCase_) {
case 2:
hash = (37 * hash) + DENIED_RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getDeniedResponse().hashCode();
break;
case 3:
hash = (37 * hash) + OK_RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getOkResponse().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse 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.service.auth.v2.CheckResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse 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.service.auth.v2.CheckResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse 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.service.auth.v2.CheckResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse 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.service.auth.v2.CheckResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.auth.v2.CheckResponse 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.service.auth.v2.CheckResponse 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;
}
/**
*
* Intended for gRPC and Network Authorization servers `only`.
*
*
* Protobuf type {@code envoy.service.auth.v2.CheckResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.service.auth.v2.CheckResponse)
io.envoyproxy.envoy.service.auth.v2.CheckResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.service.auth.v2.ExternalAuthProto.internal_static_envoy_service_auth_v2_CheckResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.service.auth.v2.ExternalAuthProto.internal_static_envoy_service_auth_v2_CheckResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.service.auth.v2.CheckResponse.class, io.envoyproxy.envoy.service.auth.v2.CheckResponse.Builder.class);
}
// Construct using io.envoyproxy.envoy.service.auth.v2.CheckResponse.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();
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
httpResponseCase_ = 0;
httpResponse_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.service.auth.v2.ExternalAuthProto.internal_static_envoy_service_auth_v2_CheckResponse_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.CheckResponse getDefaultInstanceForType() {
return io.envoyproxy.envoy.service.auth.v2.CheckResponse.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.CheckResponse build() {
io.envoyproxy.envoy.service.auth.v2.CheckResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.service.auth.v2.CheckResponse buildPartial() {
io.envoyproxy.envoy.service.auth.v2.CheckResponse result = new io.envoyproxy.envoy.service.auth.v2.CheckResponse(this);
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (httpResponseCase_ == 2) {
if (deniedResponseBuilder_ == null) {
result.httpResponse_ = httpResponse_;
} else {
result.httpResponse_ = deniedResponseBuilder_.build();
}
}
if (httpResponseCase_ == 3) {
if (okResponseBuilder_ == null) {
result.httpResponse_ = httpResponse_;
} else {
result.httpResponse_ = okResponseBuilder_.build();
}
}
result.httpResponseCase_ = httpResponseCase_;
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.service.auth.v2.CheckResponse) {
return mergeFrom((io.envoyproxy.envoy.service.auth.v2.CheckResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.service.auth.v2.CheckResponse other) {
if (other == io.envoyproxy.envoy.service.auth.v2.CheckResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
switch (other.getHttpResponseCase()) {
case DENIED_RESPONSE: {
mergeDeniedResponse(other.getDeniedResponse());
break;
}
case OK_RESPONSE: {
mergeOkResponse(other.getOkResponse());
break;
}
case HTTPRESPONSE_NOT_SET: {
break;
}
}
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.service.auth.v2.CheckResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.service.auth.v2.CheckResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int httpResponseCase_ = 0;
private java.lang.Object httpResponse_;
public HttpResponseCase
getHttpResponseCase() {
return HttpResponseCase.forNumber(
httpResponseCase_);
}
public Builder clearHttpResponse() {
httpResponseCase_ = 0;
httpResponse_ = null;
onChanged();
return this;
}
private com.google.rpc.Status status_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
* @return The status.
*/
public com.google.rpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*
*
* .google.rpc.Status status = 1;
*/
public Builder setStatus(com.google.rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
*
* Status `OK` allows the request. Any other status indicates the request should be denied.
*