Class StatsMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StatsMatcher.Builder>
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
,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 type
envoy.config.metrics.v3.StatsMatcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private com.google.protobuf.SingleFieldBuilder
<ListStringMatcher, ListStringMatcher.Builder, ListStringMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder
<ListStringMatcher, ListStringMatcher.Builder, ListStringMatcherOrBuilder> private Object
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(StatsMatcher result) private void
buildPartialOneofs
(StatsMatcher result) clear()
Exclusive match.Inclusive match.If ``reject_all`` is true, then all stats are disabled.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Exclusive match.Exclusive match.Exclusive match.Inclusive match.Inclusive match.Inclusive match.boolean
If ``reject_all`` is true, then all stats are disabled.boolean
Exclusive match.boolean
Inclusive match.boolean
If ``reject_all`` is true, then all stats are disabled.private com.google.protobuf.SingleFieldBuilder
<ListStringMatcher, ListStringMatcher.Builder, ListStringMatcherOrBuilder> Exclusive match.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<ListStringMatcher, ListStringMatcher.Builder, ListStringMatcherOrBuilder> Inclusive match.final boolean
Exclusive match.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StatsMatcher other) Inclusive match.Exclusive match.setExclusionList
(ListStringMatcher.Builder builderForValue) Exclusive match.Inclusive match.setInclusionList
(ListStringMatcher.Builder builderForValue) Inclusive match.setRejectAll
(boolean value) If ``reject_all`` is true, then all stats are disabled.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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
statsMatcherCase_
private int statsMatcherCase_ -
statsMatcher_
-
bitField0_
private int bitField0_ -
exclusionListBuilder_
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder, exclusionListBuilder_ListStringMatcherOrBuilder> -
inclusionListBuilder_
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder, inclusionListBuilder_ListStringMatcherOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StatsMatcher.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<StatsMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<StatsMatcher.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatsMatcher.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<StatsMatcher.Builder>
-
mergeFrom
public StatsMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatsMatcher.Builder>
- Throws:
IOException
-
getStatsMatcherCase
- Specified by:
getStatsMatcherCase
in interfaceStatsMatcherOrBuilder
-
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:
hasRejectAll
in 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:
getRejectAll
in interfaceStatsMatcherOrBuilder
- Returns:
- The rejectAll.
-
setRejectAll
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
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:
hasExclusionList
in interfaceStatsMatcherOrBuilder
- Returns:
- Whether the exclusionList field is set.
-
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:
getExclusionList
in interfaceStatsMatcherOrBuilder
- Returns:
- The exclusionList.
-
setExclusionList
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
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
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
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
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
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:
getExclusionListOrBuilder
in interfaceStatsMatcherOrBuilder
-
internalGetExclusionListFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder, internalGetExclusionListFieldBuilder()ListStringMatcherOrBuilder> 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:
hasInclusionList
in interfaceStatsMatcherOrBuilder
- Returns:
- Whether the inclusionList field is set.
-
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:
getInclusionList
in interfaceStatsMatcherOrBuilder
- Returns:
- The inclusionList.
-
setInclusionList
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
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
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
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
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
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:
getInclusionListOrBuilder
in interfaceStatsMatcherOrBuilder
-
internalGetInclusionListFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListStringMatcher,ListStringMatcher.Builder, internalGetInclusionListFieldBuilder()ListStringMatcherOrBuilder> Inclusive match. No stats are enabled except for those matching one of the supplied StringMatcher protos.
.envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
-