Class AttenuationDuration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
- app.coronawarn.server.common.protocols.internal.AttenuationDuration.Builder
-
- All Implemented Interfaces:
AttenuationDurationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AttenuationDuration
public static final class AttenuationDuration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder> implements AttenuationDurationOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.AttenuationDuration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttenuationDuration.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttenuationDuration
build()
AttenuationDuration
buildPartial()
AttenuationDuration.Builder
clear()
AttenuationDuration.Builder
clearDefaultBucketOffset()
int32 defaultBucketOffset = 3;
AttenuationDuration.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AttenuationDuration.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttenuationDuration.Builder
clearRiskScoreNormalizationDivisor()
int32 riskScoreNormalizationDivisor = 4;
AttenuationDuration.Builder
clearThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
AttenuationDuration.Builder
clearWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
AttenuationDuration.Builder
clone()
int
getDefaultBucketOffset()
int32 defaultBucketOffset = 3;
AttenuationDuration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getRiskScoreNormalizationDivisor()
int32 riskScoreNormalizationDivisor = 4;
Thresholds
getThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
Thresholds.Builder
getThresholdsBuilder()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
ThresholdsOrBuilder
getThresholdsOrBuilder()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
Weights
getWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
Weights.Builder
getWeightsBuilder()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
WeightsOrBuilder
getWeightsOrBuilder()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
boolean
hasThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
boolean
hasWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AttenuationDuration.Builder
mergeFrom(AttenuationDuration other)
AttenuationDuration.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttenuationDuration.Builder
mergeFrom(com.google.protobuf.Message other)
AttenuationDuration.Builder
mergeThresholds(Thresholds value)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
AttenuationDuration.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttenuationDuration.Builder
mergeWeights(Weights value)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
AttenuationDuration.Builder
setDefaultBucketOffset(int value)
int32 defaultBucketOffset = 3;
AttenuationDuration.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttenuationDuration.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AttenuationDuration.Builder
setRiskScoreNormalizationDivisor(int value)
int32 riskScoreNormalizationDivisor = 4;
AttenuationDuration.Builder
setThresholds(Thresholds value)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
AttenuationDuration.Builder
setThresholds(Thresholds.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
AttenuationDuration.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttenuationDuration.Builder
setWeights(Weights value)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
AttenuationDuration.Builder
setWeights(Weights.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
clear
public AttenuationDuration.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
getDefaultInstanceForType
public AttenuationDuration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttenuationDuration build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttenuationDuration buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttenuationDuration.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
setField
public AttenuationDuration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
clearField
public AttenuationDuration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
clearOneof
public AttenuationDuration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
setRepeatedField
public AttenuationDuration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
addRepeatedField
public AttenuationDuration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
mergeFrom
public AttenuationDuration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttenuationDuration.Builder>
-
mergeFrom
public AttenuationDuration.Builder mergeFrom(AttenuationDuration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
mergeFrom
public AttenuationDuration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttenuationDuration.Builder>
- Throws:
IOException
-
hasThresholds
public boolean hasThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
- Specified by:
hasThresholds
in interfaceAttenuationDurationOrBuilder
- Returns:
- Whether the thresholds field is set.
-
getThresholds
public Thresholds getThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
- Specified by:
getThresholds
in interfaceAttenuationDurationOrBuilder
- Returns:
- The thresholds.
-
setThresholds
public AttenuationDuration.Builder setThresholds(Thresholds value)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
-
setThresholds
public AttenuationDuration.Builder setThresholds(Thresholds.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
-
mergeThresholds
public AttenuationDuration.Builder mergeThresholds(Thresholds value)
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
-
clearThresholds
public AttenuationDuration.Builder clearThresholds()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
-
getThresholdsBuilder
public Thresholds.Builder getThresholdsBuilder()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
-
getThresholdsOrBuilder
public ThresholdsOrBuilder getThresholdsOrBuilder()
.app.coronawarn.server.common.protocols.internal.Thresholds thresholds = 1;
- Specified by:
getThresholdsOrBuilder
in interfaceAttenuationDurationOrBuilder
-
hasWeights
public boolean hasWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
- Specified by:
hasWeights
in interfaceAttenuationDurationOrBuilder
- Returns:
- Whether the weights field is set.
-
getWeights
public Weights getWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
- Specified by:
getWeights
in interfaceAttenuationDurationOrBuilder
- Returns:
- The weights.
-
setWeights
public AttenuationDuration.Builder setWeights(Weights value)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
setWeights
public AttenuationDuration.Builder setWeights(Weights.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
mergeWeights
public AttenuationDuration.Builder mergeWeights(Weights value)
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
clearWeights
public AttenuationDuration.Builder clearWeights()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
getWeightsBuilder
public Weights.Builder getWeightsBuilder()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
-
getWeightsOrBuilder
public WeightsOrBuilder getWeightsOrBuilder()
.app.coronawarn.server.common.protocols.internal.Weights weights = 2;
- Specified by:
getWeightsOrBuilder
in interfaceAttenuationDurationOrBuilder
-
getDefaultBucketOffset
public int getDefaultBucketOffset()
int32 defaultBucketOffset = 3;
- Specified by:
getDefaultBucketOffset
in interfaceAttenuationDurationOrBuilder
- Returns:
- The defaultBucketOffset.
-
setDefaultBucketOffset
public AttenuationDuration.Builder setDefaultBucketOffset(int value)
int32 defaultBucketOffset = 3;
- Parameters:
value
- The defaultBucketOffset to set.- Returns:
- This builder for chaining.
-
clearDefaultBucketOffset
public AttenuationDuration.Builder clearDefaultBucketOffset()
int32 defaultBucketOffset = 3;
- Returns:
- This builder for chaining.
-
getRiskScoreNormalizationDivisor
public int getRiskScoreNormalizationDivisor()
int32 riskScoreNormalizationDivisor = 4;
- Specified by:
getRiskScoreNormalizationDivisor
in interfaceAttenuationDurationOrBuilder
- Returns:
- The riskScoreNormalizationDivisor.
-
setRiskScoreNormalizationDivisor
public AttenuationDuration.Builder setRiskScoreNormalizationDivisor(int value)
int32 riskScoreNormalizationDivisor = 4;
- Parameters:
value
- The riskScoreNormalizationDivisor to set.- Returns:
- This builder for chaining.
-
clearRiskScoreNormalizationDivisor
public AttenuationDuration.Builder clearRiskScoreNormalizationDivisor()
int32 riskScoreNormalizationDivisor = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AttenuationDuration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
mergeUnknownFields
public final AttenuationDuration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttenuationDuration.Builder>
-
-