Interface StatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Status, Status.Builder

@Generated public interface StatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The status code.
    int
    The status code.
    A developer-facing human readable error message.
    com.google.protobuf.ByteString
    A developer-facing human readable error message.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       The status code.
       
      .opentelemetry.proto.trace.v1.Status.StatusCode code = 3;
      Returns:
      The code.