public static final class ChainNotifierOuterClass.ConfRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder> implements ChainNotifierOuterClass.ConfRequestOrBuilder
chainrpc.ConfRequest
Modifier and Type | Method and Description |
---|---|
ChainNotifierOuterClass.ConfRequest |
build() |
ChainNotifierOuterClass.ConfRequest |
buildPartial() |
ChainNotifierOuterClass.ConfRequest.Builder |
clear() |
ChainNotifierOuterClass.ConfRequest.Builder |
clearHeightHint()
The earliest height in the chain for which the transaction/output script
could have been included in a block.
|
ChainNotifierOuterClass.ConfRequest.Builder |
clearIncludeBlock()
If true, then the block that mines the specified txid/script will be
included in eventual the notification event.
|
ChainNotifierOuterClass.ConfRequest.Builder |
clearNumConfs()
The number of desired confirmations the transaction/output script should
reach before dispatching a confirmation notification.
|
ChainNotifierOuterClass.ConfRequest.Builder |
clearScript()
An output script within a transaction with the hash above which will be used
by light clients to match block filters.
|
ChainNotifierOuterClass.ConfRequest.Builder |
clearTxid()
The transaction hash for which we should request a confirmation notification
for.
|
ChainNotifierOuterClass.ConfRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getHeightHint()
The earliest height in the chain for which the transaction/output script
could have been included in a block.
|
boolean |
getIncludeBlock()
If true, then the block that mines the specified txid/script will be
included in eventual the notification event.
|
int |
getNumConfs()
The number of desired confirmations the transaction/output script should
reach before dispatching a confirmation notification.
|
com.google.protobuf.ByteString |
getScript()
An output script within a transaction with the hash above which will be used
by light clients to match block filters.
|
com.google.protobuf.ByteString |
getTxid()
The transaction hash for which we should request a confirmation notification
for.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChainNotifierOuterClass.ConfRequest.Builder |
mergeFrom(ChainNotifierOuterClass.ConfRequest other) |
ChainNotifierOuterClass.ConfRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChainNotifierOuterClass.ConfRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChainNotifierOuterClass.ConfRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChainNotifierOuterClass.ConfRequest.Builder |
setHeightHint(int value)
The earliest height in the chain for which the transaction/output script
could have been included in a block.
|
ChainNotifierOuterClass.ConfRequest.Builder |
setIncludeBlock(boolean value)
If true, then the block that mines the specified txid/script will be
included in eventual the notification event.
|
ChainNotifierOuterClass.ConfRequest.Builder |
setNumConfs(int value)
The number of desired confirmations the transaction/output script should
reach before dispatching a confirmation notification.
|
ChainNotifierOuterClass.ConfRequest.Builder |
setScript(com.google.protobuf.ByteString value)
An output script within a transaction with the hash above which will be used
by light clients to match block filters.
|
ChainNotifierOuterClass.ConfRequest.Builder |
setTxid(com.google.protobuf.ByteString value)
The transaction hash for which we should request a confirmation notification
for.
|
ChainNotifierOuterClass.ConfRequest.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public ChainNotifierOuterClass.ConfRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public ChainNotifierOuterClass.ConfRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChainNotifierOuterClass.ConfRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChainNotifierOuterClass.ConfRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChainNotifierOuterClass.ConfRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public ChainNotifierOuterClass.ConfRequest.Builder mergeFrom(ChainNotifierOuterClass.ConfRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public ChainNotifierOuterClass.ConfRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
java.io.IOException
public com.google.protobuf.ByteString getTxid()
The transaction hash for which we should request a confirmation notification for. If set to a hash of all zeros, then the confirmation notification will be requested for the script instead.
bytes txid = 1;
getTxid
in interface ChainNotifierOuterClass.ConfRequestOrBuilder
public ChainNotifierOuterClass.ConfRequest.Builder setTxid(com.google.protobuf.ByteString value)
The transaction hash for which we should request a confirmation notification for. If set to a hash of all zeros, then the confirmation notification will be requested for the script instead.
bytes txid = 1;
value
- The txid to set.public ChainNotifierOuterClass.ConfRequest.Builder clearTxid()
The transaction hash for which we should request a confirmation notification for. If set to a hash of all zeros, then the confirmation notification will be requested for the script instead.
bytes txid = 1;
public com.google.protobuf.ByteString getScript()
An output script within a transaction with the hash above which will be used by light clients to match block filters. If the transaction hash is set to a hash of all zeros, then a confirmation notification will be requested for this script instead.
bytes script = 2;
getScript
in interface ChainNotifierOuterClass.ConfRequestOrBuilder
public ChainNotifierOuterClass.ConfRequest.Builder setScript(com.google.protobuf.ByteString value)
An output script within a transaction with the hash above which will be used by light clients to match block filters. If the transaction hash is set to a hash of all zeros, then a confirmation notification will be requested for this script instead.
bytes script = 2;
value
- The script to set.public ChainNotifierOuterClass.ConfRequest.Builder clearScript()
An output script within a transaction with the hash above which will be used by light clients to match block filters. If the transaction hash is set to a hash of all zeros, then a confirmation notification will be requested for this script instead.
bytes script = 2;
public int getNumConfs()
The number of desired confirmations the transaction/output script should reach before dispatching a confirmation notification.
uint32 num_confs = 3;
getNumConfs
in interface ChainNotifierOuterClass.ConfRequestOrBuilder
public ChainNotifierOuterClass.ConfRequest.Builder setNumConfs(int value)
The number of desired confirmations the transaction/output script should reach before dispatching a confirmation notification.
uint32 num_confs = 3;
value
- The numConfs to set.public ChainNotifierOuterClass.ConfRequest.Builder clearNumConfs()
The number of desired confirmations the transaction/output script should reach before dispatching a confirmation notification.
uint32 num_confs = 3;
public int getHeightHint()
The earliest height in the chain for which the transaction/output script could have been included in a block. This should in most cases be set to the broadcast height of the transaction/output script.
uint32 height_hint = 4;
getHeightHint
in interface ChainNotifierOuterClass.ConfRequestOrBuilder
public ChainNotifierOuterClass.ConfRequest.Builder setHeightHint(int value)
The earliest height in the chain for which the transaction/output script could have been included in a block. This should in most cases be set to the broadcast height of the transaction/output script.
uint32 height_hint = 4;
value
- The heightHint to set.public ChainNotifierOuterClass.ConfRequest.Builder clearHeightHint()
The earliest height in the chain for which the transaction/output script could have been included in a block. This should in most cases be set to the broadcast height of the transaction/output script.
uint32 height_hint = 4;
public boolean getIncludeBlock()
If true, then the block that mines the specified txid/script will be included in eventual the notification event.
bool include_block = 5;
getIncludeBlock
in interface ChainNotifierOuterClass.ConfRequestOrBuilder
public ChainNotifierOuterClass.ConfRequest.Builder setIncludeBlock(boolean value)
If true, then the block that mines the specified txid/script will be included in eventual the notification event.
bool include_block = 5;
value
- The includeBlock to set.public ChainNotifierOuterClass.ConfRequest.Builder clearIncludeBlock()
If true, then the block that mines the specified txid/script will be included in eventual the notification event.
bool include_block = 5;
public final ChainNotifierOuterClass.ConfRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>
public final ChainNotifierOuterClass.ConfRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChainNotifierOuterClass.ConfRequest.Builder>