Package org.bitcoin.crawler
Class PeerSeedProtos.PeerSeeds
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<PeerSeedProtos.PeerSeeds,PeerSeedProtos.PeerSeeds.Builder>
-
- org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,PeerSeedProtos.PeerSeedsOrBuilder
- Enclosing class:
- PeerSeedProtos
public static final class PeerSeedProtos.PeerSeeds extends com.google.protobuf.GeneratedMessageLite<PeerSeedProtos.PeerSeeds,PeerSeedProtos.PeerSeeds.Builder> implements PeerSeedProtos.PeerSeedsOrBuilder
Protobuf typeorg.bitcoin.crawler.PeerSeeds
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeerSeedProtos.PeerSeeds.Builder
Protobuf typeorg.bitcoin.crawler.PeerSeeds
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static int
NET_FIELD_NUMBER
static int
SEED_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
static PeerSeedProtos.PeerSeeds
getDefaultInstance()
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;
PeerSeedProtos.PeerSeedDataOrBuilder
getSeedOrBuilder(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
java.util.List<? extends PeerSeedProtos.PeerSeedDataOrBuilder>
getSeedOrBuilderList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
long
getTimestamp()
seconds since UNIX epochboolean
hasNet()
required string net = 3;
boolean
hasTimestamp()
seconds since UNIX epochstatic PeerSeedProtos.PeerSeeds.Builder
newBuilder()
static PeerSeedProtos.PeerSeeds.Builder
newBuilder(PeerSeedProtos.PeerSeeds prototype)
static PeerSeedProtos.PeerSeeds
parseDelimitedFrom(java.io.InputStream input)
static PeerSeedProtos.PeerSeeds
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PeerSeedProtos.PeerSeeds
parseFrom(byte[] data)
static PeerSeedProtos.PeerSeeds
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PeerSeedProtos.PeerSeeds
parseFrom(com.google.protobuf.ByteString data)
static PeerSeedProtos.PeerSeeds
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PeerSeedProtos.PeerSeeds
parseFrom(com.google.protobuf.CodedInputStream input)
static PeerSeedProtos.PeerSeeds
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PeerSeedProtos.PeerSeeds
parseFrom(java.io.InputStream input)
static PeerSeedProtos.PeerSeeds
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PeerSeedProtos.PeerSeeds
parseFrom(java.nio.ByteBuffer data)
static PeerSeedProtos.PeerSeeds
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PeerSeedProtos.PeerSeeds>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
SEED_FIELD_NUMBER
public static final int SEED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NET_FIELD_NUMBER
public static final int NET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSeedList
public java.util.List<PeerSeedProtos.PeerSeedData> getSeedList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- Specified by:
getSeedList
in interfacePeerSeedProtos.PeerSeedsOrBuilder
-
getSeedOrBuilderList
public java.util.List<? extends PeerSeedProtos.PeerSeedDataOrBuilder> getSeedOrBuilderList()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
-
getSeedCount
public int getSeedCount()
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- Specified by:
getSeedCount
in interfacePeerSeedProtos.PeerSeedsOrBuilder
-
getSeed
public PeerSeedProtos.PeerSeedData getSeed(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- Specified by:
getSeed
in interfacePeerSeedProtos.PeerSeedsOrBuilder
-
getSeedOrBuilder
public PeerSeedProtos.PeerSeedDataOrBuilder getSeedOrBuilder(int index)
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
-
hasTimestamp
public boolean hasTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
- Specified by:
hasTimestamp
in interfacePeerSeedProtos.PeerSeedsOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
seconds since UNIX epoch
required uint64 timestamp = 2;
- Specified by:
getTimestamp
in interfacePeerSeedProtos.PeerSeedsOrBuilder
- Returns:
- The timestamp.
-
hasNet
public boolean hasNet()
required string net = 3;
- Specified by:
hasNet
in interfacePeerSeedProtos.PeerSeedsOrBuilder
- Returns:
- Whether the net field is set.
-
getNet
public java.lang.String getNet()
required string net = 3;
- Specified by:
getNet
in interfacePeerSeedProtos.PeerSeedsOrBuilder
- Returns:
- The net.
-
getNetBytes
public com.google.protobuf.ByteString getNetBytes()
required string net = 3;
- Specified by:
getNetBytes
in interfacePeerSeedProtos.PeerSeedsOrBuilder
- Returns:
- The bytes for net.
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PeerSeedProtos.PeerSeeds parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PeerSeedProtos.PeerSeeds parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static PeerSeedProtos.PeerSeeds.Builder newBuilder()
-
newBuilder
public static PeerSeedProtos.PeerSeeds.Builder newBuilder(PeerSeedProtos.PeerSeeds prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
- Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<PeerSeedProtos.PeerSeeds,PeerSeedProtos.PeerSeeds.Builder>
-
getDefaultInstance
public static PeerSeedProtos.PeerSeeds getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PeerSeedProtos.PeerSeeds> parser()
-
-