NAME

Grafeas::V1::Build - Compiled Protocol Buffers messages for grafeas/v1/build.proto

SYNOPSIS

use Grafeas::V1::Build;

my $msg = Grafeas::V1::Build::BuildNote->new({
    builder_version => $builder_version,
});

# Read or update a field
my $val = $msg->builder_version();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Grafeas::V1::Build::BuildNote->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/build.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Grafeas::V1::Build::BuildNote

Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.

Inherits from Protobuf::Message.

Accessors

  • $msg->builder_version() / $msg->builder_version($value)

    Type: String

    Required. Immutable. Version of the builder which produced this build.

Grafeas::V1::Build::BuildOccurrence

Details of a build occurrence.

Inherits from Protobuf::Message.

Accessors

  • $msg->provenance() / $msg->provenance($value)

    Type: Message (Grafeas::V1::Provenance::BuildProvenance)

    The actual provenance for the build.

  • $msg->provenance_bytes() / $msg->provenance_bytes($value)

    Type: String

    Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.

    The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.

  • $msg->intoto_provenance() / $msg->intoto_provenance($value)

    Type: Message (Grafeas::V1::IntotoProvenance::InTotoProvenance)

    Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.

  • $msg->intoto_statement() / $msg->intoto_statement($value)

    Type: Message (Grafeas::V1::IntotoStatement::InTotoStatement)

    In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.

  • $msg->in_toto_slsa_provenance_v1() / $msg->in_toto_slsa_provenance_v1($value)

    Type: Message (Grafeas::V1::IntotoStatement::InTotoSlsaProvenanceV1)

    In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.

SEE ALSO

Protobuf, Protobuf::Message, Grafeas::V1::Build::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.