public static final class LightningApi.BatchOpenChannelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannelRequest.Builder> implements LightningApi.BatchOpenChannelRequestOrBuilder
lnrpc.BatchOpenChannelRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.BatchOpenChannelRequest.Builder |
addAllChannels(java.lang.Iterable<? extends LightningApi.BatchOpenChannel> values)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
addChannels(int index,
LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
addChannels(int index,
LightningApi.BatchOpenChannel value)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
addChannels(LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
addChannels(LightningApi.BatchOpenChannel value)
The list of channels to open.
|
LightningApi.BatchOpenChannel.Builder |
addChannelsBuilder()
The list of channels to open.
|
LightningApi.BatchOpenChannel.Builder |
addChannelsBuilder(int index)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest |
build() |
LightningApi.BatchOpenChannelRequest |
buildPartial() |
LightningApi.BatchOpenChannelRequest.Builder |
clear() |
LightningApi.BatchOpenChannelRequest.Builder |
clearChannels()
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
clearLabel()
An optional label for the batch transaction, limited to 500 characters.
|
LightningApi.BatchOpenChannelRequest.Builder |
clearMinConfs()
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
LightningApi.BatchOpenChannelRequest.Builder |
clearSatPerVbyte()
A manual fee rate set in sat/vByte that should be used when crafting the
funding transaction.
|
LightningApi.BatchOpenChannelRequest.Builder |
clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
LightningApi.BatchOpenChannelRequest.Builder |
clearTargetConf()
The target number of blocks that the funding transaction should be
confirmed by.
|
LightningApi.BatchOpenChannel |
getChannels(int index)
The list of channels to open.
|
LightningApi.BatchOpenChannel.Builder |
getChannelsBuilder(int index)
The list of channels to open.
|
java.util.List<LightningApi.BatchOpenChannel.Builder> |
getChannelsBuilderList()
The list of channels to open.
|
int |
getChannelsCount()
The list of channels to open.
|
java.util.List<LightningApi.BatchOpenChannel> |
getChannelsList()
The list of channels to open.
|
LightningApi.BatchOpenChannelOrBuilder |
getChannelsOrBuilder(int index)
The list of channels to open.
|
java.util.List<? extends LightningApi.BatchOpenChannelOrBuilder> |
getChannelsOrBuilderList()
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLabel()
An optional label for the batch transaction, limited to 500 characters.
|
com.google.protobuf.ByteString |
getLabelBytes()
An optional label for the batch transaction, limited to 500 characters.
|
int |
getMinConfs()
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
long |
getSatPerVbyte()
A manual fee rate set in sat/vByte that should be used when crafting the
funding transaction.
|
boolean |
getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
int |
getTargetConf()
The target number of blocks that the funding transaction should be
confirmed by.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.BatchOpenChannelRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.BatchOpenChannelRequest.Builder |
mergeFrom(LightningApi.BatchOpenChannelRequest other) |
LightningApi.BatchOpenChannelRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.BatchOpenChannelRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.BatchOpenChannelRequest.Builder |
removeChannels(int index)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
setChannels(int index,
LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
setChannels(int index,
LightningApi.BatchOpenChannel value)
The list of channels to open.
|
LightningApi.BatchOpenChannelRequest.Builder |
setLabel(java.lang.String value)
An optional label for the batch transaction, limited to 500 characters.
|
LightningApi.BatchOpenChannelRequest.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
An optional label for the batch transaction, limited to 500 characters.
|
LightningApi.BatchOpenChannelRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
LightningApi.BatchOpenChannelRequest.Builder |
setSatPerVbyte(long value)
A manual fee rate set in sat/vByte that should be used when crafting the
funding transaction.
|
LightningApi.BatchOpenChannelRequest.Builder |
setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
LightningApi.BatchOpenChannelRequest.Builder |
setTargetConf(int value)
The target number of blocks that the funding transaction should be
confirmed by.
|
LightningApi.BatchOpenChannelRequest.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.BatchOpenChannelRequest.Builder>
public LightningApi.BatchOpenChannelRequest.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.BatchOpenChannelRequest.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.BatchOpenChannelRequest.Builder>
public LightningApi.BatchOpenChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.BatchOpenChannelRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.BatchOpenChannelRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.BatchOpenChannelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.BatchOpenChannelRequest.Builder>
public LightningApi.BatchOpenChannelRequest.Builder mergeFrom(LightningApi.BatchOpenChannelRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannelRequest.Builder>
public LightningApi.BatchOpenChannelRequest.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.BatchOpenChannelRequest.Builder>
java.io.IOException
public java.util.List<LightningApi.BatchOpenChannel> getChannelsList()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
getChannelsList
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public int getChannelsCount()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
getChannelsCount
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannel getChannels(int index)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
getChannels
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setChannels(int index, LightningApi.BatchOpenChannel value)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder setChannels(int index, LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder addChannels(LightningApi.BatchOpenChannel value)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder addChannels(int index, LightningApi.BatchOpenChannel value)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder addChannels(LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder addChannels(int index, LightningApi.BatchOpenChannel.Builder builderForValue)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder addAllChannels(java.lang.Iterable<? extends LightningApi.BatchOpenChannel> values)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder clearChannels()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelRequest.Builder removeChannels(int index)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannel.Builder getChannelsBuilder(int index)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannelOrBuilder getChannelsOrBuilder(int index)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
getChannelsOrBuilder
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public java.util.List<? extends LightningApi.BatchOpenChannelOrBuilder> getChannelsOrBuilderList()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
getChannelsOrBuilderList
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannel.Builder addChannelsBuilder()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public LightningApi.BatchOpenChannel.Builder addChannelsBuilder(int index)
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public java.util.List<LightningApi.BatchOpenChannel.Builder> getChannelsBuilderList()
The list of channels to open.
repeated .lnrpc.BatchOpenChannel channels = 1;
public int getTargetConf()
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 2;
getTargetConf
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setTargetConf(int value)
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 2;
value
- The targetConf to set.public LightningApi.BatchOpenChannelRequest.Builder clearTargetConf()
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 2;
public long getSatPerVbyte()
A manual fee rate set in sat/vByte that should be used when crafting the funding transaction.
int64 sat_per_vbyte = 3;
getSatPerVbyte
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setSatPerVbyte(long value)
A manual fee rate set in sat/vByte that should be used when crafting the funding transaction.
int64 sat_per_vbyte = 3;
value
- The satPerVbyte to set.public LightningApi.BatchOpenChannelRequest.Builder clearSatPerVbyte()
A manual fee rate set in sat/vByte that should be used when crafting the funding transaction.
int64 sat_per_vbyte = 3;
public int getMinConfs()
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 4;
getMinConfs
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 4;
value
- The minConfs to set.public LightningApi.BatchOpenChannelRequest.Builder clearMinConfs()
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 4;
public boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 5;
getSpendUnconfirmed
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 5;
value
- The spendUnconfirmed to set.public LightningApi.BatchOpenChannelRequest.Builder clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 5;
public java.lang.String getLabel()
An optional label for the batch transaction, limited to 500 characters.
string label = 6;
getLabel
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
An optional label for the batch transaction, limited to 500 characters.
string label = 6;
getLabelBytes
in interface LightningApi.BatchOpenChannelRequestOrBuilder
public LightningApi.BatchOpenChannelRequest.Builder setLabel(java.lang.String value)
An optional label for the batch transaction, limited to 500 characters.
string label = 6;
value
- The label to set.public LightningApi.BatchOpenChannelRequest.Builder clearLabel()
An optional label for the batch transaction, limited to 500 characters.
string label = 6;
public LightningApi.BatchOpenChannelRequest.Builder setLabelBytes(com.google.protobuf.ByteString value)
An optional label for the batch transaction, limited to 500 characters.
string label = 6;
value
- The bytes for label to set.public final LightningApi.BatchOpenChannelRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannelRequest.Builder>
public final LightningApi.BatchOpenChannelRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannelRequest.Builder>