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
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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-