Interface Common.LocationOrBuilder

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

public static interface Common.LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    string host = 1;
    com.google.protobuf.ByteString
    string host = 1;
    int
    corresponding braft peerId idx
    int
    int32 port = 2;

    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

    • getHost

      String getHost()
      string host = 1;
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
      string host = 1;
      Returns:
      The bytes for host.
    • getPort

      int getPort()
      int32 port = 2;
      Returns:
      The port.
    • getIndex

      int getIndex()
       corresponding braft peerId idx
       
      int32 index = 3;
      Returns:
      The index.