Interface Protos.PeerAddressOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Protos.PeerAddress, Protos.PeerAddress.Builder
Enclosing class:
Protos

public static interface Protos.PeerAddressOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    required bytes ip_address = 1;
    int
    required uint32 port = 2;
    long
    required uint64 services = 3;
    boolean
    required bytes ip_address = 1;
    boolean
    required uint32 port = 2;
    boolean
    required uint64 services = 3;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasIpAddress

      boolean hasIpAddress()
      required bytes ip_address = 1;
      Returns:
      Whether the ipAddress field is set.
    • getIpAddress

      com.google.protobuf.ByteString getIpAddress()
      required bytes ip_address = 1;
      Returns:
      The ipAddress.
    • hasPort

      boolean hasPort()
      required uint32 port = 2;
      Returns:
      Whether the port field is set.
    • getPort

      int getPort()
      required uint32 port = 2;
      Returns:
      The port.
    • hasServices

      boolean hasServices()
      required uint64 services = 3;
      Returns:
      Whether the services field is set.
    • getServices

      long getServices()
      required uint64 services = 3;
      Returns:
      The services.