ExportProfilesPartialSuccess
extends Message
in package
Generated from protobuf message <code>opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess</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_profiles : mixed
- The number of rejected profiles.
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.
- getRejectedProfiles() : int|string
- The number of rejected profiles.
- 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.
- setRejectedProfiles() : $this
- The number of rejected profiles.
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_profiles
The number of rejected profiles.
protected
mixed
$rejected_profiles
= 0
A rejected_<signal>
field holding a 0
value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_profiles = 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_profiles The number of rejected profiles. 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
stringgetRejectedProfiles()
The number of rejected profiles.
public
getRejectedProfiles() : int|string
A rejected_<signal>
field holding a 0
value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_profiles = 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
$thissetRejectedProfiles()
The number of rejected profiles.
public
setRejectedProfiles(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_profiles = 1;
Parameters
- $var : int|string