Class TransactionVerificationRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TransactionVerificationRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TransactionVerificationRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public Instant
timestamp
public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
public ByteBuffer
transaction
public List<CordaPackageSummary>
cpkMetadata
public ExternalEventContext
flowExternalEventContext
public ExternalEventContext.Builder
flowExternalEventContextBuilder
-
Method Summary
Modifier and Type Method Description Instant
getTimestamp()
Gets the value of the 'timestamp' field. TransactionVerificationRequest.Builder
setTimestamp(Instant value)
Sets the value of the 'timestamp' field. HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. TransactionVerificationRequest.Builder
setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. HoldingIdentity.Builder
getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. TransactionVerificationRequest.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request. ByteBuffer
getTransaction()
Gets the value of the 'transaction' field. TransactionVerificationRequest.Builder
setTransaction(ByteBuffer value)
Sets the value of the 'transaction' field. List<CordaPackageSummary>
getCpkMetadata()
Gets the value of the 'cpkMetadata' field. TransactionVerificationRequest.Builder
setCpkMetadata(List<CordaPackageSummary> value)
Sets the value of the 'cpkMetadata' field. ExternalEventContext
getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. TransactionVerificationRequest.Builder
setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. ExternalEventContext.Builder
getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. TransactionVerificationRequest.Builder
setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from. boolean
hasTimestamp()
Checks whether the 'timestamp' field has been set. TransactionVerificationRequest.Builder
clearTimestamp()
Clears the value of the 'timestamp' field. boolean
hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. boolean
hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request. TransactionVerificationRequest.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. boolean
hasTransaction()
Checks whether the 'transaction' field has been set. TransactionVerificationRequest.Builder
clearTransaction()
Clears the value of the 'transaction' field. boolean
hasCpkMetadata()
Checks whether the 'cpkMetadata' field has been set. TransactionVerificationRequest.Builder
clearCpkMetadata()
Clears the value of the 'cpkMetadata' field. boolean
hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. boolean
hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from. TransactionVerificationRequest.Builder
clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. TransactionVerificationRequest
build()
-
-
Method Detail
-
getTimestamp
Instant getTimestamp()
Gets the value of the 'timestamp' field. Time (java.time.Instant) in milliseconds when the record was created.
-
setTimestamp
TransactionVerificationRequest.Builder setTimestamp(Instant value)
Sets the value of the 'timestamp' field. Time (java.time.Instant) in milliseconds when the record was created.
- Parameters:
value
- The value of 'timestamp'.
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. The holding identity of the user making the request.
-
setHoldingIdentity
TransactionVerificationRequest.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. The holding identity of the user making the request.
- Parameters:
value
- The value of 'holdingIdentity'.
-
getHoldingIdentityBuilder
HoldingIdentity.Builder getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. The holding identity of the user making the request.
-
setHoldingIdentityBuilder
TransactionVerificationRequest.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request.
- Parameters:
value
- The builder instance that must be set.
-
getTransaction
ByteBuffer getTransaction()
Gets the value of the 'transaction' field. The serialized transaction
-
setTransaction
TransactionVerificationRequest.Builder setTransaction(ByteBuffer value)
Sets the value of the 'transaction' field. The serialized transaction
- Parameters:
value
- The value of 'transaction'.
-
getCpkMetadata
List<CordaPackageSummary> getCpkMetadata()
Gets the value of the 'cpkMetadata' field. Metadata of Corda packages.
-
setCpkMetadata
TransactionVerificationRequest.Builder setCpkMetadata(List<CordaPackageSummary> value)
Sets the value of the 'cpkMetadata' field. Metadata of Corda packages.
- Parameters:
value
- The value of 'cpkMetadata'.
-
getFlowExternalEventContext
ExternalEventContext getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
setFlowExternalEventContext
TransactionVerificationRequest.Builder setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
- Parameters:
value
- The value of 'flowExternalEventContext'.
-
getFlowExternalEventContextBuilder
ExternalEventContext.Builder getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. The context of the external event that this request was sent from.
-
setFlowExternalEventContextBuilder
TransactionVerificationRequest.Builder setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from.
- Parameters:
value
- The builder instance that must be set.
-
hasTimestamp
boolean hasTimestamp()
Checks whether the 'timestamp' field has been set. Time (java.time.Instant) in milliseconds when the record was created.
-
clearTimestamp
TransactionVerificationRequest.Builder clearTimestamp()
Clears the value of the 'timestamp' field. Time (java.time.Instant) in milliseconds when the record was created.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. The holding identity of the user making the request.
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request.
-
clearHoldingIdentity
TransactionVerificationRequest.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. The holding identity of the user making the request.
-
hasTransaction
boolean hasTransaction()
Checks whether the 'transaction' field has been set. The serialized transaction
-
clearTransaction
TransactionVerificationRequest.Builder clearTransaction()
Clears the value of the 'transaction' field. The serialized transaction
-
hasCpkMetadata
boolean hasCpkMetadata()
Checks whether the 'cpkMetadata' field has been set. Metadata of Corda packages.
-
clearCpkMetadata
TransactionVerificationRequest.Builder clearCpkMetadata()
Clears the value of the 'cpkMetadata' field. Metadata of Corda packages.
-
hasFlowExternalEventContext
boolean hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. The context of the external event that this request was sent from.
-
hasFlowExternalEventContextBuilder
boolean hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from.
-
clearFlowExternalEventContext
TransactionVerificationRequest.Builder clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
build
TransactionVerificationRequest build()
-
-
-
-