Package io.milvus.grpc
Interface StatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Status,Status.Builder
public interface StatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsExtraInfo(String key)map<string, string> extra_info = 6;intgetCode()int32 code = 3;StringgetDetail()string detail = 5;com.google.protobuf.ByteStringgetDetailBytes()string detail = 5;ErrorCodegetErrorCode()Deprecated.milvus.proto.common.Status.error_code is deprecated.intgetErrorCodeValue()Deprecated.milvus.proto.common.Status.error_code is deprecated.Map<String,String>getExtraInfo()Deprecated.intgetExtraInfoCount()map<string, string> extra_info = 6;Map<String,String>getExtraInfoMap()map<string, string> extra_info = 6;StringgetExtraInfoOrDefault(String key, String defaultValue)map<string, string> extra_info = 6;StringgetExtraInfoOrThrow(String key)map<string, string> extra_info = 6;StringgetReason()string reason = 2;com.google.protobuf.ByteStringgetReasonBytes()string reason = 2;booleangetRetriable()bool retriable = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getErrorCodeValue
@Deprecated int getErrorCodeValue()
Deprecated.milvus.proto.common.Status.error_code is deprecated. See common.proto;l=105.milvus.proto.common.ErrorCode error_code = 1 [deprecated = true];- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
@Deprecated ErrorCode getErrorCode()
Deprecated.milvus.proto.common.Status.error_code is deprecated. See common.proto;l=105.milvus.proto.common.ErrorCode error_code = 1 [deprecated = true];- Returns:
- The errorCode.
-
getReason
String getReason()
string reason = 2;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()
string reason = 2;- Returns:
- The bytes for reason.
-
getCode
int getCode()
int32 code = 3;- Returns:
- The code.
-
getRetriable
boolean getRetriable()
bool retriable = 4;- Returns:
- The retriable.
-
getDetail
String getDetail()
string detail = 5;- Returns:
- The detail.
-
getDetailBytes
com.google.protobuf.ByteString getDetailBytes()
string detail = 5;- Returns:
- The bytes for detail.
-
getExtraInfoCount
int getExtraInfoCount()
map<string, string> extra_info = 6;
-
containsExtraInfo
boolean containsExtraInfo(String key)
map<string, string> extra_info = 6;
-
getExtraInfo
@Deprecated Map<String,String> getExtraInfo()
Deprecated.UsegetExtraInfoMap()instead.
-
getExtraInfoOrDefault
String getExtraInfoOrDefault(String key, String defaultValue)
map<string, string> extra_info = 6;
-
-