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 int
private List
<HistogramBucketSettings> private com.google.protobuf.RepeatedFieldBuilder
<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> private StatsMatcher
private com.google.protobuf.SingleFieldBuilder
<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> private List
<TagSpecifier> private com.google.protobuf.RepeatedFieldBuilder
<TagSpecifier, TagSpecifier.Builder, TagSpecifierOrBuilder> private com.google.protobuf.BoolValue
private 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 void
buildPartial0
(StatsConfig result) private void
clear()
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 void
private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getHistogramBucketSettings
(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.int
Defines rules for setting the histogram buckets.private com.google.protobuf.RepeatedFieldBuilder
<HistogramBucketSettings, HistogramBucketSettings.Builder, HistogramBucketSettingsOrBuilder> 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.private com.google.protobuf.SingleFieldBuilder
<StatsMatcher, StatsMatcher.Builder, StatsMatcherOrBuilder> 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.int
Each stat name is independently processed through these tag specifiers.private com.google.protobuf.RepeatedFieldBuilder
<TagSpecifier, TagSpecifier.Builder, TagSpecifierOrBuilder> 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.BoolValue
Use all default tag regexes specified in Envoy.com.google.protobuf.BoolValue.Builder
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> Use all default tag regexes specified in Envoy.com.google.protobuf.BoolValueOrBuilder
Use all default tag regexes specified in Envoy.boolean
Inclusion/exclusion matcher for stat name creation.boolean
Use all default tag regexes specified in Envoy.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(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, 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
-
bitField0_
private int bitField0_ -
statsTags_
-
statsTagsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder, statsTagsBuilder_TagSpecifierOrBuilder> -
useAllDefaultTags_
private com.google.protobuf.BoolValue useAllDefaultTags_ -
useAllDefaultTagsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, useAllDefaultTagsBuilder_com.google.protobuf.BoolValueOrBuilder> -
statsMatcher_
-
statsMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder, statsMatcherBuilder_StatsMatcherOrBuilder> -
histogramBucketSettings_
-
histogramBucketSettingsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder, histogramBucketSettingsBuilder_HistogramBucketSettingsOrBuilder>
-
-
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<StatsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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<StatsConfig.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<StatsConfig.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
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getStatsTagsList
in 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:
getStatsTagsCount
in 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:
getStatsTags
in 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:
getStatsTagsOrBuilder
in 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:
getStatsTagsOrBuilderList
in 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;
-
getStatsTagsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TagSpecifier,TagSpecifier.Builder, getStatsTagsFieldBuilder()TagSpecifierOrBuilder> -
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:
hasUseAllDefaultTags
in 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:
getUseAllDefaultTags
in 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:
getUseAllDefaultTagsOrBuilder
in interfaceStatsConfigOrBuilder
-
getUseAllDefaultTagsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, getUseAllDefaultTagsFieldBuilder()com.google.protobuf.BoolValueOrBuilder> 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:
hasStatsMatcher
in 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:
getStatsMatcher
in 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:
getStatsMatcherOrBuilder
in interfaceStatsConfigOrBuilder
-
getStatsMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StatsMatcher,StatsMatcher.Builder, getStatsMatcherFieldBuilder()StatsMatcherOrBuilder> 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:
getHistogramBucketSettingsList
in 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:
getHistogramBucketSettingsCount
in 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:
getHistogramBucketSettings
in 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:
getHistogramBucketSettingsOrBuilder
in 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:
getHistogramBucketSettingsOrBuilderList
in 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;
-
getHistogramBucketSettingsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HistogramBucketSettings,HistogramBucketSettings.Builder, getHistogramBucketSettingsFieldBuilder()HistogramBucketSettingsOrBuilder>
-