Package org.bitcoinj.protobuf.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.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;
-
-
-
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.
-
-