NAME
Google::Devtools::Resultstore::V2::Target - Compiled Protocol Buffers messages for google/devtools/resultstore/v2/target.proto
SYNOPSIS
use Google::Devtools::Resultstore::V2::Target;
my $msg = Google::Devtools::Resultstore::V2::Target::Target->new({
name => $name,
id => $id,
status_attributes => $status_attributes,
timing => $timing,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Resultstore::V2::Target::Target->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/target.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::Resultstore::V2::Target::Target
Each Target represents data for a given target in a given Invocation. ConfiguredTarget and Action resources under each Target contain the bulk of the data.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target::Id)The resource ID components that identify the Target. They must match the resource name after proper encoding.
$msg->status_attributes()/$msg->status_attributes($value)Type:
Message(Google::Devtools::Resultstore::V2::Common::StatusAttributes)This is the aggregate status of the target. DEPRECATED - use ConfiguredTarget.status_attributes instead
$msg->timing()/$msg->timing($value)Type:
Message(Google::Devtools::Resultstore::V2::Common::Timing)When this target started and its duration.
$msg->target_attributes()/$msg->target_attributes($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::TargetAttributes)Attributes that apply to all targets.
$msg->test_attributes()/$msg->test_attributes($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::TestAttributes)Attributes that apply to all test actions under this target.
$msg->properties()/$msg->properties($value)Type:
Message(Google::Devtools::Resultstore::V2::Common::Property)Arbitrary name-value pairs. This is implemented as a multi-map. Multiple properties are allowed with the same key. Properties will be returned in lexicographical order by key.
$msg->files()/$msg->files($value)Type:
Message(Google::Devtools::Resultstore::V2::File::File)A list of file references for target level files. The file IDs must be unique within this list. Duplicate file IDs will result in an error. Files will be returned in lexicographical order by ID. Use this field to specify outputs not related to a configuration.
$msg->visible()/$msg->visible($value)Type:
BoolProvides a hint to clients as to whether to display the Target to users. If true then clients likely want to display the Target by default. Once set to true, this may not be set back to false.
Google::Devtools::Resultstore::V2::Target::TargetAttributes
Attributes that apply to all targets.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Devtools::Resultstore::V2::TargetType)If known, indicates the type of this target. In bazel this corresponds to the rule-suffix.
$msg->language()/$msg->language($value)Type:
Enum(Google::Devtools::Resultstore::V2::Language)If known, the main language of this target, e.g. java, cc, python, etc.
$msg->tags()/$msg->tags($value)Type:
StringThe tags attribute of the build rule. These should be short, descriptive words, and there should only be a few of them. This is implemented as a set. All tags will be unique. Any duplicate tags will be ignored. Tags will be returned in lexicographical order.
Google::Devtools::Resultstore::V2::Target::TestAttributes
Attributes that apply only to test actions under this target.
Inherits from Protobuf::Message.
Accessors
$msg->size()/$msg->size($value)Type:
Enum(Google::Devtools::Resultstore::V2::TestSize)Indicates how big the user indicated the test action was.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Resultstore::V2::Target::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.