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.v3.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.v3.StatsMatcher
-
-
Method Summary
-
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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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()
-
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
-
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;
-
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;
-
hasExclusionList
public boolean hasExclusionList()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;- Specified by:
hasExclusionListin interfaceStatsMatcherOrBuilder
-
getExclusionList
public ListStringMatcher getExclusionList()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;- Specified by:
getExclusionListin interfaceStatsMatcherOrBuilder
-
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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.ListStringMatcher inclusion_list = 3;- Specified by:
hasInclusionListin interfaceStatsMatcherOrBuilder
-
getInclusionList
public ListStringMatcher getInclusionList()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;- Specified by:
getInclusionListin interfaceStatsMatcherOrBuilder
-
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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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>
-
-