Class DiagnosisKeysDataMapping.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.DiagnosisKeysDataMapping.Builder
-
- All Implemented Interfaces:
DiagnosisKeysDataMappingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DiagnosisKeysDataMapping
public static final class DiagnosisKeysDataMapping.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder> implements DiagnosisKeysDataMappingOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.DiagnosisKeysDataMapping
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DiagnosisKeysDataMapping.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DiagnosisKeysDataMapping
build()
DiagnosisKeysDataMapping
buildPartial()
DiagnosisKeysDataMapping.Builder
clear()
DiagnosisKeysDataMapping.Builder
clearDaysSinceOnsetToInfectiousness()
DiagnosisKeysDataMapping.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DiagnosisKeysDataMapping.Builder
clearInfectiousnessWhenDaysSinceOnsetMissing()
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
DiagnosisKeysDataMapping.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DiagnosisKeysDataMapping.Builder
clearReportTypeWhenMissing()
int32 reportTypeWhenMissing = 3;
DiagnosisKeysDataMapping.Builder
clone()
boolean
containsDaysSinceOnsetToInfectiousness(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
Map<Integer,Integer>
getDaysSinceOnsetToInfectiousness()
Deprecated.int
getDaysSinceOnsetToInfectiousnessCount()
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
Map<Integer,Integer>
getDaysSinceOnsetToInfectiousnessMap()
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
int
getDaysSinceOnsetToInfectiousnessOrDefault(int key, int defaultValue)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
int
getDaysSinceOnsetToInfectiousnessOrThrow(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
DiagnosisKeysDataMapping
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getInfectiousnessWhenDaysSinceOnsetMissing()
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
Map<Integer,Integer>
getMutableDaysSinceOnsetToInfectiousness()
Deprecated.int
getReportTypeWhenMissing()
int32 reportTypeWhenMissing = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DiagnosisKeysDataMapping.Builder
mergeFrom(DiagnosisKeysDataMapping other)
DiagnosisKeysDataMapping.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DiagnosisKeysDataMapping.Builder
mergeFrom(com.google.protobuf.Message other)
DiagnosisKeysDataMapping.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DiagnosisKeysDataMapping.Builder
putAllDaysSinceOnsetToInfectiousness(Map<Integer,Integer> values)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
DiagnosisKeysDataMapping.Builder
putDaysSinceOnsetToInfectiousness(int key, int value)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
DiagnosisKeysDataMapping.Builder
removeDaysSinceOnsetToInfectiousness(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
DiagnosisKeysDataMapping.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DiagnosisKeysDataMapping.Builder
setInfectiousnessWhenDaysSinceOnsetMissing(int value)
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
DiagnosisKeysDataMapping.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DiagnosisKeysDataMapping.Builder
setReportTypeWhenMissing(int value)
int32 reportTypeWhenMissing = 3;
DiagnosisKeysDataMapping.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
clear
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
getDefaultInstanceForType
public DiagnosisKeysDataMapping getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DiagnosisKeysDataMapping build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DiagnosisKeysDataMapping buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
setField
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
clearField
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
clearOneof
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
setRepeatedField
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
addRepeatedField
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
-
mergeFrom
public DiagnosisKeysDataMapping.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DiagnosisKeysDataMapping.Builder>
-
mergeFrom
public DiagnosisKeysDataMapping.Builder mergeFrom(DiagnosisKeysDataMapping other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
mergeFrom
public DiagnosisKeysDataMapping.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<DiagnosisKeysDataMapping.Builder>
- Throws:
IOException
-
getDaysSinceOnsetToInfectiousnessCount
public int getDaysSinceOnsetToInfectiousnessCount()
Description copied from interface:DiagnosisKeysDataMappingOrBuilder
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
- Specified by:
getDaysSinceOnsetToInfectiousnessCount
in interfaceDiagnosisKeysDataMappingOrBuilder
-
containsDaysSinceOnsetToInfectiousness
public boolean containsDaysSinceOnsetToInfectiousness(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
- Specified by:
containsDaysSinceOnsetToInfectiousness
in interfaceDiagnosisKeysDataMappingOrBuilder
-
getDaysSinceOnsetToInfectiousness
@Deprecated public Map<Integer,Integer> getDaysSinceOnsetToInfectiousness()
Deprecated.UsegetDaysSinceOnsetToInfectiousnessMap()
instead.- Specified by:
getDaysSinceOnsetToInfectiousness
in interfaceDiagnosisKeysDataMappingOrBuilder
-
getDaysSinceOnsetToInfectiousnessMap
public Map<Integer,Integer> getDaysSinceOnsetToInfectiousnessMap()
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
- Specified by:
getDaysSinceOnsetToInfectiousnessMap
in interfaceDiagnosisKeysDataMappingOrBuilder
-
getDaysSinceOnsetToInfectiousnessOrDefault
public int getDaysSinceOnsetToInfectiousnessOrDefault(int key, int defaultValue)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
- Specified by:
getDaysSinceOnsetToInfectiousnessOrDefault
in interfaceDiagnosisKeysDataMappingOrBuilder
-
getDaysSinceOnsetToInfectiousnessOrThrow
public int getDaysSinceOnsetToInfectiousnessOrThrow(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
- Specified by:
getDaysSinceOnsetToInfectiousnessOrThrow
in interfaceDiagnosisKeysDataMappingOrBuilder
-
clearDaysSinceOnsetToInfectiousness
public DiagnosisKeysDataMapping.Builder clearDaysSinceOnsetToInfectiousness()
-
removeDaysSinceOnsetToInfectiousness
public DiagnosisKeysDataMapping.Builder removeDaysSinceOnsetToInfectiousness(int key)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
-
getMutableDaysSinceOnsetToInfectiousness
@Deprecated public Map<Integer,Integer> getMutableDaysSinceOnsetToInfectiousness()
Deprecated.Use alternate mutation accessors instead.
-
putDaysSinceOnsetToInfectiousness
public DiagnosisKeysDataMapping.Builder putDaysSinceOnsetToInfectiousness(int key, int value)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
-
putAllDaysSinceOnsetToInfectiousness
public DiagnosisKeysDataMapping.Builder putAllDaysSinceOnsetToInfectiousness(Map<Integer,Integer> values)
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
-
getInfectiousnessWhenDaysSinceOnsetMissing
public int getInfectiousnessWhenDaysSinceOnsetMissing()
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
- Specified by:
getInfectiousnessWhenDaysSinceOnsetMissing
in interfaceDiagnosisKeysDataMappingOrBuilder
- Returns:
- The infectiousnessWhenDaysSinceOnsetMissing.
-
setInfectiousnessWhenDaysSinceOnsetMissing
public DiagnosisKeysDataMapping.Builder setInfectiousnessWhenDaysSinceOnsetMissing(int value)
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
- Parameters:
value
- The infectiousnessWhenDaysSinceOnsetMissing to set.- Returns:
- This builder for chaining.
-
clearInfectiousnessWhenDaysSinceOnsetMissing
public DiagnosisKeysDataMapping.Builder clearInfectiousnessWhenDaysSinceOnsetMissing()
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
- Returns:
- This builder for chaining.
-
getReportTypeWhenMissing
public int getReportTypeWhenMissing()
int32 reportTypeWhenMissing = 3;
- Specified by:
getReportTypeWhenMissing
in interfaceDiagnosisKeysDataMappingOrBuilder
- Returns:
- The reportTypeWhenMissing.
-
setReportTypeWhenMissing
public DiagnosisKeysDataMapping.Builder setReportTypeWhenMissing(int value)
int32 reportTypeWhenMissing = 3;
- Parameters:
value
- The reportTypeWhenMissing to set.- Returns:
- This builder for chaining.
-
clearReportTypeWhenMissing
public DiagnosisKeysDataMapping.Builder clearReportTypeWhenMissing()
int32 reportTypeWhenMissing = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DiagnosisKeysDataMapping.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
mergeUnknownFields
public final DiagnosisKeysDataMapping.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiagnosisKeysDataMapping.Builder>
-
-