Class PersistTransactionIfDoesNotExist.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class PersistTransactionIfDoesNotExist.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for PersistTransactionIfDoesNotExist instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
transaction
public String
status
-
Method Summary
Modifier and Type Method Description ByteBuffer
getTransaction()
Gets the value of the 'transaction' field. PersistTransactionIfDoesNotExist.Builder
setTransaction(ByteBuffer value)
Sets the value of the 'transaction' field. String
getStatus()
Gets the value of the 'status' field. PersistTransactionIfDoesNotExist.Builder
setStatus(String value)
Sets the value of the 'status' field. boolean
hasTransaction()
Checks whether the 'transaction' field has been set. PersistTransactionIfDoesNotExist.Builder
clearTransaction()
Clears the value of the 'transaction' field. boolean
hasStatus()
Checks whether the 'status' field has been set. PersistTransactionIfDoesNotExist.Builder
clearStatus()
Clears the value of the 'status' field. PersistTransactionIfDoesNotExist
build()
-
-
Method Detail
-
getTransaction
ByteBuffer getTransaction()
Gets the value of the 'transaction' field. the serialized transaction
-
setTransaction
PersistTransactionIfDoesNotExist.Builder setTransaction(ByteBuffer value)
Sets the value of the 'transaction' field. the serialized transaction
- Parameters:
value
- The value of 'transaction'.
-
setStatus
PersistTransactionIfDoesNotExist.Builder setStatus(String value)
Sets the value of the 'status' field. the transaction status
- Parameters:
value
- The value of 'status'.
-
hasTransaction
boolean hasTransaction()
Checks whether the 'transaction' field has been set. the serialized transaction
-
clearTransaction
PersistTransactionIfDoesNotExist.Builder clearTransaction()
Clears the value of the 'transaction' field. the serialized transaction
-
hasStatus
boolean hasStatus()
Checks whether the 'status' field has been set. the transaction status
-
clearStatus
PersistTransactionIfDoesNotExist.Builder clearStatus()
Clears the value of the 'status' field. the transaction status
-
-
-
-