io.opencensus.proto.trace.v1.StatusOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/trace/v1/trace.proto
package io.opencensus.proto.trace.v1;
public interface StatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.trace.v1.Status)
com.google.protobuf.MessageOrBuilder {
/**
*
* The status code. This is optional field. It is safe to assume 0 (OK)
* when not set.
*
*
* int32 code = 1;
* @return The code.
*/
int getCode();
/**
*
* A developer-facing error message, which should be in English.
*
*
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
*
* A developer-facing error message, which should be in English.
*
*
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}