Package io.envoyproxy.envoy.data.tap.v3
Interface SocketBufferedTraceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SocketBufferedTrace,SocketBufferedTrace.Builder
public interface SocketBufferedTraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConnection properties.Connection properties.getEvents(int index) Sequence of observed events.intSequence of observed events.Sequence of observed events.getEventsOrBuilder(int index) Sequence of observed events.List<? extends SocketEventOrBuilder>Sequence of observed events.booleanSet to true if read events were truncated due to the :ref:`max_buffered_rx_bytes <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_rx_bytes>` setting.longTrace ID unique to the originating Envoy only.booleanSet to true if write events were truncated due to the :ref:`max_buffered_tx_bytes <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_tx_bytes>` setting.booleanConnection properties.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTraceId
long getTraceId()Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used for long term stable uniqueness. Matches connection IDs used in Envoy logs.
uint64 trace_id = 1;- Returns:
- The traceId.
-
hasConnection
boolean hasConnection()Connection properties.
.envoy.data.tap.v3.Connection connection = 2;- Returns:
- Whether the connection field is set.
-
getConnection
Connection getConnection()Connection properties.
.envoy.data.tap.v3.Connection connection = 2;- Returns:
- The connection.
-
getConnectionOrBuilder
ConnectionOrBuilder getConnectionOrBuilder()Connection properties.
.envoy.data.tap.v3.Connection connection = 2; -
getEventsList
List<SocketEvent> getEventsList()Sequence of observed events.
repeated .envoy.data.tap.v3.SocketEvent events = 3; -
getEvents
Sequence of observed events.
repeated .envoy.data.tap.v3.SocketEvent events = 3; -
getEventsCount
int getEventsCount()Sequence of observed events.
repeated .envoy.data.tap.v3.SocketEvent events = 3; -
getEventsOrBuilderList
List<? extends SocketEventOrBuilder> getEventsOrBuilderList()Sequence of observed events.
repeated .envoy.data.tap.v3.SocketEvent events = 3; -
getEventsOrBuilder
Sequence of observed events.
repeated .envoy.data.tap.v3.SocketEvent events = 3; -
getReadTruncated
boolean getReadTruncated()Set to true if read events were truncated due to the :ref:`max_buffered_rx_bytes <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_rx_bytes>` setting.
bool read_truncated = 4;- Returns:
- The readTruncated.
-
getWriteTruncated
boolean getWriteTruncated()Set to true if write events were truncated due to the :ref:`max_buffered_tx_bytes <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_tx_bytes>` setting.
bool write_truncated = 5;- Returns:
- The writeTruncated.
-