resultpb

package
Version: v0.0.0-...-51f9457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Invocation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "FINALIZING",
		3: "FINALIZED",
	}
	Invocation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"FINALIZING":        2,
		"FINALIZED":         3,
	}
)

Enum value maps for Invocation_State.

View Source
var (
	TestResultPredicate_Expectancy_name = map[int32]string{
		0: "ALL",
		1: "VARIANTS_WITH_UNEXPECTED_RESULTS",
		2: "VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS",
	}
	TestResultPredicate_Expectancy_value = map[string]int32{
		"ALL":                                   0,
		"VARIANTS_WITH_UNEXPECTED_RESULTS":      1,
		"VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS": 2,
	}
)

Enum value maps for TestResultPredicate_Expectancy.

View Source
var (
	TestStatus_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PASS",
		2: "FAIL",
		3: "CRASH",
		4: "ABORT",
		5: "SKIP",
	}
	TestStatus_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PASS":               1,
		"FAIL":               2,
		"CRASH":              3,
		"ABORT":              4,
		"SKIP":               5,
	}
)

Enum value maps for TestStatus.

View Source
var File_go_chromium_org_luci_resultdb_proto_v1_artifact_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_common_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_invocation_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_predicate_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_recorder_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_resultdb_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_test_metadata_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_test_result_proto protoreflect.FileDescriptor

Functions

func FileDescriptorSet

func FileDescriptorSet() *descriptorpb.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterRecorderServer

func RegisterRecorderServer(s prpc.Registrar, srv RecorderServer)

func RegisterResultDBServer

func RegisterResultDBServer(s prpc.Registrar, srv ResultDBServer)

Types

type Artifact

type Artifact struct {

	// Can be used to refer to this artifact.
	// Format:
	// - For invocation-level artifacts:
	//   "invocations/{INVOCATION_ID}/artifacts/{ARTIFACT_ID}".
	// - For test-result-level artifacts:
	//   "invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/results/{RESULT_ID}/artifacts/{ARTIFACT_ID}".
	// where URL_ESCAPED_TEST_ID is the test_id escaped with
	// https://golang.org/pkg/net/url/#PathEscape (see also https://aip.dev/122),
	// and ARTIFACT_ID is documented below.
	// Examples: "screenshot.png", "traces/a.txt".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A local identifier of the artifact, unique within the parent resource.
	// MAY have slashes, but MUST NOT start with a slash.
	// SHOULD not use backslashes.
	// Regex: ^[[:word:]]([[:print:]]{0,254}[[:word:]])?$
	ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// A signed short-lived URL to fetch the contents of the artifact.
	// See also fetch_url_expiration.
	FetchUrl string `protobuf:"bytes,3,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
	// When fetch_url expires. If expired, re-request this Artifact.
	FetchUrlExpiration *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=fetch_url_expiration,json=fetchUrlExpiration,proto3" json:"fetch_url_expiration,omitempty"`
	// Media type of the artifact.
	// Logs are typically "text/plain" and screenshots are typically "image/png".
	// Optional.
	ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// Size of the file.
	// Can be used in UI to decide between displaying the artifact inline or only
	// showing a link if it is too large.
	SizeBytes int64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// Contents of the artifact.
	// This is INPUT_ONLY, and taken by BatchCreateArtifacts().
	// All getter RPCs, such as ListArtifacts(), do not populate values into
	// the field in the response.
	Contents []byte `protobuf:"bytes,7,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

A file produced during a build/test, typically a test artifact. The parent resource is either a TestResult or an Invocation.

An invocation-level artifact might be related to tests, or it might not, for example it may be used to store build step logs when streaming support is added.

func (*Artifact) Descriptor deprecated

This method has been deprecated.
func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetArtifactId

func (x *Artifact) GetArtifactId() string

func (*Artifact) GetContentType

func (x *Artifact) GetContentType() string

func (*Artifact) GetContents

func (x *Artifact) GetContents() []byte

func (*Artifact) GetFetchUrl

func (x *Artifact) GetFetchUrl() string

func (*Artifact) GetFetchUrlExpiration

func (x *Artifact) GetFetchUrlExpiration() *timestamppb.Timestamp

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetSizeBytes

func (x *Artifact) GetSizeBytes() int64

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type ArtifactPredicate

type ArtifactPredicate struct {

	// Specifies which edges to follow when retrieving directly/indirectly
	// included artifacts.
	// For example,
	// - to retrieve only invocation-level artifacts, use
	//   {included_invocations: true}.
	// - to retrieve only test-result-level artifacts, use {test_results: true}.
	//
	// By default, follows all edges.
	FollowEdges *ArtifactPredicate_EdgeTypeSet `protobuf:"bytes,1,opt,name=follow_edges,json=followEdges,proto3" json:"follow_edges,omitempty"` // defaults to All.
	// If an Artifact belongs to a TestResult, then the test result must satisfy
	// this predicate.
	// Note: this predicate does NOT apply to invocation-level artifacts.
	// To exclude them from the response, use follow_edges.
	TestResultPredicate *TestResultPredicate `protobuf:"bytes,2,opt,name=test_result_predicate,json=testResultPredicate,proto3" json:"test_result_predicate,omitempty"`
	// An artifact must have a content type matching this regular expression
	// entirely, i.e. the expression is implicitly wrapped with ^ and $.
	// Defaults to ".*".
	ContentTypeRegexp string `protobuf:"bytes,3,opt,name=content_type_regexp,json=contentTypeRegexp,proto3" json:"content_type_regexp,omitempty"`
	// contains filtered or unexported fields
}

Represents a function Artifact -> bool.

func (*ArtifactPredicate) Descriptor deprecated

This method has been deprecated.
func (*ArtifactPredicate) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactPredicate.ProtoReflect.Descriptor instead.

func (*ArtifactPredicate) GetContentTypeRegexp

func (x *ArtifactPredicate) GetContentTypeRegexp() string

func (*ArtifactPredicate) GetFollowEdges

func (x *ArtifactPredicate) GetFollowEdges() *ArtifactPredicate_EdgeTypeSet

func (*ArtifactPredicate) GetTestResultPredicate

func (x *ArtifactPredicate) GetTestResultPredicate() *TestResultPredicate

func (*ArtifactPredicate) ProtoMessage

func (*ArtifactPredicate) ProtoMessage()

func (*ArtifactPredicate) ProtoReflect

func (x *ArtifactPredicate) ProtoReflect() protoreflect.Message

func (*ArtifactPredicate) Reset

func (x *ArtifactPredicate) Reset()

func (*ArtifactPredicate) String

func (x *ArtifactPredicate) String() string

type ArtifactPredicate_EdgeTypeSet

type ArtifactPredicate_EdgeTypeSet struct {

	// The edges represented by Invocation.included_invocations field.
	IncludedInvocations bool `protobuf:"varint,1,opt,name=included_invocations,json=includedInvocations,proto3" json:"included_invocations,omitempty"`
	// The parent-child relationship between Invocation and TestResult.
	TestResults bool `protobuf:"varint,2,opt,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
	// contains filtered or unexported fields
}

A set of Invocation's outgoing edge types.

func (*ArtifactPredicate_EdgeTypeSet) Descriptor deprecated

This method has been deprecated.
func (*ArtifactPredicate_EdgeTypeSet) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactPredicate_EdgeTypeSet.ProtoReflect.Descriptor instead.

func (*ArtifactPredicate_EdgeTypeSet) GetIncludedInvocations

func (x *ArtifactPredicate_EdgeTypeSet) GetIncludedInvocations() bool

func (*ArtifactPredicate_EdgeTypeSet) GetTestResults

func (x *ArtifactPredicate_EdgeTypeSet) GetTestResults() bool

func (*ArtifactPredicate_EdgeTypeSet) ProtoMessage

func (*ArtifactPredicate_EdgeTypeSet) ProtoMessage()

func (*ArtifactPredicate_EdgeTypeSet) ProtoReflect

func (*ArtifactPredicate_EdgeTypeSet) Reset

func (x *ArtifactPredicate_EdgeTypeSet) Reset()

func (*ArtifactPredicate_EdgeTypeSet) String

type BatchCreateArtifactsRequest

type BatchCreateArtifactsRequest struct {

	// Requests to create Artifacts.
	// The sum of the content lengths MUST be <= 10MiB.
	// The parents of all the requests must be derived from the same invocation.
	//
	// Up to 500 requests.
	Requests []*CreateArtifactRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

A request message for BatchCreateArtifactsRequest.

func (*BatchCreateArtifactsRequest) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateArtifactsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateArtifactsRequest) GetRequests

func (*BatchCreateArtifactsRequest) ProtoMessage

func (*BatchCreateArtifactsRequest) ProtoMessage()

func (*BatchCreateArtifactsRequest) ProtoReflect

func (*BatchCreateArtifactsRequest) Reset

func (x *BatchCreateArtifactsRequest) Reset()

func (*BatchCreateArtifactsRequest) String

func (x *BatchCreateArtifactsRequest) String() string

type BatchCreateArtifactsResponse

type BatchCreateArtifactsResponse struct {

	// Artifacts created.
	Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateArtifactsResponse) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateArtifactsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateArtifactsResponse) GetArtifacts

func (x *BatchCreateArtifactsResponse) GetArtifacts() []*Artifact

func (*BatchCreateArtifactsResponse) ProtoMessage

func (*BatchCreateArtifactsResponse) ProtoMessage()

func (*BatchCreateArtifactsResponse) ProtoReflect

func (*BatchCreateArtifactsResponse) Reset

func (x *BatchCreateArtifactsResponse) Reset()

func (*BatchCreateArtifactsResponse) String

type BatchCreateInvocationsRequest

type BatchCreateInvocationsRequest struct {

	// requests[i].request_id MUST be either empty or equal to request_id in
	// this message.
	//
	// Up to 500 requests.
	Requests []*CreateInvocationRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided, so it is
	// strongly recommended to populate this field.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for BatchCreateInvocations

func (*BatchCreateInvocationsRequest) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateInvocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInvocationsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateInvocationsRequest) GetRequestId

func (x *BatchCreateInvocationsRequest) GetRequestId() string

func (*BatchCreateInvocationsRequest) GetRequests

func (*BatchCreateInvocationsRequest) ProtoMessage

func (*BatchCreateInvocationsRequest) ProtoMessage()

func (*BatchCreateInvocationsRequest) ProtoReflect

func (*BatchCreateInvocationsRequest) Reset

func (x *BatchCreateInvocationsRequest) Reset()

func (*BatchCreateInvocationsRequest) String

type BatchCreateInvocationsResponse

type BatchCreateInvocationsResponse struct {

	// Invocations created.
	Invocations []*Invocation `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// One token per each created invocation.
	// These are passed in the response instead of as metadata, because large
	// batches increase the size of the response headers beyond allowed limits and
	// cause failures like crbug.com/1064496
	// update_tokens[i] corresponds to invocations[i].
	// *Do not log these values*.
	UpdateTokens []string `protobuf:"bytes,2,rep,name=update_tokens,json=updateTokens,proto3" json:"update_tokens,omitempty"`
	// contains filtered or unexported fields
}

A response message for BatchCreateInvocations RPC.

func (*BatchCreateInvocationsResponse) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateInvocationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInvocationsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateInvocationsResponse) GetInvocations

func (x *BatchCreateInvocationsResponse) GetInvocations() []*Invocation

func (*BatchCreateInvocationsResponse) GetUpdateTokens

func (x *BatchCreateInvocationsResponse) GetUpdateTokens() []string

func (*BatchCreateInvocationsResponse) ProtoMessage

func (*BatchCreateInvocationsResponse) ProtoMessage()

func (*BatchCreateInvocationsResponse) ProtoReflect

func (*BatchCreateInvocationsResponse) Reset

func (x *BatchCreateInvocationsResponse) Reset()

func (*BatchCreateInvocationsResponse) String

type BatchCreateTestExonerationsRequest

type BatchCreateTestExonerationsRequest struct {

	// Name of the parent invocation, see Invocation.name.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// Requests to create TestExonerations.
	// requests[i].invocation MUST be either empty or equal to invocation in this
	// message.
	// requests[i].request_id MUST be either empty or equal to request_id in
	// this message.
	//
	// Up to 500 requests.
	Requests []*CreateTestExonerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided, so it is
	// strongly recommended to populate this field.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsRequest) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateTestExonerationsRequest) GetInvocation

func (x *BatchCreateTestExonerationsRequest) GetInvocation() string

func (*BatchCreateTestExonerationsRequest) GetRequestId

func (x *BatchCreateTestExonerationsRequest) GetRequestId() string

func (*BatchCreateTestExonerationsRequest) GetRequests

func (*BatchCreateTestExonerationsRequest) ProtoMessage

func (*BatchCreateTestExonerationsRequest) ProtoMessage()

func (*BatchCreateTestExonerationsRequest) ProtoReflect

func (*BatchCreateTestExonerationsRequest) Reset

func (*BatchCreateTestExonerationsRequest) String

type BatchCreateTestExonerationsResponse

type BatchCreateTestExonerationsResponse struct {

	// Test exonerations created.
	TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
	// contains filtered or unexported fields
}

A response message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsResponse) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateTestExonerationsResponse) GetTestExonerations

func (x *BatchCreateTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*BatchCreateTestExonerationsResponse) ProtoMessage

func (*BatchCreateTestExonerationsResponse) ProtoMessage()

func (*BatchCreateTestExonerationsResponse) ProtoReflect

func (*BatchCreateTestExonerationsResponse) Reset

func (*BatchCreateTestExonerationsResponse) String

type BatchCreateTestResultsRequest

type BatchCreateTestResultsRequest struct {

	// Name of the parent invocation, see Invocation.name.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// Requests to create test results.
	// requests[i].invocation MUST be either empty or equal to invocation in this
	// message.
	// requests[i].request_id MUST be either empty or equal to request_id in
	// this message.
	//
	// Up to 500 requests.
	Requests []*CreateTestResultRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided, so it is
	// strongly recommended to populate this field.
	//
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsRequest) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestResultsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateTestResultsRequest) GetInvocation

func (x *BatchCreateTestResultsRequest) GetInvocation() string

func (*BatchCreateTestResultsRequest) GetRequestId

func (x *BatchCreateTestResultsRequest) GetRequestId() string

func (*BatchCreateTestResultsRequest) GetRequests

func (*BatchCreateTestResultsRequest) ProtoMessage

func (*BatchCreateTestResultsRequest) ProtoMessage()

func (*BatchCreateTestResultsRequest) ProtoReflect

func (*BatchCreateTestResultsRequest) Reset

func (x *BatchCreateTestResultsRequest) Reset()

func (*BatchCreateTestResultsRequest) String

type BatchCreateTestResultsResponse

type BatchCreateTestResultsResponse struct {

	// Test results created.
	TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
	// contains filtered or unexported fields
}

A response message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsResponse) Descriptor deprecated

This method has been deprecated.
func (*BatchCreateTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestResultsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateTestResultsResponse) GetTestResults

func (x *BatchCreateTestResultsResponse) GetTestResults() []*TestResult

func (*BatchCreateTestResultsResponse) ProtoMessage

func (*BatchCreateTestResultsResponse) ProtoMessage()

func (*BatchCreateTestResultsResponse) ProtoReflect

func (*BatchCreateTestResultsResponse) Reset

func (x *BatchCreateTestResultsResponse) Reset()

func (*BatchCreateTestResultsResponse) String

type BigQueryExport

type BigQueryExport struct {

	// Name of the BigQuery project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Name of the BigQuery Dataset.
	Dataset string `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Name of the BigQuery Table.
	Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	// Types that are assignable to ResultType:
	//	*BigQueryExport_TestResults_
	//	*BigQueryExport_TextArtifacts_
	ResultType isBigQueryExport_ResultType `protobuf_oneof:"result_type"`
	// contains filtered or unexported fields
}

