Interface BodyMutationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BodyMutation, BodyMutation.Builder

public interface BodyMutationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The entire body to replace.
    boolean
    Clear the corresponding body chunk.
     
    Must be used when the corresponding ``BodySendMode`` in the :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
    Must be used when the corresponding ``BodySendMode`` in the :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
    boolean
    The entire body to replace.
    boolean
    Clear the corresponding body chunk.
    boolean
    Must be used when the corresponding ``BodySendMode`` in the :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasBody

      boolean hasBody()
       The entire body to replace.
       Should only be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is not set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       
      bytes body = 1;
      Returns:
      Whether the body field is set.
    • getBody

      com.google.protobuf.ByteString getBody()
       The entire body to replace.
       Should only be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is not set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       
      bytes body = 1;
      Returns:
      The body.
    • hasClearBody

      boolean hasClearBody()
       Clear the corresponding body chunk.
       Should only be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is not set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       Clear the corresponding body chunk.
       
      bool clear_body = 2;
      Returns:
      Whether the clearBody field is set.
    • getClearBody

      boolean getClearBody()
       Clear the corresponding body chunk.
       Should only be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is not set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       Clear the corresponding body chunk.
       
      bool clear_body = 2;
      Returns:
      The clearBody.
    • hasStreamedResponse

      boolean hasStreamedResponse()
       Must be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       
      .envoy.service.ext_proc.v3.StreamedBodyResponse streamed_response = 3 [(.xds.annotations.v3.field_status) = { ... }
      Returns:
      Whether the streamedResponse field is set.
    • getStreamedResponse

      StreamedBodyResponse getStreamedResponse()
       Must be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       
      .envoy.service.ext_proc.v3.StreamedBodyResponse streamed_response = 3 [(.xds.annotations.v3.field_status) = { ... }
      Returns:
      The streamedResponse.
    • getStreamedResponseOrBuilder

      StreamedBodyResponseOrBuilder getStreamedResponseOrBuilder()
       Must be used when the corresponding ``BodySendMode`` in the
       :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
       is set to ``FULL_DUPLEX_STREAMED`` or ``GRPC``.
       
      .envoy.service.ext_proc.v3.StreamedBodyResponse streamed_response = 3 [(.xds.annotations.v3.field_status) = { ... }
    • getMutationCase

      BodyMutation.MutationCase getMutationCase()