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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeniedHttpResponsegetDeniedResponse()Supplies http attributes for a denied response.DeniedHttpResponseOrBuildergetDeniedResponseOrBuilder()Supplies http attributes for a denied response.com.google.protobuf.StructgetDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.com.google.protobuf.StructOrBuildergetDynamicMetadataOrBuilder()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.CheckResponse.HttpResponseCasegetHttpResponseCase()OkHttpResponsegetOkResponse()Supplies http attributes for an ok response.OkHttpResponseOrBuildergetOkResponseOrBuilder()Supplies http attributes for an ok response.StatusgetStatus()Status ``OK`` allows the request.StatusOrBuildergetStatusOrBuilder()Status ``OK`` allows the request.booleanhasDeniedResponse()Supplies http attributes for a denied response.booleanhasDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.booleanhasOkResponse()Supplies http attributes for an ok response.booleanhasStatus()Status ``OK`` allows the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-