io.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccessOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/collector/trace/v1/trace_service.proto
package io.opentelemetry.proto.collector.trace.v1;
public interface ExportTracePartialSuccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess)
com.google.protobuf.MessageOrBuilder {
/**
*
* The number of rejected spans.
* A `rejected_<signal>` field holding a `0` value indicates that the
* request was fully accepted.
*
*
* int64 rejected_spans = 1;
* @return The rejectedSpans.
*/
long getRejectedSpans();
/**
*
* A developer-facing human-readable message in English. It should be used
* either to explain why the server rejected parts of the data during a partial
* success or to convey warnings/suggestions during a full success. The message
* should offer guidance on how users can address such issues.
* error_message is an optional field. An error_message with an empty value
* is equivalent to it not being set.
*
*
* string error_message = 2;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
*
* A developer-facing human-readable message in English. It should be used
* either to explain why the server rejected parts of the data during a partial
* success or to convey warnings/suggestions during a full success. The message
* should offer guidance on how users can address such issues.
* error_message is an optional field. An error_message with an empty value
* is equivalent to it not being set.
*
*
* string error_message = 2;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}