public static final class LightningApi.PeerEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PeerEvent.Builder> implements LightningApi.PeerEventOrBuilder
lnrpc.PeerEvent| Modifier and Type | Method and Description |
|---|---|
LightningApi.PeerEvent |
build() |
LightningApi.PeerEvent |
buildPartial() |
LightningApi.PeerEvent.Builder |
clear() |
LightningApi.PeerEvent.Builder |
clearPubKey()
The identity pubkey of the peer.
|
LightningApi.PeerEvent.Builder |
clearType()
.lnrpc.PeerEvent.EventType type = 2; |
LightningApi.PeerEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPubKey()
The identity pubkey of the peer.
|
com.google.protobuf.ByteString |
getPubKeyBytes()
The identity pubkey of the peer.
|
LightningApi.PeerEvent.EventType |
getType()
.lnrpc.PeerEvent.EventType type = 2; |
int |
getTypeValue()
.lnrpc.PeerEvent.EventType type = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.PeerEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.PeerEvent.Builder |
mergeFrom(LightningApi.PeerEvent other) |
LightningApi.PeerEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.PeerEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.PeerEvent.Builder |
setPubKey(java.lang.String value)
The identity pubkey of the peer.
|
LightningApi.PeerEvent.Builder |
setPubKeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the peer.
|
LightningApi.PeerEvent.Builder |
setType(LightningApi.PeerEvent.EventType value)
.lnrpc.PeerEvent.EventType type = 2; |
LightningApi.PeerEvent.Builder |
setTypeValue(int value)
.lnrpc.PeerEvent.EventType type = 2; |
LightningApi.PeerEvent.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.PeerEvent.Builder>public LightningApi.PeerEvent.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.PeerEvent.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.PeerEvent.Builder>public LightningApi.PeerEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PeerEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PeerEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PeerEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PeerEvent.Builder>public LightningApi.PeerEvent.Builder mergeFrom(LightningApi.PeerEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PeerEvent.Builder>public LightningApi.PeerEvent.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.PeerEvent.Builder>java.io.IOExceptionpublic java.lang.String getPubKey()
The identity pubkey of the peer.
string pub_key = 1;getPubKey in interface LightningApi.PeerEventOrBuilderpublic com.google.protobuf.ByteString getPubKeyBytes()
The identity pubkey of the peer.
string pub_key = 1;getPubKeyBytes in interface LightningApi.PeerEventOrBuilderpublic LightningApi.PeerEvent.Builder setPubKey(java.lang.String value)
The identity pubkey of the peer.
string pub_key = 1;value - The pubKey to set.public LightningApi.PeerEvent.Builder clearPubKey()
The identity pubkey of the peer.
string pub_key = 1;public LightningApi.PeerEvent.Builder setPubKeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the peer.
string pub_key = 1;value - The bytes for pubKey to set.public int getTypeValue()
.lnrpc.PeerEvent.EventType type = 2;getTypeValue in interface LightningApi.PeerEventOrBuilderpublic LightningApi.PeerEvent.Builder setTypeValue(int value)
.lnrpc.PeerEvent.EventType type = 2;value - The enum numeric value on the wire for type to set.public LightningApi.PeerEvent.EventType getType()
.lnrpc.PeerEvent.EventType type = 2;getType in interface LightningApi.PeerEventOrBuilderpublic LightningApi.PeerEvent.Builder setType(LightningApi.PeerEvent.EventType value)
.lnrpc.PeerEvent.EventType type = 2;value - The type to set.public LightningApi.PeerEvent.Builder clearType()
.lnrpc.PeerEvent.EventType type = 2;public final LightningApi.PeerEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PeerEvent.Builder>public final LightningApi.PeerEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PeerEvent.Builder>