All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.data.tap.v3.BodyOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/data/tap/v3/common.proto

package io.envoyproxy.envoy.data.tap.v3;

public interface BodyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.data.tap.v3.Body)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Body data as bytes. By default, tap body data will be present in this field, as the proto
   * ``bytes`` type can contain any valid byte.
   * 
* * bytes as_bytes = 1; * @return Whether the asBytes field is set. */ boolean hasAsBytes(); /** *
   * Body data as bytes. By default, tap body data will be present in this field, as the proto
   * ``bytes`` type can contain any valid byte.
   * 
* * bytes as_bytes = 1; * @return The asBytes. */ com.google.protobuf.ByteString getAsBytes(); /** *
   * Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING
   * <envoy_v3_api_enum_value_config.tap.v3.OutputSink.Format.JSON_BODY_AS_STRING>` sink
   * format type is selected. See the documentation for that option for why this is useful.
   * 
* * string as_string = 2; * @return Whether the asString field is set. */ boolean hasAsString(); /** *
   * Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING
   * <envoy_v3_api_enum_value_config.tap.v3.OutputSink.Format.JSON_BODY_AS_STRING>` sink
   * format type is selected. See the documentation for that option for why this is useful.
   * 
* * string as_string = 2; * @return The asString. */ java.lang.String getAsString(); /** *
   * Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING
   * <envoy_v3_api_enum_value_config.tap.v3.OutputSink.Format.JSON_BODY_AS_STRING>` sink
   * format type is selected. See the documentation for that option for why this is useful.
   * 
* * string as_string = 2; * @return The bytes for asString. */ com.google.protobuf.ByteString getAsStringBytes(); /** *
   * Specifies whether body data has been truncated to fit within the specified
   * :ref:`max_buffered_rx_bytes
   * <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_rx_bytes>` and
   * :ref:`max_buffered_tx_bytes
   * <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_tx_bytes>` settings.
   * 
* * bool truncated = 3; * @return The truncated. */ boolean getTruncated(); public io.envoyproxy.envoy.data.tap.v3.Body.BodyTypeCase getBodyTypeCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy