Package io.opentelemetry.proto.trace.v1
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 Modifier and Type Method Description Status.StatusCodegetCode()The status code.intgetCodeValue()The status code.StringgetMessage()A developer-facing human readable error message.com.google.protobuf.ByteStringgetMessageBytes()A developer-facing human readable error message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessage
String getMessage()
A developer-facing human readable error message.
string message = 2;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
A developer-facing human readable error message.
string message = 2;- Returns:
- The bytes for message.
-
getCodeValue
int getCodeValue()
The status code.
.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;- 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;- Returns:
- The code.
-
-