BigQueryExport indicates that results in this invocation should be exported to BigQuery after finalization.

func (*BigQueryExport) Descriptor deprecated

This method has been deprecated.
func (*BigQueryExport) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryExport.ProtoReflect.Descriptor instead.

func (*BigQueryExport) GetDataset

func (x *BigQueryExport) GetDataset() string

func (*BigQueryExport) GetProject

func (x *BigQueryExport) GetProject() string

func (*BigQueryExport) GetResultType

func (m *BigQueryExport) GetResultType() isBigQueryExport_ResultType

func (*BigQueryExport) GetTable

func (x *BigQueryExport) GetTable() string

func (*BigQueryExport) GetTestResults

func (x *BigQueryExport) GetTestResults() *BigQueryExport_TestResults

func (*BigQueryExport) GetTextArtifacts

func (x *BigQueryExport) GetTextArtifacts() *BigQueryExport_TextArtifacts

func (*BigQueryExport) ProtoMessage

func (*BigQueryExport) ProtoMessage()

func (*BigQueryExport) ProtoReflect

func (x *BigQueryExport) ProtoReflect() protoreflect.Message

func (*BigQueryExport) Reset

func (x *BigQueryExport) Reset()

func (*BigQueryExport) String

func (x *BigQueryExport) String() string

type BigQueryExport_TestResults

