Package io.opentelemetry.proto.trace.v1
Interface StatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Status,Status.Builder
public interface StatusOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()The status code.intThe status code.A developer-facing human readable error message.com.google.protobuf.ByteStringA developer-facing human readable error message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMessage
String getMessage()A developer-facing human readable error message.
string message = 2 [json_name = "message"];- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()A developer-facing human readable error message.
string message = 2 [json_name = "message"];- Returns:
- The bytes for message.
-
getCodeValue
int getCodeValue()The status code.
.opentelemetry.proto.trace.v1.Status.StatusCode code = 3 [json_name = "code"];- Returns:
- The enum numeric value on the wire for code.
-
getCode
Status.StatusCode getCode()The status code.
.opentelemetry.proto.trace.v1.Status.StatusCode code = 3 [json_name = "code"];- Returns:
- The code.
-