Class StatsConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StatsConfigOrBuilder, java.lang.Cloneable
    Enclosing class:
    StatsConfig

    public static final class StatsConfig.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
    implements StatsConfigOrBuilder
     Statistics configuration such as tagging.
     
    Protobuf type envoy.config.metrics.v3.StatsConfig
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public StatsConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
      • getDefaultInstanceForType

        public StatsConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StatsConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StatsConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • buildPartialRepeatedFields

        private void buildPartialRepeatedFields​(StatsConfig result)
      • buildPartial0

        private void buildPartial0​(StatsConfig result)
      • mergeFrom

        public StatsConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StatsConfig.Builder>
      • mergeFrom

        public StatsConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatsConfig.Builder>
        Throws:
        java.io.IOException
      • ensureStatsTagsIsMutable

        private void ensureStatsTagsIsMutable()
      • getStatsTagsList

        public java.util.List<TagSpecifier> getStatsTagsList()
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
        Specified by:
        getStatsTagsList in interface StatsConfigOrBuilder
      • 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 interface StatsConfigOrBuilder
      • getStatsTags

        public TagSpecifier getStatsTags​(int index)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
        Specified by:
        getStatsTags in interface StatsConfigOrBuilder
      • setStatsTags

        public StatsConfig.Builder setStatsTags​(int index,
                                                TagSpecifier value)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • setStatsTags

        public StatsConfig.Builder setStatsTags​(int index,
                                                TagSpecifier.Builder builderForValue)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addStatsTags

        public StatsConfig.Builder addStatsTags​(TagSpecifier value)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addStatsTags

        public StatsConfig.Builder addStatsTags​(int index,
                                                TagSpecifier value)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addStatsTags

        public StatsConfig.Builder addStatsTags​(TagSpecifier.Builder builderForValue)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addStatsTags

        public StatsConfig.Builder addStatsTags​(int index,
                                                TagSpecifier.Builder builderForValue)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addAllStatsTags

        public StatsConfig.Builder addAllStatsTags​(java.lang.Iterable<? extends TagSpecifier> values)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • clearStatsTags

        public StatsConfig.Builder clearStatsTags()
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • removeStatsTags

        public StatsConfig.Builder removeStatsTags​(int index)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • getStatsTagsBuilder

        public TagSpecifier.Builder getStatsTagsBuilder​(int index)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • getStatsTagsOrBuilder

        public TagSpecifierOrBuilder getStatsTagsOrBuilder​(int index)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
        Specified by:
        getStatsTagsOrBuilder in interface StatsConfigOrBuilder
      • getStatsTagsOrBuilderList

        public java.util.List<? extends TagSpecifierOrBuilder> getStatsTagsOrBuilderList()
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
        Specified by:
        getStatsTagsOrBuilderList in interface StatsConfigOrBuilder
      • addStatsTagsBuilder

        public TagSpecifier.Builder addStatsTagsBuilder()
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • addStatsTagsBuilder

        public TagSpecifier.Builder addStatsTagsBuilder​(int index)
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • getStatsTagsBuilderList

        public java.util.List<TagSpecifier.Builder> getStatsTagsBuilderList()
         Each stat name is independently processed through these tag specifiers. When a tag is
         matched, the first capture group is not immediately removed from the name, so later
         :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
         same portion of the match. After all tag matching is complete, a tag-extracted version of
         the name is produced and is used in stats sinks that represent tags, such as Prometheus.
         
        repeated .envoy.config.metrics.v3.TagSpecifier stats_tags = 1;
      • 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 interface StatsConfigOrBuilder
        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 interface StatsConfigOrBuilder
        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:
        getUseAllDefaultTagsOrBuilder in interface StatsConfigOrBuilder
      • getUseAllDefaultTagsFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> getUseAllDefaultTagsFieldBuilder()
         Use all default tag regexes specified in Envoy. These can be combined with
         custom tags specified in :ref:`stats_tags
         <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before
         the custom tags.
        
         .. note::
        
         If any default tags are specified twice, the config will be considered
         invalid.
        
         See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the
         default tags in Envoy.
        
         If not provided, the value is assumed to be true.
         
        .google.protobuf.BoolValue use_all_default_tags = 2;
      • hasStatsMatcher

        public boolean hasStatsMatcher()
         Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated
         as normal. Preventing the instantiation of certain families of stats can improve memory
         performance for Envoys running especially large configs.
        
         .. warning::
         Excluding stats may affect Envoy's behavior in undocumented ways. See
         `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information.
         If any unexpected behavior changes are observed, please open a new issue immediately.
         
        .envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
        Specified by:
        hasStatsMatcher in interface StatsConfigOrBuilder
        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:
        getStatsMatcher in interface StatsConfigOrBuilder
        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:
        getStatsMatcherOrBuilder in interface StatsConfigOrBuilder
      • getStatsMatcherFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<StatsMatcher,​StatsMatcher.Builder,​StatsMatcherOrBuilder> getStatsMatcherFieldBuilder()
         Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated
         as normal. Preventing the instantiation of certain families of stats can improve memory
         performance for Envoys running especially large configs.
        
         .. warning::
         Excluding stats may affect Envoy's behavior in undocumented ways. See
         `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information.
         If any unexpected behavior changes are observed, please open a new issue immediately.
         
        .envoy.config.metrics.v3.StatsMatcher stats_matcher = 3;
      • ensureHistogramBucketSettingsIsMutable

        private void ensureHistogramBucketSettingsIsMutable()
      • getHistogramBucketSettingsList

        public java.util.List<HistogramBucketSettings> getHistogramBucketSettingsList()
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
        Specified by:
        getHistogramBucketSettingsList in interface StatsConfigOrBuilder
      • 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 interface StatsConfigOrBuilder
      • 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:
        getHistogramBucketSettings in interface StatsConfigOrBuilder
      • setHistogramBucketSettings

        public StatsConfig.Builder setHistogramBucketSettings​(int index,
                                                              HistogramBucketSettings value)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • setHistogramBucketSettings

        public StatsConfig.Builder setHistogramBucketSettings​(int index,
                                                              HistogramBucketSettings.Builder builderForValue)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addHistogramBucketSettings

        public StatsConfig.Builder addHistogramBucketSettings​(HistogramBucketSettings value)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addHistogramBucketSettings

        public StatsConfig.Builder addHistogramBucketSettings​(int index,
                                                              HistogramBucketSettings value)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addHistogramBucketSettings

        public StatsConfig.Builder addHistogramBucketSettings​(HistogramBucketSettings.Builder builderForValue)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addHistogramBucketSettings

        public StatsConfig.Builder addHistogramBucketSettings​(int index,
                                                              HistogramBucketSettings.Builder builderForValue)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addAllHistogramBucketSettings

        public StatsConfig.Builder addAllHistogramBucketSettings​(java.lang.Iterable<? extends HistogramBucketSettings> values)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • clearHistogramBucketSettings

        public StatsConfig.Builder clearHistogramBucketSettings()
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • removeHistogramBucketSettings

        public StatsConfig.Builder removeHistogramBucketSettings​(int index)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • getHistogramBucketSettingsBuilder

        public HistogramBucketSettings.Builder getHistogramBucketSettingsBuilder​(int index)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • getHistogramBucketSettingsOrBuilder

        public HistogramBucketSettingsOrBuilder getHistogramBucketSettingsOrBuilder​(int index)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
        Specified by:
        getHistogramBucketSettingsOrBuilder in interface StatsConfigOrBuilder
      • getHistogramBucketSettingsOrBuilderList

        public java.util.List<? extends HistogramBucketSettingsOrBuilder> getHistogramBucketSettingsOrBuilderList()
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
        Specified by:
        getHistogramBucketSettingsOrBuilderList in interface StatsConfigOrBuilder
      • addHistogramBucketSettingsBuilder

        public HistogramBucketSettings.Builder addHistogramBucketSettingsBuilder()
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • addHistogramBucketSettingsBuilder

        public HistogramBucketSettings.Builder addHistogramBucketSettingsBuilder​(int index)
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;
      • getHistogramBucketSettingsBuilderList

        public java.util.List<HistogramBucketSettings.Builder> getHistogramBucketSettingsBuilderList()
         Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
         match is applied. If no match is found (or if no rules are set), the following default buckets
         are used:
        
         .. code-block:: json
        
         [
         0.5,
         1,
         5,
         10,
         25,
         50,
         100,
         250,
         500,
         1000,
         2500,
         5000,
         10000,
         30000,
         60000,
         300000,
         600000,
         1800000,
         3600000
         ]
         
        repeated .envoy.config.metrics.v3.HistogramBucketSettings histogram_bucket_settings = 4;