Grafeas V1 Client - Class File (1.4.0)

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

Generated from protobuf message grafeas.v1.DiscoveryOccurrence.File

Namespace

Grafeas \ V1 \ DiscoveryOccurrence

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string
↳ digest array|Google\Protobuf\Internal\MapField

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

getDigest

Generated from protobuf field map<string, string> digest = 2;

Returns
Type Description
Google\Protobuf\Internal\MapField

setDigest

Generated from protobuf field map<string, string> digest = 2;

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this