public static class JhCounter.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<JhCounter> implements org.apache.avro.data.RecordBuilder<JhCounter>
Modifier and Type | Method and Description |
---|---|
JhCounter |
build() |
JhCounter.Builder |
clearDisplayName()
Clears the value of the 'displayName' field.
|
JhCounter.Builder |
clearName()
Clears the value of the 'name' field.
|
JhCounter.Builder |
clearValue()
Clears the value of the 'value' field.
|
CharSequence |
getDisplayName()
Gets the value of the 'displayName' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
Long |
getValue()
Gets the value of the 'value' field.
|
boolean |
hasDisplayName()
Checks whether the 'displayName' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasValue()
Checks whether the 'value' field has been set.
|
JhCounter.Builder |
setDisplayName(CharSequence value)
Sets the value of the 'displayName' field.
|
JhCounter.Builder |
setName(CharSequence value)
Sets the value of the 'name' field.
|
JhCounter.Builder |
setValue(long value)
Sets the value of the 'value' field.
|
public CharSequence getName()
public JhCounter.Builder setName(CharSequence value)
value
- The value of 'name'.public boolean hasName()
public JhCounter.Builder clearName()
public CharSequence getDisplayName()
public JhCounter.Builder setDisplayName(CharSequence value)
value
- The value of 'displayName'.public boolean hasDisplayName()
public JhCounter.Builder clearDisplayName()
public Long getValue()
public JhCounter.Builder setValue(long value)
value
- The value of 'value'.public boolean hasValue()
public JhCounter.Builder clearValue()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.