public static class ChoiceQuantityRangeRatio.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChoiceQuantityRangeRatio> implements org.apache.avro.data.RecordBuilder<ChoiceQuantityRangeRatio>
| Modifier and Type | Method and Description |
|---|---|
ChoiceQuantityRangeRatio |
build() |
ChoiceQuantityRangeRatio.Builder |
clearQuantity()
Clears the value of the 'quantity' field.
|
ChoiceQuantityRangeRatio.Builder |
clearRange()
Clears the value of the 'range' field.
|
ChoiceQuantityRangeRatio.Builder |
clearRatio()
Clears the value of the 'ratio' field.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
Quantity.Builder |
getQuantityBuilder()
Gets the Builder instance for the 'quantity' field and creates one if it doesn't exist yet.
|
Range |
getRange()
Gets the value of the 'range' field.
|
Range.Builder |
getRangeBuilder()
Gets the Builder instance for the 'range' field and creates one if it doesn't exist yet.
|
Ratio |
getRatio()
Gets the value of the 'ratio' field.
|
Ratio.Builder |
getRatioBuilder()
Gets the Builder instance for the 'ratio' field and creates one if it doesn't exist yet.
|
boolean |
hasQuantity()
Checks whether the 'quantity' field has been set.
|
boolean |
hasQuantityBuilder()
Checks whether the 'quantity' field has an active Builder instance
Choice field
|
boolean |
hasRange()
Checks whether the 'range' field has been set.
|
boolean |
hasRangeBuilder()
Checks whether the 'range' field has an active Builder instance
Choice field
|
boolean |
hasRatio()
Checks whether the 'ratio' field has been set.
|
boolean |
hasRatioBuilder()
Checks whether the 'ratio' field has an active Builder instance
Choice field
|
ChoiceQuantityRangeRatio.Builder |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
ChoiceQuantityRangeRatio.Builder |
setQuantityBuilder(Quantity.Builder value)
Sets the Builder instance for the 'quantity' field
Choice field
|
ChoiceQuantityRangeRatio.Builder |
setRange(Range value)
Sets the value of the 'range' field.
|
ChoiceQuantityRangeRatio.Builder |
setRangeBuilder(Range.Builder value)
Sets the Builder instance for the 'range' field
Choice field
|
ChoiceQuantityRangeRatio.Builder |
setRatio(Ratio value)
Sets the value of the 'ratio' field.
|
ChoiceQuantityRangeRatio.Builder |
setRatioBuilder(Ratio.Builder value)
Sets the Builder instance for the 'ratio' field
Choice field
|
public Ratio getRatio()
public ChoiceQuantityRangeRatio.Builder setRatio(Ratio value)
value - The value of 'ratio'.public boolean hasRatio()
public Ratio.Builder getRatioBuilder()
public ChoiceQuantityRangeRatio.Builder setRatioBuilder(Ratio.Builder value)
value - The builder instance that must be set.public boolean hasRatioBuilder()
public ChoiceQuantityRangeRatio.Builder clearRatio()
public Range getRange()
public ChoiceQuantityRangeRatio.Builder setRange(Range value)
value - The value of 'range'.public boolean hasRange()
public Range.Builder getRangeBuilder()
public ChoiceQuantityRangeRatio.Builder setRangeBuilder(Range.Builder value)
value - The builder instance that must be set.public boolean hasRangeBuilder()
public ChoiceQuantityRangeRatio.Builder clearRange()
public Quantity getQuantity()
public ChoiceQuantityRangeRatio.Builder setQuantity(Quantity value)
value - The value of 'quantity'.public boolean hasQuantity()
public Quantity.Builder getQuantityBuilder()
public ChoiceQuantityRangeRatio.Builder setQuantityBuilder(Quantity.Builder value)
value - The builder instance that must be set.public boolean hasQuantityBuilder()
public ChoiceQuantityRangeRatio.Builder clearQuantity()
public ChoiceQuantityRangeRatio build()
build in interface org.apache.avro.data.RecordBuilder<ChoiceQuantityRangeRatio>Copyright © 2020. All rights reserved.