-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.ChangeValueOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class ProposalOuterClass.ChangeValue.Builder extends GeneratedMessageLite.Builder<ProposalOuterClass.ChangeValue, ProposalOuterClass.ChangeValue.Builder> implements ProposalOuterClass.ChangeValueOrBuilder
Protobuf typeA proposed change output. If the transparent value pool is selected, the `memo` field must be null.{@code cash.z.wallet.sdk.ffi.ChangeValue}
-
-
Method Summary
Modifier and Type Method Description longgetValue()The value of a change output to be created, in zatoshis.uint64 value = 1;ProposalOuterClass.ChangeValue.BuildersetValue(long value)The value of a change output to be created, in zatoshis.uint64 value = 1;ProposalOuterClass.ChangeValue.BuilderclearValue()The value of a change output to be created, in zatoshis.uint64 value = 1;intgetValuePoolValue()The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;ProposalOuterClass.ChangeValue.BuildersetValuePoolValue(int value)The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;ProposalOuterClass.ValuePoolgetValuePool()The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;ProposalOuterClass.ChangeValue.BuildersetValuePool(ProposalOuterClass.ValuePool value)The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;ProposalOuterClass.ChangeValue.BuilderclearValuePool()The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;booleanhasMemo()The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;ProposalOuterClass.MemoBytesgetMemo()The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;ProposalOuterClass.ChangeValue.BuildersetMemo(ProposalOuterClass.MemoBytes value)The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;ProposalOuterClass.ChangeValue.BuildersetMemo(ProposalOuterClass.MemoBytes.Builder builderForValue)The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;ProposalOuterClass.ChangeValue.BuildermergeMemo(ProposalOuterClass.MemoBytes value)The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;ProposalOuterClass.ChangeValue.BuilderclearMemo()The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;-
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
-
getValue
long getValue()
The value of a change output to be created, in zatoshis.uint64 value = 1;
-
setValue
ProposalOuterClass.ChangeValue.Builder setValue(long value)
The value of a change output to be created, in zatoshis.uint64 value = 1;- Parameters:
value- The value to set.
-
clearValue
ProposalOuterClass.ChangeValue.Builder clearValue()
The value of a change output to be created, in zatoshis.uint64 value = 1;
-
getValuePoolValue
int getValuePoolValue()
The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;
-
setValuePoolValue
ProposalOuterClass.ChangeValue.Builder setValuePoolValue(int value)
The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;- Parameters:
value- The valuePool to set.
-
getValuePool
ProposalOuterClass.ValuePool getValuePool()
The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;
-
setValuePool
ProposalOuterClass.ChangeValue.Builder setValuePool(ProposalOuterClass.ValuePool value)
The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;- Parameters:
value- The enum numeric value on the wire for valuePool to set.
-
clearValuePool
ProposalOuterClass.ChangeValue.Builder clearValuePool()
The value pool in which the change output should be created..cash.z.wallet.sdk.ffi.ValuePool valuePool = 2;
-
hasMemo
boolean hasMemo()
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
getMemo
ProposalOuterClass.MemoBytes getMemo()
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
setMemo
ProposalOuterClass.ChangeValue.Builder setMemo(ProposalOuterClass.MemoBytes value)
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
setMemo
ProposalOuterClass.ChangeValue.Builder setMemo(ProposalOuterClass.MemoBytes.Builder builderForValue)
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
mergeMemo
ProposalOuterClass.ChangeValue.Builder mergeMemo(ProposalOuterClass.MemoBytes value)
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
clearMemo
ProposalOuterClass.ChangeValue.Builder clearMemo()
The optional memo that should be associated with the newly created change output. Memos must not be present for transparent change outputs..cash.z.wallet.sdk.ffi.MemoBytes memo = 3;
-
-
-
-