public static final class SignerOuterClass.MuSig2SessionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder> implements SignerOuterClass.MuSig2SessionResponseOrBuilder
signrpc.MuSig2SessionResponse| Modifier and Type | Method and Description |
|---|---|
SignerOuterClass.MuSig2SessionResponse |
build() |
SignerOuterClass.MuSig2SessionResponse |
buildPartial() |
SignerOuterClass.MuSig2SessionResponse.Builder |
clear() |
SignerOuterClass.MuSig2SessionResponse.Builder |
clearCombinedKey()
The combined public key (in the 32-byte x-only format) with all tweaks
applied to it.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
clearHaveAllNonces()
Indicates whether all nonces required to start the signing process are known
now.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
clearLocalPublicNonces()
The two public nonces the local signer uses, combined into a single value
of 66 bytes.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
clearSessionId()
The unique ID that represents this signing session.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
clearTaprootInternalKey()
The raw combined public key (in the 32-byte x-only format) before any tweaks
are applied to it.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
clearVersion()
The version of the MuSig2 BIP that was used to create the session.
|
com.google.protobuf.ByteString |
getCombinedKey()
The combined public key (in the 32-byte x-only format) with all tweaks
applied to it.
|
SignerOuterClass.MuSig2SessionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getHaveAllNonces()
Indicates whether all nonces required to start the signing process are known
now.
|
com.google.protobuf.ByteString |
getLocalPublicNonces()
The two public nonces the local signer uses, combined into a single value
of 66 bytes.
|
com.google.protobuf.ByteString |
getSessionId()
The unique ID that represents this signing session.
|
com.google.protobuf.ByteString |
getTaprootInternalKey()
The raw combined public key (in the 32-byte x-only format) before any tweaks
are applied to it.
|
SignerOuterClass.MuSig2Version |
getVersion()
The version of the MuSig2 BIP that was used to create the session.
|
int |
getVersionValue()
The version of the MuSig2 BIP that was used to create the session.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SignerOuterClass.MuSig2SessionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SignerOuterClass.MuSig2SessionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
SignerOuterClass.MuSig2SessionResponse.Builder |
mergeFrom(SignerOuterClass.MuSig2SessionResponse other) |
SignerOuterClass.MuSig2SessionResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SignerOuterClass.MuSig2SessionResponse.Builder |
setCombinedKey(com.google.protobuf.ByteString value)
The combined public key (in the 32-byte x-only format) with all tweaks
applied to it.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setHaveAllNonces(boolean value)
Indicates whether all nonces required to start the signing process are known
now.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setLocalPublicNonces(com.google.protobuf.ByteString value)
The two public nonces the local signer uses, combined into a single value
of 66 bytes.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setSessionId(com.google.protobuf.ByteString value)
The unique ID that represents this signing session.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setTaprootInternalKey(com.google.protobuf.ByteString value)
The raw combined public key (in the 32-byte x-only format) before any tweaks
are applied to it.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SignerOuterClass.MuSig2SessionResponse.Builder |
setVersion(SignerOuterClass.MuSig2Version value)
The version of the MuSig2 BIP that was used to create the session.
|
SignerOuterClass.MuSig2SessionResponse.Builder |
setVersionValue(int value)
The version of the MuSig2 BIP that was used to create the session.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public SignerOuterClass.MuSig2SessionResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public SignerOuterClass.MuSig2SessionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SignerOuterClass.MuSig2SessionResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SignerOuterClass.MuSig2SessionResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SignerOuterClass.MuSig2SessionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public SignerOuterClass.MuSig2SessionResponse.Builder mergeFrom(SignerOuterClass.MuSig2SessionResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public SignerOuterClass.MuSig2SessionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getSessionId()
The unique ID that represents this signing session. A session can be used for producing a signature a single time. If the signing fails for any reason, a new session with the same participants needs to be created.
bytes session_id = 1;getSessionId in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setSessionId(com.google.protobuf.ByteString value)
The unique ID that represents this signing session. A session can be used for producing a signature a single time. If the signing fails for any reason, a new session with the same participants needs to be created.
bytes session_id = 1;value - The sessionId to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearSessionId()
The unique ID that represents this signing session. A session can be used for producing a signature a single time. If the signing fails for any reason, a new session with the same participants needs to be created.
bytes session_id = 1;public com.google.protobuf.ByteString getCombinedKey()
The combined public key (in the 32-byte x-only format) with all tweaks applied to it. If a taproot tweak is specified, this corresponds to the taproot key that can be put into the on-chain output.
bytes combined_key = 2;getCombinedKey in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setCombinedKey(com.google.protobuf.ByteString value)
The combined public key (in the 32-byte x-only format) with all tweaks applied to it. If a taproot tweak is specified, this corresponds to the taproot key that can be put into the on-chain output.
bytes combined_key = 2;value - The combinedKey to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearCombinedKey()
The combined public key (in the 32-byte x-only format) with all tweaks applied to it. If a taproot tweak is specified, this corresponds to the taproot key that can be put into the on-chain output.
bytes combined_key = 2;public com.google.protobuf.ByteString getTaprootInternalKey()
The raw combined public key (in the 32-byte x-only format) before any tweaks are applied to it. If a taproot tweak is specified, this corresponds to the internal key that needs to be put into the witness if the script spend path is used.
bytes taproot_internal_key = 3;getTaprootInternalKey in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setTaprootInternalKey(com.google.protobuf.ByteString value)
The raw combined public key (in the 32-byte x-only format) before any tweaks are applied to it. If a taproot tweak is specified, this corresponds to the internal key that needs to be put into the witness if the script spend path is used.
bytes taproot_internal_key = 3;value - The taprootInternalKey to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearTaprootInternalKey()
The raw combined public key (in the 32-byte x-only format) before any tweaks are applied to it. If a taproot tweak is specified, this corresponds to the internal key that needs to be put into the witness if the script spend path is used.
bytes taproot_internal_key = 3;public com.google.protobuf.ByteString getLocalPublicNonces()
The two public nonces the local signer uses, combined into a single value of 66 bytes. Can be split into the two 33-byte points to get the individual nonces.
bytes local_public_nonces = 4;getLocalPublicNonces in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setLocalPublicNonces(com.google.protobuf.ByteString value)
The two public nonces the local signer uses, combined into a single value of 66 bytes. Can be split into the two 33-byte points to get the individual nonces.
bytes local_public_nonces = 4;value - The localPublicNonces to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearLocalPublicNonces()
The two public nonces the local signer uses, combined into a single value of 66 bytes. Can be split into the two 33-byte points to get the individual nonces.
bytes local_public_nonces = 4;public boolean getHaveAllNonces()
Indicates whether all nonces required to start the signing process are known now.
bool have_all_nonces = 5;getHaveAllNonces in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setHaveAllNonces(boolean value)
Indicates whether all nonces required to start the signing process are known now.
bool have_all_nonces = 5;value - The haveAllNonces to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearHaveAllNonces()
Indicates whether all nonces required to start the signing process are known now.
bool have_all_nonces = 5;public int getVersionValue()
The version of the MuSig2 BIP that was used to create the session.
.signrpc.MuSig2Version version = 6;getVersionValue in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setVersionValue(int value)
The version of the MuSig2 BIP that was used to create the session.
.signrpc.MuSig2Version version = 6;value - The enum numeric value on the wire for version to set.public SignerOuterClass.MuSig2Version getVersion()
The version of the MuSig2 BIP that was used to create the session.
.signrpc.MuSig2Version version = 6;getVersion in interface SignerOuterClass.MuSig2SessionResponseOrBuilderpublic SignerOuterClass.MuSig2SessionResponse.Builder setVersion(SignerOuterClass.MuSig2Version value)
The version of the MuSig2 BIP that was used to create the session.
.signrpc.MuSig2Version version = 6;value - The version to set.public SignerOuterClass.MuSig2SessionResponse.Builder clearVersion()
The version of the MuSig2 BIP that was used to create the session.
.signrpc.MuSig2Version version = 6;public final SignerOuterClass.MuSig2SessionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>public final SignerOuterClass.MuSig2SessionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.MuSig2SessionResponse.Builder>