public static class Protocol.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Protocol> implements org.apache.avro.data.RecordBuilder<Protocol>
Modifier and Type | Method and Description |
---|---|
Protocol |
build() |
Protocol.Builder |
clearOffset()
Clears the value of the 'offset' field.
|
Integer |
getOffset()
Gets the value of the 'offset' field.
|
boolean |
hasOffset()
Checks whether the 'offset' field has been set.
|
Protocol.Builder |
setOffset(int value)
Sets the value of the 'offset' field.
|
public Integer getOffset()
public Protocol.Builder setOffset(int value)
value
- The value of 'offset'.public boolean hasOffset()
public Protocol.Builder clearOffset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.