public static final class Protos.PeerAddress.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.PeerAddress,Protos.PeerAddress.Builder> implements Protos.PeerAddressOrBuilder
wallet.PeerAddress
Modifier and Type | Method and Description |
---|---|
Protos.PeerAddress.Builder |
clearIpAddress()
required bytes ip_address = 1; |
Protos.PeerAddress.Builder |
clearPort()
required uint32 port = 2; |
Protos.PeerAddress.Builder |
clearServices()
required uint64 services = 3; |
com.google.protobuf.ByteString |
getIpAddress()
required bytes ip_address = 1; |
int |
getPort()
required uint32 port = 2; |
long |
getServices()
required uint64 services = 3; |
boolean |
hasIpAddress()
required bytes ip_address = 1; |
boolean |
hasPort()
required uint32 port = 2; |
boolean |
hasServices()
required uint64 services = 3; |
Protos.PeerAddress.Builder |
setIpAddress(com.google.protobuf.ByteString value)
required bytes ip_address = 1; |
Protos.PeerAddress.Builder |
setPort(int value)
required uint32 port = 2; |
Protos.PeerAddress.Builder |
setServices(long value)
required uint64 services = 3; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasIpAddress()
required bytes ip_address = 1;
hasIpAddress
in interface Protos.PeerAddressOrBuilder
public com.google.protobuf.ByteString getIpAddress()
required bytes ip_address = 1;
getIpAddress
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setIpAddress(com.google.protobuf.ByteString value)
required bytes ip_address = 1;
value
- The ipAddress to set.public Protos.PeerAddress.Builder clearIpAddress()
required bytes ip_address = 1;
public boolean hasPort()
required uint32 port = 2;
hasPort
in interface Protos.PeerAddressOrBuilder
public int getPort()
required uint32 port = 2;
getPort
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setPort(int value)
required uint32 port = 2;
value
- The port to set.public Protos.PeerAddress.Builder clearPort()
required uint32 port = 2;
public boolean hasServices()
required uint64 services = 3;
hasServices
in interface Protos.PeerAddressOrBuilder
public long getServices()
required uint64 services = 3;
getServices
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setServices(long value)
required uint64 services = 3;
value
- The services to set.public Protos.PeerAddress.Builder clearServices()
required uint64 services = 3;