NAME

Google::Devtools::Build::V1::BuildStatus - Compiled Protocol Buffers messages for google/devtools/build/v1/build_status.proto

SYNOPSIS

use Google::Devtools::Build::V1::BuildStatus;

my $msg = Google::Devtools::Build::V1::BuildStatus::BuildStatus->new({
    result => $result,
    final_invocation_id => $final_invocation_id,
    build_tool_exit_code => $build_tool_exit_code,
    error_message => $error_message,
});

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

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

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

DESCRIPTION

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

MESSAGES

Google::Devtools::Build::V1::BuildStatus::BuildStatus

Status used for both invocation attempt and overall build completion.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Devtools::Build::V1::BuildStatus::Result)

    The end result.

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

    Type: String

    Final invocation ID of the build, if there was one. This field is only set on a status in BuildFinished event.

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

    Type: Message (Google::Protobuf::Wrappers::Int32Value)

    Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.

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

    Type: String

    Human-readable error message. Do not use for programmatic purposes.

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

    Type: Message (Google::Protobuf::Any::Any)

    Fine-grained diagnostic information to complement the status.

Enum: BuildStatus::Result

  • UNKNOWN_STATUS => 0

  • COMMAND_SUCCEEDED => 1

  • COMMAND_FAILED => 2

  • USER_ERROR => 3

  • SYSTEM_ERROR => 4

  • RESOURCE_EXHAUSTED => 5

  • INVOCATION_DEADLINE_EXCEEDED => 6

  • REQUEST_DEADLINE_EXCEEDED => 8

  • CANCELLED => 7

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Build::V1::BuildStatus::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.