Package org.bitcoin.crawler
Class PeerSeedProtos.SignedPeerSeeds.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<PeerSeedProtos.SignedPeerSeeds,PeerSeedProtos.SignedPeerSeeds.Builder>
org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,PeerSeedProtos.SignedPeerSeedsOrBuilder
- Enclosing class:
- PeerSeedProtos.SignedPeerSeeds
public static final class PeerSeedProtos.SignedPeerSeeds.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<PeerSeedProtos.SignedPeerSeeds,PeerSeedProtos.SignedPeerSeeds.Builder>
implements PeerSeedProtos.SignedPeerSeedsOrBuilder
Protobuf type
org.bitcoin.crawler.SignedPeerSeeds
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance, isBuilt
-
Method Summary
Modifier and TypeMethodDescriptionrequired bytes peer_seeds = 1;
required bytes pubkey = 3;
required bytes signature = 2;
com.google.protobuf.ByteString
required bytes peer_seeds = 1;
com.google.protobuf.ByteString
required bytes pubkey = 3;
com.google.protobuf.ByteString
required bytes signature = 2;
boolean
required bytes peer_seeds = 1;
boolean
required bytes pubkey = 3;
boolean
required bytes signature = 2;
setPeerSeeds
(com.google.protobuf.ByteString value) required bytes peer_seeds = 1;
setPubkey
(com.google.protobuf.ByteString value) required bytes pubkey = 3;
setSignature
(com.google.protobuf.ByteString value) required bytes signature = 2;
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasPeerSeeds
public boolean hasPeerSeeds()required bytes peer_seeds = 1;
- Specified by:
hasPeerSeeds
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- Whether the peerSeeds field is set.
-
getPeerSeeds
public com.google.protobuf.ByteString getPeerSeeds()required bytes peer_seeds = 1;
- Specified by:
getPeerSeeds
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- The peerSeeds.
-
setPeerSeeds
required bytes peer_seeds = 1;
- Parameters:
value
- The peerSeeds to set.- Returns:
- This builder for chaining.
-
clearPeerSeeds
required bytes peer_seeds = 1;
- Returns:
- This builder for chaining.
-
hasSignature
public boolean hasSignature()required bytes signature = 2;
- Specified by:
hasSignature
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- Whether the signature field is set.
-
getSignature
public com.google.protobuf.ByteString getSignature()required bytes signature = 2;
- Specified by:
getSignature
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- The signature.
-
setSignature
required bytes signature = 2;
- Parameters:
value
- The signature to set.- Returns:
- This builder for chaining.
-
clearSignature
required bytes signature = 2;
- Returns:
- This builder for chaining.
-
hasPubkey
public boolean hasPubkey()required bytes pubkey = 3;
- Specified by:
hasPubkey
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- Whether the pubkey field is set.
-
getPubkey
public com.google.protobuf.ByteString getPubkey()required bytes pubkey = 3;
- Specified by:
getPubkey
in interfacePeerSeedProtos.SignedPeerSeedsOrBuilder
- Returns:
- The pubkey.
-
setPubkey
required bytes pubkey = 3;
- Parameters:
value
- The pubkey to set.- Returns:
- This builder for chaining.
-
clearPubkey
required bytes pubkey = 3;
- Returns:
- This builder for chaining.
-