-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.ProposalStepOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class ProposalOuterClass.ProposalStep extends GeneratedMessageLite<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}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProposalOuterClass.ProposalStep.Builder
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}
-
Field Summary
Fields Modifier and Type Field Description public final static intTRANSACTIONREQUEST_FIELD_NUMBERpublic final static intPAYMENTOUTPUTPOOLS_FIELD_NUMBERpublic final static intANCHORHEIGHT_FIELD_NUMBERpublic final static intINPUTS_FIELD_NUMBERpublic final static intBALANCE_FIELD_NUMBERpublic final static intISSHIELDING_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetTransactionRequest()ZIP 321 serialized transaction requeststring transactionRequest = 1;ByteStringgetTransactionRequestBytes()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;List<out ProposalOuterClass.PaymentOutputPoolOrBuilder>getPaymentOutputPoolsOrBuilderList()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.PaymentOutputPoolOrBuildergetPaymentOutputPoolsOrBuilder(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;List<ProposalOuterClass.ProposedInput>getInputsList()The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;List<out ProposalOuterClass.ProposedInputOrBuilder>getInputsOrBuilderList()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.ProposedInputOrBuildergetInputsOrBuilder(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;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;static ProposalOuterClass.ProposalStepparseFrom(ByteBuffer data)static ProposalOuterClass.ProposalStepparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStepparseFrom(ByteString data)static ProposalOuterClass.ProposalStepparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStepparseFrom(Array<byte> data)static ProposalOuterClass.ProposalStepparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStepparseFrom(InputStream input)static ProposalOuterClass.ProposalStepparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStepparseDelimitedFrom(InputStream input)static ProposalOuterClass.ProposalStepparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStepparseFrom(CodedInputStream input)static ProposalOuterClass.ProposalStepparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static ProposalOuterClass.ProposalStep.BuildernewBuilder()static ProposalOuterClass.ProposalStep.BuildernewBuilder(ProposalOuterClass.ProposalStep prototype)static ProposalOuterClass.ProposalStepgetDefaultInstance()static Parser<ProposalOuterClass.ProposalStep>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
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;
-
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;
-
getPaymentOutputPoolsOrBuilderList
List<out ProposalOuterClass.PaymentOutputPoolOrBuilder> getPaymentOutputPoolsOrBuilderList()
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;
-
getPaymentOutputPoolsOrBuilder
ProposalOuterClass.PaymentOutputPoolOrBuilder getPaymentOutputPoolsOrBuilder(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;
-
getInputsList
List<ProposalOuterClass.ProposedInput> getInputsList()
The inputs to be used in creating the transaction.repeated .cash.z.wallet.sdk.ffi.ProposedInput inputs = 4;
-
getInputsOrBuilderList
List<out ProposalOuterClass.ProposedInputOrBuilder> getInputsOrBuilderList()
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;
-
getInputsOrBuilder
ProposalOuterClass.ProposedInputOrBuilder getInputsOrBuilder(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;
-
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;
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(ByteBuffer data)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(ByteString data)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(Array<byte> data)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(InputStream input)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static ProposalOuterClass.ProposalStep parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static ProposalOuterClass.ProposalStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(CodedInputStream input)
-
parseFrom
static ProposalOuterClass.ProposalStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static ProposalOuterClass.ProposalStep.Builder newBuilder()
-
newBuilder
static ProposalOuterClass.ProposalStep.Builder newBuilder(ProposalOuterClass.ProposalStep prototype)
-
getDefaultInstance
static ProposalOuterClass.ProposalStep getDefaultInstance()
-
parser
static Parser<ProposalOuterClass.ProposalStep> parser()
-
-
-
-