public final class ExtAuthz extends com.google.protobuf.GeneratedMessageV3 implements ExtAuthzOrBuilder
[#next-free-field: 15]Protobuf type
envoy.extensions.filters.http.ext_authz.v4alpha.ExtAuthz| Modifier and Type | Class and Description |
|---|---|
static class |
ExtAuthz.Builder
[#next-free-field: 15]
Protobuf type
envoy.extensions.filters.http.ext_authz.v4alpha.ExtAuthz |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLEAR_ROUTE_CACHE_FIELD_NUMBER |
static int |
DENY_AT_DISABLE_FIELD_NUMBER |
static int |
FAILURE_MODE_ALLOW_FIELD_NUMBER |
static int |
FILTER_ENABLED_FIELD_NUMBER |
static int |
FILTER_ENABLED_METADATA_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
HTTP_SERVICE_FIELD_NUMBER |
static int |
INCLUDE_PEER_CERTIFICATE_FIELD_NUMBER |
static int |
METADATA_CONTEXT_NAMESPACES_FIELD_NUMBER |
static int |
STAT_PREFIX_FIELD_NUMBER |
static int |
STATUS_ON_ERROR_FIELD_NUMBER |
static int |
TRANSPORT_API_VERSION_FIELD_NUMBER |
static int |
WITH_REQUEST_BODY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getClearRouteCache()
Clears route cache in order to allow the external authorization service to correctly affect
routing decisions.
|
static ExtAuthz |
getDefaultInstance() |
ExtAuthz |
getDefaultInstanceForType() |
RuntimeFeatureFlag |
getDenyAtDisable()
Specifies whether to deny the requests, when the filter is disabled.
|
RuntimeFeatureFlagOrBuilder |
getDenyAtDisableOrBuilder()
Specifies whether to deny the requests, when the filter is disabled.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFailureModeAllow()
Changes filter's behaviour on errors:
1.
|
RuntimeFractionalPercent |
getFilterEnabled()
Specifies if the filter is enabled.
|
MetadataMatcher |
getFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher.
|
MetadataMatcherOrBuilder |
getFilterEnabledMetadataOrBuilder()
Specifies if the filter is enabled with metadata matcher.
|
RuntimeFractionalPercentOrBuilder |
getFilterEnabledOrBuilder()
Specifies if the filter is enabled.
|
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).
|
boolean |
getIncludePeerCertificate()
Specifies if the peer certificate is sent to the external service.
|
String |
getMetadataContextNamespaces(int index)
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
|
com.google.protobuf.ByteString |
getMetadataContextNamespacesBytes(int index)
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
|
int |
getMetadataContextNamespacesCount()
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
|
com.google.protobuf.ProtocolStringList |
getMetadataContextNamespacesList()
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
|
com.google.protobuf.Parser<ExtAuthz> |
getParserForType() |
int |
getSerializedSize() |
ExtAuthz.ServicesCase |
getServicesCase() |
String |
getStatPrefix()
Optional additional prefix to use when emitting statistics.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
Optional additional prefix to use when emitting statistics.
|
HttpStatus |
getStatusOnError()
Sets the HTTP status that is returned to the client when there is a network error between the
filter and the authorization server.
|
HttpStatusOrBuilder |
getStatusOnErrorOrBuilder()
Sets the HTTP status that is returned to the client when there is a network error between the
filter and the authorization server.
|
ApiVersion |
getTransportApiVersion()
API version for ext_authz transport protocol.
|
int |
getTransportApiVersionValue()
API version for ext_authz transport protocol.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
BufferSettings |
getWithRequestBody()
Enables filter to buffer the client request body and send it within the authorization request.
|
BufferSettingsOrBuilder |
getWithRequestBodyOrBuilder()
Enables filter to buffer the client request body and send it within the authorization request.
|
boolean |
hasDenyAtDisable()
Specifies whether to deny the requests, when the filter is disabled.
|
boolean |
hasFilterEnabled()
Specifies if the filter is enabled.
|
boolean |
hasFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher.
|
boolean |
hasGrpcService()
gRPC service configuration (default timeout: 200ms).
|
int |
hashCode() |
boolean |
hasHttpService()
HTTP service configuration (default timeout: 200ms).
|
boolean |
hasStatusOnError()
Sets the HTTP status that is returned to the client when there is a network error between the
filter and the authorization server.
|
boolean |
hasWithRequestBody()
Enables filter to buffer the client request body and send it within the authorization request.
|
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) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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, 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 GRPC_SERVICE_FIELD_NUMBER
public static final int HTTP_SERVICE_FIELD_NUMBER
public static final int TRANSPORT_API_VERSION_FIELD_NUMBER
public static final int FAILURE_MODE_ALLOW_FIELD_NUMBER
public static final int WITH_REQUEST_BODY_FIELD_NUMBER
public static final int CLEAR_ROUTE_CACHE_FIELD_NUMBER
public static final int STATUS_ON_ERROR_FIELD_NUMBER
public static final int METADATA_CONTEXT_NAMESPACES_FIELD_NUMBER
public static final int FILTER_ENABLED_FIELD_NUMBER
public static final int FILTER_ENABLED_METADATA_FIELD_NUMBER
public static final int DENY_AT_DISABLE_FIELD_NUMBER
public static final int INCLUDE_PEER_CERTIFICATE_FIELD_NUMBER
public static final int STAT_PREFIX_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 ExtAuthz.ServicesCase getServicesCase()
getServicesCase in interface ExtAuthzOrBuilderpublic boolean hasGrpcService()
gRPC service configuration (default timeout: 200ms).
.envoy.config.core.v4alpha.GrpcService grpc_service = 1;hasGrpcService in interface ExtAuthzOrBuilderpublic GrpcService getGrpcService()
gRPC service configuration (default timeout: 200ms).
.envoy.config.core.v4alpha.GrpcService grpc_service = 1;getGrpcService in interface ExtAuthzOrBuilderpublic GrpcServiceOrBuilder getGrpcServiceOrBuilder()
gRPC service configuration (default timeout: 200ms).
.envoy.config.core.v4alpha.GrpcService grpc_service = 1;getGrpcServiceOrBuilder in interface ExtAuthzOrBuilderpublic boolean hasHttpService()
HTTP service configuration (default timeout: 200ms).
.envoy.extensions.filters.http.ext_authz.v4alpha.HttpService http_service = 3;hasHttpService in interface ExtAuthzOrBuilderpublic HttpService getHttpService()
HTTP service configuration (default timeout: 200ms).
.envoy.extensions.filters.http.ext_authz.v4alpha.HttpService http_service = 3;getHttpService in interface ExtAuthzOrBuilderpublic HttpServiceOrBuilder getHttpServiceOrBuilder()
HTTP service configuration (default timeout: 200ms).
.envoy.extensions.filters.http.ext_authz.v4alpha.HttpService http_service = 3;getHttpServiceOrBuilder in interface ExtAuthzOrBuilderpublic int getTransportApiVersionValue()
API version for ext_authz transport protocol. This describes the ext_authz gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 12 [(.validate.rules) = { ... }getTransportApiVersionValue in interface ExtAuthzOrBuilderpublic ApiVersion getTransportApiVersion()
API version for ext_authz transport protocol. This describes the ext_authz gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 12 [(.validate.rules) = { ... }getTransportApiVersion 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 boolean hasWithRequestBody()
Enables filter to buffer the client request body and send it within the authorization request. A ``x-envoy-auth-partial-body: false|true`` metadata header will be added to the authorization request message indicating if the body data is partial.
.envoy.extensions.filters.http.ext_authz.v4alpha.BufferSettings with_request_body = 5;hasWithRequestBody in interface ExtAuthzOrBuilderpublic BufferSettings getWithRequestBody()
Enables filter to buffer the client request body and send it within the authorization request. A ``x-envoy-auth-partial-body: false|true`` metadata header will be added to the authorization request message indicating if the body data is partial.
.envoy.extensions.filters.http.ext_authz.v4alpha.BufferSettings with_request_body = 5;getWithRequestBody in interface ExtAuthzOrBuilderpublic BufferSettingsOrBuilder getWithRequestBodyOrBuilder()
Enables filter to buffer the client request body and send it within the authorization request. A ``x-envoy-auth-partial-body: false|true`` metadata header will be added to the authorization request message indicating if the body data is partial.
.envoy.extensions.filters.http.ext_authz.v4alpha.BufferSettings with_request_body = 5;getWithRequestBodyOrBuilder in interface ExtAuthzOrBuilderpublic boolean getClearRouteCache()
Clears route cache in order to allow the external authorization service to correctly affect routing decisions. Filter clears all cached routes when: 1. The field is set to *true*. 2. The status returned from the authorization service is a HTTP 200 or gRPC 0. 3. At least one *authorization response header* is added to the client request, or is used for altering another client request header.
bool clear_route_cache = 6;getClearRouteCache in interface ExtAuthzOrBuilderpublic boolean hasStatusOnError()
Sets the HTTP status that is returned to the client when there is a network error between the filter and the authorization server. The default status is HTTP 403 Forbidden.
.envoy.type.v3.HttpStatus status_on_error = 7;hasStatusOnError in interface ExtAuthzOrBuilderpublic HttpStatus getStatusOnError()
Sets the HTTP status that is returned to the client when there is a network error between the filter and the authorization server. The default status is HTTP 403 Forbidden.
.envoy.type.v3.HttpStatus status_on_error = 7;getStatusOnError in interface ExtAuthzOrBuilderpublic HttpStatusOrBuilder getStatusOnErrorOrBuilder()
Sets the HTTP status that is returned to the client when there is a network error between the filter and the authorization server. The default status is HTTP 403 Forbidden.
.envoy.type.v3.HttpStatus status_on_error = 7;getStatusOnErrorOrBuilder in interface ExtAuthzOrBuilderpublic com.google.protobuf.ProtocolStringList getMetadataContextNamespacesList()
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
For example, if the *jwt_authn* filter is used and :ref:`payload_in_metadata
<envoy_api_field_extensions.filters.http.jwt_authn.v4alpha.JwtProvider.payload_in_metadata>` is set,
then the following will pass the jwt payload to the authorization server.
.. code-block:: yaml
metadata_context_namespaces:
- envoy.filters.http.jwt_authn
repeated string metadata_context_namespaces = 8;getMetadataContextNamespacesList in interface ExtAuthzOrBuilderpublic int getMetadataContextNamespacesCount()
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
For example, if the *jwt_authn* filter is used and :ref:`payload_in_metadata
<envoy_api_field_extensions.filters.http.jwt_authn.v4alpha.JwtProvider.payload_in_metadata>` is set,
then the following will pass the jwt payload to the authorization server.
.. code-block:: yaml
metadata_context_namespaces:
- envoy.filters.http.jwt_authn
repeated string metadata_context_namespaces = 8;getMetadataContextNamespacesCount in interface ExtAuthzOrBuilderpublic String getMetadataContextNamespaces(int index)
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
For example, if the *jwt_authn* filter is used and :ref:`payload_in_metadata
<envoy_api_field_extensions.filters.http.jwt_authn.v4alpha.JwtProvider.payload_in_metadata>` is set,
then the following will pass the jwt payload to the authorization server.
.. code-block:: yaml
metadata_context_namespaces:
- envoy.filters.http.jwt_authn
repeated string metadata_context_namespaces = 8;getMetadataContextNamespaces in interface ExtAuthzOrBuilderpublic com.google.protobuf.ByteString getMetadataContextNamespacesBytes(int index)
Specifies a list of metadata namespaces whose values, if present, will be passed to the
ext_authz service as an opaque *protobuf::Struct*.
For example, if the *jwt_authn* filter is used and :ref:`payload_in_metadata
<envoy_api_field_extensions.filters.http.jwt_authn.v4alpha.JwtProvider.payload_in_metadata>` is set,
then the following will pass the jwt payload to the authorization server.
.. code-block:: yaml
metadata_context_namespaces:
- envoy.filters.http.jwt_authn
repeated string metadata_context_namespaces = 8;getMetadataContextNamespacesBytes in interface ExtAuthzOrBuilderpublic boolean hasFilterEnabled()
Specifies if the filter is enabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. If this field is not specified, the filter will be enabled for all requests.
.envoy.config.core.v4alpha.RuntimeFractionalPercent filter_enabled = 9;hasFilterEnabled in interface ExtAuthzOrBuilderpublic RuntimeFractionalPercent getFilterEnabled()
Specifies if the filter is enabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. If this field is not specified, the filter will be enabled for all requests.
.envoy.config.core.v4alpha.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabled in interface ExtAuthzOrBuilderpublic RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
Specifies if the filter is enabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. If this field is not specified, the filter will be enabled for all requests.
.envoy.config.core.v4alpha.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabledOrBuilder in interface ExtAuthzOrBuilderpublic boolean hasFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 14;hasFilterEnabledMetadata in interface ExtAuthzOrBuilderpublic MetadataMatcher getFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 14;getFilterEnabledMetadata in interface ExtAuthzOrBuilderpublic MetadataMatcherOrBuilder getFilterEnabledMetadataOrBuilder()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 14;getFilterEnabledMetadataOrBuilder in interface ExtAuthzOrBuilderpublic boolean hasDenyAtDisable()
Specifies whether to deny the requests, when the filter is disabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFeatureFlag.runtime_key>` is specified, Envoy will lookup the runtime key to determine whether to deny request for filter protected path at filter disabling. If filter is disabled in typed_per_filter_config for the path, requests will not be denied. If this field is not specified, all requests will be allowed when disabled.
.envoy.config.core.v4alpha.RuntimeFeatureFlag deny_at_disable = 11;hasDenyAtDisable in interface ExtAuthzOrBuilderpublic RuntimeFeatureFlag getDenyAtDisable()
Specifies whether to deny the requests, when the filter is disabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFeatureFlag.runtime_key>` is specified, Envoy will lookup the runtime key to determine whether to deny request for filter protected path at filter disabling. If filter is disabled in typed_per_filter_config for the path, requests will not be denied. If this field is not specified, all requests will be allowed when disabled.
.envoy.config.core.v4alpha.RuntimeFeatureFlag deny_at_disable = 11;getDenyAtDisable in interface ExtAuthzOrBuilderpublic RuntimeFeatureFlagOrBuilder getDenyAtDisableOrBuilder()
Specifies whether to deny the requests, when the filter is disabled. If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFeatureFlag.runtime_key>` is specified, Envoy will lookup the runtime key to determine whether to deny request for filter protected path at filter disabling. If filter is disabled in typed_per_filter_config for the path, requests will not be denied. If this field is not specified, all requests will be allowed when disabled.
.envoy.config.core.v4alpha.RuntimeFeatureFlag deny_at_disable = 11;getDenyAtDisableOrBuilder in interface ExtAuthzOrBuilderpublic boolean getIncludePeerCertificate()
Specifies if the peer certificate is sent to the external service. When this field is true, Envoy will include the peer X.509 certificate, if available, in the :ref:`certificate<envoy_api_field_service.auth.v4alpha.AttributeContext.Peer.certificate>`.
bool include_peer_certificate = 10;getIncludePeerCertificate in interface ExtAuthzOrBuilderpublic String getStatPrefix()
Optional additional prefix to use when emitting statistics. This allows to distinguish
emitted statistics between configured *ext_authz* filters in an HTTP filter chain. For example:
.. code-block:: yaml
http_filters:
- name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
stat_prefix: waf # This emits ext_authz.waf.ok, ext_authz.waf.denied, etc.
- name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
stat_prefix: blocker # This emits ext_authz.blocker.ok, ext_authz.blocker.denied, etc.
string stat_prefix = 13;getStatPrefix in interface ExtAuthzOrBuilderpublic com.google.protobuf.ByteString getStatPrefixBytes()
Optional additional prefix to use when emitting statistics. This allows to distinguish
emitted statistics between configured *ext_authz* filters in an HTTP filter chain. For example:
.. code-block:: yaml
http_filters:
- name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
stat_prefix: waf # This emits ext_authz.waf.ok, ext_authz.waf.denied, etc.
- name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
stat_prefix: blocker # This emits ext_authz.blocker.ok, ext_authz.blocker.denied, etc.
string stat_prefix = 13;getStatPrefixBytes 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–2021 The Envoy Project. All rights reserved.