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
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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.
-