public static final class LightningApi.ListUnspentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListUnspentRequest.Builder> implements LightningApi.ListUnspentRequestOrBuilder
lnrpc.ListUnspentRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.ListUnspentRequest |
build() |
LightningApi.ListUnspentRequest |
buildPartial() |
LightningApi.ListUnspentRequest.Builder |
clear() |
LightningApi.ListUnspentRequest.Builder |
clearAccount()
An optional filter to only include outputs belonging to an account.
|
LightningApi.ListUnspentRequest.Builder |
clearMaxConfs()
The maximum number of confirmations to be included.
|
LightningApi.ListUnspentRequest.Builder |
clearMinConfs()
The minimum number of confirmations to be included.
|
java.lang.String |
getAccount()
An optional filter to only include outputs belonging to an account.
|
com.google.protobuf.ByteString |
getAccountBytes()
An optional filter to only include outputs belonging to an account.
|
LightningApi.ListUnspentRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMaxConfs()
The maximum number of confirmations to be included.
|
int |
getMinConfs()
The minimum number of confirmations to be included.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ListUnspentRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListUnspentRequest.Builder |
mergeFrom(LightningApi.ListUnspentRequest other) |
LightningApi.ListUnspentRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListUnspentRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListUnspentRequest.Builder |
setAccount(java.lang.String value)
An optional filter to only include outputs belonging to an account.
|
LightningApi.ListUnspentRequest.Builder |
setAccountBytes(com.google.protobuf.ByteString value)
An optional filter to only include outputs belonging to an account.
|
LightningApi.ListUnspentRequest.Builder |
setMaxConfs(int value)
The maximum number of confirmations to be included.
|
LightningApi.ListUnspentRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations to be included.
|
LightningApi.ListUnspentRequest.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<LightningApi.ListUnspentRequest.Builder>
public LightningApi.ListUnspentRequest.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<LightningApi.ListUnspentRequest.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<LightningApi.ListUnspentRequest.Builder>
public LightningApi.ListUnspentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ListUnspentRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListUnspentRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListUnspentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListUnspentRequest.Builder>
public LightningApi.ListUnspentRequest.Builder mergeFrom(LightningApi.ListUnspentRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListUnspentRequest.Builder>
public LightningApi.ListUnspentRequest.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<LightningApi.ListUnspentRequest.Builder>
java.io.IOException
public int getMinConfs()
The minimum number of confirmations to be included.
int32 min_confs = 1;
getMinConfs
in interface LightningApi.ListUnspentRequestOrBuilder
public LightningApi.ListUnspentRequest.Builder setMinConfs(int value)
The minimum number of confirmations to be included.
int32 min_confs = 1;
value
- The minConfs to set.public LightningApi.ListUnspentRequest.Builder clearMinConfs()
The minimum number of confirmations to be included.
int32 min_confs = 1;
public int getMaxConfs()
The maximum number of confirmations to be included.
int32 max_confs = 2;
getMaxConfs
in interface LightningApi.ListUnspentRequestOrBuilder
public LightningApi.ListUnspentRequest.Builder setMaxConfs(int value)
The maximum number of confirmations to be included.
int32 max_confs = 2;
value
- The maxConfs to set.public LightningApi.ListUnspentRequest.Builder clearMaxConfs()
The maximum number of confirmations to be included.
int32 max_confs = 2;
public java.lang.String getAccount()
An optional filter to only include outputs belonging to an account.
string account = 3;
getAccount
in interface LightningApi.ListUnspentRequestOrBuilder
public com.google.protobuf.ByteString getAccountBytes()
An optional filter to only include outputs belonging to an account.
string account = 3;
getAccountBytes
in interface LightningApi.ListUnspentRequestOrBuilder
public LightningApi.ListUnspentRequest.Builder setAccount(java.lang.String value)
An optional filter to only include outputs belonging to an account.
string account = 3;
value
- The account to set.public LightningApi.ListUnspentRequest.Builder clearAccount()
An optional filter to only include outputs belonging to an account.
string account = 3;
public LightningApi.ListUnspentRequest.Builder setAccountBytes(com.google.protobuf.ByteString value)
An optional filter to only include outputs belonging to an account.
string account = 3;
value
- The bytes for account to set.public final LightningApi.ListUnspentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListUnspentRequest.Builder>
public final LightningApi.ListUnspentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListUnspentRequest.Builder>