Class StateRef.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class StateRef.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for StateRef instances.

    • Constructor Detail

    • Method Detail

      • getTransactionId

         SecureHash getTransactionId()

        Gets the value of the 'transactionId' field. The id of the transaction in which the referenced state was created.

      • setTransactionId

         StateRef.Builder setTransactionId(SecureHash value)

        Sets the value of the 'transactionId' field. The id of the transaction in which the referenced state was created.

        Parameters:
        value - The value of 'transactionId'.
      • getTransactionIdBuilder

         SecureHash.Builder getTransactionIdBuilder()

        Gets the Builder instance for the 'transactionId' field and creates one if it doesn't exist yet. The id of the transaction in which the referenced state was created.

      • getIndex

         int getIndex()

        Gets the value of the 'index' field. The index of the state in the transaction's outputs in which the referenced state was created.

      • setIndex

         StateRef.Builder setIndex(int value)

        Sets the value of the 'index' field. The index of the state in the transaction's outputs in which the referenced state was created.

        Parameters:
        value - The value of 'index'.
      • hasTransactionId

         boolean hasTransactionId()

        Checks whether the 'transactionId' field has been set. The id of the transaction in which the referenced state was created.

      • hasTransactionIdBuilder

         boolean hasTransactionIdBuilder()

        Checks whether the 'transactionId' field has an active Builder instance The id of the transaction in which the referenced state was created.

      • clearTransactionId

         StateRef.Builder clearTransactionId()

        Clears the value of the 'transactionId' field. The id of the transaction in which the referenced state was created.

      • hasIndex

         boolean hasIndex()

        Checks whether the 'index' field has been set. The index of the state in the transaction's outputs in which the referenced state was created.

      • clearIndex

         StateRef.Builder clearIndex()

        Clears the value of the 'index' field. The index of the state in the transaction's outputs in which the referenced state was created.