public static final class Protos.PeerAddress.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder> implements Protos.PeerAddressOrBuilder
wallet.PeerAddress
Modifier and Type | Method and Description |
---|---|
Protos.PeerAddress |
build() |
Protos.PeerAddress |
buildPartial() |
Protos.PeerAddress.Builder |
clear() |
Protos.PeerAddress.Builder |
clearIpAddress()
required bytes ip_address = 1; |
Protos.PeerAddress.Builder |
clearPort()
required uint32 port = 2; |
Protos.PeerAddress.Builder |
clearServices()
required uint64 services = 3; |
Protos.PeerAddress.Builder |
clone() |
Protos.PeerAddress |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getIpAddress()
required bytes ip_address = 1; |
int |
getPort()
required uint32 port = 2; |
long |
getServices()
required uint64 services = 3; |
boolean |
hasIpAddress()
required bytes ip_address = 1; |
boolean |
hasPort()
required uint32 port = 2; |
boolean |
hasServices()
required uint64 services = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.PeerAddress.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.PeerAddress.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.PeerAddress.Builder |
mergeFrom(Protos.PeerAddress other) |
Protos.PeerAddress.Builder |
setIpAddress(com.google.protobuf.ByteString value)
required bytes ip_address = 1; |
Protos.PeerAddress.Builder |
setPort(int value)
required uint32 port = 2; |
Protos.PeerAddress.Builder |
setServices(long value)
required uint64 services = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.PeerAddress build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.PeerAddress buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.PeerAddress.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder mergeFrom(Protos.PeerAddress other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.PeerAddress.Builder>
IOException
public boolean hasIpAddress()
required bytes ip_address = 1;
hasIpAddress
in interface Protos.PeerAddressOrBuilder
public com.google.protobuf.ByteString getIpAddress()
required bytes ip_address = 1;
getIpAddress
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setIpAddress(com.google.protobuf.ByteString value)
required bytes ip_address = 1;
public Protos.PeerAddress.Builder clearIpAddress()
required bytes ip_address = 1;
public boolean hasPort()
required uint32 port = 2;
hasPort
in interface Protos.PeerAddressOrBuilder
public int getPort()
required uint32 port = 2;
getPort
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setPort(int value)
required uint32 port = 2;
public Protos.PeerAddress.Builder clearPort()
required uint32 port = 2;
public boolean hasServices()
required uint64 services = 3;
hasServices
in interface Protos.PeerAddressOrBuilder
public long getServices()
required uint64 services = 3;
getServices
in interface Protos.PeerAddressOrBuilder
public Protos.PeerAddress.Builder setServices(long value)
required uint64 services = 3;
public Protos.PeerAddress.Builder clearServices()
required uint64 services = 3;
Copyright © 2016. All rights reserved.