public final class ExtAuthz extends com.google.protobuf.GeneratedMessageV3 implements ExtAuthzOrBuilder
[#protodoc-title: External Authorization] ExtAuthz :ref:`configuration overview <config_http_filters_ext_authz>`.Protobuf type
envoy.config.filter.http.ext_authz.v2.ExtAuthz| Modifier and Type | Class and Description |
|---|---|
static class |
ExtAuthz.Builder
[#protodoc-title: External Authorization]
ExtAuthz :ref:`configuration overview <config_http_filters_ext_authz>`.
|
static class |
ExtAuthz.ServicesCase |
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 |
FAILURE_MODE_ALLOW_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
HTTP_SERVICE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExtAuthz |
getDefaultInstance() |
ExtAuthz |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFailureModeAllow()
Changes filter's behaviour on errors:
1.
|
GrpcService |
getGrpcService()
gRPC service configuration (default timeout: 200ms).
|
GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
gRPC service configuration (default timeout: 200ms).
|
HttpService |
getHttpService()
HTTP service configuration (default timeout: 200ms).
|
HttpServiceOrBuilder |
getHttpServiceOrBuilder()
HTTP service configuration (default timeout: 200ms).
|
com.google.protobuf.Parser<ExtAuthz> |
getParserForType() |
int |
getSerializedSize() |
ExtAuthz.ServicesCase |
getServicesCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGrpcService()
gRPC service configuration (default timeout: 200ms).
|
int |
hashCode() |
boolean |
hasHttpService()
HTTP service configuration (default timeout: 200ms).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExtAuthz.Builder |
newBuilder() |
static ExtAuthz.Builder |
newBuilder(ExtAuthz prototype) |
ExtAuthz.Builder |
newBuilderForType() |
protected ExtAuthz.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ExtAuthz |
parseDelimitedFrom(InputStream input) |
static ExtAuthz |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(byte[] data) |
static ExtAuthz |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(ByteBuffer data) |
static ExtAuthz |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(com.google.protobuf.ByteString data) |
static ExtAuthz |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(InputStream input) |
static ExtAuthz |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExtAuthz> |
parser() |
ExtAuthz.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 GRPC_SERVICE_FIELD_NUMBER
public static final int HTTP_SERVICE_FIELD_NUMBER
public static final int FAILURE_MODE_ALLOW_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ExtAuthz.ServicesCase getServicesCase()
getServicesCase in interface ExtAuthzOrBuilderpublic boolean hasGrpcService()
gRPC service configuration (default timeout: 200ms).
.envoy.api.v2.core.GrpcService grpc_service = 1;hasGrpcService in interface ExtAuthzOrBuilderpublic GrpcService getGrpcService()
gRPC service configuration (default timeout: 200ms).
.envoy.api.v2.core.GrpcService grpc_service = 1;getGrpcService in interface ExtAuthzOrBuilderpublic GrpcServiceOrBuilder getGrpcServiceOrBuilder()
gRPC service configuration (default timeout: 200ms).
.envoy.api.v2.core.GrpcService grpc_service = 1;getGrpcServiceOrBuilder in interface ExtAuthzOrBuilderpublic boolean hasHttpService()
HTTP service configuration (default timeout: 200ms).
.envoy.config.filter.http.ext_authz.v2.HttpService http_service = 3;hasHttpService in interface ExtAuthzOrBuilderpublic HttpService getHttpService()
HTTP service configuration (default timeout: 200ms).
.envoy.config.filter.http.ext_authz.v2.HttpService http_service = 3;getHttpService in interface ExtAuthzOrBuilderpublic HttpServiceOrBuilder getHttpServiceOrBuilder()
HTTP service configuration (default timeout: 200ms).
.envoy.config.filter.http.ext_authz.v2.HttpService http_service = 3;getHttpServiceOrBuilder in interface ExtAuthzOrBuilderpublic boolean getFailureModeAllow()
Changes filter's behaviour on errors: 1. When set to true, the filter will *accept* client request even if the communication with the authorization service has failed, or if the authorization service has returned a HTTP 5xx error. 2. When set to false, ext-authz will *reject* client requests and return a *Forbidden* response if the communication with the authorization service has failed, or if the authorization service has returned a HTTP 5xx error. Note that errors can be *always* tracked in the :ref:`stats <config_http_filters_ext_authz_stats>`.
bool failure_mode_allow = 2;getFailureModeAllow in interface ExtAuthzOrBuilderpublic 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 ExtAuthz parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthz parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExtAuthz.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExtAuthz.Builder newBuilder()
public static ExtAuthz.Builder newBuilder(ExtAuthz prototype)
public ExtAuthz.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExtAuthz.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExtAuthz getDefaultInstance()
public static com.google.protobuf.Parser<ExtAuthz> parser()
public com.google.protobuf.Parser<ExtAuthz> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExtAuthz getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2019 The Envoy Project. All rights reserved.