Class TransmissionRiskLevelEncoding.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransmissionRiskLevelEncoding.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.TransmissionRiskLevelEncoding.Builder
-
- All Implemented Interfaces:
TransmissionRiskLevelEncodingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TransmissionRiskLevelEncoding
public static final class TransmissionRiskLevelEncoding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransmissionRiskLevelEncoding.Builder> implements TransmissionRiskLevelEncodingOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.TransmissionRiskLevelEncoding
-
-
Method Summary
-
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<TransmissionRiskLevelEncoding.Builder>
-
clear
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
getDefaultInstanceForType
public TransmissionRiskLevelEncoding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransmissionRiskLevelEncoding build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransmissionRiskLevelEncoding buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
setField
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
clearField
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
clearOneof
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
setRepeatedField
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
addRepeatedField
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
-
mergeFrom
public TransmissionRiskLevelEncoding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransmissionRiskLevelEncoding.Builder>
-
mergeFrom
public TransmissionRiskLevelEncoding.Builder mergeFrom(TransmissionRiskLevelEncoding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransmissionRiskLevelEncoding.Builder>
-
mergeFrom
public TransmissionRiskLevelEncoding.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<TransmissionRiskLevelEncoding.Builder>
- Throws:
IOException
-
getInfectiousnessOffsetStandard
public int getInfectiousnessOffsetStandard()
int32 infectiousnessOffsetStandard = 1;
- Specified by:
getInfectiousnessOffsetStandard
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The infectiousnessOffsetStandard.
-
setInfectiousnessOffsetStandard
public TransmissionRiskLevelEncoding.Builder setInfectiousnessOffsetStandard(int value)
int32 infectiousnessOffsetStandard = 1;
- Parameters:
value
- The infectiousnessOffsetStandard to set.- Returns:
- This builder for chaining.
-
clearInfectiousnessOffsetStandard
public TransmissionRiskLevelEncoding.Builder clearInfectiousnessOffsetStandard()
int32 infectiousnessOffsetStandard = 1;
- Returns:
- This builder for chaining.
-
getInfectiousnessOffsetHigh
public int getInfectiousnessOffsetHigh()
int32 infectiousnessOffsetHigh = 2;
- Specified by:
getInfectiousnessOffsetHigh
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The infectiousnessOffsetHigh.
-
setInfectiousnessOffsetHigh
public TransmissionRiskLevelEncoding.Builder setInfectiousnessOffsetHigh(int value)
int32 infectiousnessOffsetHigh = 2;
- Parameters:
value
- The infectiousnessOffsetHigh to set.- Returns:
- This builder for chaining.
-
clearInfectiousnessOffsetHigh
public TransmissionRiskLevelEncoding.Builder clearInfectiousnessOffsetHigh()
int32 infectiousnessOffsetHigh = 2;
- Returns:
- This builder for chaining.
-
getReportTypeOffsetRecursive
public int getReportTypeOffsetRecursive()
int32 reportTypeOffsetRecursive = 3;
- Specified by:
getReportTypeOffsetRecursive
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The reportTypeOffsetRecursive.
-
setReportTypeOffsetRecursive
public TransmissionRiskLevelEncoding.Builder setReportTypeOffsetRecursive(int value)
int32 reportTypeOffsetRecursive = 3;
- Parameters:
value
- The reportTypeOffsetRecursive to set.- Returns:
- This builder for chaining.
-
clearReportTypeOffsetRecursive
public TransmissionRiskLevelEncoding.Builder clearReportTypeOffsetRecursive()
int32 reportTypeOffsetRecursive = 3;
- Returns:
- This builder for chaining.
-
getReportTypeOffsetSelfReport
public int getReportTypeOffsetSelfReport()
int32 reportTypeOffsetSelfReport = 4;
- Specified by:
getReportTypeOffsetSelfReport
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The reportTypeOffsetSelfReport.
-
setReportTypeOffsetSelfReport
public TransmissionRiskLevelEncoding.Builder setReportTypeOffsetSelfReport(int value)
int32 reportTypeOffsetSelfReport = 4;
- Parameters:
value
- The reportTypeOffsetSelfReport to set.- Returns:
- This builder for chaining.
-
clearReportTypeOffsetSelfReport
public TransmissionRiskLevelEncoding.Builder clearReportTypeOffsetSelfReport()
int32 reportTypeOffsetSelfReport = 4;
- Returns:
- This builder for chaining.
-
getReportTypeOffsetConfirmedClinicalDiagnosis
public int getReportTypeOffsetConfirmedClinicalDiagnosis()
int32 reportTypeOffsetConfirmedClinicalDiagnosis = 5;
- Specified by:
getReportTypeOffsetConfirmedClinicalDiagnosis
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The reportTypeOffsetConfirmedClinicalDiagnosis.
-
setReportTypeOffsetConfirmedClinicalDiagnosis
public TransmissionRiskLevelEncoding.Builder setReportTypeOffsetConfirmedClinicalDiagnosis(int value)
int32 reportTypeOffsetConfirmedClinicalDiagnosis = 5;
- Parameters:
value
- The reportTypeOffsetConfirmedClinicalDiagnosis to set.- Returns:
- This builder for chaining.
-
clearReportTypeOffsetConfirmedClinicalDiagnosis
public TransmissionRiskLevelEncoding.Builder clearReportTypeOffsetConfirmedClinicalDiagnosis()
int32 reportTypeOffsetConfirmedClinicalDiagnosis = 5;
- Returns:
- This builder for chaining.
-
getReportTypeOffsetConfirmedTest
public int getReportTypeOffsetConfirmedTest()
int32 reportTypeOffsetConfirmedTest = 6;
- Specified by:
getReportTypeOffsetConfirmedTest
in interfaceTransmissionRiskLevelEncodingOrBuilder
- Returns:
- The reportTypeOffsetConfirmedTest.
-
setReportTypeOffsetConfirmedTest
public TransmissionRiskLevelEncoding.Builder setReportTypeOffsetConfirmedTest(int value)
int32 reportTypeOffsetConfirmedTest = 6;
- Parameters:
value
- The reportTypeOffsetConfirmedTest to set.- Returns:
- This builder for chaining.
-
clearReportTypeOffsetConfirmedTest
public TransmissionRiskLevelEncoding.Builder clearReportTypeOffsetConfirmedTest()
int32 reportTypeOffsetConfirmedTest = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransmissionRiskLevelEncoding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransmissionRiskLevelEncoding.Builder>
-
mergeUnknownFields
public final TransmissionRiskLevelEncoding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransmissionRiskLevelEncoding.Builder>
-
-