Package org.bitcoin.crawler
Interface PeerSeedProtos.PeerSeedsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
PeerSeedProtos.PeerSeeds
,PeerSeedProtos.PeerSeeds.Builder
- Enclosing class:
- PeerSeedProtos
public static interface PeerSeedProtos.PeerSeedsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getNet()
required string net = 3;
com.google.protobuf.ByteString
getNetBytes()
required string net = 3;
PeerSeedProtos.PeerSeedData
getSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
int
getSeedCount()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
java.util.List<PeerSeedProtos.PeerSeedData>
getSeedList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
long
getTimestamp()
seconds since UNIX epochboolean
hasNet()
required string net = 3;
boolean
hasTimestamp()
seconds since UNIX epoch
-
-
-
Method Detail
-
getSeedList
java.util.List<PeerSeedProtos.PeerSeedData> getSeedList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
-
getSeed
PeerSeedProtos.PeerSeedData getSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
-
getSeedCount
int getSeedCount()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
-
hasTimestamp
boolean hasTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
- Returns:
- The timestamp.
-
hasNet
boolean hasNet()
required string net = 3;
- Returns:
- Whether the net field is set.
-
getNet
java.lang.String getNet()
required string net = 3;
- Returns:
- The net.
-
getNetBytes
com.google.protobuf.ByteString getNetBytes()
required string net = 3;
- Returns:
- The bytes for net.
-
-