Class StatsMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.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,java.lang.Cloneable
- Enclosing class:
- StatsMatcher
public static final class StatsMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<StatsMatcher.Builder> implements StatsMatcherOrBuilder
Configuration for disabling stat instantiation.
Protobuf typeenvoy.config.metrics.v3.StatsMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder>exclusionListBuilder_private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder>inclusionListBuilder_private java.lang.ObjectstatsMatcher_private intstatsMatcherCase_
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
statsMatcherCase_
private int statsMatcherCase_
-
statsMatcher_
private java.lang.Object statsMatcher_
-
bitField0_
private int bitField0_
-
exclusionListBuilder_
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder> exclusionListBuilder_
-
inclusionListBuilder_
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder> inclusionListBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
-
buildPartial0
private void buildPartial0(StatsMatcher result)
-
buildPartialOneofs
private void buildPartialOneofs(StatsMatcher result)
-
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.GeneratedMessage.Builder<StatsMatcher.Builder>
-
mergeFrom
public StatsMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.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.v3.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.v3.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.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
-
getExclusionListFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder> getExclusionListFieldBuilder()
Exclusive match. All stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
-
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- 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.v3.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.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
-
getInclusionListFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder,ListStringMatcherOrBuilder> getInclusionListFieldBuilder()
Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
-
-