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 type
org.bitcoin.crawler.PeerSeeds
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
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 Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
memoizedSerializedSize, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static PeerSeedProtos.PeerSeeds
getNet()
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;
getSeedOrBuilder
(int index) repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
List<? extends PeerSeedProtos.PeerSeedDataOrBuilder>
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
long
seconds since UNIX epochboolean
hasNet()
required string net = 3;
boolean
seconds since UNIX epochnewBuilder
(PeerSeedProtos.PeerSeeds prototype) static PeerSeedProtos.PeerSeeds
parseDelimitedFrom
(InputStream input) static PeerSeedProtos.PeerSeeds
parseDelimitedFrom
(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
(InputStream input) static PeerSeedProtos.PeerSeeds
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PeerSeedProtos.PeerSeeds
parseFrom
(ByteBuffer data) static PeerSeedProtos.PeerSeeds
parseFrom
(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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
SEED_FIELD_NUMBER
public static final int SEED_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
NET_FIELD_NUMBER
public static final int NET_FIELD_NUMBER- See Also:
-
-
Method Details
-
getSeedList
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- Specified by:
getSeedList
in interfacePeerSeedProtos.PeerSeedsOrBuilder
-
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
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- Specified by:
getSeed
in interfacePeerSeedProtos.PeerSeedsOrBuilder
-
getSeedOrBuilder
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
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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(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
- Throws:
IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PeerSeedProtos.PeerSeeds parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PeerSeedProtos.PeerSeeds parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<PeerSeedProtos.PeerSeeds,
PeerSeedProtos.PeerSeeds.Builder>
-
getDefaultInstance
-
parser
-