public static final class LightningApi.DisconnectPeerRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DisconnectPeerRequest.Builder> implements LightningApi.DisconnectPeerRequestOrBuilder
lnrpc.DisconnectPeerRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.DisconnectPeerRequest |
build() |
LightningApi.DisconnectPeerRequest |
buildPartial() |
LightningApi.DisconnectPeerRequest.Builder |
clear() |
LightningApi.DisconnectPeerRequest.Builder |
clearPubKey()
The pubkey of the node to disconnect from
|
LightningApi.DisconnectPeerRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPubKey()
The pubkey of the node to disconnect from
|
com.google.protobuf.ByteString |
getPubKeyBytes()
The pubkey of the node to disconnect from
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.DisconnectPeerRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.DisconnectPeerRequest.Builder |
mergeFrom(LightningApi.DisconnectPeerRequest other) |
LightningApi.DisconnectPeerRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.DisconnectPeerRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.DisconnectPeerRequest.Builder |
setPubKey(java.lang.String value)
The pubkey of the node to disconnect from
|
LightningApi.DisconnectPeerRequest.Builder |
setPubKeyBytes(com.google.protobuf.ByteString value)
The pubkey of the node to disconnect from
|
LightningApi.DisconnectPeerRequest.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.DisconnectPeerRequest.Builder>
public LightningApi.DisconnectPeerRequest.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.DisconnectPeerRequest.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.DisconnectPeerRequest.Builder>
public LightningApi.DisconnectPeerRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.DisconnectPeerRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.DisconnectPeerRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.DisconnectPeerRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.DisconnectPeerRequest.Builder>
public LightningApi.DisconnectPeerRequest.Builder mergeFrom(LightningApi.DisconnectPeerRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DisconnectPeerRequest.Builder>
public LightningApi.DisconnectPeerRequest.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.DisconnectPeerRequest.Builder>
java.io.IOException
public java.lang.String getPubKey()
The pubkey of the node to disconnect from
string pub_key = 1;
getPubKey
in interface LightningApi.DisconnectPeerRequestOrBuilder
public com.google.protobuf.ByteString getPubKeyBytes()
The pubkey of the node to disconnect from
string pub_key = 1;
getPubKeyBytes
in interface LightningApi.DisconnectPeerRequestOrBuilder
public LightningApi.DisconnectPeerRequest.Builder setPubKey(java.lang.String value)
The pubkey of the node to disconnect from
string pub_key = 1;
value
- The pubKey to set.public LightningApi.DisconnectPeerRequest.Builder clearPubKey()
The pubkey of the node to disconnect from
string pub_key = 1;
public LightningApi.DisconnectPeerRequest.Builder setPubKeyBytes(com.google.protobuf.ByteString value)
The pubkey of the node to disconnect from
string pub_key = 1;
value
- The bytes for pubKey to set.public final LightningApi.DisconnectPeerRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DisconnectPeerRequest.Builder>
public final LightningApi.DisconnectPeerRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DisconnectPeerRequest.Builder>