Package io.dingodb.error
Interface ErrorOuterClass.ErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ErrorOuterClass.Error,ErrorOuterClass.Error.Builder
- Enclosing class:
- ErrorOuterClass
public static interface ErrorOuterClass.ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dingodb.pb.error.Errno errcode = 1;int.dingodb.pb.error.Errno errcode = 1;string errmsg = 2;com.google.protobuf.ByteStringstring errmsg = 2;.dingodb.pb.common.Location leader_location = 3;.dingodb.pb.common.Location leader_location = 3;longalong with leader_location.dingodb.pb.error.StoreRegionInfo store_region_info = 4;.dingodb.pb.error.StoreRegionInfo store_region_info = 4;boolean.dingodb.pb.common.Location leader_location = 3;boolean.dingodb.pb.error.StoreRegionInfo store_region_info = 4;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
-
getErrcodeValue
int getErrcodeValue().dingodb.pb.error.Errno errcode = 1;- Returns:
- The enum numeric value on the wire for errcode.
-
getErrcode
ErrorOuterClass.Errno getErrcode().dingodb.pb.error.Errno errcode = 1;- Returns:
- The errcode.
-
getErrmsg
String getErrmsg()string errmsg = 2;- Returns:
- The errmsg.
-
getErrmsgBytes
com.google.protobuf.ByteString getErrmsgBytes()string errmsg = 2;- Returns:
- The bytes for errmsg.
-
hasLeaderLocation
boolean hasLeaderLocation().dingodb.pb.common.Location leader_location = 3;- Returns:
- Whether the leaderLocation field is set.
-
getLeaderLocation
Common.Location getLeaderLocation().dingodb.pb.common.Location leader_location = 3;- Returns:
- The leaderLocation.
-
getLeaderLocationOrBuilder
Common.LocationOrBuilder getLeaderLocationOrBuilder().dingodb.pb.common.Location leader_location = 3; -
hasStoreRegionInfo
boolean hasStoreRegionInfo().dingodb.pb.error.StoreRegionInfo store_region_info = 4;- Returns:
- Whether the storeRegionInfo field is set.
-
getStoreRegionInfo
ErrorOuterClass.StoreRegionInfo getStoreRegionInfo().dingodb.pb.error.StoreRegionInfo store_region_info = 4;- Returns:
- The storeRegionInfo.
-
getStoreRegionInfoOrBuilder
ErrorOuterClass.StoreRegionInfoOrBuilder getStoreRegionInfoOrBuilder().dingodb.pb.error.StoreRegionInfo store_region_info = 4; -
getStoreId
long getStoreId()along with leader_location
int64 store_id = 5;- Returns:
- The storeId.
-