Class KeyFigure.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KeyFigure.Builder>
-
- app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Builder
-
- All Implemented Interfaces:
KeyFigureOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- KeyFigure
public static final class KeyFigure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeyFigure.Builder> implements KeyFigureOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.stats.KeyFigure
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyFigure.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyFigure
build()
KeyFigure
buildPartial()
KeyFigure.Builder
clear()
KeyFigure.Builder
clearDecimals()
zero by default; formatted as integer thenKeyFigure.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
KeyFigure.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
KeyFigure.Builder
clearRank()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
KeyFigure.Builder
clearTrend()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
KeyFigure.Builder
clearTrendSemantic()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
KeyFigure.Builder
clearValue()
double value = 2;
KeyFigure.Builder
clone()
int
getDecimals()
zero by default; formatted as integer thenKeyFigure
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
KeyFigure.Rank
getRank()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
int
getRankValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
KeyFigure.Trend
getTrend()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
KeyFigure.TrendSemantic
getTrendSemantic()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
int
getTrendSemanticValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
int
getTrendValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
double
getValue()
double value = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
KeyFigure.Builder
mergeFrom(KeyFigure other)
KeyFigure.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KeyFigure.Builder
mergeFrom(com.google.protobuf.Message other)
KeyFigure.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeyFigure.Builder
setDecimals(int value)
zero by default; formatted as integer thenKeyFigure.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyFigure.Builder
setRank(KeyFigure.Rank value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
KeyFigure.Builder
setRankValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
KeyFigure.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
KeyFigure.Builder
setTrend(KeyFigure.Trend value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
KeyFigure.Builder
setTrendSemantic(KeyFigure.TrendSemantic value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
KeyFigure.Builder
setTrendSemanticValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
KeyFigure.Builder
setTrendValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
KeyFigure.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeyFigure.Builder
setValue(double value)
double value = 2;
-
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<KeyFigure.Builder>
-
clear
public KeyFigure.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<KeyFigure.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<KeyFigure.Builder>
-
getDefaultInstanceForType
public KeyFigure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeyFigure build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeyFigure buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeyFigure.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<KeyFigure.Builder>
-
setField
public KeyFigure.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<KeyFigure.Builder>
-
clearField
public KeyFigure.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<KeyFigure.Builder>
-
clearOneof
public KeyFigure.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<KeyFigure.Builder>
-
setRepeatedField
public KeyFigure.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<KeyFigure.Builder>
-
addRepeatedField
public KeyFigure.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<KeyFigure.Builder>
-
mergeFrom
public KeyFigure.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeyFigure.Builder>
-
mergeFrom
public KeyFigure.Builder mergeFrom(KeyFigure other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyFigure.Builder>
-
mergeFrom
public KeyFigure.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<KeyFigure.Builder>
- Throws:
IOException
-
getRankValue
public int getRankValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
- Specified by:
getRankValue
in interfaceKeyFigureOrBuilder
- Returns:
- The enum numeric value on the wire for rank.
-
setRankValue
public KeyFigure.Builder setRankValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
- Parameters:
value
- The enum numeric value on the wire for rank to set.- Returns:
- This builder for chaining.
-
getRank
public KeyFigure.Rank getRank()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
- Specified by:
getRank
in interfaceKeyFigureOrBuilder
- Returns:
- The rank.
-
setRank
public KeyFigure.Builder setRank(KeyFigure.Rank value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
- Parameters:
value
- The rank to set.- Returns:
- This builder for chaining.
-
clearRank
public KeyFigure.Builder clearRank()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Rank rank = 1;
- Returns:
- This builder for chaining.
-
getValue
public double getValue()
double value = 2;
- Specified by:
getValue
in interfaceKeyFigureOrBuilder
- Returns:
- The value.
-
setValue
public KeyFigure.Builder setValue(double value)
double value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public KeyFigure.Builder clearValue()
double value = 2;
- Returns:
- This builder for chaining.
-
getDecimals
public int getDecimals()
zero by default; formatted as integer then
int32 decimals = 3;
- Specified by:
getDecimals
in interfaceKeyFigureOrBuilder
- Returns:
- The decimals.
-
setDecimals
public KeyFigure.Builder setDecimals(int value)
zero by default; formatted as integer then
int32 decimals = 3;
- Parameters:
value
- The decimals to set.- Returns:
- This builder for chaining.
-
clearDecimals
public KeyFigure.Builder clearDecimals()
zero by default; formatted as integer then
int32 decimals = 3;
- Returns:
- This builder for chaining.
-
getTrendValue
public int getTrendValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
- Specified by:
getTrendValue
in interfaceKeyFigureOrBuilder
- Returns:
- The enum numeric value on the wire for trend.
-
setTrendValue
public KeyFigure.Builder setTrendValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
- Parameters:
value
- The enum numeric value on the wire for trend to set.- Returns:
- This builder for chaining.
-
getTrend
public KeyFigure.Trend getTrend()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
- Specified by:
getTrend
in interfaceKeyFigureOrBuilder
- Returns:
- The trend.
-
setTrend
public KeyFigure.Builder setTrend(KeyFigure.Trend value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
- Parameters:
value
- The trend to set.- Returns:
- This builder for chaining.
-
clearTrend
public KeyFigure.Builder clearTrend()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.Trend trend = 4;
- Returns:
- This builder for chaining.
-
getTrendSemanticValue
public int getTrendSemanticValue()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
- Specified by:
getTrendSemanticValue
in interfaceKeyFigureOrBuilder
- Returns:
- The enum numeric value on the wire for trendSemantic.
-
setTrendSemanticValue
public KeyFigure.Builder setTrendSemanticValue(int value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
- Parameters:
value
- The enum numeric value on the wire for trendSemantic to set.- Returns:
- This builder for chaining.
-
getTrendSemantic
public KeyFigure.TrendSemantic getTrendSemantic()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
- Specified by:
getTrendSemantic
in interfaceKeyFigureOrBuilder
- Returns:
- The trendSemantic.
-
setTrendSemantic
public KeyFigure.Builder setTrendSemantic(KeyFigure.TrendSemantic value)
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
- Parameters:
value
- The trendSemantic to set.- Returns:
- This builder for chaining.
-
clearTrendSemantic
public KeyFigure.Builder clearTrendSemantic()
.app.coronawarn.server.common.protocols.internal.stats.KeyFigure.TrendSemantic trendSemantic = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final KeyFigure.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyFigure.Builder>
-
mergeUnknownFields
public final KeyFigure.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyFigure.Builder>
-
-