Interface ExportLogsServiceResponseOrBuilder

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

    public interface ExportLogsServiceResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ExportLogsPartialSuccess getPartialSuccess()
      The details of a partially successful export request.
      ExportLogsPartialSuccessOrBuilder getPartialSuccessOrBuilder()
      The details of a partially successful export request.
      boolean hasPartialSuccess()
      The details of a partially successful export request.
      • 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 Detail

      • hasPartialSuccess

        boolean hasPartialSuccess()
         The details of a partially successful export request.
        
         If the request is only partially accepted
         (i.e. when the server accepts only parts of the data and rejects the rest)
         the server MUST initialize the `partial_success` field and MUST
         set the `rejected_<signal>` with the number of items it rejected.
        
         Servers MAY also make use of the `partial_success` field to convey
         warnings/suggestions to senders even when the request was fully accepted.
         In such cases, the `rejected_<signal>` MUST have a value of `0` and
         the `error_message` MUST be non-empty.
        
         A `partial_success` message with an empty value (rejected_<signal> = 0 and
         `error_message` = "") is equivalent to it not being set/present. Senders
         SHOULD interpret it the same way as in the full success case.
         
        .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;
        Returns:
        Whether the partialSuccess field is set.
      • getPartialSuccess

        ExportLogsPartialSuccess getPartialSuccess()
         The details of a partially successful export request.
        
         If the request is only partially accepted
         (i.e. when the server accepts only parts of the data and rejects the rest)
         the server MUST initialize the `partial_success` field and MUST
         set the `rejected_<signal>` with the number of items it rejected.
        
         Servers MAY also make use of the `partial_success` field to convey
         warnings/suggestions to senders even when the request was fully accepted.
         In such cases, the `rejected_<signal>` MUST have a value of `0` and
         the `error_message` MUST be non-empty.
        
         A `partial_success` message with an empty value (rejected_<signal> = 0 and
         `error_message` = "") is equivalent to it not being set/present. Senders
         SHOULD interpret it the same way as in the full success case.
         
        .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;
        Returns:
        The partialSuccess.
      • getPartialSuccessOrBuilder

        ExportLogsPartialSuccessOrBuilder getPartialSuccessOrBuilder()
         The details of a partially successful export request.
        
         If the request is only partially accepted
         (i.e. when the server accepts only parts of the data and rejects the rest)
         the server MUST initialize the `partial_success` field and MUST
         set the `rejected_<signal>` with the number of items it rejected.
        
         Servers MAY also make use of the `partial_success` field to convey
         warnings/suggestions to senders even when the request was fully accepted.
         In such cases, the `rejected_<signal>` MUST have a value of `0` and
         the `error_message` MUST be non-empty.
        
         A `partial_success` message with an empty value (rejected_<signal> = 0 and
         `error_message` = "") is equivalent to it not being set/present. Senders
         SHOULD interpret it the same way as in the full success case.
         
        .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;