Class OutputConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.tap.v3.OutputConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OutputConfigOrBuilder,Serializable
public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 implements OutputConfigOrBuilder
Tap output configuration.
Protobuf typeenvoy.config.tap.v3.OutputConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutputConfig.BuilderTap output configuration.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_BUFFERED_RX_BYTES_FIELD_NUMBERstatic intMAX_BUFFERED_TX_BYTES_FIELD_NUMBERstatic intSINKS_FIELD_NUMBERstatic intSTREAMING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OutputConfiggetDefaultInstance()OutputConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.UInt32ValuegetMaxBufferedRxBytes()For buffered tapping, the maximum amount of received body that will be buffered prior to truncation.com.google.protobuf.UInt32ValueOrBuildergetMaxBufferedRxBytesOrBuilder()For buffered tapping, the maximum amount of received body that will be buffered prior to truncation.com.google.protobuf.UInt32ValuegetMaxBufferedTxBytes()For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.com.google.protobuf.UInt32ValueOrBuildergetMaxBufferedTxBytesOrBuilder()For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.com.google.protobuf.Parser<OutputConfig>getParserForType()intgetSerializedSize()OutputSinkgetSinks(int index)Output sinks for tap data.intgetSinksCount()Output sinks for tap data.List<OutputSink>getSinksList()Output sinks for tap data.OutputSinkOrBuildergetSinksOrBuilder(int index)Output sinks for tap data.List<? extends OutputSinkOrBuilder>getSinksOrBuilderList()Output sinks for tap data.booleangetStreaming()Indicates whether taps produce a single buffered message per tap, or multiple streamed messages per tap in the emitted :ref:`TraceWrapper <envoy_v3_api_msg_data.tap.v3.TraceWrapper>` messages.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasMaxBufferedRxBytes()For buffered tapping, the maximum amount of received body that will be buffered prior to truncation.booleanhasMaxBufferedTxBytes()For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OutputConfig.BuildernewBuilder()static OutputConfig.BuildernewBuilder(OutputConfig prototype)OutputConfig.BuildernewBuilderForType()protected OutputConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OutputConfigparseDelimitedFrom(InputStream input)static OutputConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutputConfigparseFrom(byte[] data)static OutputConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutputConfigparseFrom(com.google.protobuf.ByteString data)static OutputConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutputConfigparseFrom(com.google.protobuf.CodedInputStream input)static OutputConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutputConfigparseFrom(InputStream input)static OutputConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutputConfigparseFrom(ByteBuffer data)static OutputConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OutputConfig>parser()OutputConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SINKS_FIELD_NUMBER
public static final int SINKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BUFFERED_RX_BYTES_FIELD_NUMBER
public static final int MAX_BUFFERED_RX_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BUFFERED_TX_BYTES_FIELD_NUMBER
public static final int MAX_BUFFERED_TX_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAMING_FIELD_NUMBER
public static final int STREAMING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSinksList
public List<OutputSink> getSinksList()
Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple sink types are supported this constraint will be relaxed.
repeated .envoy.config.tap.v3.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksListin interfaceOutputConfigOrBuilder
-
getSinksOrBuilderList
public List<? extends OutputSinkOrBuilder> getSinksOrBuilderList()
Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple sink types are supported this constraint will be relaxed.
repeated .envoy.config.tap.v3.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksOrBuilderListin interfaceOutputConfigOrBuilder
-
getSinksCount
public int getSinksCount()
Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple sink types are supported this constraint will be relaxed.
repeated .envoy.config.tap.v3.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksCountin interfaceOutputConfigOrBuilder
-
getSinks
public OutputSink getSinks(int index)
Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple sink types are supported this constraint will be relaxed.
repeated .envoy.config.tap.v3.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksin interfaceOutputConfigOrBuilder
-
getSinksOrBuilder
public OutputSinkOrBuilder getSinksOrBuilder(int index)
Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple sink types are supported this constraint will be relaxed.
repeated .envoy.config.tap.v3.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksOrBuilderin interfaceOutputConfigOrBuilder
-
hasMaxBufferedRxBytes
public boolean hasMaxBufferedRxBytes()
For buffered tapping, the maximum amount of received body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_rx_bytes = 2;- Specified by:
hasMaxBufferedRxBytesin interfaceOutputConfigOrBuilder- Returns:
- Whether the maxBufferedRxBytes field is set.
-
getMaxBufferedRxBytes
public com.google.protobuf.UInt32Value getMaxBufferedRxBytes()
For buffered tapping, the maximum amount of received body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_rx_bytes = 2;- Specified by:
getMaxBufferedRxBytesin interfaceOutputConfigOrBuilder- Returns:
- The maxBufferedRxBytes.
-
getMaxBufferedRxBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxBufferedRxBytesOrBuilder()
For buffered tapping, the maximum amount of received body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_rx_bytes = 2;- Specified by:
getMaxBufferedRxBytesOrBuilderin interfaceOutputConfigOrBuilder
-
hasMaxBufferedTxBytes
public boolean hasMaxBufferedTxBytes()
For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_tx_bytes = 3;- Specified by:
hasMaxBufferedTxBytesin interfaceOutputConfigOrBuilder- Returns:
- Whether the maxBufferedTxBytes field is set.
-
getMaxBufferedTxBytes
public com.google.protobuf.UInt32Value getMaxBufferedTxBytes()
For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_tx_bytes = 3;- Specified by:
getMaxBufferedTxBytesin interfaceOutputConfigOrBuilder- Returns:
- The maxBufferedTxBytes.
-
getMaxBufferedTxBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxBufferedTxBytesOrBuilder()
For buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation. If truncation occurs, the :ref:`truncated <envoy_v3_api_field_data.tap.v3.Body.truncated>` field will be set. If not specified, the default is 1KiB.
.google.protobuf.UInt32Value max_buffered_tx_bytes = 3;- Specified by:
getMaxBufferedTxBytesOrBuilderin interfaceOutputConfigOrBuilder
-
getStreaming
public boolean getStreaming()
Indicates whether taps produce a single buffered message per tap, or multiple streamed messages per tap in the emitted :ref:`TraceWrapper <envoy_v3_api_msg_data.tap.v3.TraceWrapper>` messages. Note that streamed tapping does not mean that no buffering takes place. Buffering may be required if data is processed before a match can be determined. See the HTTP tap filter :ref:`streaming <config_http_filters_tap_streaming>` documentation for more information.
bool streaming = 4;- Specified by:
getStreamingin interfaceOutputConfigOrBuilder- Returns:
- The streaming.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OutputConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OutputConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OutputConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OutputConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OutputConfig.Builder newBuilder()
-
newBuilder
public static OutputConfig.Builder newBuilder(OutputConfig prototype)
-
toBuilder
public OutputConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OutputConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OutputConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OutputConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<OutputConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OutputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-