Interface RaftService.AddPeerToKnownMessageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RaftService.AddPeerToKnownMessage, RaftService.AddPeerToKnownMessage.Builder
Enclosing class:
RaftService

public static interface RaftService.AddPeerToKnownMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    uint64 id = 3;
    int
    optional uint32 port = 2;
    optional string uri = 1;
    com.google.protobuf.ByteString
    optional string uri = 1;
    boolean
    optional uint32 port = 2;
    boolean
    optional string uri = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasUri

      boolean hasUri()
      optional string uri = 1;
      Returns:
      Whether the uri field is set.
    • getUri

      String getUri()
      optional string uri = 1;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
      optional string uri = 1;
      Returns:
      The bytes for uri.
    • hasPort

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

      int getPort()
      optional uint32 port = 2;
      Returns:
      The port.
    • getId

      long getId()
      uint64 id = 3;
      Returns:
      The id.