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
,java.lang.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 typeorg.bitcoin.crawler.SignedPeerSeeds
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PeerSeedProtos.SignedPeerSeeds.Builder
clearPeerSeeds()
required bytes peer_seeds = 1;
PeerSeedProtos.SignedPeerSeeds.Builder
clearPubkey()
required bytes pubkey = 3;
PeerSeedProtos.SignedPeerSeeds.Builder
clearSignature()
required bytes signature = 2;
com.google.protobuf.ByteString
getPeerSeeds()
required bytes peer_seeds = 1;
com.google.protobuf.ByteString
getPubkey()
required bytes pubkey = 3;
com.google.protobuf.ByteString
getSignature()
required bytes signature = 2;
boolean
hasPeerSeeds()
required bytes peer_seeds = 1;
boolean
hasPubkey()
required bytes pubkey = 3;
boolean
hasSignature()
required bytes signature = 2;
PeerSeedProtos.SignedPeerSeeds.Builder
setPeerSeeds(com.google.protobuf.ByteString value)
required bytes peer_seeds = 1;
PeerSeedProtos.SignedPeerSeeds.Builder
setPubkey(com.google.protobuf.ByteString value)
required bytes pubkey = 3;
PeerSeedProtos.SignedPeerSeeds.Builder
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
-
-
-
-
Method Detail
-
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
public PeerSeedProtos.SignedPeerSeeds.Builder setPeerSeeds(com.google.protobuf.ByteString value)
required bytes peer_seeds = 1;
- Parameters:
value
- The peerSeeds to set.- Returns:
- This builder for chaining.
-
clearPeerSeeds
public PeerSeedProtos.SignedPeerSeeds.Builder 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
public PeerSeedProtos.SignedPeerSeeds.Builder setSignature(com.google.protobuf.ByteString value)
required bytes signature = 2;
- Parameters:
value
- The signature to set.- Returns:
- This builder for chaining.
-
clearSignature
public PeerSeedProtos.SignedPeerSeeds.Builder 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
public PeerSeedProtos.SignedPeerSeeds.Builder setPubkey(com.google.protobuf.ByteString value)
required bytes pubkey = 3;
- Parameters:
value
- The pubkey to set.- Returns:
- This builder for chaining.
-
clearPubkey
public PeerSeedProtos.SignedPeerSeeds.Builder clearPubkey()
required bytes pubkey = 3;
- Returns:
- This builder for chaining.
-
-