public static final class PeerSeedProtos.PeerSeedData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PeerSeedProtos.PeerSeedData,PeerSeedProtos.PeerSeedData.Builder> implements PeerSeedProtos.PeerSeedDataOrBuilder
org.bitcoin.crawler.PeerSeedData
Modifier and Type | Method and Description |
---|---|
PeerSeedProtos.PeerSeedData.Builder |
clearIpAddress()
required string ip_address = 1; |
PeerSeedProtos.PeerSeedData.Builder |
clearPort()
required uint32 port = 2; |
PeerSeedProtos.PeerSeedData.Builder |
clearServices()
required uint32 services = 3; |
java.lang.String |
getIpAddress()
required string ip_address = 1; |
com.google.protobuf.ByteString |
getIpAddressBytes()
required string ip_address = 1; |
int |
getPort()
required uint32 port = 2; |
int |
getServices()
required uint32 services = 3; |
boolean |
hasIpAddress()
required string ip_address = 1; |
boolean |
hasPort()
required uint32 port = 2; |
boolean |
hasServices()
required uint32 services = 3; |
PeerSeedProtos.PeerSeedData.Builder |
setIpAddress(java.lang.String value)
required string ip_address = 1; |
PeerSeedProtos.PeerSeedData.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
required string ip_address = 1; |
PeerSeedProtos.PeerSeedData.Builder |
setPort(int value)
required uint32 port = 2; |
PeerSeedProtos.PeerSeedData.Builder |
setServices(int value)
required uint32 services = 3; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasIpAddress()
required string ip_address = 1;
hasIpAddress
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public java.lang.String getIpAddress()
required string ip_address = 1;
getIpAddress
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public com.google.protobuf.ByteString getIpAddressBytes()
required string ip_address = 1;
getIpAddressBytes
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public PeerSeedProtos.PeerSeedData.Builder setIpAddress(java.lang.String value)
required string ip_address = 1;
value
- The ipAddress to set.public PeerSeedProtos.PeerSeedData.Builder clearIpAddress()
required string ip_address = 1;
public PeerSeedProtos.PeerSeedData.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
required string ip_address = 1;
value
- The bytes for ipAddress to set.public boolean hasPort()
required uint32 port = 2;
hasPort
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public int getPort()
required uint32 port = 2;
getPort
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public PeerSeedProtos.PeerSeedData.Builder setPort(int value)
required uint32 port = 2;
value
- The port to set.public PeerSeedProtos.PeerSeedData.Builder clearPort()
required uint32 port = 2;
public boolean hasServices()
required uint32 services = 3;
hasServices
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public int getServices()
required uint32 services = 3;
getServices
in interface PeerSeedProtos.PeerSeedDataOrBuilder
public PeerSeedProtos.PeerSeedData.Builder setServices(int value)
required uint32 services = 3;
value
- The services to set.public PeerSeedProtos.PeerSeedData.Builder clearServices()
required uint32 services = 3;