Grafeas V1 Client - Class ResourceDescriptor (1.7.0)
1.7.0 (latest)
1.6.0
1.5.0
1.4.0
1.3.2
1.2.2
1.1.3
1.0.0
0.10.3
0.9.0
0.8.3
0.7.1
0.6.0
0.5.0
0.4.4
Reference documentation and code samples for the Grafeas V1 Client class ResourceDescriptor.
Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor
Namespace
Grafeas \ V1 \ InTotoSlsaProvenanceV1
Methods
__construct
getName
Generated from protobuf field string name = 1;
Returns
Type
Description
string
setName
Generated from protobuf field string name = 1;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUri
Generated from protobuf field string uri = 2;
Returns
Type
Description
string
setUri
Generated from protobuf field string uri = 2;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDigest
Generated from protobuf field map<string, string> digest = 3;
setDigest
Generated from protobuf field map<string, string> digest = 3;
Returns
Type
Description
$this
getContent
Generated from protobuf field bytes content = 4;
Returns
Type
Description
string
setContent
Generated from protobuf field bytes content = 4;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDownloadLocation
Generated from protobuf field string download_location = 5;
Returns
Type
Description
string
setDownloadLocation
Generated from protobuf field string download_location = 5;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Generated from protobuf field string media_type = 6;
Returns
Type
Description
string
Generated from protobuf field string media_type = 6;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAnnotations
Generated from protobuf field map<string, .google.protobuf.Value> annotations = 7;
setAnnotations
Generated from protobuf field map<string, .google.protobuf.Value> annotations = 7;
Returns
Type
Description
$this
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]