Service Client: Google::Devtools::Resultstore::V2::ResultstoreFileDownload::ResultStoreFileDownloadClient

Client stub representing the remote ResultStoreFileDownload gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to devtools.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Devtools::Resultstore::V2::ResultstoreFileDownload - Compiled Protocol Buffers messages for google/devtools/resultstore/v2/resultstore_file_download.proto

SYNOPSIS

use Google::Devtools::Resultstore::V2::ResultstoreFileDownload;

my $msg = Google::Devtools::Resultstore::V2::ResultstoreFileDownload::GetFileRequest->new({
    uri => $uri,
    read_offset => $read_offset,
    read_limit => $read_limit,
    archive_entry => $archive_entry,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Resultstore::V2::ResultstoreFileDownload::GetFileRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/resultstore_file_download.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::ResultstoreFileDownload::GetFileRequest

Request object for GetFile

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    This corresponds to the uri field in the File message: for an obfuscated File.uri like CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ, the value here should be files/CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ

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

    Type: Int64

    The offset for the first byte to return in the read, relative to the start of the resource.

    A `read_offset` that is negative or greater than the size of the resource will cause an `OUT_OF_RANGE` error.

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

    Type: Int64

    The maximum number of `data` bytes the server is allowed to return in the sum of all `ReadResponse` messages. A `read_limit` of zero indicates that there is no limit, and a negative `read_limit` will cause an error.

    If the stream returns fewer bytes than allowed by the `read_limit` and no error occurred, the stream includes all data from the `read_offset` to the end of the resource.

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

    Type: String

    Only applies if the referenced file is a known archive type (ar, jar, zip) The above read_offset and read_limit fields are applied to this entry. If this file is not an archive, INVALID_ARGUMENT is thrown.

Google::Devtools::Resultstore::V2::ResultstoreFileDownload::GetFileResponse

Response object for GetFile

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    The file data.

Google::Devtools::Resultstore::V2::ResultstoreFileDownload::GetFileTailRequest

Request object for GetFileTail

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    This corresponds to the uri field in the File message: for an obfuscated File.uri like CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ, the value here should be files/CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ

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

    Type: Int64

    The offset for the first byte to return in the read, relative to the end of the resource.

    A `read_offset` that is negative or greater than the size of the resource will cause an `OUT_OF_RANGE` error.

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

    Type: Int64

    The maximum number of `data` bytes the server is allowed to return. The server will return bytes starting from the tail of the file.

    A `read_limit` of zero indicates that there is no limit, and a negative `read_limit` will cause an error.

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

    Type: String

    Only applies if the referenced file is a known archive type (ar, jar, zip) The above read_offset and read_limit fields are applied to this entry. If this file is not an archive, INVALID_ARGUMENT is thrown.

Google::Devtools::Resultstore::V2::ResultstoreFileDownload::GetFileTailResponse

Response object for GetFileTail

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    The file data, encoded with UTF-8.

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Resultstore::V2::ResultstoreFileDownload::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.