Class StatsMatcher.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StatsMatcherOrBuilder, Cloneable
    Enclosing class:
    StatsMatcher

    public static final class StatsMatcher.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
    implements StatsMatcherOrBuilder
     Configuration for disabling stat instantiation.
     
    Protobuf type envoy.config.metrics.v3.StatsMatcher
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • clear

        public StatsMatcher.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.GeneratedMessageV3.Builder<StatsMatcher.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.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • getDefaultInstanceForType

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

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

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

        public StatsMatcher.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • setField

        public StatsMatcher.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • clearField

        public StatsMatcher.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • clearOneof

        public StatsMatcher.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • setRepeatedField

        public StatsMatcher.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • addRepeatedField

        public StatsMatcher.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • mergeFrom

        public StatsMatcher.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<StatsMatcher.Builder>
      • isInitialized

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

        public StatsMatcher.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws 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<StatsMatcher.Builder>
        Throws:
        IOException
      • hasRejectAll

        public boolean hasRejectAll()
         If ``reject_all`` is true, then all stats are disabled. If ``reject_all`` is false, then all
         stats are enabled.
         
        bool reject_all = 1;
        Specified by:
        hasRejectAll in interface StatsMatcherOrBuilder
        Returns:
        Whether the rejectAll field is set.
      • getRejectAll

        public boolean getRejectAll()
         If ``reject_all`` is true, then all stats are disabled. If ``reject_all`` is false, then all
         stats are enabled.
         
        bool reject_all = 1;
        Specified by:
        getRejectAll in interface StatsMatcherOrBuilder
        Returns:
        The rejectAll.
      • setRejectAll

        public StatsMatcher.Builder setRejectAll​(boolean value)
         If ``reject_all`` is true, then all stats are disabled. If ``reject_all`` is false, then all
         stats are enabled.
         
        bool reject_all = 1;
        Parameters:
        value - The rejectAll to set.
        Returns:
        This builder for chaining.
      • clearRejectAll

        public StatsMatcher.Builder clearRejectAll()
         If ``reject_all`` is true, then all stats are disabled. If ``reject_all`` is false, then all
         stats are enabled.
         
        bool reject_all = 1;
        Returns:
        This builder for chaining.
      • hasExclusionList

        public boolean hasExclusionList()
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
        Specified by:
        hasExclusionList in interface StatsMatcherOrBuilder
        Returns:
        Whether the exclusionList field is set.
      • getExclusionList

        public ListStringMatcher getExclusionList()
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
        Specified by:
        getExclusionList in interface StatsMatcherOrBuilder
        Returns:
        The exclusionList.
      • setExclusionList

        public StatsMatcher.Builder setExclusionList​(ListStringMatcher value)
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
      • setExclusionList

        public StatsMatcher.Builder setExclusionList​(ListStringMatcher.Builder builderForValue)
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
      • mergeExclusionList

        public StatsMatcher.Builder mergeExclusionList​(ListStringMatcher value)
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
      • clearExclusionList

        public StatsMatcher.Builder clearExclusionList()
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
      • getExclusionListBuilder

        public ListStringMatcher.Builder getExclusionListBuilder()
         Exclusive match. All stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher exclusion_list = 2;
      • hasInclusionList

        public boolean hasInclusionList()
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
        Specified by:
        hasInclusionList in interface StatsMatcherOrBuilder
        Returns:
        Whether the inclusionList field is set.
      • getInclusionList

        public ListStringMatcher getInclusionList()
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
        Specified by:
        getInclusionList in interface StatsMatcherOrBuilder
        Returns:
        The inclusionList.
      • setInclusionList

        public StatsMatcher.Builder setInclusionList​(ListStringMatcher value)
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
      • setInclusionList

        public StatsMatcher.Builder setInclusionList​(ListStringMatcher.Builder builderForValue)
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
      • mergeInclusionList

        public StatsMatcher.Builder mergeInclusionList​(ListStringMatcher value)
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
      • clearInclusionList

        public StatsMatcher.Builder clearInclusionList()
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
      • getInclusionListBuilder

        public ListStringMatcher.Builder getInclusionListBuilder()
         Inclusive match. No stats are enabled except for those matching one of the supplied
         StringMatcher protos.
         
        .envoy.type.matcher.v3.ListStringMatcher inclusion_list = 3;
      • setUnknownFields

        public final StatsMatcher.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>
      • mergeUnknownFields

        public final StatsMatcher.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatsMatcher.Builder>