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, 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.PeerEvent.Builder>
public LightningApi.PeerEvent.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.PeerEvent.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.PeerEvent.Builder>
public LightningApi.PeerEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.PeerEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.PeerEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.PeerEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PeerEvent.Builder>
java.io.IOException
public java.lang.String getPubKey()
The identity pubkey of the peer.
string pub_key = 1;
getPubKey
in interface LightningApi.PeerEventOrBuilder
public com.google.protobuf.ByteString getPubKeyBytes()
The identity pubkey of the peer.
string pub_key = 1;
getPubKeyBytes
in interface LightningApi.PeerEventOrBuilder
public 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.PeerEventOrBuilder
public 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.PeerEventOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PeerEvent.Builder>