Class Protos.PeerAddress.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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;
      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;
      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;
      • 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 Detail

      • setIpAddress

        public Protos.PeerAddress.Builder setIpAddress​(com.google.protobuf.ByteString value)
        required bytes ip_address = 1;
        Parameters:
        value - The ipAddress to set.
        Returns:
        This builder for chaining.
      • clearIpAddress

        public Protos.PeerAddress.Builder clearIpAddress()
        required bytes ip_address = 1;
        Returns:
        This builder for chaining.
      • setPort

        public Protos.PeerAddress.Builder setPort​(int value)
        required uint32 port = 2;
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • setServices

        public Protos.PeerAddress.Builder setServices​(long value)
        required uint64 services = 3;
        Parameters:
        value - The services to set.
        Returns:
        This builder for chaining.
      • clearServices

        public Protos.PeerAddress.Builder clearServices()
        required uint64 services = 3;
        Returns:
        This builder for chaining.