Class ApplicationConfiguration
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- app.coronawarn.server.common.protocols.internal.ApplicationConfiguration
-
- All Implemented Interfaces:
ApplicationConfigurationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ApplicationConfiguration extends com.google.protobuf.GeneratedMessageV3 implements ApplicationConfigurationOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.ApplicationConfiguration
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationConfiguration.Builder
Protobuf typeapp.coronawarn.server.common.protocols.internal.ApplicationConfiguration
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
APPFEATURES_FIELD_NUMBER
static int
APPVERSION_FIELD_NUMBER
static int
ATTENUATIONDURATION_FIELD_NUMBER
static int
EXPOSURECONFIG_FIELD_NUMBER
static int
MINRISKSCORE_FIELD_NUMBER
static int
RISKSCORECLASSES_FIELD_NUMBER
static int
SUPPORTEDCOUNTRIES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AppFeatures
getAppFeatures()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
AppFeaturesOrBuilder
getAppFeaturesOrBuilder()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
ApplicationVersionConfiguration
getAppVersion()
.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;
AttenuationDurationOrBuilder
getAttenuationDurationOrBuilder()
.app.coronawarn.server.common.protocols.internal.AttenuationDuration attenuationDuration = 4;
static ApplicationConfiguration
getDefaultInstance()
ApplicationConfiguration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
RiskScoreParameters
getExposureConfig()
.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;
com.google.protobuf.Parser<ApplicationConfiguration>
getParserForType()
RiskScoreClassification
getRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
RiskScoreClassificationOrBuilder
getRiskScoreClassesOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
int
getSerializedSize()
String
getSupportedCountries(int index)
repeated string supportedCountries = 7;
com.google.protobuf.ByteString
getSupportedCountriesBytes(int index)
repeated string supportedCountries = 7;
int
getSupportedCountriesCount()
repeated string supportedCountries = 7;
com.google.protobuf.ProtocolStringList
getSupportedCountriesList()
repeated string supportedCountries = 7;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasAppFeatures()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
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;
int
hashCode()
boolean
hasRiskScoreClasses()
.app.coronawarn.server.common.protocols.internal.RiskScoreClassification riskScoreClasses = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ApplicationConfiguration.Builder
newBuilder()
static ApplicationConfiguration.Builder
newBuilder(ApplicationConfiguration prototype)
ApplicationConfiguration.Builder
newBuilderForType()
protected ApplicationConfiguration.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ApplicationConfiguration
parseDelimitedFrom(InputStream input)
static ApplicationConfiguration
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApplicationConfiguration
parseFrom(byte[] data)
static ApplicationConfiguration
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApplicationConfiguration
parseFrom(com.google.protobuf.ByteString data)
static ApplicationConfiguration
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApplicationConfiguration
parseFrom(com.google.protobuf.CodedInputStream input)
static ApplicationConfiguration
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApplicationConfiguration
parseFrom(InputStream input)
static ApplicationConfiguration
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApplicationConfiguration
parseFrom(ByteBuffer data)
static ApplicationConfiguration
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ApplicationConfiguration>
parser()
ApplicationConfiguration.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MINRISKSCORE_FIELD_NUMBER
public static final int MINRISKSCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RISKSCORECLASSES_FIELD_NUMBER
public static final int RISKSCORECLASSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPOSURECONFIG_FIELD_NUMBER
public static final int EXPOSURECONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTENUATIONDURATION_FIELD_NUMBER
public static final int ATTENUATIONDURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPVERSION_FIELD_NUMBER
public static final int APPVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPFEATURES_FIELD_NUMBER
public static final int APPFEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTEDCOUNTRIES_FIELD_NUMBER
public static final int SUPPORTEDCOUNTRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getMinRiskScore
public int getMinRiskScore()
int32 minRiskScore = 1;
- Specified by:
getMinRiskScore
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The minRiskScore.
-
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.
-
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.
-
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.
-
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.
-
getAppVersionOrBuilder
public ApplicationVersionConfigurationOrBuilder getAppVersionOrBuilder()
.app.coronawarn.server.common.protocols.internal.ApplicationVersionConfiguration appVersion = 5;
- Specified by:
getAppVersionOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
hasAppFeatures
public boolean hasAppFeatures()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
- Specified by:
hasAppFeatures
in interfaceApplicationConfigurationOrBuilder
- Returns:
- Whether the appFeatures field is set.
-
getAppFeatures
public AppFeatures getAppFeatures()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
- Specified by:
getAppFeatures
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The appFeatures.
-
getAppFeaturesOrBuilder
public AppFeaturesOrBuilder getAppFeaturesOrBuilder()
.app.coronawarn.server.common.protocols.internal.AppFeatures appFeatures = 6;
- Specified by:
getAppFeaturesOrBuilder
in interfaceApplicationConfigurationOrBuilder
-
getSupportedCountriesList
public com.google.protobuf.ProtocolStringList getSupportedCountriesList()
repeated string supportedCountries = 7;
- Specified by:
getSupportedCountriesList
in interfaceApplicationConfigurationOrBuilder
- Returns:
- A list containing the supportedCountries.
-
getSupportedCountriesCount
public int getSupportedCountriesCount()
repeated string supportedCountries = 7;
- Specified by:
getSupportedCountriesCount
in interfaceApplicationConfigurationOrBuilder
- Returns:
- The count of supportedCountries.
-
getSupportedCountries
public String getSupportedCountries(int index)
repeated string supportedCountries = 7;
- Specified by:
getSupportedCountries
in interfaceApplicationConfigurationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The supportedCountries at the given index.
-
getSupportedCountriesBytes
public com.google.protobuf.ByteString getSupportedCountriesBytes(int index)
repeated string supportedCountries = 7;
- Specified by:
getSupportedCountriesBytes
in interfaceApplicationConfigurationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the supportedCountries at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApplicationConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplicationConfiguration parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApplicationConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApplicationConfiguration parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApplicationConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ApplicationConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApplicationConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ApplicationConfiguration.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ApplicationConfiguration.Builder newBuilder()
-
newBuilder
public static ApplicationConfiguration.Builder newBuilder(ApplicationConfiguration prototype)
-
toBuilder
public ApplicationConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApplicationConfiguration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ApplicationConfiguration getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ApplicationConfiguration> parser()
-
getParserForType
public com.google.protobuf.Parser<ApplicationConfiguration> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApplicationConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-