public final class DeniedHttpResponse extends com.google.protobuf.GeneratedMessageV3 implements DeniedHttpResponseOrBuilder
HTTP attributes for a denied response.Protobuf type
envoy.service.auth.v2.DeniedHttpResponse| Modifier and Type | Class and Description |
|---|---|
static class |
DeniedHttpResponse.Builder
HTTP attributes for a denied response.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BODY_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBody()
This field allows the authorization service to send a response body data
to the downstream client.
|
com.google.protobuf.ByteString |
getBodyBytes()
This field allows the authorization service to send a response body data
to the downstream client.
|
static DeniedHttpResponse |
getDefaultInstance() |
DeniedHttpResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HeaderValueOption |
getHeaders(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
int |
getHeadersCount()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
List<HeaderValueOption> |
getHeadersList()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HeaderValueOptionOrBuilder |
getHeadersOrBuilder(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
List<? extends HeaderValueOptionOrBuilder> |
getHeadersOrBuilderList()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
com.google.protobuf.Parser<DeniedHttpResponse> |
getParserForType() |
int |
getSerializedSize() |
HttpStatus |
getStatus()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
HttpStatusOrBuilder |
getStatusOrBuilder()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStatus()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeniedHttpResponse.Builder |
newBuilder() |
static DeniedHttpResponse.Builder |
newBuilder(DeniedHttpResponse prototype) |
DeniedHttpResponse.Builder |
newBuilderForType() |
protected DeniedHttpResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DeniedHttpResponse |
parseDelimitedFrom(InputStream input) |
static DeniedHttpResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeniedHttpResponse |
parseFrom(byte[] data) |
static DeniedHttpResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeniedHttpResponse |
parseFrom(ByteBuffer data) |
static DeniedHttpResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeniedHttpResponse |
parseFrom(com.google.protobuf.ByteString data) |
static DeniedHttpResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeniedHttpResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DeniedHttpResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeniedHttpResponse |
parseFrom(InputStream input) |
static DeniedHttpResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DeniedHttpResponse> |
parser() |
DeniedHttpResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATUS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStatus()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }hasStatus in interface DeniedHttpResponseOrBuilderpublic HttpStatus getStatus()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }getStatus in interface DeniedHttpResponseOrBuilderpublic HttpStatusOrBuilder getStatusOrBuilder()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }getStatusOrBuilder in interface DeniedHttpResponseOrBuilderpublic List<HeaderValueOption> getHeadersList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersList in interface DeniedHttpResponseOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilderList in interface DeniedHttpResponseOrBuilderpublic int getHeadersCount()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersCount in interface DeniedHttpResponseOrBuilderpublic HeaderValueOption getHeaders(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeaders in interface DeniedHttpResponseOrBuilderpublic HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilder in interface DeniedHttpResponseOrBuilderpublic String getBody()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;getBody in interface DeniedHttpResponseOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;getBodyBytes in interface DeniedHttpResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DeniedHttpResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeniedHttpResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeniedHttpResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeniedHttpResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeniedHttpResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeniedHttpResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DeniedHttpResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeniedHttpResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DeniedHttpResponse.Builder newBuilder()
public static DeniedHttpResponse.Builder newBuilder(DeniedHttpResponse prototype)
public DeniedHttpResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DeniedHttpResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DeniedHttpResponse getDefaultInstance()
public static com.google.protobuf.Parser<DeniedHttpResponse> parser()
public com.google.protobuf.Parser<DeniedHttpResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DeniedHttpResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.