-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.CompactFormats.CompactSaplingOutputOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class CompactFormats.CompactSaplingOutput.Builder extends GeneratedMessageLite.Builder<CompactFormats.CompactSaplingOutput, CompactFormats.CompactSaplingOutput.Builder> implements CompactFormats.CompactSaplingOutputOrBuilder
Protobuf typeoutput encodes the `cmu` field, `ephemeralKey` field, and a 52-byte prefix of the `encCiphertext` field of a Sapling Output Description. These fields are described in section 7.4 of the Zcash protocol spec: https://zips.z.cash/protocol/protocol.pdf#outputencodingandconsensus Total size is 116 bytes.{@code cash.z.wallet.sdk.rpc.CompactSaplingOutput}
-
-
Method Summary
Modifier and Type Method Description ByteStringgetCmu()note commitment u-coordinatebytes cmu = 1;CompactFormats.CompactSaplingOutput.BuildersetCmu(ByteString value)note commitment u-coordinatebytes cmu = 1;CompactFormats.CompactSaplingOutput.BuilderclearCmu()note commitment u-coordinatebytes cmu = 1;ByteStringgetEphemeralKey()ephemeral public keybytes ephemeralKey = 2;CompactFormats.CompactSaplingOutput.BuildersetEphemeralKey(ByteString value)ephemeral public keybytes ephemeralKey = 2;CompactFormats.CompactSaplingOutput.BuilderclearEphemeralKey()ephemeral public keybytes ephemeralKey = 2;ByteStringgetCiphertext()first 52 bytes of ciphertextbytes ciphertext = 3;CompactFormats.CompactSaplingOutput.BuildersetCiphertext(ByteString value)first 52 bytes of ciphertextbytes ciphertext = 3;CompactFormats.CompactSaplingOutput.BuilderclearCiphertext()first 52 bytes of ciphertextbytes ciphertext = 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
-
getCmu
ByteString getCmu()
note commitment u-coordinatebytes cmu = 1;
-
setCmu
CompactFormats.CompactSaplingOutput.Builder setCmu(ByteString value)
note commitment u-coordinatebytes cmu = 1;- Parameters:
value- The cmu to set.
-
clearCmu
CompactFormats.CompactSaplingOutput.Builder clearCmu()
note commitment u-coordinatebytes cmu = 1;
-
getEphemeralKey
ByteString getEphemeralKey()
ephemeral public keybytes ephemeralKey = 2;
-
setEphemeralKey
CompactFormats.CompactSaplingOutput.Builder setEphemeralKey(ByteString value)
ephemeral public keybytes ephemeralKey = 2;- Parameters:
value- The ephemeralKey to set.
-
clearEphemeralKey
CompactFormats.CompactSaplingOutput.Builder clearEphemeralKey()
ephemeral public keybytes ephemeralKey = 2;
-
getCiphertext
ByteString getCiphertext()
first 52 bytes of ciphertextbytes ciphertext = 3;
-
setCiphertext
CompactFormats.CompactSaplingOutput.Builder setCiphertext(ByteString value)
first 52 bytes of ciphertextbytes ciphertext = 3;- Parameters:
value- The ciphertext to set.
-
clearCiphertext
CompactFormats.CompactSaplingOutput.Builder clearCiphertext()
first 52 bytes of ciphertextbytes ciphertext = 3;
-
-
-
-