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 Deprecated Methods Modifier and Type Method Description Status.StatusCodegetCode()The status code.intgetCodeValue()The status code.Status.DeprecatedStatusCodegetDeprecatedCode()Deprecated.intgetDeprecatedCodeValue()Deprecated.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
-
getDeprecatedCodeValue
@Deprecated int getDeprecatedCodeValue()
Deprecated.The deprecated status code. This is an optional field. This field is deprecated and is replaced by the `code` field below. See backward compatibility notes below. According to our stability guarantees this field will be removed in 12 months, on Oct 22, 2021. All usage of old senders and receivers that do not understand the `code` field MUST be phased out by then.
.opentelemetry.proto.trace.v1.Status.DeprecatedStatusCode deprecated_code = 1 [deprecated = true];
-
getDeprecatedCode
@Deprecated Status.DeprecatedStatusCode getDeprecatedCode()
Deprecated.The deprecated status code. This is an optional field. This field is deprecated and is replaced by the `code` field below. See backward compatibility notes below. According to our stability guarantees this field will be removed in 12 months, on Oct 22, 2021. All usage of old senders and receivers that do not understand the `code` field MUST be phased out by then.
.opentelemetry.proto.trace.v1.Status.DeprecatedStatusCode deprecated_code = 1 [deprecated = true];
-
getMessage
String getMessage()
A developer-facing human readable error message.
string message = 2;
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
A developer-facing human readable error message.
string message = 2;
-
getCodeValue
int getCodeValue()
The status code.
.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;
-
getCode
Status.StatusCode getCode()
The status code.
.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;
-
-