Class DailySummariesConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DailySummariesConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DailySummariesConfig.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

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

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

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

        public DailySummariesConfig.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<DailySummariesConfig.Builder>
        Throws:
        IOException
      • getAttenuationBucketThresholdDb

        public int getAttenuationBucketThresholdDb​(int index)
        repeated int32 attenuationBucketThresholdDb = 1;
        Specified by:
        getAttenuationBucketThresholdDb in interface DailySummariesConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The attenuationBucketThresholdDb at the given index.
      • setAttenuationBucketThresholdDb

        public DailySummariesConfig.Builder setAttenuationBucketThresholdDb​(int index,
                                                                            int value)
        repeated int32 attenuationBucketThresholdDb = 1;
        Parameters:
        index - The index to set the value at.
        value - The attenuationBucketThresholdDb to set.
        Returns:
        This builder for chaining.
      • addAttenuationBucketThresholdDb

        public DailySummariesConfig.Builder addAttenuationBucketThresholdDb​(int value)
        repeated int32 attenuationBucketThresholdDb = 1;
        Parameters:
        value - The attenuationBucketThresholdDb to add.
        Returns:
        This builder for chaining.
      • addAllAttenuationBucketThresholdDb

        public DailySummariesConfig.Builder addAllAttenuationBucketThresholdDb​(Iterable<? extends Integer> values)
        repeated int32 attenuationBucketThresholdDb = 1;
        Parameters:
        values - The attenuationBucketThresholdDb to add.
        Returns:
        This builder for chaining.
      • clearAttenuationBucketThresholdDb

        public DailySummariesConfig.Builder clearAttenuationBucketThresholdDb()
        repeated int32 attenuationBucketThresholdDb = 1;
        Returns:
        This builder for chaining.
      • getAttenuationBucketWeights

        public double getAttenuationBucketWeights​(int index)
        repeated double attenuationBucketWeights = 2;
        Specified by:
        getAttenuationBucketWeights in interface DailySummariesConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The attenuationBucketWeights at the given index.
      • setAttenuationBucketWeights

        public DailySummariesConfig.Builder setAttenuationBucketWeights​(int index,
                                                                        double value)
        repeated double attenuationBucketWeights = 2;
        Parameters:
        index - The index to set the value at.
        value - The attenuationBucketWeights to set.
        Returns:
        This builder for chaining.
      • addAttenuationBucketWeights

        public DailySummariesConfig.Builder addAttenuationBucketWeights​(double value)
        repeated double attenuationBucketWeights = 2;
        Parameters:
        value - The attenuationBucketWeights to add.
        Returns:
        This builder for chaining.
      • addAllAttenuationBucketWeights

        public DailySummariesConfig.Builder addAllAttenuationBucketWeights​(Iterable<? extends Double> values)
        repeated double attenuationBucketWeights = 2;
        Parameters:
        values - The attenuationBucketWeights to add.
        Returns:
        This builder for chaining.
      • clearAttenuationBucketWeights

        public DailySummariesConfig.Builder clearAttenuationBucketWeights()
        repeated double attenuationBucketWeights = 2;
        Returns:
        This builder for chaining.
      • setDaysSinceExposureThreshold

        public DailySummariesConfig.Builder setDaysSinceExposureThreshold​(int value)
        int32 daysSinceExposureThreshold = 3;
        Parameters:
        value - The daysSinceExposureThreshold to set.
        Returns:
        This builder for chaining.
      • clearDaysSinceExposureThreshold

        public DailySummariesConfig.Builder clearDaysSinceExposureThreshold()
        int32 daysSinceExposureThreshold = 3;
        Returns:
        This builder for chaining.
      • removeInfectiousnessWeights

        public DailySummariesConfig.Builder removeInfectiousnessWeights​(int key)
        map<int32, double> infectiousnessWeights = 4;
      • getMutableInfectiousnessWeights

        @Deprecated
        public Map<Integer,​Double> getMutableInfectiousnessWeights()
        Deprecated.
        Use alternate mutation accessors instead.
      • putInfectiousnessWeights

        public DailySummariesConfig.Builder putInfectiousnessWeights​(int key,
                                                                     double value)
        map<int32, double> infectiousnessWeights = 4;
      • setMinimumWindowScore

        public DailySummariesConfig.Builder setMinimumWindowScore​(double value)
        double minimumWindowScore = 5;
        Parameters:
        value - The minimumWindowScore to set.
        Returns:
        This builder for chaining.
      • clearMinimumWindowScore

        public DailySummariesConfig.Builder clearMinimumWindowScore()
        double minimumWindowScore = 5;
        Returns:
        This builder for chaining.
      • removeReportTypeWeights

        public DailySummariesConfig.Builder removeReportTypeWeights​(int key)
        map<int32, double> reportTypeWeights = 6;
      • getMutableReportTypeWeights

        @Deprecated
        public Map<Integer,​Double> getMutableReportTypeWeights()
        Deprecated.
        Use alternate mutation accessors instead.
      • putReportTypeWeights

        public DailySummariesConfig.Builder putReportTypeWeights​(int key,
                                                                 double value)
        map<int32, double> reportTypeWeights = 6;
      • setUnknownFields

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

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