Package net.corda.data.uniqueness
Class UniquenessCheckResponseAvro.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class UniquenessCheckResponseAvro.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for UniquenessCheckResponseAvro instances.
-
-
Method Summary
Modifier and Type Method Description String
getTxId()
Gets the value of the 'txId' field. UniquenessCheckResponseAvro.Builder
setTxId(String value)
Sets the value of the 'txId' field. Object
getResult()
Gets the value of the 'result' field. UniquenessCheckResponseAvro.Builder
setResult(Object value)
Sets the value of the 'result' field. boolean
hasTxId()
Checks whether the 'txId' field has been set. UniquenessCheckResponseAvro.Builder
clearTxId()
Clears the value of the 'txId' field. boolean
hasResult()
Checks whether the 'result' field has been set. UniquenessCheckResponseAvro.Builder
clearResult()
Clears the value of the 'result' field. UniquenessCheckResponseAvro
build()
-
-
Method Detail
-
setTxId
UniquenessCheckResponseAvro.Builder setTxId(String value)
Sets the value of the 'txId' field.
- Parameters:
value
- The value of 'txId'.
-
setResult
UniquenessCheckResponseAvro.Builder setResult(Object value)
Sets the value of the 'result' field.
- Parameters:
value
- The value of 'result'.
-
hasTxId
boolean hasTxId()
Checks whether the 'txId' field has been set.
-
clearTxId
UniquenessCheckResponseAvro.Builder clearTxId()
Clears the value of the 'txId' field.
-
hasResult
boolean hasResult()
Checks whether the 'result' field has been set.
-
clearResult
UniquenessCheckResponseAvro.Builder clearResult()
Clears the value of the 'result' field.
-
build
UniquenessCheckResponseAvro build()
-
-
-
-