public static class ChoiceDurationPeriodRange.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChoiceDurationPeriodRange> implements org.apache.avro.data.RecordBuilder<ChoiceDurationPeriodRange>
| Modifier and Type | Method and Description |
|---|---|
ChoiceDurationPeriodRange |
build() |
ChoiceDurationPeriodRange.Builder |
clearDuration()
Clears the value of the 'duration' field.
|
ChoiceDurationPeriodRange.Builder |
clearPeriod()
Clears the value of the 'period' field.
|
ChoiceDurationPeriodRange.Builder |
clearRange()
Clears the value of the 'range' field.
|
Duration |
getDuration()
Gets the value of the 'duration' field.
|
Duration.Builder |
getDurationBuilder()
Gets the Builder instance for the 'duration' field and creates one if it doesn't exist yet.
|
Period |
getPeriod()
Gets the value of the 'period' field.
|
Period.Builder |
getPeriodBuilder()
Gets the Builder instance for the 'period' 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.
|
boolean |
hasDuration()
Checks whether the 'duration' field has been set.
|
boolean |
hasDurationBuilder()
Checks whether the 'duration' field has an active Builder instance
Choice field
|
boolean |
hasPeriod()
Checks whether the 'period' field has been set.
|
boolean |
hasPeriodBuilder()
Checks whether the 'period' 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
|
ChoiceDurationPeriodRange.Builder |
setDuration(Duration value)
Sets the value of the 'duration' field.
|
ChoiceDurationPeriodRange.Builder |
setDurationBuilder(Duration.Builder value)
Sets the Builder instance for the 'duration' field
Choice field
|
ChoiceDurationPeriodRange.Builder |
setPeriod(Period value)
Sets the value of the 'period' field.
|
ChoiceDurationPeriodRange.Builder |
setPeriodBuilder(Period.Builder value)
Sets the Builder instance for the 'period' field
Choice field
|
ChoiceDurationPeriodRange.Builder |
setRange(Range value)
Sets the value of the 'range' field.
|
ChoiceDurationPeriodRange.Builder |
setRangeBuilder(Range.Builder value)
Sets the Builder instance for the 'range' field
Choice field
|
public Duration getDuration()
public ChoiceDurationPeriodRange.Builder setDuration(Duration value)
value - The value of 'duration'.public boolean hasDuration()
public Duration.Builder getDurationBuilder()
public ChoiceDurationPeriodRange.Builder setDurationBuilder(Duration.Builder value)
value - The builder instance that must be set.public boolean hasDurationBuilder()
public ChoiceDurationPeriodRange.Builder clearDuration()
public Range getRange()
public ChoiceDurationPeriodRange.Builder setRange(Range value)
value - The value of 'range'.public boolean hasRange()
public Range.Builder getRangeBuilder()
public ChoiceDurationPeriodRange.Builder setRangeBuilder(Range.Builder value)
value - The builder instance that must be set.public boolean hasRangeBuilder()
public ChoiceDurationPeriodRange.Builder clearRange()
public Period getPeriod()
public ChoiceDurationPeriodRange.Builder setPeriod(Period value)
value - The value of 'period'.public boolean hasPeriod()
public Period.Builder getPeriodBuilder()
public ChoiceDurationPeriodRange.Builder setPeriodBuilder(Period.Builder value)
value - The builder instance that must be set.public boolean hasPeriodBuilder()
public ChoiceDurationPeriodRange.Builder clearPeriod()
public ChoiceDurationPeriodRange build()
build in interface org.apache.avro.data.RecordBuilder<ChoiceDurationPeriodRange>Copyright © 2020. All rights reserved.