Interface CheckResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckResponse,CheckResponse.Builder
public interface CheckResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSupplies http attributes for a denied response.Supplies http attributes for a denied response.com.google.protobuf.StructOptional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.com.google.protobuf.StructOrBuilderOptional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.Supplies http attributes for an ok response.Supplies http attributes for an ok response.Status ``OK`` allows the request.Status ``OK`` allows the request.booleanSupplies http attributes for a denied response.booleanOptional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.booleanSupplies http attributes for an ok response.booleanStatus ``OK`` allows the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStatus
boolean hasStatus()Status ``OK`` allows the request. Any other status indicates the request should be denied, and for HTTP filter, if not overridden by :ref:`denied HTTP response status <envoy_v3_api_field_service.auth.v3.DeniedHttpResponse.status>` Envoy sends ``403 Forbidden`` HTTP status code by default.
.google.rpc.Status status = 1;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()Status ``OK`` allows the request. Any other status indicates the request should be denied, and for HTTP filter, if not overridden by :ref:`denied HTTP response status <envoy_v3_api_field_service.auth.v3.DeniedHttpResponse.status>` Envoy sends ``403 Forbidden`` HTTP status code by default.
.google.rpc.Status status = 1;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()Status ``OK`` allows the request. Any other status indicates the request should be denied, and for HTTP filter, if not overridden by :ref:`denied HTTP response status <envoy_v3_api_field_service.auth.v3.DeniedHttpResponse.status>` Envoy sends ``403 Forbidden`` HTTP status code by default.
.google.rpc.Status status = 1; -
hasDeniedResponse
boolean hasDeniedResponse()Supplies http attributes for a denied response.
.envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;- Returns:
- Whether the deniedResponse field is set.
-
getDeniedResponse
DeniedHttpResponse getDeniedResponse()Supplies http attributes for a denied response.
.envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;- Returns:
- The deniedResponse.
-
getDeniedResponseOrBuilder
DeniedHttpResponseOrBuilder getDeniedResponseOrBuilder()Supplies http attributes for a denied response.
.envoy.service.auth.v3.DeniedHttpResponse denied_response = 2; -
hasOkResponse
boolean hasOkResponse()Supplies http attributes for an ok response.
.envoy.service.auth.v3.OkHttpResponse ok_response = 3;- Returns:
- Whether the okResponse field is set.
-
getOkResponse
OkHttpResponse getOkResponse()Supplies http attributes for an ok response.
.envoy.service.auth.v3.OkHttpResponse ok_response = 3;- Returns:
- The okResponse.
-
getOkResponseOrBuilder
OkHttpResponseOrBuilder getOkResponseOrBuilder()Supplies http attributes for an ok response.
.envoy.service.auth.v3.OkHttpResponse ok_response = 3; -
hasDynamicMetadata
boolean hasDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
.google.protobuf.Struct dynamic_metadata = 4;- Returns:
- Whether the dynamicMetadata field is set.
-
getDynamicMetadata
com.google.protobuf.Struct getDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
.google.protobuf.Struct dynamic_metadata = 4;- Returns:
- The dynamicMetadata.
-
getDynamicMetadataOrBuilder
com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
.google.protobuf.Struct dynamic_metadata = 4; -
getHttpResponseCase
CheckResponse.HttpResponseCase getHttpResponseCase()
-