public static final class SignerOuterClass.TaprootTweakDesc.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.TaprootTweakDesc.Builder> implements SignerOuterClass.TaprootTweakDescOrBuilder
signrpc.TaprootTweakDesc| Modifier and Type | Method and Description | 
|---|---|
SignerOuterClass.TaprootTweakDesc | 
build()  | 
SignerOuterClass.TaprootTweakDesc | 
buildPartial()  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
clear()  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
clearKeySpendOnly()
Indicates that the above script_root is expected to be empty because this
is a BIP-0086 key spend only commitment where only the internal key is
committed to instead of also including a script root hash. 
 | 
SignerOuterClass.TaprootTweakDesc.Builder | 
clearScriptRoot()
The root hash of the tapscript tree if a script path is committed to. 
 | 
SignerOuterClass.TaprootTweakDesc | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.Descriptor | 
getDescriptorForType()  | 
boolean | 
getKeySpendOnly()
Indicates that the above script_root is expected to be empty because this
is a BIP-0086 key spend only commitment where only the internal key is
committed to instead of also including a script root hash. 
 | 
com.google.protobuf.ByteString | 
getScriptRoot()
The root hash of the tapscript tree if a script path is committed to. 
 | 
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
mergeFrom(com.google.protobuf.Message other)  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
mergeFrom(SignerOuterClass.TaprootTweakDesc other)  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)  | 
SignerOuterClass.TaprootTweakDesc.Builder | 
setKeySpendOnly(boolean value)
Indicates that the above script_root is expected to be empty because this
is a BIP-0086 key spend only commitment where only the internal key is
committed to instead of also including a script root hash. 
 | 
SignerOuterClass.TaprootTweakDesc.Builder | 
setScriptRoot(com.google.protobuf.ByteString value)
The root hash of the tapscript tree if a script path is committed to. 
 | 
SignerOuterClass.TaprootTweakDesc.Builder | 
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)  | 
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.TaprootTweakDesc.Builder>public SignerOuterClass.TaprootTweakDesc.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.TaprootTweakDesc.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.TaprootTweakDesc.Builder>public SignerOuterClass.TaprootTweakDesc getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SignerOuterClass.TaprootTweakDesc build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SignerOuterClass.TaprootTweakDesc buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SignerOuterClass.TaprootTweakDesc.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignerOuterClass.TaprootTweakDesc.Builder>public SignerOuterClass.TaprootTweakDesc.Builder mergeFrom(SignerOuterClass.TaprootTweakDesc other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.TaprootTweakDesc.Builder>public SignerOuterClass.TaprootTweakDesc.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.TaprootTweakDesc.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getScriptRoot()
The root hash of the tapscript tree if a script path is committed to. If the MuSig2 key put on chain doesn't also commit to a script path (BIP-0086 key spend only), then this needs to be empty and the key_spend_only field below must be set to true. This is required because gRPC cannot differentiate between a zero-size byte slice and a nil byte slice (both would be serialized the same way). So the extra boolean is required.
bytes script_root = 1;getScriptRoot in interface SignerOuterClass.TaprootTweakDescOrBuilderpublic SignerOuterClass.TaprootTweakDesc.Builder setScriptRoot(com.google.protobuf.ByteString value)
The root hash of the tapscript tree if a script path is committed to. If the MuSig2 key put on chain doesn't also commit to a script path (BIP-0086 key spend only), then this needs to be empty and the key_spend_only field below must be set to true. This is required because gRPC cannot differentiate between a zero-size byte slice and a nil byte slice (both would be serialized the same way). So the extra boolean is required.
bytes script_root = 1;value - The scriptRoot to set.public SignerOuterClass.TaprootTweakDesc.Builder clearScriptRoot()
The root hash of the tapscript tree if a script path is committed to. If the MuSig2 key put on chain doesn't also commit to a script path (BIP-0086 key spend only), then this needs to be empty and the key_spend_only field below must be set to true. This is required because gRPC cannot differentiate between a zero-size byte slice and a nil byte slice (both would be serialized the same way). So the extra boolean is required.
bytes script_root = 1;public boolean getKeySpendOnly()
Indicates that the above script_root is expected to be empty because this is a BIP-0086 key spend only commitment where only the internal key is committed to instead of also including a script root hash.
bool key_spend_only = 2;getKeySpendOnly in interface SignerOuterClass.TaprootTweakDescOrBuilderpublic SignerOuterClass.TaprootTweakDesc.Builder setKeySpendOnly(boolean value)
Indicates that the above script_root is expected to be empty because this is a BIP-0086 key spend only commitment where only the internal key is committed to instead of also including a script root hash.
bool key_spend_only = 2;value - The keySpendOnly to set.public SignerOuterClass.TaprootTweakDesc.Builder clearKeySpendOnly()
Indicates that the above script_root is expected to be empty because this is a BIP-0086 key spend only commitment where only the internal key is committed to instead of also including a script root hash.
bool key_spend_only = 2;public final SignerOuterClass.TaprootTweakDesc.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.TaprootTweakDesc.Builder>public final SignerOuterClass.TaprootTweakDesc.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignerOuterClass.TaprootTweakDesc.Builder>