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

    Modifier and Type
    Method
    Description
    required string net = 3;
    com.google.protobuf.ByteString
    required string net = 3;
    getSeed(int index)
    repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
    int
    repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
    repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
    long
    seconds since UNIX epoch
    boolean
    required string net = 3;
    boolean
    seconds since UNIX epoch

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • 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

      String getNet()
      required string net = 3;
      Returns:
      The net.
    • getNetBytes

      com.google.protobuf.ByteString getNetBytes()
      required string net = 3;
      Returns:
      The bytes for net.