Class TapConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
io.envoyproxy.envoy.service.tap.v2alpha.TapConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TapConfigOrBuilder,Cloneable
- Enclosing class:
- TapConfig
public static final class TapConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
implements TapConfigOrBuilder
Tap configuration.Protobuf type
envoy.service.tap.v2alpha.TapConfig-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The match configuration.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The tap output configuration.[#not-implemented-hide:] Specify if Tap matching is enabled.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe match configuration.The match configuration.The match configuration.The tap output configuration.The tap output configuration.The tap output configuration.[#not-implemented-hide:] Specify if Tap matching is enabled.[#not-implemented-hide:] Specify if Tap matching is enabled.[#not-implemented-hide:] Specify if Tap matching is enabled.booleanThe match configuration.booleanThe tap output configuration.boolean[#not-implemented-hide:] Specify if Tap matching is enabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatchConfig(MatchPredicate value) The match configuration.mergeOutputConfig(OutputConfig value) The tap output configuration.[#not-implemented-hide:] Specify if Tap matching is enabled.final TapConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setMatchConfig(MatchPredicate value) The match configuration.setMatchConfig(MatchPredicate.Builder builderForValue) The match configuration.setOutputConfig(OutputConfig value) The tap output configuration.setOutputConfig(OutputConfig.Builder builderForValue) The tap output configuration.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) [#not-implemented-hide:] Specify if Tap matching is enabled.setTapEnabled(RuntimeFractionalPercent.Builder builderForValue) [#not-implemented-hide:] Specify if Tap matching is enabled.final TapConfig.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<TapConfig.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<TapConfig.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<TapConfig.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<TapConfig.Builder>
-
setField
public TapConfig.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<TapConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-
setRepeatedField
public TapConfig.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<TapConfig.Builder>
-
addRepeatedField
public TapConfig.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<TapConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TapConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-
mergeFrom
public TapConfig.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<TapConfig.Builder>- Throws:
IOException
-
hasMatchConfig
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.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... }- Specified by:
hasMatchConfigin interfaceTapConfigOrBuilder- Returns:
- Whether the matchConfig field is set.
-
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.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... }- Specified by:
getMatchConfigin interfaceTapConfigOrBuilder- Returns:
- The matchConfig.
-
setMatchConfig
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... } -
setMatchConfig
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... } -
mergeMatchConfig
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... } -
clearMatchConfig
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... } -
getMatchConfigBuilder
The match configuration. If the configuration matches the data source being tapped, a tap will occur, with the result written to the configured output.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... } -
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.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... }- Specified by:
getMatchConfigOrBuilderin interfaceTapConfigOrBuilder
-
hasOutputConfig
public 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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... }- Specified by:
hasOutputConfigin interfaceTapConfigOrBuilder- Returns:
- Whether the outputConfig field is set.
-
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... }- Specified by:
getOutputConfigin interfaceTapConfigOrBuilder- Returns:
- The outputConfig.
-
setOutputConfig
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... } -
setOutputConfig
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... } -
mergeOutputConfig
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... } -
clearOutputConfig
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... } -
getOutputConfigBuilder
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... } -
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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... }- Specified by:
getOutputConfigOrBuilderin interfaceTapConfigOrBuilder
-
hasTapEnabled
public 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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3;- Specified by:
hasTapEnabledin interfaceTapConfigOrBuilder- Returns:
- Whether the tapEnabled field is set.
-
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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3;- Specified by:
getTapEnabledin interfaceTapConfigOrBuilder- Returns:
- The tapEnabled.
-
setTapEnabled
[#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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3; -
setTapEnabled
[#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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3; -
mergeTapEnabled
[#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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3; -
clearTapEnabled
[#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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3; -
getTapEnabledBuilder
[#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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3; -
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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3;- Specified by:
getTapEnabledOrBuilderin interfaceTapConfigOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-
mergeUnknownFields
public final TapConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-