[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 Client - Class PackageNote (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.PackageNote)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.PackageNote)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.PackageNote)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.PackageNote)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.PackageNote)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.PackageNote)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.PackageNote)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.PackageNote)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.PackageNote)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.PackageNote)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.PackageNote) \nReference documentation and code samples for the Grafeas V1 Client class PackageNote.\n\nPackageNote represents a particular package version.\n\nGenerated from protobuf message `grafeas.v1.PackageNote`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe name of the package.\n\n### setName\n\nThe name of the package.\n\n### getDistribution\n\nDeprecated.\n\nThe various channels by which a package is distributed.\n\n### setDistribution\n\nDeprecated.\n\nThe various channels by which a package is distributed.\n\n### getPackageType\n\nThe type of package; whether native or non native (e.g., ruby gems,\nnode.js packages, etc.).\n\n### setPackageType\n\nThe type of package; whether native or non native (e.g., ruby gems,\nnode.js packages, etc.).\n\n### getCpeUri\n\nThe cpe_uri in [CPE format](https://cpe.mitre.org/specification/)\ndenoting the package manager version distributing a package.\n\nThe cpe_uri will be blank for language packages.\n\n### setCpeUri\n\nThe cpe_uri in [CPE format](https://cpe.mitre.org/specification/)\ndenoting the package manager version distributing a package.\n\nThe cpe_uri will be blank for language packages.\n\n### getArchitecture\n\nThe CPU architecture for which packages in this distribution channel were\nbuilt. Architecture will be blank for language packages.\n\n### setArchitecture\n\nThe CPU architecture for which packages in this distribution channel were\nbuilt. Architecture will be blank for language packages.\n\n### getVersion\n\nThe version of the package.\n\n### hasVersion\n\n### clearVersion\n\n### setVersion\n\nThe version of the package.\n\n### getMaintainer\n\nA freeform text denoting the maintainer of this package.\n\n### setMaintainer\n\nA freeform text denoting the maintainer of this package.\n\n### getUrl\n\nThe homepage for this package.\n\n### setUrl\n\nThe homepage for this package.\n\n### getDescription\n\nThe description of this package.\n\n### setDescription\n\nThe description of this package.\n\n### getLicense\n\nLicenses that have been declared by the authors of the package.\n\n### hasLicense\n\n### clearLicense\n\n### setLicense\n\nLicenses that have been declared by the authors of the package.\n\n### getDigest\n\nHash value, typically a file digest, that allows unique\nidentification a specific package.\n\n### setDigest\n\nHash value, typically a file digest, that allows unique\nidentification a specific package."]]