io.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccessOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
package io.opentelemetry.proto.collector.metrics.v1;
public interface ExportMetricsPartialSuccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess)
com.google.protobuf.MessageOrBuilder {
/**
*
* The number of rejected data points.
* A `rejected_<signal>` field holding a `0` value indicates that the
* request was fully accepted.
*
*
* int64 rejected_data_points = 1;
* @return The rejectedDataPoints.
*/
long getRejectedDataPoints();
/**
*
* 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();
}