ResourceProfiles
        
        extends Message
    
    
            
            in package
            
        
    
    
    
A collection of ScopeProfiles from a Resource.
Generated from protobuf message opentelemetry.proto.profiles.v1development.ResourceProfiles
Table of Contents
Properties
- $resource : mixed
- The resource for the profiles in this message.
- $schema_url : mixed
- The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
- $scope_profiles : mixed
- A list of ScopeProfiles that originate from a resource.
Methods
- __construct() : mixed
- Constructor.
- clearResource() : mixed
- getResource() : Resource|null
- The resource for the profiles in this message.
- getSchemaUrl() : string
- The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
- getScopeProfiles() : RepeatedField
- A list of ScopeProfiles that originate from a resource.
- hasResource() : mixed
- setResource() : $this
- The resource for the profiles in this message.
- setSchemaUrl() : $this
- The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
- setScopeProfiles() : $this
- A list of ScopeProfiles that originate from a resource.
Properties
$resource
The resource for the profiles in this message.
        protected
            mixed
    $resource
     = null
        If this field is not set then no resource info is known.
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1;
$schema_url
The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
        protected
            mixed
    $schema_url
     = ''
        Generated from protobuf field string schema_url = 3;
$scope_profiles
A list of ScopeProfiles that originate from a resource.
        private
            mixed
    $scope_profiles
    
        Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2;
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 The resource for the profiles in this message. If this field is not set then no resource info is known. @type \Opentelemetry\Proto\Profiles\V1development\ScopeProfiles[]|\Google\Protobuf\Internal\RepeatedField $scope_profiles A list of ScopeProfiles that originate from a resource. @type string $schema_url The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.} 
clearResource()
    public
                    clearResource() : mixed
    getResource()
The resource for the profiles in this message.
    public
                    getResource() : Resource|null
    If this field is not set then no resource info is known.
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1;
Return values
Resource|nullgetSchemaUrl()
The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
    public
                    getSchemaUrl() : string
    Generated from protobuf field string schema_url = 3;
Return values
stringgetScopeProfiles()
A list of ScopeProfiles that originate from a resource.
    public
                    getScopeProfiles() : RepeatedField
    Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2;
Return values
RepeatedFieldhasResource()
    public
                    hasResource() : mixed
    setResource()
The resource for the profiles in this message.
    public
                    setResource(Resource $var) : $this
    If this field is not set then no resource info is known.
Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1;
Parameters
- $var : Resource
Return values
$thissetSchemaUrl()
The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_profiles" field which have their own schema_url field.
    public
                    setSchemaUrl(string $var) : $this
    Generated from protobuf field string schema_url = 3;
Parameters
- $var : string
Return values
$thissetScopeProfiles()
A list of ScopeProfiles that originate from a resource.
    public
                    setScopeProfiles(array<string|int, ScopeProfiles>|RepeatedField $var) : $this
    Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2;
Parameters
- $var : array<string|int, ScopeProfiles>|RepeatedField