ExportLogsPartialSuccess
extends Message
in package
Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess</code>
Table of Contents
Properties
- $error_message : mixed
- 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.
- $rejected_log_records : mixed
- The number of rejected log records.
Methods
- __construct() : mixed
- Constructor.
- getErrorMessage() : string
- 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.
- getRejectedLogRecords() : int|string
- The number of rejected log records.
- setErrorMessage() : $this
- 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.
- setRejectedLogRecords() : $this
- The number of rejected log records.
Properties
$error_message
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.
protected
mixed
$error_message
= ''
error_message is an optional field. An error_message with an empty value is equivalent to it not being set.
Generated from protobuf field string error_message = 2;
$rejected_log_records
The number of rejected log records.
protected
mixed
$rejected_log_records
= 0
A rejected_<signal>
field holding a 0
value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_log_records = 1;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type int|string $rejected_log_records The number of rejected log records. A `rejected_<signal>` field holding a `0` value indicates that the request was fully accepted. @type string $error_message 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.
}
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.
public
getErrorMessage() : string
error_message is an optional field. An error_message with an empty value is equivalent to it not being set.
Generated from protobuf field string error_message = 2;
Return values
stringgetRejectedLogRecords()
The number of rejected log records.
public
getRejectedLogRecords() : int|string
A rejected_<signal>
field holding a 0
value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_log_records = 1;
Return values
int|stringsetErrorMessage()
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.
public
setErrorMessage(string $var) : $this
error_message is an optional field. An error_message with an empty value is equivalent to it not being set.
Generated from protobuf field string error_message = 2;
Parameters
- $var : string
Return values
$thissetRejectedLogRecords()
The number of rejected log records.
public
setRejectedLogRecords(int|string $var) : $this
A rejected_<signal>
field holding a 0
value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_log_records = 1;
Parameters
- $var : int|string