Grafeas V1 Client - Class FileHashes (0.4.4)

Reference documentation and code samples for the Grafeas V1 Client class FileHashes.

Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.

Generated from protobuf message grafeas.v1.FileHashes

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_hash array<Grafeas\V1\Hash>

Required. Collection of file hashes.

getFileHash

Required. Collection of file hashes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFileHash

Required. Collection of file hashes.

Parameter
NameDescription
var array<Grafeas\V1\Hash>
Returns
TypeDescription
$this