Package org.bitcoinj.wallet
Interface Protos.PeerAddressOrBuilder
- 
- All Superinterfaces:
 com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
 Protos.PeerAddress,Protos.PeerAddress.Builder
- Enclosing class:
 - Protos
 
public static interface Protos.PeerAddressOrBuilder extends com.google.protobuf.MessageLiteOrBuilder 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetIpAddress()required bytes ip_address = 1;intgetPort()required uint32 port = 2;longgetServices()required uint64 services = 3;booleanhasIpAddress()required bytes ip_address = 1;booleanhasPort()required uint32 port = 2;booleanhasServices()required uint64 services = 3; 
 - 
 
- 
- 
Method Detail
- 
hasIpAddress
boolean hasIpAddress()
required bytes ip_address = 1;- Returns:
 - Whether the ipAddress field is set.
 
 
- 
getIpAddress
com.google.protobuf.ByteString getIpAddress()
required bytes ip_address = 1;- Returns:
 - The ipAddress.
 
 
- 
hasPort
boolean hasPort()
required uint32 port = 2;- Returns:
 - Whether the port field is set.
 
 
- 
getPort
int getPort()
required uint32 port = 2;- Returns:
 - The port.
 
 
- 
hasServices
boolean hasServices()
required uint64 services = 3;- Returns:
 - Whether the services field is set.
 
 
- 
getServices
long getServices()
required uint64 services = 3;- Returns:
 - The services.
 
 
 - 
 
 -