Class Weights.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder>
-
- app.coronawarn.server.common.protocols.internal.Weights.Builder
-
- All Implemented Interfaces:
WeightsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Weights
public static final class Weights.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder> implements WeightsOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.Weights
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Weights.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Weights
build()
Weights
buildPartial()
Weights.Builder
clear()
Weights.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Weights.Builder
clearHigh()
double high = 3;
Weights.Builder
clearLow()
double low = 1;
Weights.Builder
clearMid()
double mid = 2;
Weights.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Weights.Builder
clone()
Weights
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getHigh()
double high = 3;
double
getLow()
double low = 1;
double
getMid()
double mid = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Weights.Builder
mergeFrom(Weights other)
Weights.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Weights.Builder
mergeFrom(com.google.protobuf.Message other)
Weights.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Weights.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Weights.Builder
setHigh(double value)
double high = 3;
Weights.Builder
setLow(double value)
double low = 1;
Weights.Builder
setMid(double value)
double mid = 2;
Weights.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Weights.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<Weights.Builder>
-
clear
public Weights.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<Weights.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<Weights.Builder>
-
getDefaultInstanceForType
public Weights getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Weights build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Weights buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Weights.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<Weights.Builder>
-
setField
public Weights.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<Weights.Builder>
-
clearField
public Weights.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<Weights.Builder>
-
clearOneof
public Weights.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<Weights.Builder>
-
setRepeatedField
public Weights.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<Weights.Builder>
-
addRepeatedField
public Weights.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<Weights.Builder>
-
mergeFrom
public Weights.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Weights.Builder>
-
mergeFrom
public Weights.Builder mergeFrom(Weights other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder>
-
mergeFrom
public Weights.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<Weights.Builder>
- Throws:
IOException
-
getLow
public double getLow()
double low = 1;
- Specified by:
getLow
in interfaceWeightsOrBuilder
- Returns:
- The low.
-
setLow
public Weights.Builder setLow(double value)
double low = 1;
- Parameters:
value
- The low to set.- Returns:
- This builder for chaining.
-
clearLow
public Weights.Builder clearLow()
double low = 1;
- Returns:
- This builder for chaining.
-
getMid
public double getMid()
double mid = 2;
- Specified by:
getMid
in interfaceWeightsOrBuilder
- Returns:
- The mid.
-
setMid
public Weights.Builder setMid(double value)
double mid = 2;
- Parameters:
value
- The mid to set.- Returns:
- This builder for chaining.
-
clearMid
public Weights.Builder clearMid()
double mid = 2;
- Returns:
- This builder for chaining.
-
getHigh
public double getHigh()
double high = 3;
- Specified by:
getHigh
in interfaceWeightsOrBuilder
- Returns:
- The high.
-
setHigh
public Weights.Builder setHigh(double value)
double high = 3;
- Parameters:
value
- The high to set.- Returns:
- This builder for chaining.
-
clearHigh
public Weights.Builder clearHigh()
double high = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Weights.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder>
-
mergeUnknownFields
public final Weights.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder>
-
-