-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.ProposalStepOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class ProposalOuterClass.ProposalStep.Builder extends GeneratedMessageLite.Builder<ProposalOuterClass.ProposalStep, ProposalOuterClass.ProposalStep.Builder> implements ProposalOuterClass.ProposalStepOrBuilder
Protobuf typeA data structure that describes the inputs to be consumed and outputs to be produced in a proposed transaction.{@code cash.z.wallet.sdk.ffi.ProposalStep}
-
-
Method Summary
Modifier and Type Method Description StringgetTransactionRequest()ZIP 321 serialized transaction requeststring transactionRequest = 1;ByteStringgetTransactionRequestBytes()ZIP 321 serialized transaction requeststring transactionRequest = 1;ProposalOuterClass.ProposalStep.BuildersetTransactionRequest(String value)ZIP 321 serialized transaction requeststring transactionRequest = 1;ProposalOuterClass.ProposalStep.BuilderclearTransactionRequest()ZIP 321 serialized transaction requeststring transactionRequest = 1;ProposalOuterClass.ProposalStep.BuildersetTransactionRequestBytes(ByteString value)ZIP 321 serialized transaction requeststring transactionRequest = 1;List<ProposalOuterClass.PaymentOutputPool>getPaymentOutputPoolsList()The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;intgetPaymentOutputPoolsCount()The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.PaymentOutputPoolgetPaymentOutputPools(int index)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuildersetPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool value)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuildersetPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool.Builder builderForValue)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderaddPaymentOutputPools(ProposalOuterClass.PaymentOutputPool value)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderaddPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool value)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderaddPaymentOutputPools(ProposalOuterClass.PaymentOutputPool.Builder builderForValue)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderaddPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool.Builder builderForValue)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderaddAllPaymentOutputPools(Iterable<out ProposalOuterClass.PaymentOutputPool> values)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderclearPaymentOutputPools()The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;ProposalOuterClass.ProposalStep.BuilderremovePaymentOutputPools(int index)The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;intgetAnchorHeight()The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;ProposalOuterClass.ProposalStep.BuildersetAnchorHeight(int value)The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;ProposalOuterClass.ProposalStep.BuilderclearAnchorHeight()The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;List<ProposalOuterClass.ProposedInput>getInputsList()The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;intgetInputsCount()The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposedInputgetInputs(int index)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuildersetInputs(int index, ProposalOuterClass.ProposedInput value)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuildersetInputs(int index, ProposalOuterClass.ProposedInput.Builder builderForValue)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderaddInputs(ProposalOuterClass.ProposedInput value)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderaddInputs(int index, ProposalOuterClass.ProposedInput value)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderaddInputs(ProposalOuterClass.ProposedInput.Builder builderForValue)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderaddInputs(int index, ProposalOuterClass.ProposedInput.Builder builderForValue)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderaddAllInputs(Iterable<out ProposalOuterClass.ProposedInput> values)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderclearInputs()The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;ProposalOuterClass.ProposalStep.BuilderremoveInputs(int index)The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;booleanhasBalance()The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;ProposalOuterClass.TransactionBalancegetBalance()The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;ProposalOuterClass.ProposalStep.BuildersetBalance(ProposalOuterClass.TransactionBalance value)The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;ProposalOuterClass.ProposalStep.BuildersetBalance(ProposalOuterClass.TransactionBalance.Builder builderForValue)The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;ProposalOuterClass.ProposalStep.BuildermergeBalance(ProposalOuterClass.TransactionBalance value)The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;ProposalOuterClass.ProposalStep.BuilderclearBalance()The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;booleangetIsShielding()A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;ProposalOuterClass.ProposalStep.BuildersetIsShielding(boolean value)A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;ProposalOuterClass.ProposalStep.BuilderclearIsShielding()A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTransactionRequest
String getTransactionRequest()
ZIP 321 serialized transaction requeststring transactionRequest = 1;
-
getTransactionRequestBytes
ByteString getTransactionRequestBytes()
ZIP 321 serialized transaction requeststring transactionRequest = 1;
-
setTransactionRequest
ProposalOuterClass.ProposalStep.Builder setTransactionRequest(String value)
ZIP 321 serialized transaction requeststring transactionRequest = 1;- Parameters:
value- The transactionRequest to set.
-
clearTransactionRequest
ProposalOuterClass.ProposalStep.Builder clearTransactionRequest()
ZIP 321 serialized transaction requeststring transactionRequest = 1;
-
setTransactionRequestBytes
ProposalOuterClass.ProposalStep.Builder setTransactionRequestBytes(ByteString value)
ZIP 321 serialized transaction requeststring transactionRequest = 1;- Parameters:
value- The bytes for transactionRequest to set.
-
getPaymentOutputPoolsList
List<ProposalOuterClass.PaymentOutputPool> getPaymentOutputPoolsList()
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
getPaymentOutputPoolsCount
int getPaymentOutputPoolsCount()
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
getPaymentOutputPools
ProposalOuterClass.PaymentOutputPool getPaymentOutputPools(int index)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
setPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder setPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool value)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
setPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder setPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool.Builder builderForValue)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
addPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder addPaymentOutputPools(ProposalOuterClass.PaymentOutputPool value)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
addPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder addPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool value)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
addPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder addPaymentOutputPools(ProposalOuterClass.PaymentOutputPool.Builder builderForValue)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
addPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder addPaymentOutputPools(int index, ProposalOuterClass.PaymentOutputPool.Builder builderForValue)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
addAllPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder addAllPaymentOutputPools(Iterable<out ProposalOuterClass.PaymentOutputPool> values)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
clearPaymentOutputPools
ProposalOuterClass.ProposalStep.Builder clearPaymentOutputPools()
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
removePaymentOutputPools
ProposalOuterClass.ProposalStep.Builder removePaymentOutputPools(int index)
The vector of selected payment index / output pool mappings. Payment index 0 corresponds to the payment with no explicit index.repeated .cash.z.wallet.sdk.ffi.PaymentOutputPool paymentOutputPools = 2;
-
getAnchorHeight
int getAnchorHeight()
The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;
-
setAnchorHeight
ProposalOuterClass.ProposalStep.Builder setAnchorHeight(int value)
The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;- Parameters:
value- The anchorHeight to set.
-
clearAnchorHeight
ProposalOuterClass.ProposalStep.Builder clearAnchorHeight()
The anchor height to be used in creating the transaction, if any. Setting the anchor height to zero will disallow the use of any shielded inputs.uint32 anchorHeight = 3;
-
getInputsList
List<ProposalOuterClass.ProposedInput> getInputsList()
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
getInputsCount
int getInputsCount()
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
getInputs
ProposalOuterClass.ProposedInput getInputs(int index)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
setInputs
ProposalOuterClass.ProposalStep.Builder setInputs(int index, ProposalOuterClass.ProposedInput value)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
setInputs
ProposalOuterClass.ProposalStep.Builder setInputs(int index, ProposalOuterClass.ProposedInput.Builder builderForValue)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
addInputs
ProposalOuterClass.ProposalStep.Builder addInputs(ProposalOuterClass.ProposedInput value)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
addInputs
ProposalOuterClass.ProposalStep.Builder addInputs(int index, ProposalOuterClass.ProposedInput value)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
addInputs
ProposalOuterClass.ProposalStep.Builder addInputs(ProposalOuterClass.ProposedInput.Builder builderForValue)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
addInputs
ProposalOuterClass.ProposalStep.Builder addInputs(int index, ProposalOuterClass.ProposedInput.Builder builderForValue)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
addAllInputs
ProposalOuterClass.ProposalStep.Builder addAllInputs(Iterable<out ProposalOuterClass.ProposedInput> values)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
clearInputs
ProposalOuterClass.ProposalStep.Builder clearInputs()
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
removeInputs
ProposalOuterClass.ProposalStep.Builder removeInputs(int index)
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
hasBalance
boolean hasBalance()
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
getBalance
ProposalOuterClass.TransactionBalance getBalance()
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
setBalance
ProposalOuterClass.ProposalStep.Builder setBalance(ProposalOuterClass.TransactionBalance value)
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
setBalance
ProposalOuterClass.ProposalStep.Builder setBalance(ProposalOuterClass.TransactionBalance.Builder builderForValue)
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
mergeBalance
ProposalOuterClass.ProposalStep.Builder mergeBalance(ProposalOuterClass.TransactionBalance value)
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
clearBalance
ProposalOuterClass.ProposalStep.Builder clearBalance()
The total value, fee value, and change outputs of the proposed transaction.cash.z.wallet.sdk.ffi.TransactionBalance balance = 5;
-
getIsShielding
boolean getIsShielding()
A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;
-
setIsShielding
ProposalOuterClass.ProposalStep.Builder setIsShielding(boolean value)
A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;- Parameters:
value- The isShielding to set.
-
clearIsShielding
ProposalOuterClass.ProposalStep.Builder clearIsShielding()
A flag indicating whether the step is for a shielding transaction, used for determining which OVK to select for wallet-internal outputs.bool isShielding = 6;
-
-
-
-