public static final class LightningApi.FeeLimit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeLimit.Builder> implements LightningApi.FeeLimitOrBuilder
lnrpc.FeeLimit
Modifier and Type | Method and Description |
---|---|
LightningApi.FeeLimit |
build() |
LightningApi.FeeLimit |
buildPartial() |
LightningApi.FeeLimit.Builder |
clear() |
LightningApi.FeeLimit.Builder |
clearFixed()
The fee limit expressed as a fixed amount of satoshis.
|
LightningApi.FeeLimit.Builder |
clearFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis.
|
LightningApi.FeeLimit.Builder |
clearLimit() |
LightningApi.FeeLimit.Builder |
clearPercent()
The fee limit expressed as a percentage of the payment amount.
|
LightningApi.FeeLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFixed()
The fee limit expressed as a fixed amount of satoshis.
|
long |
getFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis.
|
LightningApi.FeeLimit.LimitCase |
getLimitCase() |
long |
getPercent()
The fee limit expressed as a percentage of the payment amount.
|
boolean |
hasFixed()
The fee limit expressed as a fixed amount of satoshis.
|
boolean |
hasFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis.
|
boolean |
hasPercent()
The fee limit expressed as a percentage of the payment amount.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.FeeLimit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.FeeLimit.Builder |
mergeFrom(LightningApi.FeeLimit other) |
LightningApi.FeeLimit.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.FeeLimit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.FeeLimit.Builder |
setFixed(long value)
The fee limit expressed as a fixed amount of satoshis.
|
LightningApi.FeeLimit.Builder |
setFixedMsat(long value)
The fee limit expressed as a fixed amount of millisatoshis.
|
LightningApi.FeeLimit.Builder |
setPercent(long value)
The fee limit expressed as a percentage of the payment amount.
|
LightningApi.FeeLimit.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.FeeLimit.Builder>
public LightningApi.FeeLimit.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.FeeLimit.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.FeeLimit.Builder>
public LightningApi.FeeLimit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.FeeLimit build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FeeLimit buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FeeLimit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FeeLimit.Builder>
public LightningApi.FeeLimit.Builder mergeFrom(LightningApi.FeeLimit other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeLimit.Builder>
public LightningApi.FeeLimit.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.FeeLimit.Builder>
java.io.IOException
public LightningApi.FeeLimit.LimitCase getLimitCase()
getLimitCase
in interface LightningApi.FeeLimitOrBuilder
public LightningApi.FeeLimit.Builder clearLimit()
public boolean hasFixed()
The fee limit expressed as a fixed amount of satoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed = 1;
hasFixed
in interface LightningApi.FeeLimitOrBuilder
public long getFixed()
The fee limit expressed as a fixed amount of satoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed = 1;
getFixed
in interface LightningApi.FeeLimitOrBuilder
public LightningApi.FeeLimit.Builder setFixed(long value)
The fee limit expressed as a fixed amount of satoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed = 1;
value
- The fixed to set.public LightningApi.FeeLimit.Builder clearFixed()
The fee limit expressed as a fixed amount of satoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed = 1;
public boolean hasFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed_msat = 3;
hasFixedMsat
in interface LightningApi.FeeLimitOrBuilder
public long getFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed_msat = 3;
getFixedMsat
in interface LightningApi.FeeLimitOrBuilder
public LightningApi.FeeLimit.Builder setFixedMsat(long value)
The fee limit expressed as a fixed amount of millisatoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed_msat = 3;
value
- The fixedMsat to set.public LightningApi.FeeLimit.Builder clearFixedMsat()
The fee limit expressed as a fixed amount of millisatoshis. The fields fixed and fixed_msat are mutually exclusive.
int64 fixed_msat = 3;
public boolean hasPercent()
The fee limit expressed as a percentage of the payment amount.
int64 percent = 2;
hasPercent
in interface LightningApi.FeeLimitOrBuilder
public long getPercent()
The fee limit expressed as a percentage of the payment amount.
int64 percent = 2;
getPercent
in interface LightningApi.FeeLimitOrBuilder
public LightningApi.FeeLimit.Builder setPercent(long value)
The fee limit expressed as a percentage of the payment amount.
int64 percent = 2;
value
- The percent to set.public LightningApi.FeeLimit.Builder clearPercent()
The fee limit expressed as a percentage of the payment amount.
int64 percent = 2;
public final LightningApi.FeeLimit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeLimit.Builder>
public final LightningApi.FeeLimit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeLimit.Builder>