Class CheckResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
io.envoyproxy.envoy.service.auth.v3.CheckResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CheckResponseOrBuilder, Cloneable
Enclosing class:
CheckResponse

public static final class CheckResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder> implements CheckResponseOrBuilder
 Intended for gRPC and Network Authorization servers ``only``.
 [#next-free-field: 6]
 
Protobuf type envoy.service.auth.v3.CheckResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • clear

      public CheckResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • getDefaultInstanceForType

      public CheckResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CheckResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CheckResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public CheckResponse.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • setField

      public CheckResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • clearField

      public CheckResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • clearOneof

      public CheckResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • setRepeatedField

      public CheckResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • addRepeatedField

      public CheckResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • mergeFrom

      public CheckResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
    • mergeFrom

      public CheckResponse.Builder mergeFrom(CheckResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • mergeFrom

      public CheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
      Throws:
      IOException
    • getHttpResponseCase

      public CheckResponse.HttpResponseCase getHttpResponseCase()
      Specified by:
      getHttpResponseCase in interface CheckResponseOrBuilder
    • clearHttpResponse

      public CheckResponse.Builder clearHttpResponse()
    • hasStatus

      public 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;
      Specified by:
      hasStatus in interface CheckResponseOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public 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;
      Specified by:
      getStatus in interface CheckResponseOrBuilder
      Returns:
      The status.
    • setStatus

      public CheckResponse.Builder setStatus(Status value)
       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;
    • setStatus

      public CheckResponse.Builder setStatus(Status.Builder builderForValue)
       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;
    • mergeStatus

      public CheckResponse.Builder mergeStatus(Status value)
       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;
    • clearStatus

      public CheckResponse.Builder clearStatus()
       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;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       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;
    • getStatusOrBuilder

      public 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;
      Specified by:
      getStatusOrBuilder in interface CheckResponseOrBuilder
    • hasDeniedResponse

      public boolean hasDeniedResponse()
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
      Specified by:
      hasDeniedResponse in interface CheckResponseOrBuilder
      Returns:
      Whether the deniedResponse field is set.
    • getDeniedResponse

      public DeniedHttpResponse getDeniedResponse()
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
      Specified by:
      getDeniedResponse in interface CheckResponseOrBuilder
      Returns:
      The deniedResponse.
    • setDeniedResponse

      public CheckResponse.Builder setDeniedResponse(DeniedHttpResponse value)
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
    • setDeniedResponse

      public CheckResponse.Builder setDeniedResponse(DeniedHttpResponse.Builder builderForValue)
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
    • mergeDeniedResponse

      public CheckResponse.Builder mergeDeniedResponse(DeniedHttpResponse value)
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
    • clearDeniedResponse

      public CheckResponse.Builder clearDeniedResponse()
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
    • getDeniedResponseBuilder

      public DeniedHttpResponse.Builder getDeniedResponseBuilder()
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
    • getDeniedResponseOrBuilder

      public DeniedHttpResponseOrBuilder getDeniedResponseOrBuilder()
       Supplies http attributes for a denied response.
       
      .envoy.service.auth.v3.DeniedHttpResponse denied_response = 2;
      Specified by:
      getDeniedResponseOrBuilder in interface CheckResponseOrBuilder
    • hasOkResponse

      public boolean hasOkResponse()
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
      Specified by:
      hasOkResponse in interface CheckResponseOrBuilder
      Returns:
      Whether the okResponse field is set.
    • getOkResponse

      public OkHttpResponse getOkResponse()
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
      Specified by:
      getOkResponse in interface CheckResponseOrBuilder
      Returns:
      The okResponse.
    • setOkResponse

      public CheckResponse.Builder setOkResponse(OkHttpResponse value)
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
    • setOkResponse

      public CheckResponse.Builder setOkResponse(OkHttpResponse.Builder builderForValue)
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
    • mergeOkResponse

      public CheckResponse.Builder mergeOkResponse(OkHttpResponse value)
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
    • clearOkResponse

      public CheckResponse.Builder clearOkResponse()
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
    • getOkResponseBuilder

      public OkHttpResponse.Builder getOkResponseBuilder()
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
    • getOkResponseOrBuilder

      public OkHttpResponseOrBuilder getOkResponseOrBuilder()
       Supplies http attributes for an ok response.
       
      .envoy.service.auth.v3.OkHttpResponse ok_response = 3;
      Specified by:
      getOkResponseOrBuilder in interface CheckResponseOrBuilder
    • hasErrorResponse

      public boolean hasErrorResponse()
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
      Specified by:
      hasErrorResponse in interface CheckResponseOrBuilder
      Returns:
      Whether the errorResponse field is set.
    • getErrorResponse

      public DeniedHttpResponse getErrorResponse()
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
      Specified by:
      getErrorResponse in interface CheckResponseOrBuilder
      Returns:
      The errorResponse.
    • setErrorResponse

      public CheckResponse.Builder setErrorResponse(DeniedHttpResponse value)
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
    • setErrorResponse

      public CheckResponse.Builder setErrorResponse(DeniedHttpResponse.Builder builderForValue)
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
    • mergeErrorResponse

      public CheckResponse.Builder mergeErrorResponse(DeniedHttpResponse value)
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
    • clearErrorResponse

      public CheckResponse.Builder clearErrorResponse()
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
    • getErrorResponseBuilder

      public DeniedHttpResponse.Builder getErrorResponseBuilder()
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
    • getErrorResponseOrBuilder

      public DeniedHttpResponseOrBuilder getErrorResponseOrBuilder()
       Supplies http attributes for an error response. This is used when the authorization
       service encounters an internal error and wants to return custom headers and body to the
       downstream client. When ``error_response`` is set, the ext_authz filter increments the
       ``ext_authz_error`` stat and respects the :ref:`failure_mode_allow
       <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.failure_mode_allow>`
       configuration. The HTTP status code, headers, and body are taken from the
       :ref:`DeniedHttpResponse <envoy_v3_api_msg_service.auth.v3.DeniedHttpResponse>` message.
       If the status field is not set, Envoy sends the status code configured via
       :ref:`status_on_error <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.status_on_error>`,
       which defaults to ``403 Forbidden``.
       
      .envoy.service.auth.v3.DeniedHttpResponse error_response = 5;
      Specified by:
      getErrorResponseOrBuilder in interface CheckResponseOrBuilder
    • hasDynamicMetadata

      public 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;
      Specified by:
      hasDynamicMetadata in interface CheckResponseOrBuilder
      Returns:
      Whether the dynamicMetadata field is set.
    • getDynamicMetadata

      public 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;
      Specified by:
      getDynamicMetadata in interface CheckResponseOrBuilder
      Returns:
      The dynamicMetadata.
    • setDynamicMetadata

      public CheckResponse.Builder setDynamicMetadata(com.google.protobuf.Struct value)
       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;
    • setDynamicMetadata

      public CheckResponse.Builder setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
       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;
    • mergeDynamicMetadata

      public CheckResponse.Builder mergeDynamicMetadata(com.google.protobuf.Struct value)
       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;
    • clearDynamicMetadata

      public CheckResponse.Builder clearDynamicMetadata()
       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;
    • getDynamicMetadataBuilder

      public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder()
       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;
    • getDynamicMetadataOrBuilder

      public 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;
      Specified by:
      getDynamicMetadataOrBuilder in interface CheckResponseOrBuilder
    • setUnknownFields

      public final CheckResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
    • mergeUnknownFields

      public final CheckResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>