public interface BodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getAsBytes()
Body data as bytes.
|
String |
getAsString()
Body data as string.
|
com.google.protobuf.ByteString |
getAsStringBytes()
Body data as string.
|
Body.BodyTypeCase |
getBodyTypeCase() |
boolean |
getTruncated()
Specifies whether body data has been truncated to fit within the specified
:ref:`max_buffered_rx_bytes
<envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_rx_bytes>` and
:ref:`max_buffered_tx_bytes
<envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_tx_bytes>` settings.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getAsBytes()
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;String getAsString()
Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING <envoy_api_enum_value_service.tap.v2alpha.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;com.google.protobuf.ByteString getAsStringBytes()
Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING <envoy_api_enum_value_service.tap.v2alpha.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;boolean getTruncated()
Specifies whether body data has been truncated to fit within the specified :ref:`max_buffered_rx_bytes <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_rx_bytes>` and :ref:`max_buffered_tx_bytes <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_tx_bytes>` settings.
bool truncated = 3;Body.BodyTypeCase getBodyTypeCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.