type BigQueryExport_TestResults struct {

	// Use predicate to query test results that should be exported to
	// BigQuery table.
	Predicate *TestResultPredicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

TestResults indicates that test results should be exported.

func (*BigQueryExport_TestResults) Descriptor deprecated

This method has been deprecated.
func (*BigQueryExport_TestResults) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryExport_TestResults.ProtoReflect.Descriptor instead.

func (*BigQueryExport_TestResults) GetPredicate

func (*BigQueryExport_TestResults) ProtoMessage

func (*BigQueryExport_TestResults) ProtoMessage()

func (*BigQueryExport_TestResults) ProtoReflect

func (*BigQueryExport_TestResults) Reset

func (x *BigQueryExport_TestResults) Reset()

func (*BigQueryExport_TestResults) String

func (x *BigQueryExport_TestResults) String() string

type BigQueryExport_TestResults_

type BigQueryExport_TestResults_ struct {
	TestResults *BigQueryExport_TestResults `protobuf:"bytes,4,opt,name=test_results,json=testResults,proto3,oneof"`
}

type BigQueryExport_TextArtifacts

type BigQueryExport_TextArtifacts struct {

	// Use predicate to query artifacts that should be exported to
	// BigQuery table.
	//
	// Sub-field predicate.content_type_regexp defaults to "text/.*".
	Predicate *ArtifactPredicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

TextArtifacts indicates that text artifacts should be exported.

func (*BigQueryExport_TextArtifacts) Descriptor deprecated

This method has been deprecated.
func (*BigQueryExport_TextArtifacts) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryExport_TextArtifacts.ProtoReflect.Descriptor instead.

func (*BigQueryExport_TextArtifacts) GetPredicate

func (*BigQueryExport_TextArtifacts) ProtoMessage

func (*BigQueryExport_TextArtifacts) ProtoMessage()

func (*BigQueryExport_TextArtifacts) ProtoReflect

func (*BigQueryExport_TextArtifacts) Reset

func (x *BigQueryExport_TextArtifacts) Reset()

func (*BigQueryExport_TextArtifacts) String

type BigQueryExport_TextArtifacts_

type BigQueryExport_TextArtifacts_ struct {
	TextArtifacts *BigQueryExport_TextArtifacts `protobuf:"bytes,6,opt,name=text_artifacts,json=textArtifacts,proto3,oneof"`
}

type CommitPosition

type CommitPosition struct {

	// The following fields identify a git repository and a ref within which the
	// numerical position below identifies a single commit.
	Host    string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Ref     string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// The numerical position of the commit in the log for the host/project/ref
	// above.
	Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

CommitPosition specifies the numerical position of the commit an invocation runs against, in a repository's commit log. More specifically, a ref's commit log. It also specifies the repo/ref combination that the commit position exists in, to provide context.

func (*CommitPosition) Descriptor deprecated

This method has been deprecated.
func (*CommitPosition) Descriptor() ([]byte, []int)

Deprecated: Use CommitPosition.ProtoReflect.Descriptor instead.

func (*CommitPosition) GetHost

func (x *CommitPosition) GetHost() string

func (*CommitPosition) GetPosition

func (x *CommitPosition) GetPosition() int64

func (*CommitPosition) GetProject

func (x *CommitPosition) GetProject() string

func (*CommitPosition) GetRef

func (x *CommitPosition) GetRef() string

func (*CommitPosition) ProtoMessage

func (*CommitPosition) ProtoMessage()

func (*CommitPosition) ProtoReflect

func (x *CommitPosition) ProtoReflect() protoreflect.Message

func (*CommitPosition) Reset

func (x *CommitPosition) Reset()

func (*CommitPosition) String

func (x *CommitPosition) String() string

type CommitPositionRange

type CommitPositionRange struct {

	// The lowest commit position to include in the range.
	Earliest *CommitPosition `protobuf:"bytes,1,opt,name=earliest,proto3" json:"earliest,omitempty"`
	// Include only commit positions that that are strictly lower than this.
	Latest *CommitPosition `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"`
	// contains filtered or unexported fields
}

A range of commit positions. Commit positions are assumed to increase from earliest to latest. Note that if both earliest and latest are set, their host/project/ref must be identical. Used for specifying ranges to query in ResultDB.GetTestResultHistory.

func (*CommitPositionRange) Descriptor deprecated

This method has been deprecated.
func (*CommitPositionRange) Descriptor() ([]byte, []int)

Deprecated: Use CommitPositionRange.ProtoReflect.Descriptor instead.

func (*CommitPositionRange) GetEarliest

func (x *CommitPositionRange) GetEarliest() *CommitPosition

func (*CommitPositionRange) GetLatest

func (x *CommitPositionRange) GetLatest() *CommitPosition

func (*CommitPositionRange) ProtoMessage

func (*CommitPositionRange) ProtoMessage()

func (*CommitPositionRange) ProtoReflect

func (x *CommitPositionRange) ProtoReflect() protoreflect.Message

func (*CommitPositionRange) Reset

func (x *CommitPositionRange) Reset()

func (*CommitPositionRange) String

func (x *CommitPositionRange) String() string

type CreateArtifactRequest

type CreateArtifactRequest struct {

	// Name of the parent resource where the artifact will be created.
	//
	// For invocation-level artifacts, it is the invocation name.
	// For test-result-level artifacts, it is the TestResult name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Artifact to upload.
	// The length of the artifact contents MUST be <= 512KiB.
	// artifact.artifact_id MUST be set.
	// artifact.name will be ignored.
	Artifact *Artifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

A request message for CreateArtifactRequest.

func (*CreateArtifactRequest) Descriptor deprecated

This method has been deprecated.
func (*CreateArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetArtifact

func (x *CreateArtifactRequest) GetArtifact() *Artifact

func (*CreateArtifactRequest) GetParent

func (x *CreateArtifactRequest) GetParent() string

func (*CreateArtifactRequest) ProtoMessage

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect

func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message

func (*CreateArtifactRequest) Reset

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String

func (x *CreateArtifactRequest) String() string

type CreateInvocationRequest

type CreateInvocationRequest struct {

	// Invocation identifier, becomes a part of the invocation.name.
	// LUCI systems MAY create invocations with nicely formatted IDs, such as
	// "build-1234567890". All other clients MUST use GUIDs.
	//
	// Regex: ^[a-z][a-z0-9_\-]*$.
	InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
	// Invocation data to insert.
	Invocation *Invocation `protobuf:"bytes,2,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for CreateInvocation.

func (*CreateInvocationRequest) Descriptor deprecated

This method has been deprecated.
func (*CreateInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateInvocationRequest.ProtoReflect.Descriptor instead.

func (*CreateInvocationRequest) GetInvocation

func (x *CreateInvocationRequest) GetInvocation() *Invocation

func (*CreateInvocationRequest) GetInvocationId

func (x *CreateInvocationRequest) GetInvocationId() string

func (*CreateInvocationRequest) GetRequestId

func (x *CreateInvocationRequest) GetRequestId() string

func (*CreateInvocationRequest) ProtoMessage

func (*CreateInvocationRequest) ProtoMessage()

func (*CreateInvocationRequest) ProtoReflect

func (x *CreateInvocationRequest) ProtoReflect() protoreflect.Message

func (*CreateInvocationRequest) Reset

func (x *CreateInvocationRequest) Reset()

func (*CreateInvocationRequest) String

func (x *CreateInvocationRequest) String() string

type CreateTestExonerationRequest

type CreateTestExonerationRequest struct {

	// Name of the parent invocation, see Invocation.name.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The TestExoneration to create.
	TestExoneration *TestExoneration `protobuf:"bytes,2,opt,name=test_exoneration,json=testExoneration,proto3" json:"test_exoneration,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for CreateTestExoneration RPC.

func (*CreateTestExonerationRequest) Descriptor deprecated

This method has been deprecated.
func (*CreateTestExonerationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTestExonerationRequest.ProtoReflect.Descriptor instead.

func (*CreateTestExonerationRequest) GetInvocation

func (x *CreateTestExonerationRequest) GetInvocation() string

func (*CreateTestExonerationRequest) GetRequestId

func (x *CreateTestExonerationRequest) GetRequestId() string

func (*CreateTestExonerationRequest) GetTestExoneration

func (x *CreateTestExonerationRequest) GetTestExoneration() *TestExoneration

func (*CreateTestExonerationRequest) ProtoMessage

func (*CreateTestExonerationRequest) ProtoMessage()

func (*CreateTestExonerationRequest) ProtoReflect

func (*CreateTestExonerationRequest) Reset

func (x *CreateTestExonerationRequest) Reset()

func (*CreateTestExonerationRequest) String

type CreateTestResultRequest

type CreateTestResultRequest struct {

	// Name of the parent invocation, see Invocation.name.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The test result to create.
	// Test id and result id are used to dedupe requests, i.e.
	// if a test result with the same test id and result id already exists in
	// the invocation, then the requests succeeds as opposed to returns with
	// ALREADY_EXISTS error.
	TestResult *TestResult `protobuf:"bytes,2,opt,name=test_result,json=testResult,proto3" json:"test_result,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if a `request_id` is provided, so it is
	// strongly recommended to populate this field.
	//
	// Impl note: this field is used to compute the spanner-level result id, which
	// will encode tuple (request_id, index_of_request)", where
	// - request_id is a random GUID if not provided by the user
	// - index_of_request is 0 in CreateTestResult RPC, or index of the request
	//   in BatchCreateTestResultsRequest in the batch RPC.
	// TODO(jchinlee): remove this impl note when it is converted into code.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

A request message for CreateTestResult RPC.

func (*CreateTestResultRequest) Descriptor deprecated

This method has been deprecated.
func (*CreateTestResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTestResultRequest.ProtoReflect.Descriptor instead.

func (*CreateTestResultRequest) GetInvocation

func (x *CreateTestResultRequest) GetInvocation() string

func (*CreateTestResultRequest) GetRequestId

func (x *CreateTestResultRequest) GetRequestId() string

func (*CreateTestResultRequest) GetTestResult

func (x *CreateTestResultRequest) GetTestResult() *TestResult

func (*CreateTestResultRequest) ProtoMessage

func (*CreateTestResultRequest) ProtoMessage()

func (*CreateTestResultRequest) ProtoReflect

func (x *CreateTestResultRequest) ProtoReflect() protoreflect.Message

func (*CreateTestResultRequest) Reset

func (x *CreateTestResultRequest) Reset()

func (*CreateTestResultRequest) String

func (x *CreateTestResultRequest) String() string

type DecoratedRecorder

type DecoratedRecorder struct {
	// Service is the service to decorate.
	Service RecorderServer
	// Prelude is called for each method before forwarding the call to Service.
	// If Prelude returns an error, then the call is skipped and the error is
	// processed via the Postlude (if one is defined), or it is returned directly.
	Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error)
	// Postlude is called for each method after Service has processed the call, or
	// after the Prelude has returned an error. This takes the the Service's
	// response proto (which may be nil) and/or any error. The decorated
	// service will return the response (possibly mutated) and error that Postlude
	// returns.
	Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedRecorder) BatchCreateArtifacts

func (s *DecoratedRecorder) BatchCreateArtifacts(ctx context.Context, req *BatchCreateArtifactsRequest) (rsp *BatchCreateArtifactsResponse, err error)

func (*DecoratedRecorder) BatchCreateInvocations

func (*DecoratedRecorder) BatchCreateTestExonerations

func (*DecoratedRecorder) BatchCreateTestResults

func (*DecoratedRecorder) CreateInvocation

func (s *DecoratedRecorder) CreateInvocation(ctx context.Context, req *CreateInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedRecorder) CreateTestExoneration

func (s *DecoratedRecorder) CreateTestExoneration(ctx context.Context, req *CreateTestExonerationRequest) (rsp *TestExoneration, err error)

func (*DecoratedRecorder) CreateTestResult

func (s *DecoratedRecorder) CreateTestResult(ctx context.Context, req *CreateTestResultRequest) (rsp *TestResult, err error)

func (*DecoratedRecorder) FinalizeInvocation

func (s *DecoratedRecorder) FinalizeInvocation(ctx context.Context, req *FinalizeInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedRecorder) UpdateIncludedInvocations

func (s *DecoratedRecorder) UpdateIncludedInvocations(ctx context.Context, req *UpdateIncludedInvocationsRequest) (rsp *emptypb.Empty, err error)

func (*DecoratedRecorder) UpdateInvocation

func (s *DecoratedRecorder) UpdateInvocation(ctx context.Context, req *UpdateInvocationRequest) (rsp *Invocation, err error)

type DecoratedResultDB

type DecoratedResultDB struct {
	// Service is the service to decorate.
	Service ResultDBServer
	// Prelude is called for each method before forwarding the call to Service.
	// If Prelude returns an error, then the call is skipped and the error is
	// processed via the Postlude (if one is defined), or it is returned directly.
	Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error)
	// Postlude is called for each method after Service has processed the call, or
	// after the Prelude has returned an error. This takes the the Service's
	// response proto (which may be nil) and/or any error. The decorated
	// service will return the response (possibly mutated) and error that Postlude
	// returns.
	Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedResultDB) GetArtifact

func (s *DecoratedResultDB) GetArtifact(ctx context.Context, req *GetArtifactRequest) (rsp *Artifact, err error)

func (*DecoratedResultDB) GetInvocation

func (s *DecoratedResultDB) GetInvocation(ctx context.Context, req *GetInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedResultDB) GetTestExoneration

func (s *DecoratedResultDB) GetTestExoneration(ctx context.Context, req *GetTestExonerationRequest) (rsp *TestExoneration, err error)

func (*DecoratedResultDB) GetTestResult

func (s *DecoratedResultDB) GetTestResult(ctx context.Context, req *GetTestResultRequest) (rsp *TestResult, err error)

func (*DecoratedResultDB) GetTestResultHistory

func (s *DecoratedResultDB) GetTestResultHistory(ctx context.Context, req *GetTestResultHistoryRequest) (rsp *GetTestResultHistoryResponse, err error)

func (*DecoratedResultDB) ListArtifacts

func (s *DecoratedResultDB) ListArtifacts(ctx context.Context, req *ListArtifactsRequest) (rsp *ListArtifactsResponse, err error)

func (*DecoratedResultDB) ListTestExonerations

func (s *DecoratedResultDB) ListTestExonerations(ctx context.Context, req *ListTestExonerationsRequest) (rsp *ListTestExonerationsResponse, err error)

func (*DecoratedResultDB) ListTestResults

func (s *DecoratedResultDB) ListTestResults(ctx context.Context, req *ListTestResultsRequest) (rsp *ListTestResultsResponse, err error)

func (*DecoratedResultDB) QueryArtifacts

func (s *DecoratedResultDB) QueryArtifacts(ctx context.Context, req *QueryArtifactsRequest) (rsp *QueryArtifactsResponse, err error)

func (*DecoratedResultDB) QueryTestExonerations

func (s *DecoratedResultDB) QueryTestExonerations(ctx context.Context, req *QueryTestExonerationsRequest) (rsp *QueryTestExonerationsResponse, err error)

func (*DecoratedResultDB) QueryTestResultStatistics

func (*DecoratedResultDB) QueryTestResults

func (s *DecoratedResultDB) QueryTestResults(ctx context.Context, req *QueryTestResultsRequest) (rsp *QueryTestResultsResponse, err error)

type FinalizeInvocationRequest

type FinalizeInvocationRequest struct {

	// Name of the invocation to finalize.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for FinalizeInvocation RPC.

func (*FinalizeInvocationRequest) Descriptor deprecated

This method has been deprecated.
func (*FinalizeInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use FinalizeInvocationRequest.ProtoReflect.Descriptor instead.

func (*FinalizeInvocationRequest) GetName

func (x *FinalizeInvocationRequest) GetName() string

func (*FinalizeInvocationRequest) ProtoMessage

func (*FinalizeInvocationRequest) ProtoMessage()

func (*FinalizeInvocationRequest) ProtoReflect

func (*FinalizeInvocationRequest) Reset

func (x *FinalizeInvocationRequest) Reset()

func (*FinalizeInvocationRequest) String

func (x *FinalizeInvocationRequest) String() string

type GetArtifactRequest

type GetArtifactRequest struct {

	// The name of the artifact to request, see Artifact.name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for GetArtifact RPC.

func (*GetArtifactRequest) Descriptor deprecated

This method has been deprecated.
func (*GetArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactRequest) GetName

func (x *GetArtifactRequest) GetName() string

func (*GetArtifactRequest) ProtoMessage

func (*GetArtifactRequest) ProtoMessage()

func (*GetArtifactRequest) ProtoReflect

func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message

func (*GetArtifactRequest) Reset

func (x *GetArtifactRequest) Reset()

func (*GetArtifactRequest) String

func (x *GetArtifactRequest) String() string

type GetInvocationRequest

type GetInvocationRequest struct {

	// The name of the invocation to request, see Invocation.name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for GetInvocation RPC.

func (*GetInvocationRequest) Descriptor deprecated

This method has been deprecated.
func (*GetInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInvocationRequest.ProtoReflect.Descriptor instead.

func (*GetInvocationRequest) GetName

func (x *GetInvocationRequest) GetName() string

func (*GetInvocationRequest) ProtoMessage

func (*GetInvocationRequest) ProtoMessage()

func (*GetInvocationRequest) ProtoReflect

func (x *GetInvocationRequest) ProtoReflect() protoreflect.Message

func (*GetInvocationRequest) Reset

func (x *GetInvocationRequest) Reset()

func (*GetInvocationRequest) String

func (x *GetInvocationRequest) String() string

type GetTestExonerationRequest

type GetTestExonerationRequest struct {

	// The name of the test exoneration to request, see TestExoneration.name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for GetTestExoneration RPC.

func (*GetTestExonerationRequest) Descriptor deprecated

This method has been deprecated.
func (*GetTestExonerationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestExonerationRequest.ProtoReflect.Descriptor instead.

func (*GetTestExonerationRequest) GetName

func (x *GetTestExonerationRequest) GetName() string

func (*GetTestExonerationRequest) ProtoMessage

func (*GetTestExonerationRequest) ProtoMessage()

func (*GetTestExonerationRequest) ProtoReflect

func (*GetTestExonerationRequest) Reset

func (x *GetTestExonerationRequest) Reset()

func (*GetTestExonerationRequest) String

func (x *GetTestExonerationRequest) String() string

type GetTestResultHistoryRequest

type GetTestResultHistoryRequest struct {

	// Required. This needs to match the realm that the data being queried exists
	// in.
	// I.e. For a result to be part of the history, it needs to be contained
	// transitively by an invocation in this realm.
	Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	// Specify the subset of test ids to request history for.
	//
	// Performance tip: to speed up the query, please use the regexp with a literal
	// prefix. For example, please use "ninja://chrome/test:browser_tests.*" instead of
	// ".*browser_tests.*".
	TestIdRegexp string `protobuf:"bytes,2,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
	// Specify the subset of test variants to request history for.
	VariantPredicate *VariantPredicate `protobuf:"bytes,3,opt,name=variant_predicate,json=variantPredicate,proto3" json:"variant_predicate,omitempty"`
	// Specify a range of commit positions or a range of timestamps.
	// This is required for the service to know which index to query.
	//
	// Whether the test results are indexed by commit position and/or timestamp is
	// determined according to invocation.history_options.
	//
	// Types that are assignable to Range:
	//	*GetTestResultHistoryRequest_CommitPositionRange
	//	*GetTestResultHistoryRequest_TimeRange
	Range isGetTestResultHistoryRequest_Range `protobuf_oneof:"range"`
	// Specifies the number of results per page.
	PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Populate this field to get subsequent pages if the original response
	// contained a next page token.
	// A request for the next page of the results must be identical to the
	// original one except for this field.
	PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for GetTestResultHistory RPC.

func (*GetTestResultHistoryRequest) Descriptor deprecated

This method has been deprecated.
func (*GetTestResultHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryRequest) GetCommitPositionRange

func (x *GetTestResultHistoryRequest) GetCommitPositionRange() *CommitPositionRange

func (*GetTestResultHistoryRequest) GetPageSize

func (x *GetTestResultHistoryRequest) GetPageSize() int64

func (*GetTestResultHistoryRequest) GetPageToken

func (x *GetTestResultHistoryRequest) GetPageToken() string

func (*GetTestResultHistoryRequest) GetRange

func (m *GetTestResultHistoryRequest) GetRange() isGetTestResultHistoryRequest_Range

func (*GetTestResultHistoryRequest) GetRealm

func (x *GetTestResultHistoryRequest) GetRealm() string

func (*GetTestResultHistoryRequest) GetTestIdRegexp

func (x *GetTestResultHistoryRequest) GetTestIdRegexp() string

func (*GetTestResultHistoryRequest) GetTimeRange

func (x *GetTestResultHistoryRequest) GetTimeRange() *TimeRange

func (*GetTestResultHistoryRequest) GetVariantPredicate

func (x *GetTestResultHistoryRequest) GetVariantPredicate() *VariantPredicate

func (*GetTestResultHistoryRequest) ProtoMessage

func (*GetTestResultHistoryRequest) ProtoMessage()

func (*GetTestResultHistoryRequest) ProtoReflect

func (*GetTestResultHistoryRequest) Reset

func (x *GetTestResultHistoryRequest) Reset()

func (*GetTestResultHistoryRequest) String

func (x *GetTestResultHistoryRequest) String() string

type GetTestResultHistoryRequest_CommitPositionRange

type GetTestResultHistoryRequest_CommitPositionRange struct {
	// A range of commit positions.
	CommitPositionRange *CommitPositionRange `protobuf:"bytes,4,opt,name=commit_position_range,json=commitPositionRange,proto3,oneof"`
}

type GetTestResultHistoryRequest_TimeRange

type GetTestResultHistoryRequest_TimeRange struct {
	// A range of time.
	TimeRange *TimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange,proto3,oneof"`
}

type GetTestResultHistoryResponse

type GetTestResultHistoryResponse struct {

	// The actual results, the order will match the requested range.
	// If multiple entries exist for the same commit position/timestamp they will
	// be internally ordered by TestId, and then by VariantHash.
	Entries []*GetTestResultHistoryResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// This field will be set if there are more results to return.
	// To get the next page of data, send the same request again, but include this
	// token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for GetTestResultHistory RPC.

func (*GetTestResultHistoryResponse) Descriptor deprecated

This method has been deprecated.
func (*GetTestResultHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryResponse) GetEntries

func (*GetTestResultHistoryResponse) GetNextPageToken

func (x *GetTestResultHistoryResponse) GetNextPageToken() string

func (*GetTestResultHistoryResponse) ProtoMessage

func (*GetTestResultHistoryResponse) ProtoMessage()

func (*GetTestResultHistoryResponse) ProtoReflect

func (*GetTestResultHistoryResponse) Reset

func (x *GetTestResultHistoryResponse) Reset()

func (*GetTestResultHistoryResponse) String

type GetTestResultHistoryResponse_Entry

type GetTestResultHistoryResponse_Entry struct {

	// Commit position of the invocation that contains the result, if available.
	CommitPosition *CommitPosition `protobuf:"bytes,1,opt,name=commit_position,json=commitPosition,proto3" json:"commit_position,omitempty"`
	// Creation time of the invocation that contains the result.
	InvocationTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=invocation_timestamp,json=invocationTimestamp,proto3" json:"invocation_timestamp,omitempty"`
	// The result itself. Masked by the `fields` field of
	// `GetResultHistoryRequest`.
	Result *TestResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestResultHistoryResponse_Entry) Descriptor deprecated

This method has been deprecated.
func (*GetTestResultHistoryResponse_Entry) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryResponse_Entry.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryResponse_Entry) GetCommitPosition

func (x *GetTestResultHistoryResponse_Entry) GetCommitPosition() *CommitPosition

func (*GetTestResultHistoryResponse_Entry) GetInvocationTimestamp

func (x *GetTestResultHistoryResponse_Entry) GetInvocationTimestamp() *timestamppb.Timestamp

func (*GetTestResultHistoryResponse_Entry) GetResult

func (*GetTestResultHistoryResponse_Entry) ProtoMessage

func (*GetTestResultHistoryResponse_Entry) ProtoMessage()

func (*GetTestResultHistoryResponse_Entry) ProtoReflect

func (*GetTestResultHistoryResponse_Entry) Reset

func (*GetTestResultHistoryResponse_Entry) String

type GetTestResultRequest

type GetTestResultRequest struct {

	// The name of the test result to request, see TestResult.name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for GetTestResult RPC.

func (*GetTestResultRequest) Descriptor deprecated

This method has been deprecated.
func (*GetTestResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultRequest.ProtoReflect.Descriptor instead.

func (*GetTestResultRequest) GetName

func (x *GetTestResultRequest) GetName() string

func (*GetTestResultRequest) ProtoMessage

func (*GetTestResultRequest) ProtoMessage()

func (*GetTestResultRequest) ProtoReflect

func (x *GetTestResultRequest) ProtoReflect() protoreflect.Message

func (*GetTestResultRequest) Reset

func (x *GetTestResultRequest) Reset()

func (*GetTestResultRequest) String

func (x *GetTestResultRequest) String() string

type HistoryOptions

type HistoryOptions struct {

	// Set this to index the results by the containing invocation's create_time.
	UseInvocationTimestamp bool `` /* 130-byte string literal not displayed */
	// Set this to index by commit position.
	// It's up to the creator of the invocation to set this consistently over
	// time across the same test variant.
	Commit *CommitPosition `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

HistoryOptions indicates how the invocations should be indexed, so that their results can be queried over a range of time or of commits.

func (*HistoryOptions) Descriptor deprecated

This method has been deprecated.
func (*HistoryOptions) Descriptor() ([]byte, []int)

Deprecated: Use HistoryOptions.ProtoReflect.Descriptor instead.

func (*HistoryOptions) GetCommit

func (x *HistoryOptions) GetCommit() *CommitPosition

func (*HistoryOptions) GetUseInvocationTimestamp

func (x *HistoryOptions) GetUseInvocationTimestamp() bool

func (*HistoryOptions) ProtoMessage

func (*HistoryOptions) ProtoMessage()

func (*HistoryOptions) ProtoReflect

func (x *HistoryOptions) ProtoReflect() protoreflect.Message

func (*HistoryOptions) Reset

func (x *HistoryOptions) Reset()

func (*HistoryOptions) String

func (x *HistoryOptions) String() string

type Invocation

type Invocation struct {

	// Can be used to refer to this invocation, e.g. in ResultDB.GetInvocation
	// RPC.
	// Format: invocations/{INVOCATION_ID}
	// See also https://aip.dev/122.
	//
	// Output only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Current state of the invocation.
	//
	// At creation time this can be set to FINALIZING e.g. if this invocation is
	// a simple wrapper of another and will itself not be modified.
	//
	// Otherwise this is an output only field.
	State Invocation_State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.resultdb.v1.Invocation_State" json:"state,omitempty"`
	// When the invocation was created.
	// Output only.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Invocation-level string key-value pairs.
	// A key can be repeated.
	Tags []*StringPair `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// When the invocation was finalized, i.e. transitioned to FINALIZED state.
	// If this field is set, implies that the invocation is finalized.
	//
	// Output only.
	FinalizeTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=finalize_time,json=finalizeTime,proto3" json:"finalize_time,omitempty"`
	// Timestamp when the invocation will be forcefully finalized.
	// Can be extended with UpdateInvocation until finalized.
	Deadline *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// Names of invocations included into this one. Overall results of this
	// invocation is a UNION of results directly included into this invocation
	// and results from the included invocations, recursively.
	// For example, a Buildbucket build invocation may include invocations of its
	// child swarming tasks and represent overall result of the build,
	// encapsulating the internal structure of the build.
	//
	// The graph is directed.
	// There can be at most one edge between a given pair of invocations.
	// The shape of the graph does not matter. What matters is only the set of
	// reachable invocations. Thus cycles are allowed and are noop.
	//
	// QueryTestResults returns test results from the transitive closure of
	// invocations.
	//
	// This field can be set under Recorder.CreateInvocationsRequest to include
	// existing invocations at the moment of invocation creation.
	// New invocations created in the same batch (via
	// Recorder.BatchCreateInvocationsRequest) are also allowed.
	// Otherwise, this field is to be treated as Output only.
	//
	// To modify included invocations, use Recorder.UpdateIncludedInvocations in
	// all other cases.
	IncludedInvocations []string `protobuf:"bytes,8,rep,name=included_invocations,json=includedInvocations,proto3" json:"included_invocations,omitempty"`
	// bigquery_exports indicates what BigQuery table(s) that results in this
	// invocation should export to.
	BigqueryExports []*BigQueryExport `protobuf:"bytes,9,rep,name=bigquery_exports,json=bigqueryExports,proto3" json:"bigquery_exports,omitempty"`
	// LUCI identity (e.g. "user:<email>") who created the invocation.
	// Typically, a LUCI service account (e.g.
	// "user:cr-buildbucket@appspot.gserviceaccount.com"), but can also be a user
	// (e.g. "user:johndoe@example.com").
	//
	// Output only.
	CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Full name of the resource that produced results in this invocation.
	// See also https://aip.dev/122#full-resource-names
	// Typical examples:
	// - Swarming task: "//chromium-swarm.appspot.com/tasks/deadbeef"
	// - Buildbucket build: "//cr-buildbucket.appspot.com/builds/1234567890".
	ProducerResource string `protobuf:"bytes,11,opt,name=producer_resource,json=producerResource,proto3" json:"producer_resource,omitempty"`
	// Realm that the invocation exists under.
	// See https://chromium.googlesource.com/infra/luci/luci-py/+/refs/heads/master/appengine/auth_service/proto/realms_config.proto
	Realm string `protobuf:"bytes,12,opt,name=realm,proto3" json:"realm,omitempty"`
	// Specifies if/how to index the contents of this invocation.
	HistoryOptions *HistoryOptions `protobuf:"bytes,13,opt,name=history_options,json=historyOptions,proto3" json:"history_options,omitempty"`
	// contains filtered or unexported fields
}

A conceptual container of results. Immutable once finalized. It represents all results of some computation; examples: swarming task, buildbucket build, CQ attempt. Composable: can include other invocations, see inclusion.proto.

Next id: 14.

func (*Invocation) Descriptor deprecated

This method has been deprecated.
func (*Invocation) Descriptor() ([]byte, []int)

Deprecated: Use Invocation.ProtoReflect.Descriptor instead.

func (*Invocation) GetBigqueryExports

func (x *Invocation) GetBigqueryExports() []*BigQueryExport

func (*Invocation) GetCreateTime

func (x *Invocation) GetCreateTime() *timestamppb.Timestamp

func (*Invocation) GetCreatedBy

func (x *Invocation) GetCreatedBy() string

func (*Invocation) GetDeadline

func (x *Invocation) GetDeadline() *timestamppb.Timestamp

func (*Invocation) GetFinalizeTime

func (x *Invocation) GetFinalizeTime() *timestamppb.Timestamp

func (*Invocation) GetHistoryOptions

func (x *Invocation) GetHistoryOptions() *HistoryOptions

func (*Invocation) GetIncludedInvocations

func (x *Invocation) GetIncludedInvocations() []string

func (*Invocation) GetName

func (x *Invocation) GetName() string

func (*Invocation) GetProducerResource

func (x *Invocation) GetProducerResource() string

func (*Invocation) GetRealm

func (x *Invocation) GetRealm() string

func (*Invocation) GetState

func (x *Invocation) GetState() Invocation_State

func (*Invocation) GetTags

func (x *Invocation) GetTags() []*StringPair

func (*Invocation) ProtoMessage

func (*Invocation) ProtoMessage()

func (*Invocation) ProtoReflect

func (x *Invocation) ProtoReflect() protoreflect.Message

func (*Invocation) Reset

func (x *Invocation) Reset()

func (*Invocation) String

func (x *Invocation) String() string

type Invocation_State

type Invocation_State int32
const (
	// The default value. This value is used if the state is omitted.
	Invocation_STATE_UNSPECIFIED Invocation_State = 0
	// The invocation was created and accepts new results.
	Invocation_ACTIVE Invocation_State = 1
	// The invocation is in the process of transitioning into FINALIZED state.
	// This will happen automatically soon after all of its directly or
	// indirectly included invocations become inactive.
	Invocation_FINALIZING Invocation_State = 2
	// The invocation is immutable and no longer accepts new results nor
	// inclusions directly or indirectly.
	Invocation_FINALIZED Invocation_State = 3
)

func (Invocation_State) Descriptor

func (Invocation_State) Enum

func (Invocation_State) EnumDescriptor deprecated

This method has been deprecated.
func (Invocation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Invocation_State.Descriptor instead.

func (Invocation_State) Number

func (Invocation_State) String

func (x Invocation_State) String() string

func (Invocation_State) Type

type ListArtifactsRequest

type ListArtifactsRequest struct {

	// Name of the parent, e.g. an invocation (see Invocation.name) or
	// a test result (see TestResult.name).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of artifacts to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 artifacts will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListArtifacts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListArtifacts` MUST
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for ListArtifacts RPC.

func (*ListArtifactsRequest) Descriptor deprecated

This method has been deprecated.
func (*ListArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetPageSize

func (x *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken

func (x *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent

func (x *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect

func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message

func (*ListArtifactsRequest) Reset

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse

type ListArtifactsResponse struct {

	// The artifacts from the specified parent.
	Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	// If the invocation is not finalized, more results may appear later.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for ListArtifacts RPC.

func (*ListArtifactsResponse) Descriptor deprecated

This method has been deprecated.
func (*ListArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts

func (x *ListArtifactsResponse) GetArtifacts() []*Artifact

func (*ListArtifactsResponse) GetNextPageToken

func (x *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect

func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message

func (*ListArtifactsResponse) Reset

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (x *ListArtifactsResponse) String() string

type ListTestExonerationsRequest

type ListTestExonerationsRequest struct {

	// Name of the invocation, e.g. "invocations/{id}".
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The maximum number of test exonerations to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 test exonerations will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListTestExonerations` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListTestExonerations`
	// MUST match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for ListTestExonerations RPC.

func (*ListTestExonerationsRequest) Descriptor deprecated

This method has been deprecated.
func (*ListTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*ListTestExonerationsRequest) GetInvocation

func (x *ListTestExonerationsRequest) GetInvocation() string

func (*ListTestExonerationsRequest) GetPageSize

func (x *ListTestExonerationsRequest) GetPageSize() int32

func (*ListTestExonerationsRequest) GetPageToken

func (x *ListTestExonerationsRequest) GetPageToken() string

func (*ListTestExonerationsRequest) ProtoMessage

func (*ListTestExonerationsRequest) ProtoMessage()

func (*ListTestExonerationsRequest) ProtoReflect

func (*ListTestExonerationsRequest) Reset

func (x *ListTestExonerationsRequest) Reset()

func (*ListTestExonerationsRequest) String

func (x *ListTestExonerationsRequest) String() string

type ListTestExonerationsResponse

type ListTestExonerationsResponse struct {

	// The test exonerations from the specified invocation.
	TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	// If the invocation is not finalized, more results may appear later.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for ListTestExonerations RPC.

func (*ListTestExonerationsResponse) Descriptor deprecated

This method has been deprecated.
func (*ListTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*ListTestExonerationsResponse) GetNextPageToken

func (x *ListTestExonerationsResponse) GetNextPageToken() string

func (*ListTestExonerationsResponse) GetTestExonerations

func (x *ListTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*ListTestExonerationsResponse) ProtoMessage

func (*ListTestExonerationsResponse) ProtoMessage()

func (*ListTestExonerationsResponse) ProtoReflect

func (*ListTestExonerationsResponse) Reset

func (x *ListTestExonerationsResponse) Reset()

func (*ListTestExonerationsResponse) String

type ListTestResultsRequest

type ListTestResultsRequest struct {

	// Name of the invocation, e.g. "invocations/{id}".
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The maximum number of test results to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 test results will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListTestResults` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListTestResults` MUST
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Fields to include in the response.
	// If not set, the default mask is used where summary_html and tags are
	// excluded.
	// Test result names will always be included even if "name" is not a part of
	// the mask.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message for ListTestResults RPC.

func (*ListTestResultsRequest) Descriptor deprecated

This method has been deprecated.
func (*ListTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTestResultsRequest.ProtoReflect.Descriptor instead.

func (*ListTestResultsRequest) GetInvocation

func (x *ListTestResultsRequest) GetInvocation() string

func (*ListTestResultsRequest) GetPageSize

func (x *ListTestResultsRequest) GetPageSize() int32

func (*ListTestResultsRequest) GetPageToken

func (x *ListTestResultsRequest) GetPageToken() string

func (*ListTestResultsRequest) GetReadMask

func (x *ListTestResultsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListTestResultsRequest) ProtoMessage

func (*ListTestResultsRequest) ProtoMessage()

func (*ListTestResultsRequest) ProtoReflect

func (x *ListTestResultsRequest) ProtoReflect() protoreflect.Message

func (*ListTestResultsRequest) Reset

func (x *ListTestResultsRequest) Reset()

func (*ListTestResultsRequest) String

func (x *ListTestResultsRequest) String() string

type ListTestResultsResponse

type ListTestResultsResponse struct {

	// The test results from the specified invocation.
	TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	// If the invocation is not finalized, more results may appear later.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for ListTestResults RPC.

func (*ListTestResultsResponse) Descriptor deprecated

This method has been deprecated.
func (*ListTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTestResultsResponse.ProtoReflect.Descriptor instead.

func (*ListTestResultsResponse) GetNextPageToken

func (x *ListTestResultsResponse) GetNextPageToken() string

func (*ListTestResultsResponse) GetTestResults

func (x *ListTestResultsResponse) GetTestResults() []*TestResult

func (*ListTestResultsResponse) ProtoMessage

func (*ListTestResultsResponse) ProtoMessage()

func (*ListTestResultsResponse) ProtoReflect

func (x *ListTestResultsResponse) ProtoReflect() protoreflect.Message

func (*ListTestResultsResponse) Reset

func (x *ListTestResultsResponse) Reset()

func (*ListTestResultsResponse) String

func (x *ListTestResultsResponse) String() string

type MockRecorderClient

type MockRecorderClient struct {
	// contains filtered or unexported fields
}

MockRecorderClient is a mock of RecorderClient interface.

func NewMockRecorderClient

func NewMockRecorderClient(ctrl *gomock.Controller) *MockRecorderClient

NewMockRecorderClient creates a new mock instance.

func (*MockRecorderClient) BatchCreateArtifacts

BatchCreateArtifacts mocks base method.

func (*MockRecorderClient) BatchCreateInvocations

BatchCreateInvocations mocks base method.

func (*MockRecorderClient) BatchCreateTestExonerations

BatchCreateTestExonerations mocks base method.

func (*MockRecorderClient) BatchCreateTestResults

BatchCreateTestResults mocks base method.

func (*MockRecorderClient) CreateInvocation

func (m *MockRecorderClient) CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

CreateInvocation mocks base method.

func (*MockRecorderClient) CreateTestExoneration

func (m *MockRecorderClient) CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)

CreateTestExoneration mocks base method.

func (*MockRecorderClient) CreateTestResult

func (m *MockRecorderClient) CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)

CreateTestResult mocks base method.

func (*MockRecorderClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRecorderClient) FinalizeInvocation

func (m *MockRecorderClient) FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

FinalizeInvocation mocks base method.

func (*MockRecorderClient) UpdateIncludedInvocations

func (m *MockRecorderClient) UpdateIncludedInvocations(ctx context.Context, in *UpdateIncludedInvocationsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

UpdateIncludedInvocations mocks base method.

func (*MockRecorderClient) UpdateInvocation

func (m *MockRecorderClient) UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

UpdateInvocation mocks base method.

type MockRecorderClientMockRecorder

type MockRecorderClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRecorderClientMockRecorder is the mock recorder for MockRecorderClient.

func (*MockRecorderClientMockRecorder) BatchCreateArtifacts

func (mr *MockRecorderClientMockRecorder) BatchCreateArtifacts(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateArtifacts indicates an expected call of BatchCreateArtifacts.

func (*MockRecorderClientMockRecorder) BatchCreateInvocations

func (mr *MockRecorderClientMockRecorder) BatchCreateInvocations(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateInvocations indicates an expected call of BatchCreateInvocations.

func (*MockRecorderClientMockRecorder) BatchCreateTestExonerations

func (mr *MockRecorderClientMockRecorder) BatchCreateTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations.

func (*MockRecorderClientMockRecorder) BatchCreateTestResults

func (mr *MockRecorderClientMockRecorder) BatchCreateTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateTestResults indicates an expected call of BatchCreateTestResults.

func (*MockRecorderClientMockRecorder) CreateInvocation

func (mr *MockRecorderClientMockRecorder) CreateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateInvocation indicates an expected call of CreateInvocation.

func (*MockRecorderClientMockRecorder) CreateTestExoneration

func (mr *MockRecorderClientMockRecorder) CreateTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateTestExoneration indicates an expected call of CreateTestExoneration.

func (*MockRecorderClientMockRecorder) CreateTestResult

func (mr *MockRecorderClientMockRecorder) CreateTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateTestResult indicates an expected call of CreateTestResult.

func (*MockRecorderClientMockRecorder) FinalizeInvocation

func (mr *MockRecorderClientMockRecorder) FinalizeInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

FinalizeInvocation indicates an expected call of FinalizeInvocation.

func (*MockRecorderClientMockRecorder) UpdateIncludedInvocations

func (mr *MockRecorderClientMockRecorder) UpdateIncludedInvocations(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateIncludedInvocations indicates an expected call of UpdateIncludedInvocations.

func (*MockRecorderClientMockRecorder) UpdateInvocation

func (mr *MockRecorderClientMockRecorder) UpdateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateInvocation indicates an expected call of UpdateInvocation.

type MockRecorderServer

type MockRecorderServer struct {
	// contains filtered or unexported fields
}

MockRecorderServer is a mock of RecorderServer interface.

func NewMockRecorderServer

func NewMockRecorderServer(ctrl *gomock.Controller) *MockRecorderServer

NewMockRecorderServer creates a new mock instance.

func (*MockRecorderServer) BatchCreateArtifacts

BatchCreateArtifacts mocks base method.

func (*MockRecorderServer) BatchCreateInvocations

BatchCreateInvocations mocks base method.

func (*MockRecorderServer) BatchCreateTestExonerations

BatchCreateTestExonerations mocks base method.

func (*MockRecorderServer) BatchCreateTestResults

BatchCreateTestResults mocks base method.

func (*MockRecorderServer) CreateInvocation

func (m *MockRecorderServer) CreateInvocation(arg0 context.Context, arg1 *CreateInvocationRequest) (*Invocation, error)

CreateInvocation mocks base method.

func (*MockRecorderServer) CreateTestExoneration

func (m *MockRecorderServer) CreateTestExoneration(arg0 context.Context, arg1 *CreateTestExonerationRequest) (*TestExoneration, error)

CreateTestExoneration mocks base method.

func (*MockRecorderServer) CreateTestResult

func (m *MockRecorderServer) CreateTestResult(arg0 context.Context, arg1 *CreateTestResultRequest) (*TestResult, error)

CreateTestResult mocks base method.

func (*MockRecorderServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRecorderServer) FinalizeInvocation

func (m *MockRecorderServer) FinalizeInvocation(arg0 context.Context, arg1 *FinalizeInvocationRequest) (*Invocation, error)

FinalizeInvocation mocks base method.

func (*MockRecorderServer) UpdateIncludedInvocations

func (m *MockRecorderServer) UpdateIncludedInvocations(arg0 context.Context, arg1 *UpdateIncludedInvocationsRequest) (*emptypb.Empty, error)

UpdateIncludedInvocations mocks base method.

func (*MockRecorderServer) UpdateInvocation

func (m *MockRecorderServer) UpdateInvocation(arg0 context.Context, arg1 *UpdateInvocationRequest) (*Invocation, error)

UpdateInvocation mocks base method.

type MockRecorderServerMockRecorder

type MockRecorderServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRecorderServerMockRecorder is the mock recorder for MockRecorderServer.

func (*MockRecorderServerMockRecorder) BatchCreateArtifacts

func (mr *MockRecorderServerMockRecorder) BatchCreateArtifacts(arg0, arg1 interface{}) *gomock.Call

BatchCreateArtifacts indicates an expected call of BatchCreateArtifacts.

func (*MockRecorderServerMockRecorder) BatchCreateInvocations

func (mr *MockRecorderServerMockRecorder) BatchCreateInvocations(arg0, arg1 interface{}) *gomock.Call

BatchCreateInvocations indicates an expected call of BatchCreateInvocations.

func (*MockRecorderServerMockRecorder) BatchCreateTestExonerations

func (mr *MockRecorderServerMockRecorder) BatchCreateTestExonerations(arg0, arg1 interface{}) *gomock.Call

BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations.

func (*MockRecorderServerMockRecorder) BatchCreateTestResults

func (mr *MockRecorderServerMockRecorder) BatchCreateTestResults(arg0, arg1 interface{}) *gomock.Call

BatchCreateTestResults indicates an expected call of BatchCreateTestResults.

func (*MockRecorderServerMockRecorder) CreateInvocation

func (mr *MockRecorderServerMockRecorder) CreateInvocation(arg0, arg1 interface{}) *gomock.Call

CreateInvocation indicates an expected call of CreateInvocation.

func (*MockRecorderServerMockRecorder) CreateTestExoneration

func (mr *MockRecorderServerMockRecorder) CreateTestExoneration(arg0, arg1 interface{}) *gomock.Call

CreateTestExoneration indicates an expected call of CreateTestExoneration.

func (*MockRecorderServerMockRecorder) CreateTestResult

func (mr *MockRecorderServerMockRecorder) CreateTestResult(arg0, arg1 interface{}) *gomock.Call

CreateTestResult indicates an expected call of CreateTestResult.

func (*MockRecorderServerMockRecorder) FinalizeInvocation

func (mr *MockRecorderServerMockRecorder) FinalizeInvocation(arg0, arg1 interface{}) *gomock.Call

FinalizeInvocation indicates an expected call of FinalizeInvocation.

func (*MockRecorderServerMockRecorder) UpdateIncludedInvocations

func (mr *MockRecorderServerMockRecorder) UpdateIncludedInvocations(arg0, arg1 interface{}) *gomock.Call

UpdateIncludedInvocations indicates an expected call of UpdateIncludedInvocations.

func (*MockRecorderServerMockRecorder) UpdateInvocation

func (mr *MockRecorderServerMockRecorder) UpdateInvocation(arg0, arg1 interface{}) *gomock.Call

UpdateInvocation indicates an expected call of UpdateInvocation.

type MockResultDBClient

type MockResultDBClient struct {
	// contains filtered or unexported fields
}

MockResultDBClient is a mock of ResultDBClient interface.

func NewMockResultDBClient

func NewMockResultDBClient(ctrl *gomock.Controller) *MockResultDBClient

NewMockResultDBClient creates a new mock instance.

func (*MockResultDBClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResultDBClient) GetArtifact

func (m *MockResultDBClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)

GetArtifact mocks base method.

func (*MockResultDBClient) GetInvocation

func (m *MockResultDBClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

GetInvocation mocks base method.

func (*MockResultDBClient) GetTestExoneration

func (m *MockResultDBClient) GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)

GetTestExoneration mocks base method.

func (*MockResultDBClient) GetTestResult

func (m *MockResultDBClient) GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)

GetTestResult mocks base method.

func (*MockResultDBClient) GetTestResultHistory

GetTestResultHistory mocks base method.

func (*MockResultDBClient) ListArtifacts

ListArtifacts mocks base method.

func (*MockResultDBClient) ListTestExonerations

ListTestExonerations mocks base method.

func (*MockResultDBClient) ListTestResults

ListTestResults mocks base method.

func (*MockResultDBClient) QueryArtifacts

QueryArtifacts mocks base method.

func (*MockResultDBClient) QueryTestExonerations

QueryTestExonerations mocks base method.

func (*MockResultDBClient) QueryTestResultStatistics

QueryTestResultStatistics mocks base method.

func (*MockResultDBClient) QueryTestResults

QueryTestResults mocks base method.

type MockResultDBClientMockRecorder

type MockResultDBClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockResultDBClientMockRecorder is the mock recorder for MockResultDBClient.

func (*MockResultDBClientMockRecorder) GetArtifact

func (mr *MockResultDBClientMockRecorder) GetArtifact(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBClientMockRecorder) GetInvocation

func (mr *MockResultDBClientMockRecorder) GetInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetInvocation indicates an expected call of GetInvocation.

func (*MockResultDBClientMockRecorder) GetTestExoneration

func (mr *MockResultDBClientMockRecorder) GetTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestExoneration indicates an expected call of GetTestExoneration.

func (*MockResultDBClientMockRecorder) GetTestResult

func (mr *MockResultDBClientMockRecorder) GetTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestResult indicates an expected call of GetTestResult.

func (*MockResultDBClientMockRecorder) GetTestResultHistory

func (mr *MockResultDBClientMockRecorder) GetTestResultHistory(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestResultHistory indicates an expected call of GetTestResultHistory.

func (*MockResultDBClientMockRecorder) ListArtifacts

func (mr *MockResultDBClientMockRecorder) ListArtifacts(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListArtifacts indicates an expected call of ListArtifacts.

func (*MockResultDBClientMockRecorder) ListTestExonerations

func (mr *MockResultDBClientMockRecorder) ListTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListTestExonerations indicates an expected call of ListTestExonerations.

func (*MockResultDBClientMockRecorder) ListTestResults

func (mr *MockResultDBClientMockRecorder) ListTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListTestResults indicates an expected call of ListTestResults.

func (*MockResultDBClientMockRecorder) QueryArtifacts

func (mr *MockResultDBClientMockRecorder) QueryArtifacts(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBClientMockRecorder) QueryTestExonerations

func (mr *MockResultDBClientMockRecorder) QueryTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBClientMockRecorder) QueryTestResultStatistics

func (mr *MockResultDBClientMockRecorder) QueryTestResultStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestResultStatistics indicates an expected call of QueryTestResultStatistics.

func (*MockResultDBClientMockRecorder) QueryTestResults

func (mr *MockResultDBClientMockRecorder) QueryTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestResults indicates an expected call of QueryTestResults.

type MockResultDBServer

type MockResultDBServer struct {
	// contains filtered or unexported fields
}

MockResultDBServer is a mock of ResultDBServer interface.

func NewMockResultDBServer

func NewMockResultDBServer(ctrl *gomock.Controller) *MockResultDBServer

NewMockResultDBServer creates a new mock instance.

func (*MockResultDBServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResultDBServer) GetArtifact

func (m *MockResultDBServer) GetArtifact(arg0 context.Context, arg1 *GetArtifactRequest) (*Artifact, error)

GetArtifact mocks base method.

func (*MockResultDBServer) GetInvocation

func (m *MockResultDBServer) GetInvocation(arg0 context.Context, arg1 *GetInvocationRequest) (*Invocation, error)

GetInvocation mocks base method.

func (*MockResultDBServer) GetTestExoneration

func (m *MockResultDBServer) GetTestExoneration(arg0 context.Context, arg1 *GetTestExonerationRequest) (*TestExoneration, error)

GetTestExoneration mocks base method.

func (*MockResultDBServer) GetTestResult

func (m *MockResultDBServer) GetTestResult(arg0 context.Context, arg1 *GetTestResultRequest) (*TestResult, error)

GetTestResult mocks base method.

func (*MockResultDBServer) GetTestResultHistory

GetTestResultHistory mocks base method.

func (*MockResultDBServer) ListArtifacts

ListArtifacts mocks base method.

func (*MockResultDBServer) ListTestExonerations

ListTestExonerations mocks base method.

func (*MockResultDBServer) ListTestResults

ListTestResults mocks base method.

func (*MockResultDBServer) QueryArtifacts

QueryArtifacts mocks base method.

func (*MockResultDBServer) QueryTestExonerations

QueryTestExonerations mocks base method.

func (*MockResultDBServer) QueryTestResultStatistics

QueryTestResultStatistics mocks base method.

func (*MockResultDBServer) QueryTestResults

QueryTestResults mocks base method.

type MockResultDBServerMockRecorder

type MockResultDBServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockResultDBServerMockRecorder is the mock recorder for MockResultDBServer.

func (*MockResultDBServerMockRecorder) GetArtifact

func (mr *MockResultDBServerMockRecorder) GetArtifact(arg0, arg1 interface{}) *gomock.Call

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBServerMockRecorder) GetInvocation

func (mr *MockResultDBServerMockRecorder) GetInvocation(arg0, arg1 interface{}) *gomock.Call

GetInvocation indicates an expected call of GetInvocation.

func (*MockResultDBServerMockRecorder) GetTestExoneration

func (mr *MockResultDBServerMockRecorder) GetTestExoneration(arg0, arg1 interface{}) *gomock.Call

GetTestExoneration indicates an expected call of GetTestExoneration.

func (*MockResultDBServerMockRecorder) GetTestResult

func (mr *MockResultDBServerMockRecorder) GetTestResult(arg0, arg1 interface{}) *gomock.Call

GetTestResult indicates an expected call of GetTestResult.

func (*MockResultDBServerMockRecorder) GetTestResultHistory

func (mr *MockResultDBServerMockRecorder) GetTestResultHistory(arg0, arg1 interface{}) *gomock.Call

GetTestResultHistory indicates an expected call of GetTestResultHistory.

func (*MockResultDBServerMockRecorder) ListArtifacts

func (mr *MockResultDBServerMockRecorder) ListArtifacts(arg0, arg1 interface{}) *gomock.Call

ListArtifacts indicates an expected call of ListArtifacts.

func (*MockResultDBServerMockRecorder) ListTestExonerations

func (mr *MockResultDBServerMockRecorder) ListTestExonerations(arg0, arg1 interface{}) *gomock.Call

ListTestExonerations indicates an expected call of ListTestExonerations.

func (*MockResultDBServerMockRecorder) ListTestResults

func (mr *MockResultDBServerMockRecorder) ListTestResults(arg0, arg1 interface{}) *gomock.Call

ListTestResults indicates an expected call of ListTestResults.

func (*MockResultDBServerMockRecorder) QueryArtifacts

func (mr *MockResultDBServerMockRecorder) QueryArtifacts(arg0, arg1 interface{}) *gomock.Call

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBServerMockRecorder) QueryTestExonerations

func (mr *MockResultDBServerMockRecorder) QueryTestExonerations(arg0, arg1 interface{}) *gomock.Call

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBServerMockRecorder) QueryTestResultStatistics

func (mr *MockResultDBServerMockRecorder) QueryTestResultStatistics(arg0, arg1 interface{}) *gomock.Call

QueryTestResultStatistics indicates an expected call of QueryTestResultStatistics.

func (*MockResultDBServerMockRecorder) QueryTestResults

func (mr *MockResultDBServerMockRecorder) QueryTestResults(arg0, arg1 interface{}) *gomock.Call

QueryTestResults indicates an expected call of QueryTestResults.

type MockisGetTestResultHistoryRequest_Range

type MockisGetTestResultHistoryRequest_Range struct {
	// contains filtered or unexported fields
}

MockisGetTestResultHistoryRequest_Range is a mock of isGetTestResultHistoryRequest_Range interface.

func NewMockisGetTestResultHistoryRequest_Range

func NewMockisGetTestResultHistoryRequest_Range(ctrl *gomock.Controller) *MockisGetTestResultHistoryRequest_Range

NewMockisGetTestResultHistoryRequest_Range creates a new mock instance.

func (*MockisGetTestResultHistoryRequest_Range) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockisGetTestResultHistoryRequest_RangeMockRecorder

type MockisGetTestResultHistoryRequest_RangeMockRecorder struct {
	// contains filtered or unexported fields
}

MockisGetTestResultHistoryRequest_RangeMockRecorder is the mock recorder for MockisGetTestResultHistoryRequest_Range.

type QueryArtifactsRequest

type QueryArtifactsRequest struct {

	// Retrieve artifacts included in these invocations, directly or indirectly
	// (via Invocation.included_invocations and via contained test results).
	//
	// Specifying multiple invocations is equivalent to querying one invocation
	// that includes these.
	Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// An artifact in the response must satisfy this predicate.
	Predicate *ArtifactPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// The maximum number of artifacts to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 artifacts will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryArtifacts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryArtifacts` MUST
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryArtifacts RPC.

func (*QueryArtifactsRequest) Descriptor deprecated

This method has been deprecated.
func (*QueryArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactsRequest.ProtoReflect.Descriptor instead.

func (*QueryArtifactsRequest) GetInvocations

func (x *QueryArtifactsRequest) GetInvocations() []string

func (*QueryArtifactsRequest) GetPageSize

func (x *QueryArtifactsRequest) GetPageSize() int32

func (*QueryArtifactsRequest) GetPageToken

func (x *QueryArtifactsRequest) GetPageToken() string

func (*QueryArtifactsRequest) GetPredicate

func (x *QueryArtifactsRequest) GetPredicate() *ArtifactPredicate

func (*QueryArtifactsRequest) ProtoMessage

func (*QueryArtifactsRequest) ProtoMessage()

func (*QueryArtifactsRequest) ProtoReflect

func (x *QueryArtifactsRequest) ProtoReflect() protoreflect.Message

func (*QueryArtifactsRequest) Reset

func (x *QueryArtifactsRequest) Reset()

func (*QueryArtifactsRequest) String

func (x *QueryArtifactsRequest) String() string

type QueryArtifactsResponse

type QueryArtifactsResponse struct {

	// Matched artifacts.
	// First invocation-level artifacts, then test-result-level artifacts
	// ordered by parent invocation ID, test ID and artifact ID.
	Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryArtifacts RPC.

func (*QueryArtifactsResponse) Descriptor deprecated

This method has been deprecated.
func (*QueryArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactsResponse.ProtoReflect.Descriptor instead.

func (*QueryArtifactsResponse) GetArtifacts

func (x *QueryArtifactsResponse) GetArtifacts() []*Artifact

func (*QueryArtifactsResponse) GetNextPageToken

func (x *QueryArtifactsResponse) GetNextPageToken() string

func (*QueryArtifactsResponse) ProtoMessage

func (*QueryArtifactsResponse) ProtoMessage()

func (*QueryArtifactsResponse) ProtoReflect

func (x *QueryArtifactsResponse) ProtoReflect() protoreflect.Message

func (*QueryArtifactsResponse) Reset

func (x *QueryArtifactsResponse) Reset()

func (*QueryArtifactsResponse) String

func (x *QueryArtifactsResponse) String() string

type QueryTestExonerationsRequest

type QueryTestExonerationsRequest struct {

	// Retrieve test exonerations included in these invocations, directly or
	// indirectly (via Invocation.included_invocations).
	//
	// Specifying multiple invocations is equivalent to querying one invocation
	// that includes these.
	Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// A test exoneration in the response must satisfy this predicate.
	Predicate *TestExonerationPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// The maximum number of test exonerations to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 test exonerations will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestExonerations` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestExonerations`
	// MUST match the call that provided the page token.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryTestExonerations RPC.

func (*QueryTestExonerationsRequest) Descriptor deprecated

This method has been deprecated.
func (*QueryTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestExonerationsRequest) GetInvocations

func (x *QueryTestExonerationsRequest) GetInvocations() []string

func (*QueryTestExonerationsRequest) GetPageSize

func (x *QueryTestExonerationsRequest) GetPageSize() int32

func (*QueryTestExonerationsRequest) GetPageToken

func (x *QueryTestExonerationsRequest) GetPageToken() string

func (*QueryTestExonerationsRequest) GetPredicate

func (*QueryTestExonerationsRequest) ProtoMessage

func (*QueryTestExonerationsRequest) ProtoMessage()

func (*QueryTestExonerationsRequest) ProtoReflect

func (*QueryTestExonerationsRequest) Reset

func (x *QueryTestExonerationsRequest) Reset()

func (*QueryTestExonerationsRequest) String

type QueryTestExonerationsResponse

type QueryTestExonerationsResponse struct {

	// The test exonerations matching the predicate.
	// Ordered by parent invocation ID, test ID and exoneration ID.
	TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryTestExonerations RPC.

func (*QueryTestExonerationsResponse) Descriptor deprecated

This method has been deprecated.
func (*QueryTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestExonerationsResponse) GetNextPageToken

func (x *QueryTestExonerationsResponse) GetNextPageToken() string

func (*QueryTestExonerationsResponse) GetTestExonerations

func (x *QueryTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*QueryTestExonerationsResponse) ProtoMessage

func (*QueryTestExonerationsResponse) ProtoMessage()

func (*QueryTestExonerationsResponse) ProtoReflect

func (*QueryTestExonerationsResponse) Reset

func (x *QueryTestExonerationsResponse) Reset()

func (*QueryTestExonerationsResponse) String

type QueryTestResultStatisticsRequest

type QueryTestResultStatisticsRequest struct {

	// Retrieve statistics of test result belong to these invocations,
	// directly or indirectly (via Invocation.included_invocations).
	//
	// Specifying multiple invocations is equivalent to requesting one invocation
	// that includes these.
	Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryTestResultStatistics RPC.

func (*QueryTestResultStatisticsRequest) Descriptor deprecated

This method has been deprecated.
func (*QueryTestResultStatisticsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultStatisticsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestResultStatisticsRequest) GetInvocations

func (x *QueryTestResultStatisticsRequest) GetInvocations() []string

func (*QueryTestResultStatisticsRequest) ProtoMessage

func (*QueryTestResultStatisticsRequest) ProtoMessage()

func (*QueryTestResultStatisticsRequest) ProtoReflect

func (*QueryTestResultStatisticsRequest) Reset

func (*QueryTestResultStatisticsRequest) String

type QueryTestResultStatisticsResponse

type QueryTestResultStatisticsResponse struct {

	// Total number of test results.
	TotalTestResults int64 `protobuf:"varint,1,opt,name=total_test_results,json=totalTestResults,proto3" json:"total_test_results,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryTestResultStatistics RPC.

func (*QueryTestResultStatisticsResponse) Descriptor deprecated

This method has been deprecated.
func (*QueryTestResultStatisticsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultStatisticsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestResultStatisticsResponse) GetTotalTestResults

func (x *QueryTestResultStatisticsResponse) GetTotalTestResults() int64

func (*QueryTestResultStatisticsResponse) ProtoMessage

func (*QueryTestResultStatisticsResponse) ProtoMessage()

func (*QueryTestResultStatisticsResponse) ProtoReflect

func (*QueryTestResultStatisticsResponse) Reset

func (*QueryTestResultStatisticsResponse) String

type QueryTestResultsRequest

type QueryTestResultsRequest struct {

	// Retrieve test results included in these invocations, directly or indirectly
	// (via Invocation.included_invocations).
	//
	// Specifying multiple invocations is equivalent to querying one invocation
	// that includes these.
	Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// A test result in the response must satisfy this predicate.
	Predicate *TestResultPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// The maximum number of test results to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 test results will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestResults` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestResults` MUST
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Fields to include in the response.
	// If not set, the default mask is used where summary_html and tags are
	// excluded.
	// Test result names will always be included even if "name" is not a part of
	// the mask.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryTestResults RPC.

func (*QueryTestResultsRequest) Descriptor deprecated

This method has been deprecated.
func (*QueryTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestResultsRequest) GetInvocations

func (x *QueryTestResultsRequest) GetInvocations() []string

func (*QueryTestResultsRequest) GetPageSize

func (x *QueryTestResultsRequest) GetPageSize() int32

func (*QueryTestResultsRequest) GetPageToken

func (x *QueryTestResultsRequest) GetPageToken() string

func (*QueryTestResultsRequest) GetPredicate

func (x *QueryTestResultsRequest) GetPredicate() *TestResultPredicate

func (*QueryTestResultsRequest) GetReadMask

func (x *QueryTestResultsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*QueryTestResultsRequest) ProtoMessage

func (*QueryTestResultsRequest) ProtoMessage()

func (*QueryTestResultsRequest) ProtoReflect

func (x *QueryTestResultsRequest) ProtoReflect() protoreflect.Message

func (*QueryTestResultsRequest) Reset

func (x *QueryTestResultsRequest) Reset()

func (*QueryTestResultsRequest) String

func (x *QueryTestResultsRequest) String() string

type QueryTestResultsResponse

type QueryTestResultsResponse struct {

	// Matched test results.
	// Ordered by parent invocation ID, test ID and result ID.
	TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there were no subsequent pages at the time of
	// request.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryTestResults RPC.

func (*QueryTestResultsResponse) Descriptor deprecated

This method has been deprecated.
func (*QueryTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestResultsResponse) GetNextPageToken

func (x *QueryTestResultsResponse) GetNextPageToken() string

func (*QueryTestResultsResponse) GetTestResults

func (x *QueryTestResultsResponse) GetTestResults() []*TestResult

func (*QueryTestResultsResponse) ProtoMessage

func (*QueryTestResultsResponse) ProtoMessage()

func (*QueryTestResultsResponse) ProtoReflect

func (x *QueryTestResultsResponse) ProtoReflect() protoreflect.Message

func (*QueryTestResultsResponse) Reset

func (x *QueryTestResultsResponse) Reset()

func (*QueryTestResultsResponse) String

func (x *QueryTestResultsResponse) String() string

type RecorderClient

type RecorderClient interface {
	// Creates a new invocation.
	// The request specifies the invocation id and its contents.
	//
	// The response header metadata contains "update-token" required for future
	// updates, including finalization.
	//
	// If invocation with the given ID already exists, returns ALREADY_EXISTS
	// error code.
	CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
	// Creates multiple invocations in a single rpc.
	//
	// The response header metadata contains a multi-valued "update-token"
	// required for future updates, including finalization. The tokens will be
	// given in the same order as BatchCreateInvocationRequest.requests.
	BatchCreateInvocations(ctx context.Context, in *BatchCreateInvocationsRequest, opts ...grpc.CallOption) (*BatchCreateInvocationsResponse, error)
	// Updates an existing non-finalized invocation.
	UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
	// Transitions the given invocation to the state FINALIZED.
	FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
	// Updates inclusions for a non-finalized invocation.
	UpdateIncludedInvocations(ctx context.Context, in *UpdateIncludedInvocationsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Appends a test result to a non-finalized invocation.
	CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
	// Atomically appends a batch of test results to a non-finalized invocation.
	BatchCreateTestResults(ctx context.Context, in *BatchCreateTestResultsRequest, opts ...grpc.CallOption) (*BatchCreateTestResultsResponse, error)
	// Appends a test exoneration to a non-finalized invocation.
	CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
	// Atomically appends a batch of test exonerations to a non-finalized
	// invocation.
	BatchCreateTestExonerations(ctx context.Context, in *BatchCreateTestExonerationsRequest, opts ...grpc.CallOption) (*BatchCreateTestExonerationsResponse, error)
	// Create multiple artifacts.
	//
	// An artifact can be either invocation-level or test-result-level.
	// See Artifact.name for more info.
	BatchCreateArtifacts(ctx context.Context, in *BatchCreateArtifactsRequest, opts ...grpc.CallOption) (*BatchCreateArtifactsResponse, error)
}

RecorderClient is the client API for Recorder service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRecorderClient

func NewRecorderClient(cc grpc.ClientConnInterface) RecorderClient

func NewRecorderPRPCClient

func NewRecorderPRPCClient(client *prpc.Client) RecorderClient

type RecorderServer

type RecorderServer interface {
	// Creates a new invocation.
	// The request specifies the invocation id and its contents.
	//
	// The response header metadata contains "update-token" required for future
	// updates, including finalization.
	//
	// If invocation with the given ID already exists, returns ALREADY_EXISTS
	// error code.
	CreateInvocation(context.Context, *CreateInvocationRequest) (*Invocation, error)
	// Creates multiple invocations in a single rpc.
	//
	// The response header metadata contains a multi-valued "update-token"
	// required for future updates, including finalization. The tokens will be
	// given in the same order as BatchCreateInvocationRequest.requests.
	BatchCreateInvocations(context.Context, *BatchCreateInvocationsRequest) (*BatchCreateInvocationsResponse, error)
	// Updates an existing non-finalized invocation.
	UpdateInvocation(context.Context, *UpdateInvocationRequest) (*Invocation, error)
	// Transitions the given invocation to the state FINALIZED.
	FinalizeInvocation(context.Context, *FinalizeInvocationRequest) (*Invocation, error)
	// Updates inclusions for a non-finalized invocation.
	UpdateIncludedInvocations(context.Context, *UpdateIncludedInvocationsRequest) (*emptypb.Empty, error)
	// Appends a test result to a non-finalized invocation.
	CreateTestResult(context.Context, *CreateTestResultRequest) (*TestResult, error)
	// Atomically appends a batch of test results to a non-finalized invocation.
	BatchCreateTestResults(context.Context, *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
	// Appends a test exoneration to a non-finalized invocation.
	CreateTestExoneration(context.Context, *CreateTestExonerationRequest) (*TestExoneration, error)
	// Atomically appends a batch of test exonerations to a non-finalized
	// invocation.
	BatchCreateTestExonerations(context.Context, *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
	// Create multiple artifacts.
	//
	// An artifact can be either invocation-level or test-result-level.
	// See Artifact.name for more info.
	BatchCreateArtifacts(context.Context, *BatchCreateArtifactsRequest) (*BatchCreateArtifactsResponse, error)
}

RecorderServer is the server API for Recorder service.

type ResultDBClient

type ResultDBClient interface {
	// Retrieves an invocation.
	GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
	// Retrieves a test result.
	GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
	// Retrieves test results for a parent invocation.
	//
	// Note: response does not contain test results of included invocations.
	// Use QueryTestResults instead.
	ListTestResults(ctx context.Context, in *ListTestResultsRequest, opts ...grpc.CallOption) (*ListTestResultsResponse, error)
	// Retrieves a test exoneration.
	GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
	// Retrieves test exonerations for a parent invocation.
	//
	// Note: response does not contain test results of included invocations.
	// Use QueryTestExonerations instead.
	ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error)
	// Retrieves test results from an invocation, recursively.
	// Supports invocation inclusions.
	// Supports advanced filtering.
	QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, error)
	// Retrieves test exonerations from an invocation.
	// Supports invocation inclusions.
	// Supports advanced filtering.
	QueryTestExonerations(ctx context.Context, in *QueryTestExonerationsRequest, opts ...grpc.CallOption) (*QueryTestExonerationsResponse, error)
	// Retrieves the test result statistics of an invocation.
	// Currently supports total number of test results belong to the invocation,
	// directly and indirectly.
	QueryTestResultStatistics(ctx context.Context, in *QueryTestResultStatisticsRequest, opts ...grpc.CallOption) (*QueryTestResultStatisticsResponse, error)
	// Retrieves an artifact.
	GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// Retrieves artifacts for a parent invocation/testResult.
	//
	// Note: if the parent is an invocation, the response does not contain
	// artifacts of included invocations. Use QueryArtifacts instead.
	ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
	// Retrieves artifacts from an invocation, recursively.
	// Can retrieve artifacts of test results included in the invocation
	// directly or indirectly.
	// Supports invocation inclusions.
	QueryArtifacts(ctx context.Context, in *QueryArtifactsRequest, opts ...grpc.CallOption) (*QueryArtifactsResponse, error)
	// Retrieves test results in a given range of either time or commit position.
	// Accepts test variant predicate to filter the results.
	//
	// Note, testIdRegexp and variantPredicate SHOULD be specified to get the
	// results in a timely manner. Queries without either of the predicates will
	// be slow.
	GetTestResultHistory(ctx context.Context, in *GetTestResultHistoryRequest, opts ...grpc.CallOption) (*GetTestResultHistoryResponse, error)
}

ResultDBClient is the client API for ResultDB service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewResultDBClient

func NewResultDBClient(cc grpc.ClientConnInterface) ResultDBClient

func NewResultDBPRPCClient

func NewResultDBPRPCClient(client *prpc.Client) ResultDBClient

type ResultDBServer

type ResultDBServer interface {
	// Retrieves an invocation.
	GetInvocation(context.Context, *GetInvocationRequest) (*Invocation, error)
	// Retrieves a test result.
	GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)
	// Retrieves test results for a parent invocation.
	//
	// Note: response does not contain test results of included invocations.
	// Use QueryTestResults instead.
	ListTestResults(context.Context, *ListTestResultsRequest) (*ListTestResultsResponse, error)
	// Retrieves a test exoneration.
	GetTestExoneration(context.Context, *GetTestExonerationRequest) (*TestExoneration, error)
	// Retrieves test exonerations for a parent invocation.
	//
	// Note: response does not contain test results of included invocations.
	// Use QueryTestExonerations instead.
	ListTestExonerations(context.Context, *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
	// Retrieves test results from an invocation, recursively.
	// Supports invocation inclusions.
	// Supports advanced filtering.
	QueryTestResults(context.Context, *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
	// Retrieves test exonerations from an invocation.
	// Supports invocation inclusions.
	// Supports advanced filtering.
	QueryTestExonerations(context.Context, *QueryTestExonerationsRequest) (*QueryTestExonerationsResponse, error)
	// Retrieves the test result statistics of an invocation.
	// Currently supports total number of test results belong to the invocation,
	// directly and indirectly.
	QueryTestResultStatistics(context.Context, *QueryTestResultStatisticsRequest) (*QueryTestResultStatisticsResponse, error)
	// Retrieves an artifact.
	GetArtifact(context.Context, *GetArtifactRequest) (*Artifact, error)
	// Retrieves artifacts for a parent invocation/testResult.
	//
	// Note: if the parent is an invocation, the response does not contain
	// artifacts of included invocations. Use QueryArtifacts instead.
	ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
	// Retrieves artifacts from an invocation, recursively.
	// Can retrieve artifacts of test results included in the invocation
	// directly or indirectly.
	// Supports invocation inclusions.
	QueryArtifacts(context.Context, *QueryArtifactsRequest) (*QueryArtifactsResponse, error)
	// Retrieves test results in a given range of either time or commit position.
	// Accepts test variant predicate to filter the results.
	//
	// Note, testIdRegexp and variantPredicate SHOULD be specified to get the
	// results in a timely manner. Queries without either of the predicates will
	// be slow.
	GetTestResultHistory(context.Context, *GetTestResultHistoryRequest) (*GetTestResultHistoryResponse, error)
}

ResultDBServer is the server API for ResultDB service.

type StringPair

type StringPair struct {

	// Regex: ^[a-z][a-z0-9_]*(/[a-z][a-z0-9_]*)*$
	// Max length: 64.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Max length: 256.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A string key-value pair. Typically used for tagging, see Invocation.tags

func (*StringPair) Descriptor deprecated

This method has been deprecated.
func (*StringPair) Descriptor() ([]byte, []int)

Deprecated: Use StringPair.ProtoReflect.Descriptor instead.

func (*StringPair) GetKey

func (x *StringPair) GetKey() string

func (*StringPair) GetValue

func (x *StringPair) GetValue() string

func (*StringPair) ProtoMessage

func (*StringPair) ProtoMessage()

func (*StringPair) ProtoReflect

func (x *StringPair) ProtoReflect() protoreflect.Message

func (*StringPair) Reset

func (x *StringPair) Reset()

func (*StringPair) String

func (x *StringPair) String() string

type TestExoneration

type TestExoneration struct {

	// Can be used to refer to this test exoneration, e.g. in
	// ResultDB.GetTestExoneration RPC.
	// Format:
	// invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/exonerations/{EXONERATION_ID}.
	// URL_ESCAPED_TEST_ID is test_variant.test_id escaped with
	// https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
	//
	// Output only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Test identifier, see TestResult.test_id.
	TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Description of the variant of the test, see Variant type.
	// Unlike TestResult.extra_variant_pairs, this one must be a full definition
	// of the variant, i.e. it is not combined with Invocation.base_test_variant.
	Variant *Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	// Identifies an exoneration in a given invocation and test id.
	// It is server-generated.
	ExonerationId string `protobuf:"bytes,4,opt,name=exoneration_id,json=exonerationId,proto3" json:"exoneration_id,omitempty"`
	// Reasoning behind the exoneration, in HTML.
	// MUST be sanitized before rendering in the browser.
	ExplanationHtml string `protobuf:"bytes,5,opt,name=explanation_html,json=explanationHtml,proto3" json:"explanation_html,omitempty"`
	// Hash of the variant.
	// hex(sha256(sorted(”.join('%s:%s\n' for k, v in variant.items())))).
	VariantHash string `protobuf:"bytes,6,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// contains filtered or unexported fields
}

Indicates the test subject (e.g. a CL) is absolved from blame for an unexpected result of a test variant. For example, the test variant fails both with and without CL, so it is not CL's fault.

func (*TestExoneration) Descriptor deprecated

This method has been deprecated.
func (*TestExoneration) Descriptor() ([]byte, []int)

Deprecated: Use TestExoneration.ProtoReflect.Descriptor instead.

func (*TestExoneration) GetExonerationId

func (x *TestExoneration) GetExonerationId() string

func (*TestExoneration) GetExplanationHtml

func (x *TestExoneration) GetExplanationHtml() string

func (*TestExoneration) GetName

func (x *TestExoneration) GetName() string

func (*TestExoneration) GetTestId

func (x *TestExoneration) GetTestId() string

func (*TestExoneration) GetVariant

func (x *TestExoneration) GetVariant() *Variant

func (*TestExoneration) GetVariantHash

func (x *TestExoneration) GetVariantHash() string

func (*TestExoneration) ProtoMessage

func (*TestExoneration) ProtoMessage()

func (*TestExoneration) ProtoReflect

func (x *TestExoneration) ProtoReflect() protoreflect.Message

func (*TestExoneration) Reset

func (x *TestExoneration) Reset()

func (*TestExoneration) String

func (x *TestExoneration) String() string

type TestExonerationPredicate

type TestExonerationPredicate struct {

	// A test exoneration must have a test id matching this regular expression
	// entirely, i.e. the expression is implicitly wrapped with ^ and $.
	TestIdRegexp string `protobuf:"bytes,1,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
	// A test exoneration must have a variant satisfying this predicate.
	Variant *VariantPredicate `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

Represents a function TestExoneration -> bool. Empty message matches all test exonerations.

func (*TestExonerationPredicate) Descriptor deprecated

This method has been deprecated.
func (*TestExonerationPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestExonerationPredicate.ProtoReflect.Descriptor instead.

func (*TestExonerationPredicate) GetTestIdRegexp

func (x *TestExonerationPredicate) GetTestIdRegexp() string

func (*TestExonerationPredicate) GetVariant

func (x *TestExonerationPredicate) GetVariant() *VariantPredicate

func (*TestExonerationPredicate) ProtoMessage

func (*TestExonerationPredicate) ProtoMessage()

func (*TestExonerationPredicate) ProtoReflect

func (x *TestExonerationPredicate) ProtoReflect() protoreflect.Message

func (*TestExonerationPredicate) Reset

func (x *TestExonerationPredicate) Reset()

func (*TestExonerationPredicate) String

func (x *TestExonerationPredicate) String() string

type TestLocation

type TestLocation struct {

	// Gitiles URL as the identifier for a repo.
	// Format for Gitiles URL: https://<host>/<project>
	// For example "https://chromium.googlesource.com/chromium/src"
	// Must not end with ".git".
	// SHOULD be specified.
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// Name of the file where the test is defined.
	// For files in a repository, must start with "//"
	// Example: "//components/payments/core/payment_request_data_util_unittest.cc"
	// Max length: 512.
	// MUST not use backslashes.
	// Required.
	FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// One-based line number where the test is defined.
	Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

Location of the test definition.

func (*TestLocation) Descriptor deprecated

This method has been deprecated.
func (*TestLocation) Descriptor() ([]byte, []int)

Deprecated: Use TestLocation.ProtoReflect.Descriptor instead.

func (*TestLocation) GetFileName

func (x *TestLocation) GetFileName() string

func (*TestLocation) GetLine

func (x *TestLocation) GetLine() int32

func (*TestLocation) GetRepo

func (x *TestLocation) GetRepo() string

func (*TestLocation) ProtoMessage

func (*TestLocation) ProtoMessage()

func (*TestLocation) ProtoReflect

func (x *TestLocation) ProtoReflect() protoreflect.Message

func (*TestLocation) Reset

func (x *TestLocation) Reset()

func (*TestLocation) String

func (x *TestLocation) String() string

type TestMetadata

type TestMetadata struct {

	// The original test name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Where the test is defined, e.g. the file name.
	// location.repo MUST be specified.
	Location *TestLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Information about a test.

func (*TestMetadata) Descriptor deprecated

This method has been deprecated.
func (*TestMetadata) Descriptor() ([]byte, []int)

Deprecated: Use TestMetadata.ProtoReflect.Descriptor instead.

func (*TestMetadata) GetLocation

func (x *TestMetadata) GetLocation() *TestLocation

func (*TestMetadata) GetName

func (x *TestMetadata) GetName() string

func (*TestMetadata) ProtoMessage

func (*TestMetadata) ProtoMessage()

func (*TestMetadata) ProtoReflect

func (x *TestMetadata) ProtoReflect() protoreflect.Message

func (*TestMetadata) Reset

func (x *TestMetadata) Reset()

func (*TestMetadata) String

func (x *TestMetadata) String() string

type TestResult

type TestResult struct {

	// Can be used to refer to this test result, e.g. in ResultDB.GetTestResult
	// RPC.
	// Format:
	// "invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/results/{RESULT_ID}".
	// where URL_ESCAPED_TEST_ID is test_id escaped with
	// https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
	//
	// Output only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Test id, a unique identifier of the test in a LUCI project.
	// Regex: ^[[::print::]]{1,256}$
	//
	// If two tests have a common test id prefix that ends with a
	// non-alphanumeric character, they considered a part of a group. Examples:
	// - "a/b/c"
	// - "a/b/d"
	// - "a/b/e:x"
	// - "a/b/e:y"
	// - "a/f"
	// This defines the following groups:
	// - All items belong to one group because of the common prefix "a/"
	// - Within that group, the first 4 form a sub-group because of the common
	//   prefix "a/b/"
	// - Within that group, "a/b/e:x" and "a/b/e:y" form a sub-group because of
	//   the common prefix "a/b/e:".
	// This can be used in UI.
	// LUCI does not interpret test ids in any other way.
	TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Identifies a test result in a given invocation and test id.
	// Regex: ^[a-z0-9\-_.]{1,32}$
	ResultId string `protobuf:"bytes,3,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// Description of one specific way of running the test,
	// e.g. a specific bucket, builder and a test suite.
	Variant *Variant `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	// Whether the result of test case execution is expected.
	// In a typical Chromium CL, 99%+ of test results are expected.
	// Users are typically interested only in the unexpected results.
	//
	// An unexpected result != test case failure. There are test cases that are
	// expected to fail/skip/crash. The test harness compares the actual status
	// with the expected one(s) and this field is the result of the comparison.
	Expected bool `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"`
	// Machine-readable status of the test case.
	// MUST NOT be STATUS_UNSPECIFIED.
	Status TestStatus `protobuf:"varint,6,opt,name=status,proto3,enum=luci.resultdb.v1.TestStatus" json:"status,omitempty"`
	// Human-readable explanation of the result, in HTML.
	// MUST be sanitized before rendering in the browser.
	//
	// The size of the summary must be equal to or smaller than 4096 bytes in
	// UTF-8.
	//
	// Supports artifact embedding using custom tags:
	// * <text-artifact> renders contents of an artifact as text.
	//   Usage:
	//   * To embed result level artifact: <text-artifact artifact-id="<artifact_id>">
	//   * To embed invocation level artifact: <text-artifact artifact-id="<artifact_id>" inv-level>
	SummaryHtml string `protobuf:"bytes,7,opt,name=summary_html,json=summaryHtml,proto3" json:"summary_html,omitempty"`
	// The point in time when the test case started to execute.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Duration of the test case execution.
	// MUST be equal to or greater than 0.
	Duration *durationpb.Duration `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"`
	// Metadata for this test result.
	// It might describe this particular execution or the test case.
	// A key can be repeated.
	Tags []*StringPair `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	// Hash of the variant.
	// hex(sha256(sorted(”.join('%s:%s\n' for k, v in variant.items())))).
	//
	// Output only.
	VariantHash string `protobuf:"bytes,12,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Information about the test at the time of its execution.
	TestMetadata *TestMetadata `protobuf:"bytes,13,opt,name=test_metadata,json=testMetadata,proto3" json:"test_metadata,omitempty"`
	// contains filtered or unexported fields
}

A result of a functional test case. Often a single test case is executed multiple times and has multiple results, a single test suite has multiple test cases, and the same test suite can be executed in different variants (OS, GPU, compile flags, etc).

This message does not specify the test id. It should be available in the message that embeds this message.

func (*TestResult) Descriptor deprecated

This method has been deprecated.
func (*TestResult) Descriptor() ([]byte, []int)

Deprecated: Use TestResult.ProtoReflect.Descriptor instead.

func (*TestResult) GetDuration

func (x *TestResult) GetDuration() *durationpb.Duration

func (*TestResult) GetExpected

func (x *TestResult) GetExpected() bool

func (*TestResult) GetName

func (x *TestResult) GetName() string

func (*TestResult) GetResultId

func (x *TestResult) GetResultId() string

func (*TestResult) GetStartTime

func (x *TestResult) GetStartTime() *timestamppb.Timestamp

func (*TestResult) GetStatus

func (x *TestResult) GetStatus() TestStatus

func (*TestResult) GetSummaryHtml

func (x *TestResult) GetSummaryHtml() string

func (*TestResult) GetTags

func (x *TestResult) GetTags() []*StringPair

func (*TestResult) GetTestId

func (x *TestResult) GetTestId() string

func (*TestResult) GetTestMetadata

func (x *TestResult) GetTestMetadata() *TestMetadata

func (*TestResult) GetVariant

func (x *TestResult) GetVariant() *Variant

func (*TestResult) GetVariantHash

func (x *TestResult) GetVariantHash() string

func (*TestResult) ProtoMessage

func (*TestResult) ProtoMessage()

func (*TestResult) ProtoReflect

func (x *TestResult) ProtoReflect() protoreflect.Message

func (*TestResult) Reset

func (x *TestResult) Reset()

func (*TestResult) String

func (x *TestResult) String() string

type TestResultPredicate

type TestResultPredicate struct {

	// A test result must have a test id matching this regular expression
	// entirely, i.e. the expression is implicitly wrapped with ^ and $.
	TestIdRegexp string `protobuf:"bytes,1,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
	// A test result must have a variant satisfying this predicate.
	Variant *VariantPredicate `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// A test result must match this predicate based on TestResult.expected field.
	// Most clients would want to override this field because the default
	// typically causes a large response size.
	Expectancy TestResultPredicate_Expectancy `` /* 127-byte string literal not displayed */
	// If true, filter out exonerated test variants.
	// Mutually exclusive with Expectancy.ALL.
	//
	// If false, the filter is NOT applied.
	// That is, the test result may or may not be exonerated.
	ExcludeExonerated bool `protobuf:"varint,4,opt,name=exclude_exonerated,json=excludeExonerated,proto3" json:"exclude_exonerated,omitempty"`
	// contains filtered or unexported fields
}

Represents a function TestResult -> bool. Empty message matches all test results.

Most clients would want to set expected_results to VARIANTS_WITH_UNEXPECTED_RESULTS.

func (*TestResultPredicate) Descriptor deprecated

This method has been deprecated.
func (*TestResultPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestResultPredicate.ProtoReflect.Descriptor instead.

func (*TestResultPredicate) GetExcludeExonerated

func (x *TestResultPredicate) GetExcludeExonerated() bool

func (*TestResultPredicate) GetExpectancy

func (*TestResultPredicate) GetTestIdRegexp

func (x *TestResultPredicate) GetTestIdRegexp() string

func (*TestResultPredicate) GetVariant

func (x *TestResultPredicate) GetVariant() *VariantPredicate

func (*TestResultPredicate) ProtoMessage

func (*TestResultPredicate) ProtoMessage()

func (*TestResultPredicate) ProtoReflect

func (x *TestResultPredicate) ProtoReflect() protoreflect.Message

func (*TestResultPredicate) Reset

func (x *TestResultPredicate) Reset()

func (*TestResultPredicate) String

func (x *TestResultPredicate) String() string

type TestResultPredicate_Expectancy

type TestResultPredicate_Expectancy int32

Filters test results based on TestResult.expected field.

const (
	// All test results satisfy this.
	// WARNING: using this significantly increases response size and latency.
	TestResultPredicate_ALL TestResultPredicate_Expectancy = 0
	// A test result must belong to a test variant that has one or more
	// unexpected results. It can be used to fetch both unexpected and flakily
	// expected results.
	//
	// Note that the predicate is defined at the test variant level.
	// For example, if a test variant expects a PASS and has results
	// [FAIL, FAIL, PASS], then all results satisfy the predicate because
	// the variant satisfies the predicate.
	TestResultPredicate_VARIANTS_WITH_UNEXPECTED_RESULTS TestResultPredicate_Expectancy = 1
	// Similar to VARIANTS_WITH_UNEXPECTED_RESULTS, but the test variant
	// must not have any expected results.
	TestResultPredicate_VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS TestResultPredicate_Expectancy = 2
)

func (TestResultPredicate_Expectancy) Descriptor

func (TestResultPredicate_Expectancy) Enum

func (TestResultPredicate_Expectancy) EnumDescriptor deprecated

This method has been deprecated.
func (TestResultPredicate_Expectancy) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestResultPredicate_Expectancy.Descriptor instead.

func (TestResultPredicate_Expectancy) Number

func (TestResultPredicate_Expectancy) String

func (TestResultPredicate_Expectancy) Type

type TestStatus

type TestStatus int32

Machine-readable status of a test result.

const (
	// Status was not specified.
	// Not to be used in actual test results; serves as a default value for an
	// unset field.
	TestStatus_STATUS_UNSPECIFIED TestStatus = 0
	// The test case has passed.
	TestStatus_PASS TestStatus = 1
	// The test case has failed.
	// Suggests that the code under test is incorrect, but it is also possible
	// that the test is incorrect or it is a flake.
	TestStatus_FAIL TestStatus = 2
	// The test case has crashed during execution.
	// The outcome is inconclusive: the code under test might or might not be
	// correct, but the test+code is incorrect.
	TestStatus_CRASH TestStatus = 3
	// The test case has started, but was aborted before finishing.
	// A common reason: timeout.
	TestStatus_ABORT TestStatus = 4
	// The test case did not execute.
	// Examples:
	// - The execution of the collection of test cases, such as a test
	//   binary, was aborted prematurely and execution of some test cases was
	//   skipped.
	// - The test harness configuration specified that the test case MUST be
	//   skipped.
	TestStatus_SKIP TestStatus = 5
)

func (TestStatus) Descriptor

func (TestStatus) Descriptor() protoreflect.EnumDescriptor

func (TestStatus) Enum

func (x TestStatus) Enum() *TestStatus

func (TestStatus) EnumDescriptor deprecated

This method has been deprecated.
func (TestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestStatus.Descriptor instead.

func (TestStatus) Number

func (x TestStatus) Number() protoreflect.EnumNumber

func (TestStatus) String

func (x TestStatus) String() string

func (TestStatus) Type

type TimeRange

type TimeRange struct {

	// The oldest timestamp to include in the range.
	Earliest *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=earliest,proto3" json:"earliest,omitempty"`
	// Include only timestamps that are strictly older than this.
	Latest *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"`
	// contains filtered or unexported fields
}

A range of timestamps. Used for specifying ranges to query in ResultDB.GetTestResultHistory.

func (*TimeRange) Descriptor deprecated

This method has been deprecated.
func (*TimeRange) Descriptor() ([]byte, []int)

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

func (*TimeRange) GetEarliest

func (x *TimeRange) GetEarliest() *timestamppb.Timestamp

func (*TimeRange) GetLatest

func (x *TimeRange) GetLatest() *timestamppb.Timestamp

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) ProtoReflect

func (x *TimeRange) ProtoReflect() protoreflect.Message

func (*TimeRange) Reset

func (x *TimeRange) Reset()

func (*TimeRange) String

func (x *TimeRange) String() string

type UnimplementedRecorderServer

type UnimplementedRecorderServer struct {
}

UnimplementedRecorderServer can be embedded to have forward compatible implementations.

func (*UnimplementedRecorderServer) CreateInvocation

func (*UnimplementedRecorderServer) CreateTestExoneration

func (*UnimplementedRecorderServer) CreateTestResult

func (*UnimplementedRecorderServer) FinalizeInvocation

func (*UnimplementedRecorderServer) UpdateIncludedInvocations

func (*UnimplementedRecorderServer) UpdateInvocation

type UnimplementedResultDBServer

type UnimplementedResultDBServer struct {
}

UnimplementedResultDBServer can be embedded to have forward compatible implementations.

func (*UnimplementedResultDBServer) GetArtifact

func (*UnimplementedResultDBServer) GetInvocation

func (*UnimplementedResultDBServer) GetTestExoneration

func (*UnimplementedResultDBServer) GetTestResult

func (*UnimplementedResultDBServer) ListArtifacts