Grafeas V1 Client - Class FileHashes (1.1.2)

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

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ file_hash array<Hash>

Required. Collection of file hashes.

getFileHash

Required. Collection of file hashes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFileHash

Required. Collection of file hashes.

Parameter
Name Description
var array<Hash>
Returns
Type Description
$this