Class StatsConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
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, 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 type
envoy.config.metrics.v3.StatsConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<HistogramBucketSettings> private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> private StatsMatcherprivate com.google.protobuf.SingleFieldBuilder<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> private List<TagSpecifier> private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier, TagSpecifier.Builder, TagSpecifierOrBuilder> private com.google.protobuf.BoolValueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllHistogramBucketSettings(Iterable<? extends HistogramBucketSettings> values) Defines rules for setting the histogram buckets.addAllStatsTags(Iterable<? extends TagSpecifier> values) Each stat name is independently processed through these tag specifiers.addHistogramBucketSettings(int index, HistogramBucketSettings value) Defines rules for setting the histogram buckets.addHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue) Defines rules for setting the histogram buckets.Defines rules for setting the histogram buckets.addHistogramBucketSettings(HistogramBucketSettings.Builder builderForValue) Defines rules for setting the histogram buckets.Defines rules for setting the histogram buckets.addHistogramBucketSettingsBuilder(int index) Defines rules for setting the histogram buckets.addStatsTags(int index, TagSpecifier value) Each stat name is independently processed through these tag specifiers.addStatsTags(int index, TagSpecifier.Builder builderForValue) Each stat name is independently processed through these tag specifiers.addStatsTags(TagSpecifier value) Each stat name is independently processed through these tag specifiers.addStatsTags(TagSpecifier.Builder builderForValue) Each stat name is independently processed through these tag specifiers.Each stat name is independently processed through these tag specifiers.addStatsTagsBuilder(int index) Each stat name is independently processed through these tag specifiers.build()private voidbuildPartial0(StatsConfig result) private voidclear()Defines rules for setting the histogram buckets.Inclusion/exclusion matcher for stat name creation.Each stat name is independently processed through these tag specifiers.Use all default tag regexes specified in Envoy.private voidprivate voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHistogramBucketSettings(int index) Defines rules for setting the histogram buckets.getHistogramBucketSettingsBuilder(int index) Defines rules for setting the histogram buckets.Defines rules for setting the histogram buckets.intDefines rules for setting the histogram buckets.Defines rules for setting the histogram buckets.getHistogramBucketSettingsOrBuilder(int index) Defines rules for setting the histogram buckets.List<? extends HistogramBucketSettingsOrBuilder> Defines rules for setting the histogram buckets.Inclusion/exclusion matcher for stat name creation.Inclusion/exclusion matcher for stat name creation.Inclusion/exclusion matcher for stat name creation.getStatsTags(int index) Each stat name is independently processed through these tag specifiers.getStatsTagsBuilder(int index) Each stat name is independently processed through these tag specifiers.Each stat name is independently processed through these tag specifiers.intEach stat name is independently processed through these tag specifiers.Each stat name is independently processed through these tag specifiers.getStatsTagsOrBuilder(int index) Each stat name is independently processed through these tag specifiers.List<? extends TagSpecifierOrBuilder> Each stat name is independently processed through these tag specifiers.com.google.protobuf.BoolValueUse all default tag regexes specified in Envoy.com.google.protobuf.BoolValue.BuilderUse all default tag regexes specified in Envoy.com.google.protobuf.BoolValueOrBuilderUse all default tag regexes specified in Envoy.booleanInclusion/exclusion matcher for stat name creation.booleanUse all default tag regexes specified in Envoy.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> private com.google.protobuf.SingleFieldBuilder<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> Inclusion/exclusion matcher for stat name creation.private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier, TagSpecifier.Builder, TagSpecifierOrBuilder> private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Use all default tag regexes specified in Envoy.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(StatsConfig other) mergeStatsMatcher(StatsMatcher value) Inclusion/exclusion matcher for stat name creation.mergeUseAllDefaultTags(com.google.protobuf.BoolValue value) Use all default tag regexes specified in Envoy.removeHistogramBucketSettings(int index) Defines rules for setting the histogram buckets.removeStatsTags(int index) Each stat name is independently processed through these tag specifiers.setHistogramBucketSettings(int index, HistogramBucketSettings value) Defines rules for setting the histogram buckets.setHistogramBucketSettings(int index, HistogramBucketSettings.Builder builderForValue) Defines rules for setting the histogram buckets.setStatsMatcher(StatsMatcher value) Inclusion/exclusion matcher for stat name creation.setStatsMatcher(StatsMatcher.Builder builderForValue) Inclusion/exclusion matcher for stat name creation.setStatsTags(int index, TagSpecifier value) Each stat name is independently processed through these tag specifiers.setStatsTags(int index, TagSpecifier.Builder builderForValue) Each stat name is independently processed through these tag specifiers.setUseAllDefaultTags(com.google.protobuf.BoolValue value) Use all default tag regexes specified in Envoy.setUseAllDefaultTags(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
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_
-
statsMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> statsMatcherBuilder_ -
histogramBucketSettings_
-
histogramBucketSettingsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> histogramBucketSettingsBuilder_
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
-
mergeFrom
-
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 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:
IOException
-
ensureStatsTagsIsMutable
private void ensureStatsTagsIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; -
internalGetStatsTagsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier, TagSpecifier.Builder, TagSpecifierOrBuilder> internalGetStatsTagsFieldBuilder() -
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
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
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
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
-
internalGetUseAllDefaultTagsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> internalGetUseAllDefaultTagsFieldBuilder()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
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
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
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
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
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
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
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
-
internalGetStatsMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> internalGetStatsMatcherFieldBuilder()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
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
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
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
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
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(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
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
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
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
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
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
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
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
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; -
internalGetHistogramBucketSettingsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> internalGetHistogramBucketSettingsFieldBuilder()
-