Class Statistics.Builder

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

    public static final class Statistics.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Statistics.Builder>
    implements StatisticsOrBuilder
    Protobuf type app.coronawarn.server.common.protocols.internal.stats.Statistics
    • 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<Statistics.Builder>
      • clear

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

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

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

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

        public Statistics.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<Statistics.Builder>
      • setField

        public Statistics.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<Statistics.Builder>
      • clearField

        public Statistics.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<Statistics.Builder>
      • clearOneof

        public Statistics.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<Statistics.Builder>
      • setRepeatedField

        public Statistics.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<Statistics.Builder>
      • addRepeatedField

        public Statistics.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<Statistics.Builder>
      • mergeFrom

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

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

        public Statistics.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<Statistics.Builder>
        Throws:
        IOException
      • getCardIdSequenceList

        public List<Integer> getCardIdSequenceList()
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Specified by:
        getCardIdSequenceList in interface StatisticsOrBuilder
        Returns:
        A list containing the cardIdSequence.
      • getCardIdSequenceCount

        public int getCardIdSequenceCount()
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Specified by:
        getCardIdSequenceCount in interface StatisticsOrBuilder
        Returns:
        The count of cardIdSequence.
      • getCardIdSequence

        public int getCardIdSequence​(int index)
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Specified by:
        getCardIdSequence in interface StatisticsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The cardIdSequence at the given index.
      • setCardIdSequence

        public Statistics.Builder setCardIdSequence​(int index,
                                                    int value)
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Parameters:
        index - The index to set the value at.
        value - The cardIdSequence to set.
        Returns:
        This builder for chaining.
      • addCardIdSequence

        public Statistics.Builder addCardIdSequence​(int value)
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Parameters:
        value - The cardIdSequence to add.
        Returns:
        This builder for chaining.
      • addAllCardIdSequence

        public Statistics.Builder addAllCardIdSequence​(Iterable<? extends Integer> values)
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Parameters:
        values - The cardIdSequence to add.
        Returns:
        This builder for chaining.
      • clearCardIdSequence

        public Statistics.Builder clearCardIdSequence()
         The sequence in which cards are displayed
         remove a cardId here to hide a card from the app
         
        repeated int32 cardIdSequence = 1;
        Returns:
        This builder for chaining.
      • getKeyFigureCardsCount

        public int getKeyFigureCardsCount()
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
        Specified by:
        getKeyFigureCardsCount in interface StatisticsOrBuilder
      • setKeyFigureCards

        public Statistics.Builder setKeyFigureCards​(int index,
                                                    KeyFigureCard value)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • setKeyFigureCards

        public Statistics.Builder setKeyFigureCards​(int index,
                                                    KeyFigureCard.Builder builderForValue)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCards

        public Statistics.Builder addKeyFigureCards​(KeyFigureCard value)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCards

        public Statistics.Builder addKeyFigureCards​(int index,
                                                    KeyFigureCard value)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCards

        public Statistics.Builder addKeyFigureCards​(KeyFigureCard.Builder builderForValue)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCards

        public Statistics.Builder addKeyFigureCards​(int index,
                                                    KeyFigureCard.Builder builderForValue)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addAllKeyFigureCards

        public Statistics.Builder addAllKeyFigureCards​(Iterable<? extends KeyFigureCard> values)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • clearKeyFigureCards

        public Statistics.Builder clearKeyFigureCards()
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • removeKeyFigureCards

        public Statistics.Builder removeKeyFigureCards​(int index)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • getKeyFigureCardsBuilder

        public KeyFigureCard.Builder getKeyFigureCardsBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCardsBuilder

        public KeyFigureCard.Builder addKeyFigureCardsBuilder()
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • addKeyFigureCardsBuilder

        public KeyFigureCard.Builder addKeyFigureCardsBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • getKeyFigureCardsBuilderList

        public List<KeyFigureCard.Builder> getKeyFigureCardsBuilderList()
        repeated .app.coronawarn.server.common.protocols.internal.stats.KeyFigureCard keyFigureCards = 2;
      • setUnknownFields

        public final Statistics.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<Statistics.Builder>
      • mergeUnknownFields

        public final Statistics.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<Statistics.Builder>