public final class TapConfig extends com.google.protobuf.GeneratedMessageV3 implements TapConfigOrBuilder
Tap configuration.Protobuf type
envoy.config.tap.v3.TapConfig| Modifier and Type | Class and Description |
|---|---|
static class |
TapConfig.Builder
Tap configuration.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
MATCH_CONFIG_FIELD_NUMBER |
static int |
MATCH_FIELD_NUMBER |
static int |
OUTPUT_CONFIG_FIELD_NUMBER |
static int |
TAP_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TapConfig |
getDefaultInstance() |
TapConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MatchPredicate |
getMatch()
The match configuration.
|
MatchPredicate |
getMatchConfig()
Deprecated.
|
MatchPredicateOrBuilder |
getMatchConfigOrBuilder()
Deprecated.
|
MatchPredicateOrBuilder |
getMatchOrBuilder()
The match configuration.
|
OutputConfig |
getOutputConfig()
The tap output configuration.
|
OutputConfigOrBuilder |
getOutputConfigOrBuilder()
The tap output configuration.
|
com.google.protobuf.Parser<TapConfig> |
getParserForType() |
int |
getSerializedSize() |
RuntimeFractionalPercent |
getTapEnabled()
[#not-implemented-hide:] Specify if Tap matching is enabled.
|
RuntimeFractionalPercentOrBuilder |
getTapEnabledOrBuilder()
[#not-implemented-hide:] Specify if Tap matching is enabled.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMatch()
The match configuration.
|
boolean |
hasMatchConfig()
Deprecated.
|
boolean |
hasOutputConfig()
The tap output configuration.
|
boolean |
hasTapEnabled()
[#not-implemented-hide:] Specify if Tap matching is enabled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TapConfig.Builder |
newBuilder() |
static TapConfig.Builder |
newBuilder(TapConfig prototype) |
TapConfig.Builder |
newBuilderForType() |
protected TapConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TapConfig |
parseDelimitedFrom(InputStream input) |
static TapConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TapConfig |
parseFrom(byte[] data) |
static TapConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TapConfig |
parseFrom(ByteBuffer data) |
static TapConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TapConfig |
parseFrom(com.google.protobuf.ByteString data) |
static TapConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TapConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TapConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TapConfig |
parseFrom(InputStream input) |
static TapConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TapConfig> |
parser() |
TapConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MATCH_CONFIG_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
public static final int TAP_ENABLED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3@Deprecated public boolean hasMatchConfig()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.tap.v3.MatchPredicate match_config = 1 [deprecated = true];hasMatchConfig in interface TapConfigOrBuilder@Deprecated public MatchPredicate getMatchConfig()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.tap.v3.MatchPredicate match_config = 1 [deprecated = true];getMatchConfig in interface TapConfigOrBuilder@Deprecated public MatchPredicateOrBuilder getMatchConfigOrBuilder()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.tap.v3.MatchPredicate match_config = 1 [deprecated = true];getMatchConfigOrBuilder in interface TapConfigOrBuilderpublic boolean hasMatch()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.common.matcher.v3.MatchPredicate match = 4;hasMatch in interface TapConfigOrBuilderpublic MatchPredicate getMatch()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.common.matcher.v3.MatchPredicate match = 4;getMatch in interface TapConfigOrBuilderpublic MatchPredicateOrBuilder getMatchOrBuilder()
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output. Exactly one of :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` and :ref:`match_config <envoy_api_field_config.tap.v3.TapConfig.match_config>` must be set. If both are set, the :ref:`match <envoy_api_field_config.tap.v3.TapConfig.match>` will be used.
.envoy.config.common.matcher.v3.MatchPredicate match = 4;getMatchOrBuilder in interface TapConfigOrBuilderpublic boolean hasOutputConfig()
The tap output configuration. If a match configuration matches a data source being tapped, a tap will occur and the data will be written to the configured output.
.envoy.config.tap.v3.OutputConfig output_config = 2 [(.validate.rules) = { ... }hasOutputConfig in interface TapConfigOrBuilderpublic OutputConfig getOutputConfig()
The tap output configuration. If a match configuration matches a data source being tapped, a tap will occur and the data will be written to the configured output.
.envoy.config.tap.v3.OutputConfig output_config = 2 [(.validate.rules) = { ... }getOutputConfig in interface TapConfigOrBuilderpublic OutputConfigOrBuilder getOutputConfigOrBuilder()
The tap output configuration. If a match configuration matches a data source being tapped, a tap will occur and the data will be written to the configured output.
.envoy.config.tap.v3.OutputConfig output_config = 2 [(.validate.rules) = { ... }getOutputConfigOrBuilder in interface TapConfigOrBuilderpublic boolean hasTapEnabled()
[#not-implemented-hide:] Specify if Tap matching is enabled. The % of requests\connections for which the tap matching is enabled. When not enabled, the request\connection will not be recorded. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.v3.FractionalPercent.DenominatorType>`.
.envoy.config.core.v3.RuntimeFractionalPercent tap_enabled = 3;hasTapEnabled in interface TapConfigOrBuilderpublic RuntimeFractionalPercent getTapEnabled()
[#not-implemented-hide:] Specify if Tap matching is enabled. The % of requests\connections for which the tap matching is enabled. When not enabled, the request\connection will not be recorded. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.v3.FractionalPercent.DenominatorType>`.
.envoy.config.core.v3.RuntimeFractionalPercent tap_enabled = 3;getTapEnabled in interface TapConfigOrBuilderpublic RuntimeFractionalPercentOrBuilder getTapEnabledOrBuilder()
[#not-implemented-hide:] Specify if Tap matching is enabled. The % of requests\connections for which the tap matching is enabled. When not enabled, the request\connection will not be recorded. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.v3.FractionalPercent.DenominatorType>`.
.envoy.config.core.v3.RuntimeFractionalPercent tap_enabled = 3;getTapEnabledOrBuilder in interface TapConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TapConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TapConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static TapConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TapConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TapConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TapConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TapConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TapConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TapConfig.Builder newBuilder()
public static TapConfig.Builder newBuilder(TapConfig prototype)
public TapConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TapConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TapConfig getDefaultInstance()
public static com.google.protobuf.Parser<TapConfig> parser()
public com.google.protobuf.Parser<TapConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TapConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.