package google.devtools.resultstore.v2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ResultStoreDownload

resultstore_download.proto:39

This is the interface used to download information from the ResultStore database. Most APIs require setting a response FieldMask via the 'fields' URL query parameter or the X-Goog-FieldMask HTTP/gRPC header.

service ResultStoreFileDownload

resultstore_file_download.proto:29

This API allows download of File messages referenced in ResultStore resources.

service ResultStoreUpload

resultstore_upload.proto:45

This is the interface used to upload information to the ResultStore database, to update that information as necessary, and to make it immutable at the end. This interface intentionally does not support user read-modify-write operations. They may corrupt data, and are too expensive. For the same reason, all upload RPCs will return no resource fields except name and ID. An uploader should hold as little state as possible in memory to avoid running out of memory.

message Action

action.proto:40

An action that happened as part of a configured target. This action could be a build, a test, or another type of action, as specified in action_type oneof. Each parent ConfiguredTarget resource should have at least one Action as its child resource before the invocation is finalized. For a simple build, at least one build action should be created to represent the build result, and at at least one test action should be created to represent the test result, if any.

Used as response type in: ResultStoreDownload.GetAction, ResultStoreUpload.CreateAction, ResultStoreUpload.MergeAction, ResultStoreUpload.UpdateAction

Used as field type in: CreateActionRequest, ListActionsResponse, MergeActionRequest, UpdateActionRequest, UploadRequest

message Action.Id

action.proto:42

The resource ID components that identify the Action.

Used in: Action

message ActionAttributes

action.proto:201

General attributes of an action

Used in: Action

message ActionCoverage

coverage.proto:99

Describes code coverage for a build or test Action. This is used to store baseline coverage for build Actions and test coverage for test Actions.

Used in: Action

message AggregateCoverage

coverage.proto:107

Describes aggregate code coverage for a collection of build or test Actions. A line or branch is covered if and only if it is covered in any of the build or test actions.

Used in: Invocation

message ArchiveEntry

file.proto:94

Information specific to an entry in an archive.

Used in: File

message BranchCoverage

coverage.proto:50

Describes branch coverage for a file

Used in: FileCoverage

message BranchCoverageSummary

coverage_summary.proto:40

Summary of branch coverage A branch may be: * not executed. Counted only in total. * executed but not taken. Appears in total and executed. * executed and taken. Appears in all three fields.

Used in: LanguageCoverageSummary

message BuildAction

action.proto:146

A build action, such as building a java library.

Used in: Action

message CommandLine

invocation.proto:127

The command and arguments that produced this Invocation.

Used in: WorkspaceInfo

message Configuration

configuration.proto:29

Represents a configuration within an Invocation associated with one or more ConfiguredTargets. It captures the environment and other settings that were used.

Used as response type in: ResultStoreDownload.GetConfiguration, ResultStoreUpload.CreateConfiguration, ResultStoreUpload.UpdateConfiguration

Used as field type in: CreateConfigurationRequest, ListConfigurationsResponse, UpdateConfigurationRequest, UploadRequest

message Configuration.Id

configuration.proto:31

The resource ID components that identify the Configuration.

Used in: Configuration

message ConfigurationAttributes

configuration.proto:67

Attributes that apply only to the configuration.

Used in: Configuration

message ConfiguredTarget

configured_target.proto:33

Each ConfiguredTarget represents data for a given configuration of a given target in a given Invocation. Every ConfiguredTarget should have at least one Action as a child resource before the invocation is finalized. Refer to the Action's documentation for more info on this.

Used as response type in: ResultStoreDownload.GetConfiguredTarget, ResultStoreUpload.CreateConfiguredTarget, ResultStoreUpload.MergeConfiguredTarget, ResultStoreUpload.UpdateConfiguredTarget

Used as field type in: CreateConfiguredTargetRequest, ListConfiguredTargetsResponse, MergeConfiguredTargetRequest, UpdateConfiguredTargetRequest, UploadRequest

message ConfiguredTarget.Id

configured_target.proto:35

The resource ID components that identify the ConfiguredTarget.

Used in: ConfiguredTarget, FinalizeConfiguredTargetResponse

