Package net.corda.data.packaging
Class CpiSegmentResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CpiSegmentResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CpiSegmentResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
segment
public boolean
atEnd
-
Method Summary
Modifier and Type Method Description ByteBuffer
getSegment()
Gets the value of the 'segment' field. CpiSegmentResponse.Builder
setSegment(ByteBuffer value)
Sets the value of the 'segment' field. boolean
getAtEnd()
Gets the value of the 'atEnd' field. CpiSegmentResponse.Builder
setAtEnd(boolean value)
Sets the value of the 'atEnd' field. boolean
hasSegment()
Checks whether the 'segment' field has been set. CpiSegmentResponse.Builder
clearSegment()
Clears the value of the 'segment' field. boolean
hasAtEnd()
Checks whether the 'atEnd' field has been set. CpiSegmentResponse.Builder
clearAtEnd()
Clears the value of the 'atEnd' field. CpiSegmentResponse
build()
-
-
Method Detail
-
getSegment
ByteBuffer getSegment()
Gets the value of the 'segment' field.
-
setSegment
CpiSegmentResponse.Builder setSegment(ByteBuffer value)
Sets the value of the 'segment' field.
- Parameters:
value
- The value of 'segment'.
-
getAtEnd
boolean getAtEnd()
Gets the value of the 'atEnd' field.
-
setAtEnd
CpiSegmentResponse.Builder setAtEnd(boolean value)
Sets the value of the 'atEnd' field.
- Parameters:
value
- The value of 'atEnd'.
-
hasSegment
boolean hasSegment()
Checks whether the 'segment' field has been set.
-
clearSegment
CpiSegmentResponse.Builder clearSegment()
Clears the value of the 'segment' field.
-
hasAtEnd
boolean hasAtEnd()
Checks whether the 'atEnd' field has been set.
-
clearAtEnd
CpiSegmentResponse.Builder clearAtEnd()
Clears the value of the 'atEnd' field.
-
build
CpiSegmentResponse build()
-
-
-
-