Class OutputSink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
io.envoyproxy.envoy.service.tap.v2alpha.OutputSink.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OutputSinkOrBuilder,Cloneable
- Enclosing class:
- OutputSink
public static final class OutputSink.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
implements OutputSinkOrBuilder
Tap output sink configuration.Protobuf type
envoy.service.tap.v2alpha.OutputSink-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Tap output will be written to a file per tap sink.Sink output format.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.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.Tap output will be written to a file per tap sink.Sink output format.intSink output format.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.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.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.[#not-implemented-hide:] GrpcService to stream data to.booleanTap output will be written to a file per tap sink.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 booleanmergeFilePerTap(FilePerTapSink value) Tap output will be written to a file per tap sink.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OutputSink other) 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.final OutputSink.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFilePerTap(FilePerTapSink value) Tap output will be written to a file per tap sink.setFilePerTap(FilePerTapSink.Builder builderForValue) Tap output will be written to a file per tap sink.setFormat(OutputSink.Format value) Sink output format.setFormatValue(int value) Sink output format.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.setStreamingAdmin(StreamingAdminSink.Builder builderForValue) 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.setStreamingGrpc(StreamingGrpcSink.Builder builderForValue) [#not-implemented-hide:] GrpcService to stream data to.final OutputSink.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<OutputSink.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
setField
public OutputSink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
setRepeatedField
public OutputSink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
addRepeatedField
public OutputSink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutputSink.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
mergeFrom
public OutputSink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutputSink.Builder>- Throws:
IOException
-
getOutputSinkTypeCase
- Specified by:
getOutputSinkTypeCasein interfaceOutputSinkOrBuilder
-
clearOutputSinkType
-
getFormatValue
public int getFormatValue()Sink output format.
.envoy.service.tap.v2alpha.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Specified by:
getFormatValuein interfaceOutputSinkOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
Sink output format.
.envoy.service.tap.v2alpha.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
-
getFormat
Sink output format.
.envoy.service.tap.v2alpha.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Specified by:
getFormatin interfaceOutputSinkOrBuilder- Returns:
- The format.
-
setFormat
Sink output format.
.envoy.service.tap.v2alpha.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
clearFormat
Sink output format.
.envoy.service.tap.v2alpha.OutputSink.Format format = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
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.service.tap.v2alpha.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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2;- Specified by:
getStreamingAdminin interfaceOutputSinkOrBuilder- Returns:
- The streamingAdmin.
-
setStreamingAdmin
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2; -
setStreamingAdmin
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2; -
mergeStreamingAdmin
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2; -
clearStreamingAdmin
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2; -
getStreamingAdminBuilder
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2; -
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.service.tap.v2alpha.StreamingAdminSink streaming_admin = 2;- Specified by:
getStreamingAdminOrBuilderin interfaceOutputSinkOrBuilder
-
hasFilePerTap
public boolean hasFilePerTap()Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.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.service.tap.v2alpha.FilePerTapSink file_per_tap = 3;- Specified by:
getFilePerTapin interfaceOutputSinkOrBuilder- Returns:
- The filePerTap.
-
setFilePerTap
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.FilePerTapSink file_per_tap = 3; -
setFilePerTap
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.FilePerTapSink file_per_tap = 3; -
mergeFilePerTap
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.FilePerTapSink file_per_tap = 3; -
clearFilePerTap
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.FilePerTapSink file_per_tap = 3; -
getFilePerTapBuilder
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.FilePerTapSink file_per_tap = 3; -
getFilePerTapOrBuilder
Tap output will be written to a file per tap sink.
.envoy.service.tap.v2alpha.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.
.envoy.service.tap.v2alpha.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.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4;- Specified by:
getStreamingGrpcin interfaceOutputSinkOrBuilder- Returns:
- The streamingGrpc.
-
setStreamingGrpc
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4; -
setStreamingGrpc
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4; -
mergeStreamingGrpc
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4; -
clearStreamingGrpc
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4; -
getStreamingGrpcBuilder
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4; -
getStreamingGrpcOrBuilder
[#not-implemented-hide:] GrpcService to stream data to. The format argument must be PROTO_BINARY.
.envoy.service.tap.v2alpha.StreamingGrpcSink streaming_grpc = 4;- Specified by:
getStreamingGrpcOrBuilderin interfaceOutputSinkOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-
mergeUnknownFields
public final OutputSink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OutputSink.Builder>
-