public static final class ExternalAuth.CheckResponse.HttpResponse extends com.google.protobuf.GeneratedMessageV3 implements ExternalAuth.CheckResponse.HttpResponseOrBuilder
An optional message that contains HTTP response attributes. This message is used when the authorization service needs to send custom responses to the downstream client or, to modify/add request headers being dispatched to the upstream.Protobuf type
envoy.service.auth.v2alpha.CheckResponse.HttpResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalAuth.CheckResponse.HttpResponse.Builder
An optional message that contains HTTP response attributes.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
BODY_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
STATUS_CODE_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, 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_CODE_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
public 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getStatusCode()
Http status code.
uint32 status_code = 1 [(.validate.rules) = { ... }getStatusCode in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic int getHeadersCount()
ExternalAuth.CheckResponse.HttpResponseOrBuilderHttp entity headers.
map<string, string> headers = 2;getHeadersCount in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic boolean containsHeaders(String key)
Http entity headers.
map<string, string> headers = 2;containsHeaders in interface ExternalAuth.CheckResponse.HttpResponseOrBuilder@Deprecated public Map<String,String> getHeaders()
getHeadersMap() instead.getHeaders in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic Map<String,String> getHeadersMap()
Http entity headers.
map<string, string> headers = 2;getHeadersMap in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic String getHeadersOrDefault(String key, String defaultValue)
Http entity headers.
map<string, string> headers = 2;getHeadersOrDefault in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic String getHeadersOrThrow(String key)
Http entity headers.
map<string, string> headers = 2;getHeadersOrThrow in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic String getBody()
Http entity body.
string body = 3;getBody in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
Http entity body.
string body = 3;getBodyBytes in interface ExternalAuth.CheckResponse.HttpResponseOrBuilderpublic 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 ExternalAuth.CheckResponse.HttpResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExternalAuth.CheckResponse.HttpResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExternalAuth.CheckResponse.HttpResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExternalAuth.CheckResponse.HttpResponse.Builder newBuilder()
public static ExternalAuth.CheckResponse.HttpResponse.Builder newBuilder(ExternalAuth.CheckResponse.HttpResponse prototype)
public ExternalAuth.CheckResponse.HttpResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExternalAuth.CheckResponse.HttpResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExternalAuth.CheckResponse.HttpResponse getDefaultInstance()
public static com.google.protobuf.Parser<ExternalAuth.CheckResponse.HttpResponse> parser()
public com.google.protobuf.Parser<ExternalAuth.CheckResponse.HttpResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExternalAuth.CheckResponse.HttpResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.