-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.ProposalOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class ProposalOuterClass.Proposal.Builder extends GeneratedMessageLite.Builder<ProposalOuterClass.Proposal, ProposalOuterClass.Proposal.Builder> implements ProposalOuterClass.ProposalOrBuilder
Protobuf typeA data structure that describes a series of transactions to be created.{@code cash.z.wallet.sdk.ffi.Proposal}
-
-
Method Summary
Modifier and Type Method Description intgetProtoVersion()The version of this serialization format.uint32 protoVersion = 1;ProposalOuterClass.Proposal.BuildersetProtoVersion(int value)The version of this serialization format.uint32 protoVersion = 1;ProposalOuterClass.Proposal.BuilderclearProtoVersion()The version of this serialization format.uint32 protoVersion = 1;intgetFeeRuleValue()The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;ProposalOuterClass.Proposal.BuildersetFeeRuleValue(int value)The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;ProposalOuterClass.FeeRulegetFeeRule()The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;ProposalOuterClass.Proposal.BuildersetFeeRule(ProposalOuterClass.FeeRule value)The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;ProposalOuterClass.Proposal.BuilderclearFeeRule()The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;intgetMinTargetHeight()The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;ProposalOuterClass.Proposal.BuildersetMinTargetHeight(int value)The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;ProposalOuterClass.Proposal.BuilderclearMinTargetHeight()The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;List<ProposalOuterClass.ProposalStep>getStepsList()The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;intgetStepsCount()The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.ProposalStepgetSteps(int index)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuildersetSteps(int index, ProposalOuterClass.ProposalStep value)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuildersetSteps(int index, ProposalOuterClass.ProposalStep.Builder builderForValue)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderaddSteps(ProposalOuterClass.ProposalStep value)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderaddSteps(int index, ProposalOuterClass.ProposalStep value)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderaddSteps(ProposalOuterClass.ProposalStep.Builder builderForValue)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderaddSteps(int index, ProposalOuterClass.ProposalStep.Builder builderForValue)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderaddAllSteps(Iterable<out ProposalOuterClass.ProposalStep> values)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderclearSteps()The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;ProposalOuterClass.Proposal.BuilderremoveSteps(int index)The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;-
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
-
getProtoVersion
int getProtoVersion()
The version of this serialization format.uint32 protoVersion = 1;
-
setProtoVersion
ProposalOuterClass.Proposal.Builder setProtoVersion(int value)
The version of this serialization format.uint32 protoVersion = 1;- Parameters:
value- The protoVersion to set.
-
clearProtoVersion
ProposalOuterClass.Proposal.Builder clearProtoVersion()
The version of this serialization format.uint32 protoVersion = 1;
-
getFeeRuleValue
int getFeeRuleValue()
The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;
-
setFeeRuleValue
ProposalOuterClass.Proposal.Builder setFeeRuleValue(int value)
The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;- Parameters:
value- The feeRule to set.
-
getFeeRule
ProposalOuterClass.FeeRule getFeeRule()
The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;
-
setFeeRule
ProposalOuterClass.Proposal.Builder setFeeRule(ProposalOuterClass.FeeRule value)
The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;- Parameters:
value- The enum numeric value on the wire for feeRule to set.
-
clearFeeRule
ProposalOuterClass.Proposal.Builder clearFeeRule()
The fee rule used in constructing this proposal.cash.z.wallet.sdk.ffi.FeeRule feeRule = 2;
-
getMinTargetHeight
int getMinTargetHeight()
The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;
-
setMinTargetHeight
ProposalOuterClass.Proposal.Builder setMinTargetHeight(int value)
The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;- Parameters:
value- The minTargetHeight to set.
-
clearMinTargetHeight
ProposalOuterClass.Proposal.Builder clearMinTargetHeight()
The target height for which the proposal was constructed The chain must contain at least this many blocks in order for the proposal to be executed.uint32 minTargetHeight = 3;
-
getStepsList
List<ProposalOuterClass.ProposalStep> getStepsList()
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
getStepsCount
int getStepsCount()
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
getSteps
ProposalOuterClass.ProposalStep getSteps(int index)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
setSteps
ProposalOuterClass.Proposal.Builder setSteps(int index, ProposalOuterClass.ProposalStep value)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
setSteps
ProposalOuterClass.Proposal.Builder setSteps(int index, ProposalOuterClass.ProposalStep.Builder builderForValue)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
addSteps
ProposalOuterClass.Proposal.Builder addSteps(ProposalOuterClass.ProposalStep value)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
addSteps
ProposalOuterClass.Proposal.Builder addSteps(int index, ProposalOuterClass.ProposalStep value)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
addSteps
ProposalOuterClass.Proposal.Builder addSteps(ProposalOuterClass.ProposalStep.Builder builderForValue)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
addSteps
ProposalOuterClass.Proposal.Builder addSteps(int index, ProposalOuterClass.ProposalStep.Builder builderForValue)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
addAllSteps
ProposalOuterClass.Proposal.Builder addAllSteps(Iterable<out ProposalOuterClass.ProposalStep> values)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
clearSteps
ProposalOuterClass.Proposal.Builder clearSteps()
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
removeSteps
ProposalOuterClass.Proposal.Builder removeSteps(int index)
The series of transactions to be created.repeated .cash.z.wallet.sdk.ffi.ProposalStep steps = 4;
-
-
-
-