Package net.corda.data.packaging
Class CpiSegmentRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CpiSegmentRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CpiSegmentRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CpiIdentifier
identifier
public CpiIdentifier.Builder
identifierBuilder
public long
start
-
Method Summary
Modifier and Type Method Description CpiIdentifier
getIdentifier()
Gets the value of the 'identifier' field. CpiSegmentRequest.Builder
setIdentifier(CpiIdentifier value)
Sets the value of the 'identifier' field. CpiIdentifier.Builder
getIdentifierBuilder()
Gets the Builder instance for the 'identifier' field and creates one if it doesn't exist yet. CpiSegmentRequest.Builder
setIdentifierBuilder(CpiIdentifier.Builder value)
Sets the Builder instance for the 'identifier' field long
getStart()
Gets the value of the 'start' field. CpiSegmentRequest.Builder
setStart(long value)
Sets the value of the 'start' field. boolean
hasIdentifier()
Checks whether the 'identifier' field has been set. boolean
hasIdentifierBuilder()
Checks whether the 'identifier' field has an active Builder instance CpiSegmentRequest.Builder
clearIdentifier()
Clears the value of the 'identifier' field. boolean
hasStart()
Checks whether the 'start' field has been set. CpiSegmentRequest.Builder
clearStart()
Clears the value of the 'start' field. CpiSegmentRequest
build()
-
-
Method Detail
-
getIdentifier
CpiIdentifier getIdentifier()
Gets the value of the 'identifier' field.
-
setIdentifier
CpiSegmentRequest.Builder setIdentifier(CpiIdentifier value)
Sets the value of the 'identifier' field.
- Parameters:
value
- The value of 'identifier'.
-
getIdentifierBuilder
CpiIdentifier.Builder getIdentifierBuilder()
Gets the Builder instance for the 'identifier' field and creates one if it doesn't exist yet.
-
setIdentifierBuilder
CpiSegmentRequest.Builder setIdentifierBuilder(CpiIdentifier.Builder value)
Sets the Builder instance for the 'identifier' field
- Parameters:
value
- The builder instance that must be set.
-
getStart
long getStart()
Gets the value of the 'start' field.
-
setStart
CpiSegmentRequest.Builder setStart(long value)
Sets the value of the 'start' field.
- Parameters:
value
- The value of 'start'.
-
hasIdentifier
boolean hasIdentifier()
Checks whether the 'identifier' field has been set.
-
hasIdentifierBuilder
boolean hasIdentifierBuilder()
Checks whether the 'identifier' field has an active Builder instance
-
clearIdentifier
CpiSegmentRequest.Builder clearIdentifier()
Clears the value of the 'identifier' field.
-
hasStart
boolean hasStart()
Checks whether the 'start' field has been set.
-
clearStart
CpiSegmentRequest.Builder clearStart()
Clears the value of the 'start' field.
-
build
CpiSegmentRequest build()
-
-
-
-