MetricConfigRequest
extends Message
in package
Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigRequest</code>
Table of Contents
Properties
- $last_known_fingerprint : mixed
- Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
- $resource : mixed
- Required. The resource for which configuration should be returned.
Methods
- __construct() : mixed
- Constructor.
- clearResource() : mixed
- getLastKnownFingerprint() : string
- Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
- getResource() : Resource
- Required. The resource for which configuration should be returned.
- hasResource() : mixed
- setLastKnownFingerprint() : $this
- Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
- setResource() : $this
- Required. The resource for which configuration should be returned.
Properties
$last_known_fingerprint
Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
protected
mixed
$last_known_fingerprint
= ''
Generated from protobuf field bytes last_known_fingerprint = 2;
$resource
Required. The resource for which configuration should be returned.
protected
mixed
$resource
= null
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 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 \Opentelemetry\Proto\Resource\V1\Resource $resource Required. The resource for which configuration should be returned. @type string $last_known_fingerprint Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
}
clearResource()
public
clearResource() : mixed
getLastKnownFingerprint()
Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
public
getLastKnownFingerprint() : string
Generated from protobuf field bytes last_known_fingerprint = 2;
Return values
stringgetResource()
Required. The resource for which configuration should be returned.
public
getResource() : Resource
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1;
Return values
ResourcehasResource()
public
hasResource() : mixed
setLastKnownFingerprint()
Optional. The value of MetricConfigResponse.fingerprint for the last configuration that the caller received and successfully applied.
public
setLastKnownFingerprint(string $var) : $this
Generated from protobuf field bytes last_known_fingerprint = 2;
Parameters
- $var : string
Return values
$thissetResource()
Required. The resource for which configuration should be returned.
public
setResource(Resource $var) : $this
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1;
Parameters
- $var : Resource