public static class ProtocolStatus.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ProtocolStatus> implements org.apache.avro.data.RecordBuilder<ProtocolStatus>
Modifier and Type | Method and Description |
---|---|
ProtocolStatus |
build() |
ProtocolStatus.Builder |
clearArgs()
Clears the value of the 'args' field
|
ProtocolStatus.Builder |
clearCode()
Clears the value of the 'code' field
|
ProtocolStatus.Builder |
clearLastModified()
Clears the value of the 'lastModified' field
|
List<CharSequence> |
getArgs()
Gets the value of the 'args' field
|
Integer |
getCode()
Gets the value of the 'code' field
|
Long |
getLastModified()
Gets the value of the 'lastModified' field
|
boolean |
hasArgs()
Checks whether the 'args' field has been set
|
boolean |
hasCode()
Checks whether the 'code' field has been set
|
boolean |
hasLastModified()
Checks whether the 'lastModified' field has been set
|
ProtocolStatus.Builder |
setArgs(List<CharSequence> value)
Sets the value of the 'args' field
|
ProtocolStatus.Builder |
setCode(int value)
Sets the value of the 'code' field
|
ProtocolStatus.Builder |
setLastModified(long value)
Sets the value of the 'lastModified' field
|
public Integer getCode()
public ProtocolStatus.Builder setCode(int value)
public boolean hasCode()
public ProtocolStatus.Builder clearCode()
public List<CharSequence> getArgs()
public ProtocolStatus.Builder setArgs(List<CharSequence> value)
public boolean hasArgs()
public ProtocolStatus.Builder clearArgs()
public Long getLastModified()
public ProtocolStatus.Builder setLastModified(long value)
public boolean hasLastModified()
public ProtocolStatus.Builder clearLastModified()
public ProtocolStatus build()
build
in interface org.apache.avro.data.RecordBuilder<ProtocolStatus>
Copyright © 2015 The Apache Software Foundation