Class TapConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.service.tap.v2alpha.TapConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TapConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TapConfigbuild()TapConfigbuildPartial()TapConfig.Builderclear()TapConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TapConfig.BuilderclearMatchConfig()The match configuration.TapConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TapConfig.BuilderclearOutputConfig()The tap output configuration.TapConfig.BuilderclearTapEnabled()[#not-implemented-hide:] Specify if Tap matching is enabled.TapConfig.Builderclone()TapConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MatchPredicategetMatchConfig()The match configuration.MatchPredicate.BuildergetMatchConfigBuilder()The match configuration.MatchPredicateOrBuildergetMatchConfigOrBuilder()The match configuration.OutputConfiggetOutputConfig()The tap output configuration.OutputConfig.BuildergetOutputConfigBuilder()The tap output configuration.OutputConfigOrBuildergetOutputConfigOrBuilder()The tap output configuration.RuntimeFractionalPercentgetTapEnabled()[#not-implemented-hide:] Specify if Tap matching is enabled.RuntimeFractionalPercent.BuildergetTapEnabledBuilder()[#not-implemented-hide:] Specify if Tap matching is enabled.RuntimeFractionalPercentOrBuildergetTapEnabledOrBuilder()[#not-implemented-hide:] Specify if Tap matching is enabled.booleanhasMatchConfig()The match configuration.booleanhasOutputConfig()The tap output configuration.booleanhasTapEnabled()[#not-implemented-hide:] Specify if Tap matching is enabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TapConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TapConfig.BuildermergeFrom(com.google.protobuf.Message other)TapConfig.BuildermergeFrom(TapConfig other)TapConfig.BuildermergeMatchConfig(MatchPredicate value)The match configuration.TapConfig.BuildermergeOutputConfig(OutputConfig value)The tap output configuration.TapConfig.BuildermergeTapEnabled(RuntimeFractionalPercent value)[#not-implemented-hide:] Specify if Tap matching is enabled.TapConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TapConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TapConfig.BuildersetMatchConfig(MatchPredicate value)The match configuration.TapConfig.BuildersetMatchConfig(MatchPredicate.Builder builderForValue)The match configuration.TapConfig.BuildersetOutputConfig(OutputConfig value)The tap output configuration.TapConfig.BuildersetOutputConfig(OutputConfig.Builder builderForValue)The tap output configuration.TapConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TapConfig.BuildersetTapEnabled(RuntimeFractionalPercent value)[#not-implemented-hide:] Specify if Tap matching is enabled.TapConfig.BuildersetTapEnabled(RuntimeFractionalPercent.Builder builderForValue)[#not-implemented-hide:] Specify if Tap matching is enabled.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public TapConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TapConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TapConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TapConfig.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
public TapConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TapConfig.Builder>
-
clearOneof
public TapConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public TapConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TapConfig.Builder>
-
mergeFrom
public TapConfig.Builder mergeFrom(TapConfig other)
-
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
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.
.envoy.service.tap.v2alpha.MatchPredicate match_config = 1 [(.validate.rules) = { ... }- Specified by:
getMatchConfigin interfaceTapConfigOrBuilder- Returns:
- The matchConfig.
-
setMatchConfig
public TapConfig.Builder setMatchConfig(MatchPredicate value)
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
public TapConfig.Builder setMatchConfig(MatchPredicate.Builder builderForValue)
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
public TapConfig.Builder mergeMatchConfig(MatchPredicate value)
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
public TapConfig.Builder 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
public MatchPredicate.Builder 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
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.
.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
public 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.service.tap.v2alpha.OutputConfig output_config = 2 [(.validate.rules) = { ... }- Specified by:
getOutputConfigin interfaceTapConfigOrBuilder- Returns:
- The outputConfig.
-
setOutputConfig
public TapConfig.Builder setOutputConfig(OutputConfig value)
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
public TapConfig.Builder setOutputConfig(OutputConfig.Builder builderForValue)
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
public TapConfig.Builder mergeOutputConfig(OutputConfig value)
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
public TapConfig.Builder 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
public OutputConfig.Builder 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
public 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.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
public 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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3;- Specified by:
getTapEnabledin interfaceTapConfigOrBuilder- Returns:
- The tapEnabled.
-
setTapEnabled
public TapConfig.Builder setTapEnabled(RuntimeFractionalPercent value)
[#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
public TapConfig.Builder setTapEnabled(RuntimeFractionalPercent.Builder builderForValue)
[#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
public TapConfig.Builder mergeTapEnabled(RuntimeFractionalPercent value)
[#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
public TapConfig.Builder 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
public RuntimeFractionalPercent.Builder 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
public 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.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent tap_enabled = 3;- Specified by:
getTapEnabledOrBuilderin interfaceTapConfigOrBuilder
-
setUnknownFields
public final TapConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 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>
-
-