Class ApplicationConfiguration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApplicationConfiguration.Builder>
-
- app.coronawarn.server.common.protocols.internal.ApplicationConfiguration.Builder
-
- All Implemented Interfaces:
ApplicationConfigurationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ApplicationConfiguration
public static final class ApplicationConfiguration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApplicationConfiguration.Builder> implements ApplicationConfigurationOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.ApplicationConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfiguration.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApplicationConfiguration
build()
ApplicationConfiguration
buildPartial()
ApplicationConfiguration.Builder
clear()
ApplicationConfiguration.Builder
clearAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationConfiguration.Builder
clearAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
ApplicationConfiguration.Builder
clearExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
ApplicationConfiguration.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApplicationConfiguration.Builder
clearMinRiskScore()
int32 minRiskScore = 1;
ApplicationConfiguration.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApplicationConfiguration.Builder
clearRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
ApplicationConfiguration.Builder
clone()
ApplicationVersionConfiguration
getAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationVersionConfiguration.Builder
getAppVersionBuilder()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationVersionConfigurationOrBuilder
getAppVersionOrBuilder()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
AttenuationDuration
getAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
AttenuationDuration.Builder
getAttenuationDurationBuilder()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
AttenuationDurationOrBuilder
getAttenuationDurationOrBuilder()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
ApplicationConfiguration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RiskScoreParameters
getExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
RiskScoreParameters.Builder
getExposureConfigBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
RiskScoreParametersOrBuilder
getExposureConfigOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
int
getMinRiskScore()
int32 minRiskScore = 1;
RiskScoreClassification
getRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
RiskScoreClassification.Builder
getRiskScoreClassesBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
RiskScoreClassificationOrBuilder
getRiskScoreClassesOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
boolean
hasAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
boolean
hasAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
boolean
hasExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
boolean
hasRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ApplicationConfiguration.Builder
mergeAppVersion(ApplicationVersionConfiguration value)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationConfiguration.Builder
mergeAttenuationDuration(AttenuationDuration value)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
ApplicationConfiguration.Builder
mergeExposureConfig(RiskScoreParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
ApplicationConfiguration.Builder
mergeFrom(ApplicationConfiguration other)
ApplicationConfiguration.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApplicationConfiguration.Builder
mergeFrom(com.google.protobuf.Message other)
ApplicationConfiguration.Builder
mergeRiskScoreClasses(RiskScoreClassification value)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
ApplicationConfiguration.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApplicationConfiguration.Builder
setAppVersion(ApplicationVersionConfiguration value)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationConfiguration.Builder
setAppVersion(ApplicationVersionConfiguration.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
ApplicationConfiguration.Builder
setAttenuationDuration(AttenuationDuration value)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
ApplicationConfiguration.Builder
setAttenuationDuration(AttenuationDuration.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
ApplicationConfiguration.Builder
setExposureConfig(RiskScoreParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
ApplicationConfiguration.Builder
setExposureConfig(RiskScoreParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
ApplicationConfiguration.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApplicationConfiguration.Builder
setMinRiskScore(int value)
int32 minRiskScore = 1;
ApplicationConfiguration.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ApplicationConfiguration.Builder
setRiskScoreClasses(RiskScoreClassification value)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
ApplicationConfiguration.Builder
setRiskScoreClasses(RiskScoreClassification.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
clear
public ApplicationConfiguration.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<ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
getDefaultInstanceForType
public ApplicationConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApplicationConfiguration build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApplicationConfiguration buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
setField
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
clearField
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
clearOneof
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
setRepeatedField
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
addRepeatedField
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
-
mergeFrom
public ApplicationConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApplicationConfiguration.Builder>
-
mergeFrom
public ApplicationConfiguration.Builder mergeFrom(ApplicationConfiguration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplicationConfiguration.Builder>
-
mergeFrom
public ApplicationConfiguration.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<ApplicationConfiguration.Builder>
- Throws:
IOException
-
getMinRiskScore
public int getMinRiskScore()
int32 minRiskScore = 1;
- Specified by:
getMinRiskScore
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The minRiskScore.
-
setMinRiskScore
public ApplicationConfiguration.Builder setMinRiskScore(int value)
int32 minRiskScore = 1;
- Parameters:
value
- The minRiskScore to set.- Returns:
- This builder for chaining.
-
clearMinRiskScore
public ApplicationConfiguration.Builder clearMinRiskScore()
int32 minRiskScore = 1;
- Returns:
- This builder for chaining.
-
hasRiskScoreClasses
public boolean hasRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
- Specified by:
hasRiskScoreClasses
in interfaceApplicationConfigurationOrBuilder
- Returns:
- Whether the riskScoreClasses field is set.
-
getRiskScoreClasses
public RiskScoreClassification getRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
- Specified by:
getRiskScoreClasses
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The riskScoreClasses.
-
setRiskScoreClasses
public ApplicationConfiguration.Builder setRiskScoreClasses(RiskScoreClassification value)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
-
setRiskScoreClasses
public ApplicationConfiguration.Builder setRiskScoreClasses(RiskScoreClassification.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
-
mergeRiskScoreClasses
public ApplicationConfiguration.Builder mergeRiskScoreClasses(RiskScoreClassification value)
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
-
clearRiskScoreClasses
public ApplicationConfiguration.Builder clearRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
-
getRiskScoreClassesBuilder
public RiskScoreClassification.Builder getRiskScoreClassesBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
-
getRiskScoreClassesOrBuilder
public RiskScoreClassificationOrBuilder getRiskScoreClassesOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
- Specified by:
getRiskScoreClassesOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
hasExposureConfig
public boolean hasExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
- Specified by:
hasExposureConfig
in interfaceApplicationConfigurationOrBuilder
- Returns:
- Whether the exposureConfig field is set.
-
getExposureConfig
public RiskScoreParameters getExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
- Specified by:
getExposureConfig
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The exposureConfig.
-
setExposureConfig
public ApplicationConfiguration.Builder setExposureConfig(RiskScoreParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
-
setExposureConfig
public ApplicationConfiguration.Builder setExposureConfig(RiskScoreParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
-
mergeExposureConfig
public ApplicationConfiguration.Builder mergeExposureConfig(RiskScoreParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
-
clearExposureConfig
public ApplicationConfiguration.Builder clearExposureConfig()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
-
getExposureConfigBuilder
public RiskScoreParameters.Builder getExposureConfigBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
-
getExposureConfigOrBuilder
public RiskScoreParametersOrBuilder getExposureConfigOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters exposureConfig = 3;
- Specified by:
getExposureConfigOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
hasAttenuationDuration
public boolean hasAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
- Specified by:
hasAttenuationDuration
in interfaceApplicationConfigurationOrBuilder
- Returns:
- Whether the attenuationDuration field is set.
-
getAttenuationDuration
public AttenuationDuration getAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
- Specified by:
getAttenuationDuration
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The attenuationDuration.
-
setAttenuationDuration
public ApplicationConfiguration.Builder setAttenuationDuration(AttenuationDuration value)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
-
setAttenuationDuration
public ApplicationConfiguration.Builder setAttenuationDuration(AttenuationDuration.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
-
mergeAttenuationDuration
public ApplicationConfiguration.Builder mergeAttenuationDuration(AttenuationDuration value)
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
-
clearAttenuationDuration
public ApplicationConfiguration.Builder clearAttenuationDuration()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
-
getAttenuationDurationBuilder
public AttenuationDuration.Builder getAttenuationDurationBuilder()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
-
getAttenuationDurationOrBuilder
public AttenuationDurationOrBuilder getAttenuationDurationOrBuilder()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
- Specified by:
getAttenuationDurationOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
hasAppVersion
public boolean hasAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
- Specified by:
hasAppVersion
in interfaceApplicationConfigurationOrBuilder
- Returns:
- Whether the appVersion field is set.
-
getAppVersion
public ApplicationVersionConfiguration getAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
- Specified by:
getAppVersion
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The appVersion.
-
setAppVersion
public ApplicationConfiguration.Builder setAppVersion(ApplicationVersionConfiguration value)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
-
setAppVersion
public ApplicationConfiguration.Builder setAppVersion(ApplicationVersionConfiguration.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
-
mergeAppVersion
public ApplicationConfiguration.Builder mergeAppVersion(ApplicationVersionConfiguration value)
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
-
clearAppVersion
public ApplicationConfiguration.Builder clearAppVersion()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
-
getAppVersionBuilder
public ApplicationVersionConfiguration.Builder getAppVersionBuilder()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
-
getAppVersionOrBuilder
public ApplicationVersionConfigurationOrBuilder getAppVersionOrBuilder()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
- Specified by:
getAppVersionOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
setUnknownFields
public final ApplicationConfiguration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplicationConfiguration.Builder>
-
mergeUnknownFields
public final ApplicationConfiguration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplicationConfiguration.Builder>
-
-