Class RiskScoreClass.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreClass.Builder>
-
- app.coronawarn.server.common.protocols.internal.RiskScoreClass.Builder
-
- All Implemented Interfaces:
RiskScoreClassOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RiskScoreClass
public static final class RiskScoreClass.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreClass.Builder> implements RiskScoreClassOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreClass
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskScoreClass.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RiskScoreClass
build()
RiskScoreClass
buildPartial()
RiskScoreClass.Builder
clear()
RiskScoreClass.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RiskScoreClass.Builder
clearLabel()
string label = 1;
RiskScoreClass.Builder
clearMax()
int32 max = 3;
RiskScoreClass.Builder
clearMin()
int32 min = 2;
RiskScoreClass.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RiskScoreClass.Builder
clearUrl()
string url = 4;
RiskScoreClass.Builder
clone()
RiskScoreClass
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLabel()
string label = 1;
com.google.protobuf.ByteString
getLabelBytes()
string label = 1;
int
getMax()
int32 max = 3;
int
getMin()
int32 min = 2;
String
getUrl()
string url = 4;
com.google.protobuf.ByteString
getUrlBytes()
string url = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RiskScoreClass.Builder
mergeFrom(RiskScoreClass other)
RiskScoreClass.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RiskScoreClass.Builder
mergeFrom(com.google.protobuf.Message other)
RiskScoreClass.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RiskScoreClass.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RiskScoreClass.Builder
setLabel(String value)
string label = 1;
RiskScoreClass.Builder
setLabelBytes(com.google.protobuf.ByteString value)
string label = 1;
RiskScoreClass.Builder
setMax(int value)
int32 max = 3;
RiskScoreClass.Builder
setMin(int value)
int32 min = 2;
RiskScoreClass.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RiskScoreClass.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RiskScoreClass.Builder
setUrl(String value)
string url = 4;
RiskScoreClass.Builder
setUrlBytes(com.google.protobuf.ByteString value)
string url = 4;
-
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<RiskScoreClass.Builder>
-
clear
public RiskScoreClass.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<RiskScoreClass.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<RiskScoreClass.Builder>
-
getDefaultInstanceForType
public RiskScoreClass getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RiskScoreClass build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RiskScoreClass buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RiskScoreClass.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<RiskScoreClass.Builder>
-
setField
public RiskScoreClass.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<RiskScoreClass.Builder>
-
clearField
public RiskScoreClass.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<RiskScoreClass.Builder>
-
clearOneof
public RiskScoreClass.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<RiskScoreClass.Builder>
-
setRepeatedField
public RiskScoreClass.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<RiskScoreClass.Builder>
-
addRepeatedField
public RiskScoreClass.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<RiskScoreClass.Builder>
-
mergeFrom
public RiskScoreClass.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RiskScoreClass.Builder>
-
mergeFrom
public RiskScoreClass.Builder mergeFrom(RiskScoreClass other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreClass.Builder>
-
mergeFrom
public RiskScoreClass.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<RiskScoreClass.Builder>
- Throws:
IOException
-
getLabel
public String getLabel()
string label = 1;
- Specified by:
getLabel
in interfaceRiskScoreClassOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
string label = 1;
- Specified by:
getLabelBytes
in interfaceRiskScoreClassOrBuilder
- Returns:
- The bytes for label.
-
setLabel
public RiskScoreClass.Builder setLabel(String value)
string label = 1;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
public RiskScoreClass.Builder clearLabel()
string label = 1;
- Returns:
- This builder for chaining.
-
setLabelBytes
public RiskScoreClass.Builder setLabelBytes(com.google.protobuf.ByteString value)
string label = 1;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getMin
public int getMin()
int32 min = 2;
- Specified by:
getMin
in interfaceRiskScoreClassOrBuilder
- Returns:
- The min.
-
setMin
public RiskScoreClass.Builder setMin(int value)
int32 min = 2;
- Parameters:
value
- The min to set.- Returns:
- This builder for chaining.
-
clearMin
public RiskScoreClass.Builder clearMin()
int32 min = 2;
- Returns:
- This builder for chaining.
-
getMax
public int getMax()
int32 max = 3;
- Specified by:
getMax
in interfaceRiskScoreClassOrBuilder
- Returns:
- The max.
-
setMax
public RiskScoreClass.Builder setMax(int value)
int32 max = 3;
- Parameters:
value
- The max to set.- Returns:
- This builder for chaining.
-
clearMax
public RiskScoreClass.Builder clearMax()
int32 max = 3;
- Returns:
- This builder for chaining.
-
getUrl
public String getUrl()
string url = 4;
- Specified by:
getUrl
in interfaceRiskScoreClassOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
string url = 4;
- Specified by:
getUrlBytes
in interfaceRiskScoreClassOrBuilder
- Returns:
- The bytes for url.
-
setUrl
public RiskScoreClass.Builder setUrl(String value)
string url = 4;
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
public RiskScoreClass.Builder clearUrl()
string url = 4;
- Returns:
- This builder for chaining.
-
setUrlBytes
public RiskScoreClass.Builder setUrlBytes(com.google.protobuf.ByteString value)
string url = 4;
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RiskScoreClass.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreClass.Builder>
-
mergeUnknownFields
public final RiskScoreClass.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreClass.Builder>
-
-