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: 6]
Protobuf typeenvoy.config.tap.v3.OutputSink- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutputSink.BuilderTap output sink configuration.static classOutputSink.FormatOutput format.static classOutputSink.OutputSinkTypeCase-
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 intBUFFERED_ADMIN_FIELD_NUMBERstatic intFILE_PER_TAP_FIELD_NUMBERstatic intFORMAT_FIELD_NUMBERstatic intSTREAMING_ADMIN_FIELD_NUMBERstatic intSTREAMING_GRPC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BufferedAdminSinkgetBufferedAdmin()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.BufferedAdminSinkOrBuildergetBufferedAdminOrBuilder()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.static OutputSinkgetDefaultInstance()OutputSinkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()FilePerTapSinkgetFilePerTap()Tap output will be written to a file per tap sink.FilePerTapSinkOrBuildergetFilePerTapOrBuilder()Tap output will be written to a file per tap sink.OutputSink.FormatgetFormat()Sink output format.intgetFormatValue()Sink output format.OutputSink.OutputSinkTypeCasegetOutputSinkTypeCase()com.google.protobuf.Parser<OutputSink>getParserForType()intgetSerializedSize()StreamingAdminSinkgetStreamingAdmin()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.StreamingAdminSinkOrBuildergetStreamingAdminOrBuilder()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.StreamingGrpcSinkgetStreamingGrpc()[#not-implemented-hide:] GrpcService to stream data to.StreamingGrpcSinkOrBuildergetStreamingGrpcOrBuilder()[#not-implemented-hide:] GrpcService to stream data to.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBufferedAdmin()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.booleanhasFilePerTap()Tap output will be written to a file per tap sink.inthashCode()booleanhasStreamingAdmin()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.booleanhasStreamingGrpc()[#not-implemented-hide:] GrpcService to stream data to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OutputSink.BuildernewBuilder()static OutputSink.BuildernewBuilder(OutputSink prototype)OutputSink.BuildernewBuilderForType()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()OutputSink.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
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAMING_ADMIN_FIELD_NUMBER
public static final int STREAMING_ADMIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_PER_TAP_FIELD_NUMBER
public static final int FILE_PER_TAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAMING_GRPC_FIELD_NUMBER
public static final int STREAMING_GRPC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUFFERED_ADMIN_FIELD_NUMBER
public static final int BUFFERED_ADMIN_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
-
getOutputSinkTypeCase
public OutputSink.OutputSinkTypeCase 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
public OutputSink.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
public StreamingAdminSink 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
public StreamingAdminSinkOrBuilder 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
public FilePerTapSink 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
public FilePerTapSinkOrBuilder 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
public StreamingGrpcSink 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
public StreamingGrpcSinkOrBuilder 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
public BufferedAdminSink 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
public BufferedAdminSinkOrBuilder 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
-
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 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
public static OutputSink parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputSink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OutputSink parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OutputSink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputSink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OutputSink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OutputSink.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OutputSink.Builder newBuilder()
-
newBuilder
public static OutputSink.Builder newBuilder(OutputSink prototype)
-
toBuilder
public OutputSink.Builder 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
public static OutputSink getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OutputSink> parser()
-
getParserForType
public com.google.protobuf.Parser<OutputSink> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OutputSink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-