Class StatsMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
- io.envoyproxy.envoy.config.metrics.v2.StatsMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StatsMatcherOrBuilder,Cloneable
- Enclosing class:
- StatsMatcher
public static final class StatsMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder> implements StatsMatcherOrBuilder
Configuration for disabling stat instantiation.
Protobuf typeenvoy.config.metrics.v2.StatsMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsMatcher.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StatsMatcherbuild()StatsMatcherbuildPartial()StatsMatcher.Builderclear()StatsMatcher.BuilderclearExclusionList()Exclusive match.StatsMatcher.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StatsMatcher.BuilderclearInclusionList()Inclusive match.StatsMatcher.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StatsMatcher.BuilderclearRejectAll()If `reject_all` is true, then all stats are disabled.StatsMatcher.BuilderclearStatsMatcher()StatsMatcher.Builderclone()StatsMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ListStringMatchergetExclusionList()Exclusive match.ListStringMatcher.BuildergetExclusionListBuilder()Exclusive match.ListStringMatcherOrBuildergetExclusionListOrBuilder()Exclusive match.ListStringMatchergetInclusionList()Inclusive match.ListStringMatcher.BuildergetInclusionListBuilder()Inclusive match.ListStringMatcherOrBuildergetInclusionListOrBuilder()Inclusive match.booleangetRejectAll()If `reject_all` is true, then all stats are disabled.StatsMatcher.StatsMatcherCasegetStatsMatcherCase()booleanhasExclusionList()Exclusive match.booleanhasInclusionList()Inclusive match.booleanhasRejectAll()If `reject_all` is true, then all stats are disabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StatsMatcher.BuildermergeExclusionList(ListStringMatcher value)Exclusive match.StatsMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StatsMatcher.BuildermergeFrom(com.google.protobuf.Message other)StatsMatcher.BuildermergeFrom(StatsMatcher other)StatsMatcher.BuildermergeInclusionList(ListStringMatcher value)Inclusive match.StatsMatcher.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StatsMatcher.BuildersetExclusionList(ListStringMatcher value)Exclusive match.StatsMatcher.BuildersetExclusionList(ListStringMatcher.Builder builderForValue)Exclusive match.StatsMatcher.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StatsMatcher.BuildersetInclusionList(ListStringMatcher value)Inclusive match.StatsMatcher.BuildersetInclusionList(ListStringMatcher.Builder builderForValue)Inclusive match.StatsMatcher.BuildersetRejectAll(boolean value)If `reject_all` is true, then all stats are disabled.StatsMatcher.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StatsMatcher.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<StatsMatcher.Builder>
-
clear
public StatsMatcher.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<StatsMatcher.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<StatsMatcher.Builder>
-
getDefaultInstanceForType
public StatsMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StatsMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StatsMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StatsMatcher.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<StatsMatcher.Builder>
-
setField
public StatsMatcher.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<StatsMatcher.Builder>
-
clearField
public StatsMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
clearOneof
public StatsMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
setRepeatedField
public StatsMatcher.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<StatsMatcher.Builder>
-
addRepeatedField
public StatsMatcher.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<StatsMatcher.Builder>
-
mergeFrom
public StatsMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatsMatcher.Builder>
-
mergeFrom
public StatsMatcher.Builder mergeFrom(StatsMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
mergeFrom
public StatsMatcher.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<StatsMatcher.Builder>- Throws:
IOException
-
getStatsMatcherCase
public StatsMatcher.StatsMatcherCase getStatsMatcherCase()
- Specified by:
getStatsMatcherCasein interfaceStatsMatcherOrBuilder
-
clearStatsMatcher
public StatsMatcher.Builder clearStatsMatcher()
-
hasRejectAll
public boolean hasRejectAll()
If `reject_all` is true, then all stats are disabled. If `reject_all` is false, then all stats are enabled.
bool reject_all = 1;- Specified by:
hasRejectAllin interfaceStatsMatcherOrBuilder- Returns:
- Whether the rejectAll field is set.
-
getRejectAll
public boolean getRejectAll()
If `reject_all` is true, then all stats are disabled. If `reject_all` is false, then all stats are enabled.
bool reject_all = 1;- Specified by:
getRejectAllin interfaceStatsMatcherOrBuilder- Returns:
- The rejectAll.
-
setRejectAll
public StatsMatcher.Builder setRejectAll(boolean value)
If `reject_all` is true, then all stats are disabled. If `reject_all` is false, then all stats are enabled.
bool reject_all = 1;- Parameters:
value- The rejectAll to set.- Returns:
- This builder for chaining.
-
clearRejectAll
public StatsMatcher.Builder clearRejectAll()
If `reject_all` is true, then all stats are disabled. If `reject_all` is false, then all stats are enabled.
bool reject_all = 1;- Returns:
- This builder for chaining.
-
hasExclusionList
public boolean hasExclusionList()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;- Specified by:
hasExclusionListin interfaceStatsMatcherOrBuilder- Returns:
- Whether the exclusionList field is set.
-
getExclusionList
public ListStringMatcher getExclusionList()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;- Specified by:
getExclusionListin interfaceStatsMatcherOrBuilder- Returns:
- The exclusionList.
-
setExclusionList
public StatsMatcher.Builder setExclusionList(ListStringMatcher value)
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;
-
setExclusionList
public StatsMatcher.Builder setExclusionList(ListStringMatcher.Builder builderForValue)
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;
-
mergeExclusionList
public StatsMatcher.Builder mergeExclusionList(ListStringMatcher value)
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;
-
clearExclusionList
public StatsMatcher.Builder clearExclusionList()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;
-
getExclusionListBuilder
public ListStringMatcher.Builder getExclusionListBuilder()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;
-
getExclusionListOrBuilder
public ListStringMatcherOrBuilder getExclusionListOrBuilder()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher exclusion_list = 2;- Specified by:
getExclusionListOrBuilderin interfaceStatsMatcherOrBuilder
-
hasInclusionList
public boolean hasInclusionList()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;- Specified by:
hasInclusionListin interfaceStatsMatcherOrBuilder- Returns:
- Whether the inclusionList field is set.
-
getInclusionList
public ListStringMatcher getInclusionList()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;- Specified by:
getInclusionListin interfaceStatsMatcherOrBuilder- Returns:
- The inclusionList.
-
setInclusionList
public StatsMatcher.Builder setInclusionList(ListStringMatcher value)
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;
-
setInclusionList
public StatsMatcher.Builder setInclusionList(ListStringMatcher.Builder builderForValue)
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;
-
mergeInclusionList
public StatsMatcher.Builder mergeInclusionList(ListStringMatcher value)
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;
-
clearInclusionList
public StatsMatcher.Builder clearInclusionList()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;
-
getInclusionListBuilder
public ListStringMatcher.Builder getInclusionListBuilder()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;
-
getInclusionListOrBuilder
public ListStringMatcherOrBuilder getInclusionListOrBuilder()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.ListStringMatcher inclusion_list = 3;- Specified by:
getInclusionListOrBuilderin interfaceStatsMatcherOrBuilder
-
setUnknownFields
public final StatsMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
mergeUnknownFields
public final StatsMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
-
-