Class OutputSink
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.config.tap.v3.OutputSink
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OutputSinkOrBuilder,Serializable
public final class OutputSink
extends com.google.protobuf.GeneratedMessageV3
implements OutputSinkOrBuilder
Tap output sink configuration. [#next-free-field: 7]Protobuf type
envoy.config.tap.v3.OutputSink- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTap output sink configuration.static enumOutput format.static enumNested 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 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 TypeMethodDescriptionbooleanTap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.Tap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.Tap output filter will be defined by an extension typeTap output filter will be defined by an extension typestatic OutputSinkstatic final com.google.protobuf.Descriptors.DescriptorTap output will be written to a file per tap sink.Tap output will be written to a file per tap sink.Sink output format.intSink output format.com.google.protobuf.Parser<OutputSink>intTap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.Tap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.[#not-implemented-hide:] GrpcService to stream data to.[#not-implemented-hide:] GrpcService to stream data to.booleanTap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.booleanTap output filter will be defined by an extension typebooleanTap output will be written to a file per tap sink.inthashCode()booleanTap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint.boolean[#not-implemented-hide:] GrpcService to stream data to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic OutputSink.Builderstatic OutputSink.BuildernewBuilder(OutputSink prototype) protected OutputSink.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OutputSinkparseDelimitedFrom(InputStream input) static OutputSinkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutputSinkparseFrom(byte[] data) static OutputSinkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutputSinkparseFrom(com.google.protobuf.ByteString data) static OutputSinkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutputSinkparseFrom(com.google.protobuf.CodedInputStream input) static OutputSinkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutputSinkparseFrom(InputStream input) static OutputSinkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutputSinkparseFrom(ByteBuffer data) static OutputSinkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OutputSink>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
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
STREAMING_ADMIN_FIELD_NUMBER
public static final int STREAMING_ADMIN_FIELD_NUMBER- See Also:
-
FILE_PER_TAP_FIELD_NUMBER
public static final int FILE_PER_TAP_FIELD_NUMBER- See Also:
-
STREAMING_GRPC_FIELD_NUMBER
public static final int STREAMING_GRPC_FIELD_NUMBER- See Also:
-
BUFFERED_ADMIN_FIELD_NUMBER
public static final int BUFFERED_ADMIN_FIELD_NUMBER- See Also:
-
CUSTOM_SINK_FIELD_NUMBER
public static final int CUSTOM_SINK_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
-
getOutputSinkTypeCase
- Specified by:
getOutputSinkTypeCasein interfaceOutputSinkOrBuilder
-
getFormatValue
public int getFormatValue()Sink output format.
.envoy.config.tap.v3.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Specified by:
getFormatValuein interfaceOutputSinkOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
getFormat
Sink output format.
.envoy.config.tap.v3.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Specified by:
getFormatin interfaceOutputSinkOrBuilder- Returns:
- The format.
-
hasStreamingAdmin
public boolean hasStreamingAdmin()Tap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the streaming admin output type will fail.
.envoy.config.tap.v3.StreamingAdminSink streaming_admin = 2;- Specified by:
hasStreamingAdminin interfaceOutputSinkOrBuilder- Returns:
- Whether the streamingAdmin field is set.
-
getStreamingAdmin
Tap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the streaming admin output type will fail.
.envoy.config.tap.v3.StreamingAdminSink streaming_admin = 2;- Specified by:
getStreamingAdminin interfaceOutputSinkOrBuilder- Returns:
- The streamingAdmin.
-
getStreamingAdminOrBuilder
Tap output will be streamed out the :http:post:`/tap` admin endpoint. .. attention:: It is only allowed to specify the streaming admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the streaming admin output type will fail.
.envoy.config.tap.v3.StreamingAdminSink streaming_admin = 2;- Specified by:
getStreamingAdminOrBuilderin interfaceOutputSinkOrBuilder
-
hasFilePerTap
public boolean hasFilePerTap()Tap output will be written to a file per tap sink.
.envoy.config.tap.v3.FilePerTapSink file_per_tap = 3;- Specified by:
hasFilePerTapin interfaceOutputSinkOrBuilder- Returns:
- Whether the filePerTap field is set.
-
getFilePerTap
Tap output will be written to a file per tap sink.
.envoy.config.tap.v3.FilePerTapSink file_per_tap = 3;- Specified by:
getFilePerTapin interfaceOutputSinkOrBuilder- Returns:
- The filePerTap.
-
getFilePerTapOrBuilder
Tap output will be written to a file per tap sink.
.envoy.config.tap.v3.FilePerTapSink file_per_tap = 3;- Specified by:
getFilePerTapOrBuilderin interfaceOutputSinkOrBuilder
-
hasStreamingGrpc
public boolean hasStreamingGrpc()[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY. [#comment: TODO(samflattery): remove cleanup in uber_per_filter.cc once implemented]
.envoy.config.tap.v3.StreamingGrpcSink streaming_grpc = 4;- Specified by:
hasStreamingGrpcin interfaceOutputSinkOrBuilder- Returns:
- Whether the streamingGrpc field is set.
-
getStreamingGrpc
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY. [#comment: TODO(samflattery): remove cleanup in uber_per_filter.cc once implemented]
.envoy.config.tap.v3.StreamingGrpcSink streaming_grpc = 4;- Specified by:
getStreamingGrpcin interfaceOutputSinkOrBuilder- Returns:
- The streamingGrpc.
-
getStreamingGrpcOrBuilder
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY. [#comment: TODO(samflattery): remove cleanup in uber_per_filter.cc once implemented]
.envoy.config.tap.v3.StreamingGrpcSink streaming_grpc = 4;- Specified by:
getStreamingGrpcOrBuilderin interfaceOutputSinkOrBuilder
-
hasBufferedAdmin
public boolean hasBufferedAdmin()Tap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the buffered admin output type will fail.
.envoy.config.tap.v3.BufferedAdminSink buffered_admin = 5;- Specified by:
hasBufferedAdminin interfaceOutputSinkOrBuilder- Returns:
- Whether the bufferedAdmin field is set.
-
getBufferedAdmin
Tap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the buffered admin output type will fail.
.envoy.config.tap.v3.BufferedAdminSink buffered_admin = 5;- Specified by:
getBufferedAdminin interfaceOutputSinkOrBuilder- Returns:
- The bufferedAdmin.
-
getBufferedAdminOrBuilder
Tap output will be buffered in a single block before flushing to the :http:post:`/tap` admin endpoint .. attention:: It is only allowed to specify the buffered admin output sink if the tap is being configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has been configured to receive tap configuration from some other source (e.g., static file, XDS, etc.) configuring the buffered admin output type will fail.
.envoy.config.tap.v3.BufferedAdminSink buffered_admin = 5;- Specified by:
getBufferedAdminOrBuilderin interfaceOutputSinkOrBuilder
-
hasCustomSink
public boolean hasCustomSink()Tap output filter will be defined by an extension type
.envoy.config.core.v3.TypedExtensionConfig custom_sink = 6;- Specified by:
hasCustomSinkin interfaceOutputSinkOrBuilder- Returns:
- Whether the customSink field is set.
-
getCustomSink
Tap output filter will be defined by an extension type
.envoy.config.core.v3.TypedExtensionConfig custom_sink = 6;- Specified by:
getCustomSinkin interfaceOutputSinkOrBuilder- Returns:
- The customSink.
-
getCustomSinkOrBuilder
Tap output filter will be defined by an extension type
.envoy.config.core.v3.TypedExtensionConfig custom_sink = 6;- Specified by:
getCustomSinkOrBuilderin interfaceOutputSinkOrBuilder
-
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 OutputSink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputSink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputSink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputSink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputSink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutputSink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OutputSink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OutputSink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OutputSink 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 OutputSink.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
-