message ConfiguredTestAttributes

configured_target.proto:79

Attributes that apply only to test actions under this configured target.

Used in: ConfiguredTarget

message Dependency

common.proto:59

Represents a dependency of a resource on another resource. This can be used to define a graph or a workflow paradigm through resources.

Used in: Action

enum ExecutionStrategy

action.proto:316

Indicates how/where this Action was executed.

Used in: ActionAttributes

message File

file.proto:27

The metadata for a file or an archive file entry.

Used in: Action, ConfiguredTarget, FileSet, Invocation, Target, TestCase, TestSuite

enum File.HashType

file.proto:29

If known, the hash function used to compute this digest.

Used in: File

message FileCoverage

coverage.proto:86

Describes code coverage for a particular file under test.

Used in: ActionCoverage, AggregateCoverage

message FileProcessingError

file_processing_error.proto:34

Stores an error reading or parsing a file during post-processing.

Used in: FileProcessingErrors

enum FileProcessingErrorType

file_processing_error.proto:43

Errors in file post-processing are categorized using this enum.

Used in: FileProcessingError

message FileProcessingErrors

file_processing_error.proto:25

Stores errors reading or parsing a file during post-processing.

Used in: Action, Invocation

message FileSet

file_set.proto:38

This resource represents a set of Files and other (nested) FileSets. A FileSet is a node in the graph, and the file_sets field represents the outgoing edges. A resource may reference various nodes in the graph to represent the transitive closure of all files from those nodes. The FileSets must form a directed acyclic graph. The Upload API is unable to enforce that the graph is acyclic at write time, and if cycles are written, it may cause issues at read time. A FileSet may be referenced by other resources in conjunction with Files. A File is preferred for something that can only be ever referenced by one resource, and a FileSet is preferred if it can be reference by multiple resources.

Used as response type in: ResultStoreDownload.GetFileSet, ResultStoreUpload.CreateFileSet, ResultStoreUpload.MergeFileSet, ResultStoreUpload.UpdateFileSet

Used as field type in: CreateFileSetRequest, ListFileSetsResponse, MergeFileSetRequest, TraverseFileSetsResponse, UpdateFileSetRequest, UploadRequest

message FileSet.Id

file_set.proto:40

The resource ID components that identify the FileSet.

Used in: FileSet

message InputFileInfo

action.proto:218

File count and size information for the input files to a configured target.

Used in: ActionAttributes

message Invocation

invocation.proto:33

An Invocation typically represents the result of running a tool. Each has a unique ID, typically generated by the server. Target resources under each Invocation contain the bulk of the data.

Used as response type in: ResultStoreDownload.GetInvocation, ResultStoreUpload.CreateInvocation, ResultStoreUpload.MergeInvocation, ResultStoreUpload.UpdateInvocation

Used as field type in: CreateInvocationRequest, MergeInvocationRequest, SearchInvocationsResponse, UpdateInvocationRequest, UploadRequest

message Invocation.Id

invocation.proto:35

The resource ID components that identify the Invocation.

Used in: FinalizeInvocationResponse, Invocation, TouchInvocationResponse

message InvocationAttributes

invocation.proto:144

Attributes that apply to all invocations.

Used in: Invocation

message InvocationContext

invocation.proto:178

Describes the invocation context which includes a display name and URL.

Used in: InvocationAttributes

enum Language

common.proto:86

These correspond to the prefix of the rule name. Eg cc_test has language CC.

Used in: LanguageCoverageSummary, TargetAttributes

message LanguageCoverageSummary

coverage_summary.proto:56

Summary of coverage in each language

Used in: Invocation

message LineCoverage

coverage.proto:25

Describes line coverage for a file

Used in: FileCoverage

message LineCoverageSummary

coverage_summary.proto:27

Summary of line coverage

Used in: LanguageCoverageSummary

message LocalTestTiming

action.proto:237

Timing data for tests executed locally on the machine running the build.

Used in: TestTiming

message Property

common.proto:39

A generic key-value property definition.

Used in: Action, Configuration, ConfiguredTarget, Invocation, Target, TestCase, TestSuite

message RemoteTestAttemptTiming

action.proto:244

