proto/profile.js
function Sample(properties) {
                this.locationId = [];
                this.value = [];
                this.label = [];
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function Sample(properties) {
                this.locationId = [];
                this.value = [];
                this.label = [];
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function Sample ( properties ) { this . locationId = [ ] ; this . value = [ ] ; this . label = [ ] ; if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a Sample.
@memberof perftools.profiles
@interface ISample
@property {Array.<number|Long>} [locationId] Sample locationId
@property {Array.<number|Long>} [value] Sample value
@property {Array.<perftools.profiles.ILabel>} [label] Sample label
 
Constructs a new Sample.
@memberof perftools.profiles
@classdesc Represents a Sample.
@constructor
@param {perftools.profiles.ISample=} [properties] Properties to set
Properties of a Sample .