public static final class LightningApi.PaymentHash.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PaymentHash.Builder> implements LightningApi.PaymentHashOrBuilder
lnrpc.PaymentHash| Modifier and Type | Method and Description |
|---|---|
LightningApi.PaymentHash |
build() |
LightningApi.PaymentHash |
buildPartial() |
LightningApi.PaymentHash.Builder |
clear() |
LightningApi.PaymentHash.Builder |
clearRHash()
The payment hash of the invoice to be looked up.
|
LightningApi.PaymentHash.Builder |
clearRHashStr()
Deprecated.
lnrpc.PaymentHash.r_hash_str is deprecated.
See lightning.api.proto;l=3772
|
LightningApi.PaymentHash |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getRHash()
The payment hash of the invoice to be looked up.
|
java.lang.String |
getRHashStr()
Deprecated.
lnrpc.PaymentHash.r_hash_str is deprecated.
See lightning.api.proto;l=3772
|
com.google.protobuf.ByteString |
getRHashStrBytes()
Deprecated.
lnrpc.PaymentHash.r_hash_str is deprecated.
See lightning.api.proto;l=3772
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.PaymentHash.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.PaymentHash.Builder |
mergeFrom(LightningApi.PaymentHash other) |
LightningApi.PaymentHash.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.PaymentHash.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.PaymentHash.Builder |
setRHash(com.google.protobuf.ByteString value)
The payment hash of the invoice to be looked up.
|
LightningApi.PaymentHash.Builder |
setRHashStr(java.lang.String value)
Deprecated.
lnrpc.PaymentHash.r_hash_str is deprecated.
See lightning.api.proto;l=3772
|
LightningApi.PaymentHash.Builder |
setRHashStrBytes(com.google.protobuf.ByteString value)
Deprecated.
lnrpc.PaymentHash.r_hash_str is deprecated.
See lightning.api.proto;l=3772
|
LightningApi.PaymentHash.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<LightningApi.PaymentHash.Builder>public LightningApi.PaymentHash.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PaymentHash.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<LightningApi.PaymentHash.Builder>public LightningApi.PaymentHash getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PaymentHash build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PaymentHash buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PaymentHash.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PaymentHash.Builder>public LightningApi.PaymentHash.Builder mergeFrom(LightningApi.PaymentHash other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PaymentHash.Builder>public LightningApi.PaymentHash.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<LightningApi.PaymentHash.Builder>java.io.IOException@Deprecated public java.lang.String getRHashStr()
The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string r_hash_str = 1 [deprecated = true];getRHashStr in interface LightningApi.PaymentHashOrBuilder@Deprecated public com.google.protobuf.ByteString getRHashStrBytes()
The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string r_hash_str = 1 [deprecated = true];getRHashStrBytes in interface LightningApi.PaymentHashOrBuilder@Deprecated public LightningApi.PaymentHash.Builder setRHashStr(java.lang.String value)
The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string r_hash_str = 1 [deprecated = true];value - The rHashStr to set.@Deprecated public LightningApi.PaymentHash.Builder clearRHashStr()
The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string r_hash_str = 1 [deprecated = true];@Deprecated public LightningApi.PaymentHash.Builder setRHashStrBytes(com.google.protobuf.ByteString value)
The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string r_hash_str = 1 [deprecated = true];value - The bytes for rHashStr to set.public com.google.protobuf.ByteString getRHash()
The payment hash of the invoice to be looked up. When using REST, this field must be encoded as base64.
bytes r_hash = 2;getRHash in interface LightningApi.PaymentHashOrBuilderpublic LightningApi.PaymentHash.Builder setRHash(com.google.protobuf.ByteString value)
The payment hash of the invoice to be looked up. When using REST, this field must be encoded as base64.
bytes r_hash = 2;value - The rHash to set.public LightningApi.PaymentHash.Builder clearRHash()
The payment hash of the invoice to be looked up. When using REST, this field must be encoded as base64.
bytes r_hash = 2;public final LightningApi.PaymentHash.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PaymentHash.Builder>public final LightningApi.PaymentHash.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PaymentHash.Builder>