Class StatsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<StatsConfig.Builder> implements StatsConfigOrBuilder
Statistics configuration such as tagging.
Protobuf typeenvoy.config.metrics.v3.StatsConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsConfig.BuilderaddAllHistogramBucketSettings(Iterable<? extends HistogramBucketSettings> values)Defines rules for setting the histogram buckets.StatsConfig.BuilderaddAllStatsTags(Iterable<? extends TagSpecifier> values)Each stat name is iteratively 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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StatsConfig.BuilderaddStatsTags(int index, TagSpecifier value)Each stat name is iteratively processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(int index, TagSpecifier.Builder builderForValue)Each stat name is iteratively processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(TagSpecifier value)Each stat name is iteratively processed through these tag specifiers.StatsConfig.BuilderaddStatsTags(TagSpecifier.Builder builderForValue)Each stat name is iteratively processed through these tag specifiers.TagSpecifier.BuilderaddStatsTagsBuilder()Each stat name is iteratively processed through these tag specifiers.TagSpecifier.BuilderaddStatsTagsBuilder(int index)Each stat name is iteratively processed through these tag specifiers.StatsConfigbuild()StatsConfigbuildPartial()StatsConfig.Builderclear()StatsConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StatsConfig.BuilderclearHistogramBucketSettings()Defines rules for setting the histogram buckets.StatsConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StatsConfig.BuilderclearStatsMatcher()Inclusion/exclusion matcher for stat name creation.StatsConfig.BuilderclearStatsTags()Each stat name is iteratively processed through these tag specifiers.StatsConfig.BuilderclearUseAllDefaultTags()Use all default tag regexes specified in Envoy.StatsConfig.Builderclone()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.List<HistogramBucketSettings.Builder>getHistogramBucketSettingsBuilderList()Defines rules for setting the histogram buckets.intgetHistogramBucketSettingsCount()Defines rules for setting the histogram buckets.List<HistogramBucketSettings>getHistogramBucketSettingsList()Defines rules for setting the histogram buckets.HistogramBucketSettingsOrBuildergetHistogramBucketSettingsOrBuilder(int index)Defines rules for setting the histogram buckets.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.StatsMatcherOrBuildergetStatsMatcherOrBuilder()Inclusion/exclusion matcher for stat name creation.TagSpecifiergetStatsTags(int index)Each stat name is iteratively processed through these tag specifiers.TagSpecifier.BuildergetStatsTagsBuilder(int index)Each stat name is iteratively processed through these tag specifiers.List<TagSpecifier.Builder>getStatsTagsBuilderList()Each stat name is iteratively processed through these tag specifiers.intgetStatsTagsCount()Each stat name is iteratively processed through these tag specifiers.List<TagSpecifier>getStatsTagsList()Each stat name is iteratively processed through these tag specifiers.TagSpecifierOrBuildergetStatsTagsOrBuilder(int index)Each stat name is iteratively processed through these tag specifiers.List<? extends TagSpecifierOrBuilder>getStatsTagsOrBuilderList()Each stat name is iteratively 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.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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)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 iteratively processed through these tag specifiers.StatsConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)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 iteratively processed through these tag specifiers.StatsConfig.BuildersetStatsTags(int index, TagSpecifier.Builder builderForValue)Each stat name is iteratively processed through these tag specifiers.StatsConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
public StatsConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
setField
public StatsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
clearField
public StatsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
clearOneof
public StatsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
setRepeatedField
public StatsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
addRepeatedField
public StatsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
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.GeneratedMessageV3.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
-
getStatsTagsList
public List<TagSpecifier> getStatsTagsList()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsListin interfaceStatsConfigOrBuilder
-
getStatsTagsCount
public int getStatsTagsCount()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsCountin interfaceStatsConfigOrBuilder
-
getStatsTags
public TagSpecifier getStatsTags(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
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 iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
setStatsTags
public StatsConfig.Builder setStatsTags(int index, TagSpecifier.Builder builderForValue)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(TagSpecifier value)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(int index, TagSpecifier value)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(TagSpecifier.Builder builderForValue)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTags
public StatsConfig.Builder addStatsTags(int index, TagSpecifier.Builder builderForValue)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addAllStatsTags
public StatsConfig.Builder addAllStatsTags(Iterable<? extends TagSpecifier> values)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
clearStatsTags
public StatsConfig.Builder clearStatsTags()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
removeStatsTags
public StatsConfig.Builder removeStatsTags(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsBuilder
public TagSpecifier.Builder getStatsTagsBuilder(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsOrBuilder
public TagSpecifierOrBuilder getStatsTagsOrBuilder(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsOrBuilderin interfaceStatsConfigOrBuilder
-
getStatsTagsOrBuilderList
public List<? extends TagSpecifierOrBuilder> getStatsTagsOrBuilderList()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;- Specified by:
getStatsTagsOrBuilderListin interfaceStatsConfigOrBuilder
-
addStatsTagsBuilder
public TagSpecifier.Builder addStatsTagsBuilder()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
addStatsTagsBuilder
public TagSpecifier.Builder addStatsTagsBuilder(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
getStatsTagsBuilderList
public List<TagSpecifier.Builder> getStatsTagsBuilderList()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
-
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
-
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
-
getHistogramBucketSettingsList
public 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(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 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 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;
-
setUnknownFields
public final StatsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
mergeUnknownFields
public final StatsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatsConfig.Builder>
-
-