Class NormalizedTimeToRiskLevelMapping.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NormalizedTimeToRiskLevelMapping.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.Builder
-
- All Implemented Interfaces:
NormalizedTimeToRiskLevelMappingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NormalizedTimeToRiskLevelMapping
public static final class NormalizedTimeToRiskLevelMapping.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NormalizedTimeToRiskLevelMapping.Builder> implements NormalizedTimeToRiskLevelMappingOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalizedTimeToRiskLevelMapping.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NormalizedTimeToRiskLevelMapping
build()
NormalizedTimeToRiskLevelMapping
buildPartial()
NormalizedTimeToRiskLevelMapping.Builder
clear()
NormalizedTimeToRiskLevelMapping.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NormalizedTimeToRiskLevelMapping.Builder
clearNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
NormalizedTimeToRiskLevelMapping.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NormalizedTimeToRiskLevelMapping.Builder
clearRiskLevel()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
NormalizedTimeToRiskLevelMapping.Builder
clone()
NormalizedTimeToRiskLevelMapping
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Range
getNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
Range.Builder
getNormalizedTimeRangeBuilder()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
RangeOrBuilder
getNormalizedTimeRangeOrBuilder()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
NormalizedTimeToRiskLevelMapping.RiskLevel
getRiskLevel()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
int
getRiskLevelValue()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
boolean
hasNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NormalizedTimeToRiskLevelMapping.Builder
mergeFrom(NormalizedTimeToRiskLevelMapping other)
NormalizedTimeToRiskLevelMapping.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NormalizedTimeToRiskLevelMapping.Builder
mergeFrom(com.google.protobuf.Message other)
NormalizedTimeToRiskLevelMapping.Builder
mergeNormalizedTimeRange(Range value)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
NormalizedTimeToRiskLevelMapping.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NormalizedTimeToRiskLevelMapping.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NormalizedTimeToRiskLevelMapping.Builder
setNormalizedTimeRange(Range value)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
NormalizedTimeToRiskLevelMapping.Builder
setNormalizedTimeRange(Range.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
NormalizedTimeToRiskLevelMapping.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NormalizedTimeToRiskLevelMapping.Builder
setRiskLevel(NormalizedTimeToRiskLevelMapping.RiskLevel value)
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
NormalizedTimeToRiskLevelMapping.Builder
setRiskLevelValue(int value)
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
NormalizedTimeToRiskLevelMapping.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<NormalizedTimeToRiskLevelMapping.Builder>
-
clear
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
getDefaultInstanceForType
public NormalizedTimeToRiskLevelMapping getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NormalizedTimeToRiskLevelMapping build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NormalizedTimeToRiskLevelMapping buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
setField
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
clearField
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
clearOneof
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
setRepeatedField
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
addRepeatedField
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
-
mergeFrom
public NormalizedTimeToRiskLevelMapping.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NormalizedTimeToRiskLevelMapping.Builder>
-
mergeFrom
public NormalizedTimeToRiskLevelMapping.Builder mergeFrom(NormalizedTimeToRiskLevelMapping other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NormalizedTimeToRiskLevelMapping.Builder>
-
mergeFrom
public NormalizedTimeToRiskLevelMapping.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<NormalizedTimeToRiskLevelMapping.Builder>
- Throws:
IOException
-
hasNormalizedTimeRange
public boolean hasNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
- Specified by:
hasNormalizedTimeRange
in interfaceNormalizedTimeToRiskLevelMappingOrBuilder
- Returns:
- Whether the normalizedTimeRange field is set.
-
getNormalizedTimeRange
public Range getNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
- Specified by:
getNormalizedTimeRange
in interfaceNormalizedTimeToRiskLevelMappingOrBuilder
- Returns:
- The normalizedTimeRange.
-
setNormalizedTimeRange
public NormalizedTimeToRiskLevelMapping.Builder setNormalizedTimeRange(Range value)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
-
setNormalizedTimeRange
public NormalizedTimeToRiskLevelMapping.Builder setNormalizedTimeRange(Range.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
-
mergeNormalizedTimeRange
public NormalizedTimeToRiskLevelMapping.Builder mergeNormalizedTimeRange(Range value)
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
-
clearNormalizedTimeRange
public NormalizedTimeToRiskLevelMapping.Builder clearNormalizedTimeRange()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
-
getNormalizedTimeRangeBuilder
public Range.Builder getNormalizedTimeRangeBuilder()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
-
getNormalizedTimeRangeOrBuilder
public RangeOrBuilder getNormalizedTimeRangeOrBuilder()
.app.coronawarn.server.common.protocols.internal.v2.Range normalizedTimeRange = 1;
- Specified by:
getNormalizedTimeRangeOrBuilder
in interfaceNormalizedTimeToRiskLevelMappingOrBuilder
-
getRiskLevelValue
public int getRiskLevelValue()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
- Specified by:
getRiskLevelValue
in interfaceNormalizedTimeToRiskLevelMappingOrBuilder
- Returns:
- The enum numeric value on the wire for riskLevel.
-
setRiskLevelValue
public NormalizedTimeToRiskLevelMapping.Builder setRiskLevelValue(int value)
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
- Parameters:
value
- The enum numeric value on the wire for riskLevel to set.- Returns:
- This builder for chaining.
-
getRiskLevel
public NormalizedTimeToRiskLevelMapping.RiskLevel getRiskLevel()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
- Specified by:
getRiskLevel
in interfaceNormalizedTimeToRiskLevelMappingOrBuilder
- Returns:
- The riskLevel.
-
setRiskLevel
public NormalizedTimeToRiskLevelMapping.Builder setRiskLevel(NormalizedTimeToRiskLevelMapping.RiskLevel value)
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
- Parameters:
value
- The riskLevel to set.- Returns:
- This builder for chaining.
-
clearRiskLevel
public NormalizedTimeToRiskLevelMapping.Builder clearRiskLevel()
.app.coronawarn.server.common.protocols.internal.v2.NormalizedTimeToRiskLevelMapping.RiskLevel riskLevel = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NormalizedTimeToRiskLevelMapping.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NormalizedTimeToRiskLevelMapping.Builder>
-
mergeUnknownFields
public final NormalizedTimeToRiskLevelMapping.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NormalizedTimeToRiskLevelMapping.Builder>
-
-