Package io.dingodb.common
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
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-