Interface Common.MDSOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    int64 id = 1;
    long
    uint64 last_online_time_ms = 11;
    .dingodb.pb.common.Location location = 2;
    .dingodb.pb.common.Location location = 2;
    .dingodb.pb.common.MDS.OnlineState online_state = 3;
    int
    .dingodb.pb.common.MDS.OnlineState online_state = 3;
    long
    uint64 register_time_ms = 10;
    .dingodb.pb.common.MDS.State state = 4;
    int
    .dingodb.pb.common.MDS.State state = 4;
    boolean
    .dingodb.pb.common.Location location = 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

    • getId

      long getId()
      int64 id = 1;
      Returns:
      The id.
    • hasLocation

      boolean hasLocation()
      .dingodb.pb.common.Location location = 2;
      Returns:
      Whether the location field is set.
    • getLocation

      Common.Location getLocation()
      .dingodb.pb.common.Location location = 2;
      Returns:
      The location.
    • getLocationOrBuilder

      Common.LocationOrBuilder getLocationOrBuilder()
      .dingodb.pb.common.Location location = 2;
    • getOnlineStateValue

      int getOnlineStateValue()
      .dingodb.pb.common.MDS.OnlineState online_state = 3;
      Returns:
      The enum numeric value on the wire for onlineState.
    • getOnlineState

      Common.MDS.OnlineState getOnlineState()
      .dingodb.pb.common.MDS.OnlineState online_state = 3;
      Returns:
      The onlineState.
    • getStateValue

      int getStateValue()
      .dingodb.pb.common.MDS.State state = 4;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Common.MDS.State getState()
      .dingodb.pb.common.MDS.State state = 4;
      Returns:
      The state.
    • getRegisterTimeMs

      long getRegisterTimeMs()
      uint64 register_time_ms = 10;
      Returns:
      The registerTimeMs.
    • getLastOnlineTimeMs

      long getLastOnlineTimeMs()
      uint64 last_online_time_ms = 11;
      Returns:
      The lastOnlineTimeMs.