Class OutputConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.service.tap.v2alpha.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 type
envoy.service.tap.v2alpha.OutputConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTap output configuration.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OutputConfigstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.UInt32ValueFor buffered tapping, the maximum amount of received body that will be buffered prior to truncation.com.google.protobuf.UInt32ValueOrBuilderFor buffered tapping, the maximum amount of received body that will be buffered prior to truncation.com.google.protobuf.UInt32ValueFor buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.com.google.protobuf.UInt32ValueOrBuilderFor buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.com.google.protobuf.Parser<OutputConfig>intgetSinks(int index) Output sinks for tap data.intOutput sinks for tap data.Output sinks for tap data.getSinksOrBuilder(int index) Output sinks for tap data.List<? extends OutputSinkOrBuilder>Output sinks for tap data.booleanIndicates whether taps produce a single buffered message per tap, or multiple streamed messages per tap in the emitted :ref:`TraceWrapper <envoy_api_msg_data.tap.v2alpha.TraceWrapper>` messages.inthashCode()booleanFor buffered tapping, the maximum amount of received body that will be buffered prior to truncation.booleanFor buffered tapping, the maximum amount of transmitted body that will be buffered prior to truncation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic OutputConfig.Builderstatic OutputConfig.BuildernewBuilder(OutputConfig prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SINKS_FIELD_NUMBER
public static final int SINKS_FIELD_NUMBER- See Also:
-
MAX_BUFFERED_RX_BYTES_FIELD_NUMBER
public static final int MAX_BUFFERED_RX_BYTES_FIELD_NUMBER- See Also:
-
MAX_BUFFERED_TX_BYTES_FIELD_NUMBER
public static final int MAX_BUFFERED_TX_BYTES_FIELD_NUMBER- See Also:
-
STREAMING_FIELD_NUMBER
public static final int STREAMING_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
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.service.tap.v2alpha.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksListin interfaceOutputConfigOrBuilder
-
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.service.tap.v2alpha.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.service.tap.v2alpha.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksCountin interfaceOutputConfigOrBuilder
-
getSinks
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.service.tap.v2alpha.OutputSink sinks = 1 [(.validate.rules) = { ... }- Specified by:
getSinksin interfaceOutputConfigOrBuilder
-
getSinksOrBuilder
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.service.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_field_data.tap.v2alpha.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_api_msg_data.tap.v2alpha.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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static OutputConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OutputConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OutputConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-