public static final class LightningApi.ChannelEventUpdate extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.ChannelEventUpdateOrBuilder
lnrpc.ChannelEventUpdate
Modifier and Type | Class and Description |
---|---|
static class |
LightningApi.ChannelEventUpdate.Builder
Protobuf type
lnrpc.ChannelEventUpdate |
static class |
LightningApi.ChannelEventUpdate.ChannelCase |
static class |
LightningApi.ChannelEventUpdate.UpdateType
Protobuf enum
lnrpc.ChannelEventUpdate.UpdateType |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_CHANNEL_FIELD_NUMBER |
static int |
CLOSED_CHANNEL_FIELD_NUMBER |
static int |
FULLY_RESOLVED_CHANNEL_FIELD_NUMBER |
static int |
INACTIVE_CHANNEL_FIELD_NUMBER |
static int |
OPEN_CHANNEL_FIELD_NUMBER |
static int |
PENDING_OPEN_CHANNEL_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LightningApi.ChannelPoint |
getActiveChannel()
.lnrpc.ChannelPoint active_channel = 3; |
LightningApi.ChannelPointOrBuilder |
getActiveChannelOrBuilder()
.lnrpc.ChannelPoint active_channel = 3; |
LightningApi.ChannelEventUpdate.ChannelCase |
getChannelCase() |
LightningApi.ChannelCloseSummary |
getClosedChannel()
.lnrpc.ChannelCloseSummary closed_channel = 2; |
LightningApi.ChannelCloseSummaryOrBuilder |
getClosedChannelOrBuilder()
.lnrpc.ChannelCloseSummary closed_channel = 2; |
static LightningApi.ChannelEventUpdate |
getDefaultInstance() |
LightningApi.ChannelEventUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LightningApi.ChannelPoint |
getFullyResolvedChannel()
.lnrpc.ChannelPoint fully_resolved_channel = 7; |
LightningApi.ChannelPointOrBuilder |
getFullyResolvedChannelOrBuilder()
.lnrpc.ChannelPoint fully_resolved_channel = 7; |
LightningApi.ChannelPoint |
getInactiveChannel()
.lnrpc.ChannelPoint inactive_channel = 4; |
LightningApi.ChannelPointOrBuilder |
getInactiveChannelOrBuilder()
.lnrpc.ChannelPoint inactive_channel = 4; |
LightningApi.Channel |
getOpenChannel()
.lnrpc.Channel open_channel = 1; |
LightningApi.ChannelOrBuilder |
getOpenChannelOrBuilder()
.lnrpc.Channel open_channel = 1; |
com.google.protobuf.Parser<LightningApi.ChannelEventUpdate> |
getParserForType() |
LightningApi.PendingUpdate |
getPendingOpenChannel()
.lnrpc.PendingUpdate pending_open_channel = 6; |
LightningApi.PendingUpdateOrBuilder |
getPendingOpenChannelOrBuilder()
.lnrpc.PendingUpdate pending_open_channel = 6; |
int |
getSerializedSize() |
LightningApi.ChannelEventUpdate.UpdateType |
getType()
.lnrpc.ChannelEventUpdate.UpdateType type = 5; |
int |
getTypeValue()
.lnrpc.ChannelEventUpdate.UpdateType type = 5; |
boolean |
hasActiveChannel()
.lnrpc.ChannelPoint active_channel = 3; |
boolean |
hasClosedChannel()
.lnrpc.ChannelCloseSummary closed_channel = 2; |
boolean |
hasFullyResolvedChannel()
.lnrpc.ChannelPoint fully_resolved_channel = 7; |
int |
hashCode() |
boolean |
hasInactiveChannel()
.lnrpc.ChannelPoint inactive_channel = 4; |
boolean |
hasOpenChannel()
.lnrpc.Channel open_channel = 1; |
boolean |
hasPendingOpenChannel()
.lnrpc.PendingUpdate pending_open_channel = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.ChannelEventUpdate.Builder |
newBuilder() |
static LightningApi.ChannelEventUpdate.Builder |
newBuilder(LightningApi.ChannelEventUpdate prototype) |
LightningApi.ChannelEventUpdate.Builder |
newBuilderForType() |
protected LightningApi.ChannelEventUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.ChannelEventUpdate |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.ChannelEventUpdate |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelEventUpdate |
parseFrom(byte[] data) |
static LightningApi.ChannelEventUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelEventUpdate |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.ChannelEventUpdate |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelEventUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.ChannelEventUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelEventUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.ChannelEventUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelEventUpdate |
parseFrom(java.io.InputStream input) |
static LightningApi.ChannelEventUpdate |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.ChannelEventUpdate> |
parser() |
LightningApi.ChannelEventUpdate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int OPEN_CHANNEL_FIELD_NUMBER
public static final int CLOSED_CHANNEL_FIELD_NUMBER
public static final int ACTIVE_CHANNEL_FIELD_NUMBER
public static final int INACTIVE_CHANNEL_FIELD_NUMBER
public static final int PENDING_OPEN_CHANNEL_FIELD_NUMBER
public static final int FULLY_RESOLVED_CHANNEL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.ChannelEventUpdate.ChannelCase getChannelCase()
getChannelCase
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasOpenChannel()
.lnrpc.Channel open_channel = 1;
hasOpenChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.Channel getOpenChannel()
.lnrpc.Channel open_channel = 1;
getOpenChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelOrBuilder getOpenChannelOrBuilder()
.lnrpc.Channel open_channel = 1;
getOpenChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasClosedChannel()
.lnrpc.ChannelCloseSummary closed_channel = 2;
hasClosedChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelCloseSummary getClosedChannel()
.lnrpc.ChannelCloseSummary closed_channel = 2;
getClosedChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelCloseSummaryOrBuilder getClosedChannelOrBuilder()
.lnrpc.ChannelCloseSummary closed_channel = 2;
getClosedChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasActiveChannel()
.lnrpc.ChannelPoint active_channel = 3;
hasActiveChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPoint getActiveChannel()
.lnrpc.ChannelPoint active_channel = 3;
getActiveChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPointOrBuilder getActiveChannelOrBuilder()
.lnrpc.ChannelPoint active_channel = 3;
getActiveChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasInactiveChannel()
.lnrpc.ChannelPoint inactive_channel = 4;
hasInactiveChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPoint getInactiveChannel()
.lnrpc.ChannelPoint inactive_channel = 4;
getInactiveChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPointOrBuilder getInactiveChannelOrBuilder()
.lnrpc.ChannelPoint inactive_channel = 4;
getInactiveChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasPendingOpenChannel()
.lnrpc.PendingUpdate pending_open_channel = 6;
hasPendingOpenChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.PendingUpdate getPendingOpenChannel()
.lnrpc.PendingUpdate pending_open_channel = 6;
getPendingOpenChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.PendingUpdateOrBuilder getPendingOpenChannelOrBuilder()
.lnrpc.PendingUpdate pending_open_channel = 6;
getPendingOpenChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public boolean hasFullyResolvedChannel()
.lnrpc.ChannelPoint fully_resolved_channel = 7;
hasFullyResolvedChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPoint getFullyResolvedChannel()
.lnrpc.ChannelPoint fully_resolved_channel = 7;
getFullyResolvedChannel
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelPointOrBuilder getFullyResolvedChannelOrBuilder()
.lnrpc.ChannelPoint fully_resolved_channel = 7;
getFullyResolvedChannelOrBuilder
in interface LightningApi.ChannelEventUpdateOrBuilder
public int getTypeValue()
.lnrpc.ChannelEventUpdate.UpdateType type = 5;
getTypeValue
in interface LightningApi.ChannelEventUpdateOrBuilder
public LightningApi.ChannelEventUpdate.UpdateType getType()
.lnrpc.ChannelEventUpdate.UpdateType type = 5;
getType
in interface LightningApi.ChannelEventUpdateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.ChannelEventUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelEventUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelEventUpdate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelEventUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelEventUpdate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelEventUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelEventUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.ChannelEventUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LightningApi.ChannelEventUpdate.Builder newBuilder()
public static LightningApi.ChannelEventUpdate.Builder newBuilder(LightningApi.ChannelEventUpdate prototype)
public LightningApi.ChannelEventUpdate.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.ChannelEventUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static LightningApi.ChannelEventUpdate getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.ChannelEventUpdate> parser()
public com.google.protobuf.Parser<LightningApi.ChannelEventUpdate> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.ChannelEventUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder