public static final class PeerSeedProtos.PeerSeeds.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PeerSeedProtos.PeerSeeds,PeerSeedProtos.PeerSeeds.Builder> implements PeerSeedProtos.PeerSeedsOrBuilder
org.bitcoin.crawler.PeerSeeds
Modifier and Type | Method and Description |
---|---|
PeerSeedProtos.PeerSeeds.Builder |
addAllSeed(java.lang.Iterable<? extends PeerSeedProtos.PeerSeedData> values)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
addSeed(int index,
PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
addSeed(int index,
PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
addSeed(PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
addSeed(PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
clearNet()
required string net = 3; |
PeerSeedProtos.PeerSeeds.Builder |
clearSeed()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
clearTimestamp()
seconds since UNIX epoch
|
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 epoch
|
boolean |
hasNet()
required string net = 3; |
boolean |
hasTimestamp()
seconds since UNIX epoch
|
PeerSeedProtos.PeerSeeds.Builder |
removeSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
setNet(java.lang.String value)
required string net = 3; |
PeerSeedProtos.PeerSeeds.Builder |
setNetBytes(com.google.protobuf.ByteString value)
required string net = 3; |
PeerSeedProtos.PeerSeeds.Builder |
setSeed(int index,
PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
setSeed(int index,
PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1; |
PeerSeedProtos.PeerSeeds.Builder |
setTimestamp(long value)
seconds since UNIX epoch
|
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 java.util.List<PeerSeedProtos.PeerSeedData> getSeedList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
getSeedList
in interface PeerSeedProtos.PeerSeedsOrBuilder
public int getSeedCount()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
getSeedCount
in interface PeerSeedProtos.PeerSeedsOrBuilder
public PeerSeedProtos.PeerSeedData getSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
getSeed
in interface PeerSeedProtos.PeerSeedsOrBuilder
public PeerSeedProtos.PeerSeeds.Builder setSeed(int index, PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder setSeed(int index, PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder addSeed(PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder addSeed(int index, PeerSeedProtos.PeerSeedData value)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder addSeed(PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder addSeed(int index, PeerSeedProtos.PeerSeedData.Builder builderForValue)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder addAllSeed(java.lang.Iterable<? extends PeerSeedProtos.PeerSeedData> values)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder clearSeed()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public PeerSeedProtos.PeerSeeds.Builder removeSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
public boolean hasTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
hasTimestamp
in interface PeerSeedProtos.PeerSeedsOrBuilder
public long getTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
getTimestamp
in interface PeerSeedProtos.PeerSeedsOrBuilder
public PeerSeedProtos.PeerSeeds.Builder setTimestamp(long value)
seconds since UNIX epoch
required uint64 timestamp = 2;
value
- The timestamp to set.public PeerSeedProtos.PeerSeeds.Builder clearTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
public boolean hasNet()
required string net = 3;
hasNet
in interface PeerSeedProtos.PeerSeedsOrBuilder
public java.lang.String getNet()
required string net = 3;
getNet
in interface PeerSeedProtos.PeerSeedsOrBuilder
public com.google.protobuf.ByteString getNetBytes()
required string net = 3;
getNetBytes
in interface PeerSeedProtos.PeerSeedsOrBuilder
public PeerSeedProtos.PeerSeeds.Builder setNet(java.lang.String value)
required string net = 3;
value
- The net to set.public PeerSeedProtos.PeerSeeds.Builder clearNet()
required string net = 3;
public PeerSeedProtos.PeerSeeds.Builder setNetBytes(com.google.protobuf.ByteString value)
required string net = 3;
value
- The bytes for net to set.