Timing data for one attempt to execute a test action remotely.

Used in: RemoteTestTiming

message RemoteTestTiming

action.proto:271

Timing data for the part of the test execution that is done remotely.

Used in: TestTiming

enum Status

common.proto:155

Status of a resource.

Used in: StatusAttributes

message StatusAttributes

common.proto:30

Describes the status of a resource in both enum and string form. Only use description when conveying additional info not captured in the enum name.

Used in: Action, Configuration, ConfiguredTarget, Invocation, Target

message Target

target.proto:30

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.

Used as response type in: ResultStoreDownload.GetTarget, ResultStoreUpload.CreateTarget, ResultStoreUpload.MergeTarget, ResultStoreUpload.UpdateTarget

Used as field type in: CreateTargetRequest, ListTargetsResponse, MergeTargetRequest, UpdateTargetRequest, UploadRequest

message Target.Id

target.proto:32

The resource ID components that identify the Target.

Used in: FinalizeTargetResponse, Target

message TargetAttributes

target.proto:78

Attributes that apply to all targets.

Used in: Target

enum TargetType

target.proto:100

These correspond to the suffix of the rule name. Eg cc_test has type TEST.

Used in: TargetAttributes

message Test

test_suite.proto:64

The result of running a test case or test suite. JUnit3 TestDecorators are represented as a TestSuite with a single test.

Used in: TestSuite

message TestAction

action.proto:164

A test action, such as running a JUnit4 test binary.

Used in: Action

message TestAttributes

target.proto:94

Attributes that apply only to test actions under this target.

Used in: Target

enum TestCaching

action.proto:336

Most build systems cache build results to speed up incremental builds. Some also cache test results too. This indicates whether the test results were found in a cache, and where that cache was located.

Used in: TestTiming

message TestCase

test_suite.proto:77

The result of running a test case, as reported in a <testcase> element of an XML log.

Used in: Test

enum TestCase.Result

test_suite.proto:79

The result of running a test case.

Used in: TestCase

message TestError

test_suite.proto:182

Represents an exception that prevented a test case from completing, as reported in an <error> element within a <testcase>. For Java, multiple TestErrors are used to represent a chained exception.

Used in: TestCase, TestSuite

message TestFailure

test_suite.proto:148

Represents a violated assertion, as reported in a <failure> element within a <testcase>. Some languages allow assertions to be made without stopping the test case when they're violated, leading to multiple TestFailures. For Java, multiple TestFailures are used to represent a chained exception.

Used in: TestCase, TestSuite

enum TestSize

target.proto:121

Indicates how big the user indicated the test action was.

Used in: TestAttributes

message TestSuite

test_suite.proto:29

The result of running a test suite, as reported in a <testsuite> element of an XML log.

Used in: Test, TestAction

message TestTiming

action.proto:282

Timing data for execution of a test action. The action may be performed locally, on the machine running the build, or remotely.

Used in: TestAction

message TestWarning

action.proto:310

A warning from a test execution.

Used in: TestAction

message Timing

common.proto:49

The timing of a particular Invocation, Action, etc. The start_time is specified, stop time can be calculated by adding duration to start_time.

Used in: Action, ConfiguredTarget, Invocation, Target, TestCase, TestSuite

message UploadRequest

resultstore_upload.proto:1089

The individual upload requests for this batch.

Used in: UploadBatchRequest

message UploadRequest.Id

resultstore_upload.proto:1091

The resource ID components that identify the resource being uploaded.

Used in: UploadRequest

enum UploadRequest.UploadOperation

resultstore_upload.proto:1110

The operation for the request (e.g. Create(), Update(), etc.)

Used in: UploadRequest

enum UploadStatus

common.proto:211

Indicates the upload status of the invocation, whether it is post-processing, or immutable, etc.

Used in: DownloadMetadata

message WorkspaceContext

invocation.proto:100

If known, represents the state of the user/build-system workspace.

Used in: WorkspaceInfo

(message has no fields)

message WorkspaceInfo

invocation.proto:107

Describes the workspace under which the tool was invoked, this includes information that was fed into the command, the source code referenced, and the tool itself.

Used in: Invocation