public static final class Protos.PeerAddress.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder> implements Protos.PeerAddressOrBuilder
wallet.PeerAddress
Modifier and Type | Method and Description |
---|---|
Protos.PeerAddress.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.PeerAddress |
build() |
Protos.PeerAddress |
buildPartial() |
Protos.PeerAddress.Builder |
clear() |
Protos.PeerAddress.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.PeerAddress.Builder |
clearIpAddress()
required bytes ip_address = 1; |
Protos.PeerAddress.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.PeerAddress.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.PeerAddress.Builder |
setServices(long value)
required uint64 services = 3; |
Protos.PeerAddress.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.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.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public Protos.PeerAddress.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>
java.io.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;
public final Protos.PeerAddress.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>
public final Protos.PeerAddress.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.PeerAddress.Builder>