Class StatsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
-
- io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StatsConfigOrBuilder,java.lang.Cloneable
- Enclosing class:
- StatsConfig
public static final class StatsConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder> implements StatsConfigOrBuilder
Statistics configuration such as tagging.
Protobuf typeenvoy.config.metrics.v3.StatsConfig
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private java.util.List<HistogramBucketSettings>histogramBucketSettings_private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder,HistogramBucketSettingsOrBuilder>histogramBucketSettingsBuilder_private StatsMatcherstatsMatcher_private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder,StatsMatcherOrBuilder>statsMatcherBuilder_private java.util.List<TagSpecifier>statsTags_private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder,TagSpecifierOrBuilder>statsTagsBuilder_private com.google.protobuf.BoolValueuseAllDefaultTags_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>useAllDefaultTagsBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsConfig.BuilderaddAllHistogramBucketSettings(java.lang.Iterable<? extends HistogramBucketSettings> values)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddAllStatsTags(java.lang.Iterable<? extends TagSpecifier> values)Each stat name is independently processed through these tag specifiers.StatsConfig.BuilderaddHistogramBucketSettings(int index, HistogramBucketSettings value)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddHistogramBucketSettings(HistogramBucketSettings value)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddHistogramBucketSettings(HistogramBucketSettings.Builder builderForValue)Defines rules for setting the histogram buckets.HistogramBucketSettings.BuilderaddHistogramBucketSettingsBuilder()Defines rules for setting the histogram buckets.HistogramBucketSettings.BuilderaddHistogramBucketSettingsBuilder(int index)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddStatsTags(int index, TagSpecifier value)Each stat name is independently processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(int index, TagSpecifier.Builder builderForValue)Each stat name is independently processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(TagSpecifier value)Each stat name is independently processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(TagSpecifier.Builder builderForValue)Each stat name is independently processed through these tag specifiers.TagSpecifier.BuilderaddStatsTagsBuilder()Each stat name is independently processed through these tag specifiers.TagSpecifier.BuilderaddStatsTagsBuilder(int index)Each stat name is independently processed through these tag specifiers.StatsConfigbuild()StatsConfigbuildPartial()private voidbuildPartial0(StatsConfig result)private voidbuildPartialRepeatedFields(StatsConfig result)StatsConfig.Builderclear()StatsConfig.BuilderclearHistogramBucketSettings()Defines rules for setting the histogram buckets.StatsConfig.BuilderclearStatsMatcher()Inclusion/exclusion matcher for stat name creation.StatsConfig.BuilderclearStatsTags()Each stat name is independently processed through these tag specifiers.StatsConfig.BuilderclearUseAllDefaultTags()Use all default tag regexes specified in Envoy.private voidensureHistogramBucketSettingsIsMutable()private voidensureStatsTagsIsMutable()StatsConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistogramBucketSettingsgetHistogramBucketSettings(int index)Defines rules for setting the histogram buckets.HistogramBucketSettings.BuildergetHistogramBucketSettingsBuilder(int index)Defines rules for setting the histogram buckets.java.util.List<HistogramBucketSettings.Builder>getHistogramBucketSettingsBuilderList()Defines rules for setting the histogram buckets.intgetHistogramBucketSettingsCount()Defines rules for setting the histogram buckets.private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder,HistogramBucketSettingsOrBuilder>getHistogramBucketSettingsFieldBuilder()java.util.List<HistogramBucketSettings>getHistogramBucketSettingsList()Defines rules for setting the histogram buckets.HistogramBucketSettingsOrBuildergetHistogramBucketSettingsOrBuilder(int index)Defines rules for setting the histogram buckets.java.util.List<? extends HistogramBucketSettingsOrBuilder>getHistogramBucketSettingsOrBuilderList()Defines rules for setting the histogram buckets.StatsMatchergetStatsMatcher()Inclusion/exclusion matcher for stat name creation.StatsMatcher.BuildergetStatsMatcherBuilder()Inclusion/exclusion matcher for stat name creation.private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder,StatsMatcherOrBuilder>getStatsMatcherFieldBuilder()Inclusion/exclusion matcher for stat name creation.StatsMatcherOrBuildergetStatsMatcherOrBuilder()Inclusion/exclusion matcher for stat name creation.TagSpecifiergetStatsTags(int index)Each stat name is independently processed through these tag specifiers.TagSpecifier.BuildergetStatsTagsBuilder(int index)Each stat name is independently processed through these tag specifiers.java.util.List<TagSpecifier.Builder>getStatsTagsBuilderList()Each stat name is independently processed through these tag specifiers.intgetStatsTagsCount()Each stat name is independently processed through these tag specifiers.private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder,TagSpecifierOrBuilder>getStatsTagsFieldBuilder()java.util.List<TagSpecifier>getStatsTagsList()Each stat name is independently processed through these tag specifiers.TagSpecifierOrBuildergetStatsTagsOrBuilder(int index)Each stat name is independently processed through these tag specifiers.java.util.List<? extends TagSpecifierOrBuilder>getStatsTagsOrBuilderList()Each stat name is independently processed through these tag specifiers.com.google.protobuf.BoolValuegetUseAllDefaultTags()Use all default tag regexes specified in Envoy.com.google.protobuf.BoolValue.BuildergetUseAllDefaultTagsBuilder()Use all default tag regexes specified in Envoy.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>getUseAllDefaultTagsFieldBuilder()Use all default tag regexes specified in Envoy.com.google.protobuf.BoolValueOrBuildergetUseAllDefaultTagsOrBuilder()Use all default tag regexes specified in Envoy.booleanhasStatsMatcher()Inclusion/exclusion matcher for stat name creation.booleanhasUseAllDefaultTags()Use all default tag regexes specified in Envoy.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()StatsConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StatsConfig.BuildermergeFrom(com.google.protobuf.Message other)StatsConfig.BuildermergeFrom(StatsConfig other)StatsConfig.BuildermergeStatsMatcher(StatsMatcher value)Inclusion/exclusion matcher for stat name creation.StatsConfig.BuildermergeUseAllDefaultTags(com.google.protobuf.BoolValue value)Use all default tag regexes specified in Envoy.StatsConfig.BuilderremoveHistogramBucketSettings(int index)Defines rules for setting the histogram buckets.StatsConfig.BuilderremoveStatsTags(int index)Each stat name is independently processed through these tag specifiers.StatsConfig.BuildersetHistogramBucketSettings(int index, HistogramBucketSettings value)Defines rules for setting the histogram buckets.StatsConfig.BuildersetHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue)Defines rules for setting the histogram buckets.StatsConfig.BuildersetStatsMatcher(StatsMatcher value)Inclusion/exclusion matcher for stat name creation.StatsConfig.BuildersetStatsMatcher(StatsMatcher.Builder builderForValue)Inclusion/exclusion matcher for stat name creation.StatsConfig.BuildersetStatsTags(int index, TagSpecifier value)Each stat name is independently processed through these tag specifiers.StatsConfig.BuildersetStatsTags(int index, TagSpecifier.Builder builderForValue)Each stat name is independently processed through these tag specifiers.StatsConfig.BuildersetUseAllDefaultTags(com.google.protobuf.BoolValue value)Use all default tag regexes specified in Envoy.StatsConfig.BuildersetUseAllDefaultTags(com.google.protobuf.BoolValue.Builder builderForValue)Use all default tag regexes specified in Envoy.-
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
-
bitField0_
private int bitField0_
-
statsTags_
private java.util.List<TagSpecifier> statsTags_
-
statsTagsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder,TagSpecifierOrBuilder> statsTagsBuilder_
-
useAllDefaultTags_
private com.google.protobuf.BoolValue useAllDefaultTags_
-
useAllDefaultTagsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> useAllDefaultTagsBuilder_
-
statsMatcher_
private StatsMatcher statsMatcher_
-
statsMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder,StatsMatcherOrBuilder> statsMatcherBuilder_
-
histogramBucketSettings_
private java.util.List<HistogramBucketSettings> histogramBucketSettings_
-
histogramBucketSettingsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder,HistogramBucketSettingsOrBuilder> histogramBucketSettingsBuilder_
-
-
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<StatsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public StatsConfig.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<StatsConfig.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<StatsConfig.Builder>
-
getDefaultInstanceForType
public StatsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StatsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StatsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(StatsConfig result)
-
buildPartial0
private void buildPartial0(StatsConfig result)
-
mergeFrom
public StatsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
-
mergeFrom
public StatsConfig.Builder mergeFrom(StatsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
-
mergeFrom
public StatsConfig.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<StatsConfig.Builder>- Throws:
java.io.IOException
-
ensureStatsTagsIsMutable
private void ensureStatsTagsIsMutable()
-
getStatsTagsList
public java.util.List<TagSpecifier> getStatsTagsList()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsListin interfaceStatsConfigOrBuilder
-
getStatsTagsCount
public int getStatsTagsCount()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsCountin interfaceStatsConfigOrBuilder
-
getStatsTags
public TagSpecifier getStatsTags(int index)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsin interfaceStatsConfigOrBuilder
-
setStatsTags
public StatsConfig.Builder setStatsTags(int index, TagSpecifier value)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
setStatsTags
public StatsConfig.Builder setStatsTags(int index, TagSpecifier.Builder builderForValue)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(TagSpecifier value)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(int index, TagSpecifier value)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(TagSpecifier.Builder builderForValue)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(int index, TagSpecifier.Builder builderForValue)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addAllStatsTags
public StatsConfig.Builder addAllStatsTags(java.lang.Iterable<? extends TagSpecifier> values)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
clearStatsTags
public StatsConfig.Builder clearStatsTags()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
removeStatsTags
public StatsConfig.Builder removeStatsTags(int index)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsBuilder
public TagSpecifier.Builder getStatsTagsBuilder(int index)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsOrBuilder
public TagSpecifierOrBuilder getStatsTagsOrBuilder(int index)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsOrBuilderin interfaceStatsConfigOrBuilder
-
getStatsTagsOrBuilderList
public java.util.List<? extends TagSpecifierOrBuilder> getStatsTagsOrBuilderList()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsOrBuilderListin interfaceStatsConfigOrBuilder
-
addStatsTagsBuilder
public TagSpecifier.Builder addStatsTagsBuilder()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTagsBuilder
public TagSpecifier.Builder addStatsTagsBuilder(int index)
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsBuilderList
public java.util.List<TagSpecifier.Builder> getStatsTagsBuilderList()
Each stat name is independently processed through these tag specifiers. When a tag is matched, the first capture group is not immediately removed from the name, so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that same portion of the match. After all tag matching is complete, a tag-extracted version of the name is produced and is used in stats sinks that represent tags, such as Prometheus.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder,TagSpecifierOrBuilder> getStatsTagsFieldBuilder()
-
hasUseAllDefaultTags
public boolean hasUseAllDefaultTags()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;- Specified by:
hasUseAllDefaultTagsin interfaceStatsConfigOrBuilder- Returns:
- Whether the useAllDefaultTags field is set.
-
getUseAllDefaultTags
public com.google.protobuf.BoolValue getUseAllDefaultTags()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;- Specified by:
getUseAllDefaultTagsin interfaceStatsConfigOrBuilder- Returns:
- The useAllDefaultTags.
-
setUseAllDefaultTags
public StatsConfig.Builder setUseAllDefaultTags(com.google.protobuf.BoolValue value)
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
setUseAllDefaultTags
public StatsConfig.Builder setUseAllDefaultTags(com.google.protobuf.BoolValue.Builder builderForValue)
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
mergeUseAllDefaultTags
public StatsConfig.Builder mergeUseAllDefaultTags(com.google.protobuf.BoolValue value)
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
clearUseAllDefaultTags
public StatsConfig.Builder clearUseAllDefaultTags()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
getUseAllDefaultTagsBuilder
public com.google.protobuf.BoolValue.Builder getUseAllDefaultTagsBuilder()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
getUseAllDefaultTagsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getUseAllDefaultTagsOrBuilder()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;- Specified by:
getUseAllDefaultTagsOrBuilderin interfaceStatsConfigOrBuilder
-
getUseAllDefaultTagsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getUseAllDefaultTagsFieldBuilder()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;
-
hasStatsMatcher
public boolean hasStatsMatcher()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;- Specified by:
hasStatsMatcherin interfaceStatsConfigOrBuilder- Returns:
- Whether the statsMatcher field is set.
-
getStatsMatcher
public StatsMatcher getStatsMatcher()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;- Specified by:
getStatsMatcherin interfaceStatsConfigOrBuilder- Returns:
- The statsMatcher.
-
setStatsMatcher
public StatsConfig.Builder setStatsMatcher(StatsMatcher value)
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
setStatsMatcher
public StatsConfig.Builder setStatsMatcher(StatsMatcher.Builder builderForValue)
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
mergeStatsMatcher
public StatsConfig.Builder mergeStatsMatcher(StatsMatcher value)
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
clearStatsMatcher
public StatsConfig.Builder clearStatsMatcher()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
getStatsMatcherBuilder
public StatsMatcher.Builder getStatsMatcherBuilder()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
getStatsMatcherOrBuilder
public StatsMatcherOrBuilder getStatsMatcherOrBuilder()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;- Specified by:
getStatsMatcherOrBuilderin interfaceStatsConfigOrBuilder
-
getStatsMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder,StatsMatcherOrBuilder> getStatsMatcherFieldBuilder()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
-
ensureHistogramBucketSettingsIsMutable
private void ensureHistogramBucketSettingsIsMutable()
-
getHistogramBucketSettingsList
public java.util.List<HistogramBucketSettings> getHistogramBucketSettingsList()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;- Specified by:
getHistogramBucketSettingsListin interfaceStatsConfigOrBuilder
-
getHistogramBucketSettingsCount
public int getHistogramBucketSettingsCount()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;- Specified by:
getHistogramBucketSettingsCountin interfaceStatsConfigOrBuilder
-
getHistogramBucketSettings
public HistogramBucketSettings getHistogramBucketSettings(int index)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;- Specified by:
getHistogramBucketSettingsin interfaceStatsConfigOrBuilder
-
setHistogramBucketSettings
public StatsConfig.Builder setHistogramBucketSettings(int index, HistogramBucketSettings value)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
setHistogramBucketSettings
public StatsConfig.Builder setHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addHistogramBucketSettings
public StatsConfig.Builder addHistogramBucketSettings(HistogramBucketSettings value)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addHistogramBucketSettings
public StatsConfig.Builder addHistogramBucketSettings(int index, HistogramBucketSettings value)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addHistogramBucketSettings
public StatsConfig.Builder addHistogramBucketSettings(HistogramBucketSettings.Builder builderForValue)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addHistogramBucketSettings
public StatsConfig.Builder addHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addAllHistogramBucketSettings
public StatsConfig.Builder addAllHistogramBucketSettings(java.lang.Iterable<? extends HistogramBucketSettings> values)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
clearHistogramBucketSettings
public StatsConfig.Builder clearHistogramBucketSettings()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
removeHistogramBucketSettings
public StatsConfig.Builder removeHistogramBucketSettings(int index)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
getHistogramBucketSettingsBuilder
public HistogramBucketSettings.Builder getHistogramBucketSettingsBuilder(int index)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
getHistogramBucketSettingsOrBuilder
public HistogramBucketSettingsOrBuilder getHistogramBucketSettingsOrBuilder(int index)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;- Specified by:
getHistogramBucketSettingsOrBuilderin interfaceStatsConfigOrBuilder
-
getHistogramBucketSettingsOrBuilderList
public java.util.List<? extends HistogramBucketSettingsOrBuilder> getHistogramBucketSettingsOrBuilderList()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;- Specified by:
getHistogramBucketSettingsOrBuilderListin interfaceStatsConfigOrBuilder
-
addHistogramBucketSettingsBuilder
public HistogramBucketSettings.Builder addHistogramBucketSettingsBuilder()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
addHistogramBucketSettingsBuilder
public HistogramBucketSettings.Builder addHistogramBucketSettingsBuilder(int index)
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
getHistogramBucketSettingsBuilderList
public java.util.List<HistogramBucketSettings.Builder> getHistogramBucketSettingsBuilderList()
Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first match is applied. If no match is found (or if no rules are set), the following default buckets are used: .. code-block:: json [ 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, 3600000 ]
repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
-
getHistogramBucketSettingsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder,HistogramBucketSettingsOrBuilder> getHistogramBucketSettingsFieldBuilder()
-
-