resultpb

package
v0.0.0-...-da58d23 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 19 Imported by: 19

Documentation

Overview

Package resultpb contains public ResultDB proto API.

Index

Constants

View Source
const UpdateTokenMetadataKey = "update-token"

UpdateTokenMetadataKey is the metadata.MD key for the secret update token required to mutate an invocation. It is returned by CreateInvocation RPC in response header metadata, and is required by all RPCs mutating an invocation.

Variables

View Source
var (
	ArtifactLine_Severity_name = map[int32]string{
		0:  "SEVERITY_UNSPECIFIED",
		10: "VERBOSE",
		20: "TRACE",
		30: "DEBUG",
		40: "INFO",
		50: "NOTICE",
		60: "WARNING",
		70: "ERROR",
		80: "CRITICAL",
		90: "FATAL",
	}
	ArtifactLine_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"VERBOSE":              10,
		"TRACE":                20,
		"DEBUG":                30,
		"INFO":                 40,
		"NOTICE":               50,
		"WARNING":              60,
		"ERROR":                70,
		"CRITICAL":             80,
		"FATAL":                90,
	}
)

Enum value maps for ArtifactLine_Severity.

View Source
var (
	InstructionTarget_name = map[int32]string{
		0: "INSTRUCTION_TARGET_UNSPECIFIED",
		1: "LOCAL",
		2: "REMOTE",
		3: "PREBUILT",
	}
	InstructionTarget_value = map[string]int32{
		"INSTRUCTION_TARGET_UNSPECIFIED": 0,
		"LOCAL":                          1,
		"REMOTE":                         2,
		"PREBUILT":                       3,
	}
)

Enum value maps for InstructionTarget.

View Source
var (
	InstructionType_name = map[int32]string{
		0: "INSTRUCTION_TYPE_UNSPECIFIED",
		1: "STEP_INSTRUCTION",
		2: "TEST_RESULT_INSTRUCTION",
	}
	InstructionType_value = map[string]int32{
		"INSTRUCTION_TYPE_UNSPECIFIED": 0,
		"STEP_INSTRUCTION":             1,
		"TEST_RESULT_INSTRUCTION":      2,
	}
)

Enum value maps for InstructionType.

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 (
	SkipReason_name = map[int32]string{
		0: "SKIP_REASON_UNSPECIFIED",
		1: "AUTOMATICALLY_DISABLED_FOR_FLAKINESS",
	}
	SkipReason_value = map[string]int32{
		"SKIP_REASON_UNSPECIFIED":              0,
		"AUTOMATICALLY_DISABLED_FOR_FLAKINESS": 1,
	}
)

Enum value maps for SkipReason.

View Source
var (
	ExonerationReason_name = map[int32]string{
		0: "EXONERATION_REASON_UNSPECIFIED",
		1: "OCCURS_ON_MAINLINE",
		2: "OCCURS_ON_OTHER_CLS",
		3: "NOT_CRITICAL",
		4: "UNEXPECTED_PASS",
	}
	ExonerationReason_value = map[string]int32{
		"EXONERATION_REASON_UNSPECIFIED": 0,
		"OCCURS_ON_MAINLINE":             1,
		"OCCURS_ON_OTHER_CLS":            2,
		"NOT_CRITICAL":                   3,
		"UNEXPECTED_PASS":                4,
	}
)

Enum value maps for ExonerationReason.

View Source
var (
	TestVariantStatus_name = map[int32]string{
		0:  "TEST_VARIANT_STATUS_UNSPECIFIED",
		10: "UNEXPECTED",
		20: "UNEXPECTEDLY_SKIPPED",
		30: "FLAKY",
		40: "EXONERATED",
		45: "UNEXPECTED_MASK",
		50: "EXPECTED",
	}
	TestVariantStatus_value = map[string]int32{
		"TEST_VARIANT_STATUS_UNSPECIFIED": 0,
		"UNEXPECTED":                      10,
		"UNEXPECTEDLY_SKIPPED":            20,
		"FLAKY":                           30,
		"EXONERATED":                      40,
		"UNEXPECTED_MASK":                 45,
		"EXPECTED":                        50,
	}
)

Enum value maps for TestVariantStatus.

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_experiments_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_failure_reason_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_instruction_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_notification_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
View Source
var File_go_chromium_org_luci_resultdb_proto_v1_test_variant_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 RegisterExperimentsServer

func RegisterExperimentsServer(s prpc.Registrar, srv ExperimentsServer)

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:]]|\.)([\p{L}\p{M}\p{N}\p{P}\p{S}\p{Zs}]{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.
	// If you are using the gcs_uri, this field is not verified, but only treated as a hint.
	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.
	// If specified, `gcs_uri` must be empty.
	Contents []byte `protobuf:"bytes,7,opt,name=contents,proto3" json:"contents,omitempty"`
	// The GCS URI of the artifact if it's stored in GCS.  If specified, `contents` must be empty.
	GcsUri string `protobuf:"bytes,8,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
	// Status of the test result that the artifact belongs to.
	// This is only applicable for test-level artifacts, not invocation-level artifacts.
	// We need this field because when an artifact is created (for example, with BatchCreateArtifact),
	// the containing test result may or may not be created yet, as they
	// are created in different channels from result sink.
	// Having the test status here allows setting the correct status of artifact in BigQuery.
	TestStatus TestStatus `protobuf:"varint,9,opt,name=test_status,json=testStatus,proto3,enum=luci.resultdb.v1.TestStatus" json:"test_status,omitempty"`
	// Indicates whether ListArtifactLines RPC can be used with this artifact.
	HasLines bool `protobuf:"varint,11,opt,name=has_lines,json=hasLines,proto3" json:"has_lines,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. Next id: 11.

func (*Artifact) Descriptor 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) GetGcsUri

func (x *Artifact) GetGcsUri() string

func (*Artifact) GetHasLines

func (x *Artifact) GetHasLines() bool

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetSizeBytes

func (x *Artifact) GetSizeBytes() int64

func (*Artifact) GetTestStatus

func (x *Artifact) GetTestStatus() TestStatus

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 ArtifactContentMatcher

type ArtifactContentMatcher struct {

	// Types that are assignable to Matcher:
	//
	//	*ArtifactContentMatcher_RegexContain
	//	*ArtifactContentMatcher_Contain
	Matcher isArtifactContentMatcher_Matcher `protobuf_oneof:"matcher"`
	// contains filtered or unexported fields
}

Used to match a artifact content.

func (*ArtifactContentMatcher) Descriptor deprecated

func (*ArtifactContentMatcher) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactContentMatcher.ProtoReflect.Descriptor instead.

func (*ArtifactContentMatcher) GetContain

func (x *ArtifactContentMatcher) GetContain() string

func (*ArtifactContentMatcher) GetMatcher

func (m *ArtifactContentMatcher) GetMatcher() isArtifactContentMatcher_Matcher

func (*ArtifactContentMatcher) GetRegexContain

func (x *ArtifactContentMatcher) GetRegexContain() string

func (*ArtifactContentMatcher) ProtoMessage

func (*ArtifactContentMatcher) ProtoMessage()

func (*ArtifactContentMatcher) ProtoReflect

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

func (*ArtifactContentMatcher) Reset

func (x *ArtifactContentMatcher) Reset()

func (*ArtifactContentMatcher) String

func (x *ArtifactContentMatcher) String() string

type ArtifactContentMatcher_Contain

type ArtifactContentMatcher_Contain struct {
	// Use case insensitive equality match with this string to find matching artifact content.
	Contain string `protobuf:"bytes,2,opt,name=contain,proto3,oneof"`
}

type ArtifactContentMatcher_RegexContain

type ArtifactContentMatcher_RegexContain struct {
	// The string is a regex expression. Use regex match to find matching artifact content.
	RegexContain string `protobuf:"bytes,1,opt,name=regex_contain,json=regexContain,proto3,oneof"`
}

type ArtifactLine

type ArtifactLine struct {

	// The position of this line in the artifact.
	// The numbers start from 1.
	Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// The extracted timestamp of the log line. Extraction is best effort only.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The extracted severity of the line. Extraction is best effort only.
	Severity ArtifactLine_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=luci.resultdb.v1.ArtifactLine_Severity" json:"severity,omitempty"`
	// The content of the line as it is found in the log file.
	// Lines are split on the \n character and the character is included in the line content that immediately precedes it.
	// Empty lines will be included in the response.
	Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ArtifactLine) Descriptor deprecated

func (*ArtifactLine) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactLine.ProtoReflect.Descriptor instead.

func (*ArtifactLine) GetContent

func (x *ArtifactLine) GetContent() []byte

func (*ArtifactLine) GetNumber

func (x *ArtifactLine) GetNumber() int64

func (*ArtifactLine) GetSeverity

func (x *ArtifactLine) GetSeverity() ArtifactLine_Severity

func (*ArtifactLine) GetTimestamp

func (x *ArtifactLine) GetTimestamp() *timestamppb.Timestamp

func (*ArtifactLine) ProtoMessage

func (*ArtifactLine) ProtoMessage()

func (*ArtifactLine) ProtoReflect

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

func (*ArtifactLine) Reset

func (x *ArtifactLine) Reset()

func (*ArtifactLine) String

func (x *ArtifactLine) String() string

type ArtifactLine_Severity

type ArtifactLine_Severity int32
const (
	ArtifactLine_SEVERITY_UNSPECIFIED ArtifactLine_Severity = 0
	ArtifactLine_VERBOSE              ArtifactLine_Severity = 10
	ArtifactLine_TRACE                ArtifactLine_Severity = 20
	ArtifactLine_DEBUG                ArtifactLine_Severity = 30
	ArtifactLine_INFO                 ArtifactLine_Severity = 40
	ArtifactLine_NOTICE               ArtifactLine_Severity = 50
	ArtifactLine_WARNING              ArtifactLine_Severity = 60
	ArtifactLine_ERROR                ArtifactLine_Severity = 70
	ArtifactLine_CRITICAL             ArtifactLine_Severity = 80
	ArtifactLine_FATAL                ArtifactLine_Severity = 90
)

func (ArtifactLine_Severity) Descriptor

func (ArtifactLine_Severity) Enum

func (ArtifactLine_Severity) EnumDescriptor deprecated

func (ArtifactLine_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use ArtifactLine_Severity.Descriptor instead.

func (ArtifactLine_Severity) Number

func (ArtifactLine_Severity) String

func (x ArtifactLine_Severity) String() string

func (ArtifactLine_Severity) Type

type ArtifactMatchingContent

type ArtifactMatchingContent struct {

	// Name of the artifact.
	//   - 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}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Partition time of the artifact.
	// This is the creation time of the direct parent invocation.
	PartitionTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=partition_time,json=partitionTime,proto3" json:"partition_time,omitempty"`
	// The test result status, only populated if it is a result level artifact .
	TestStatus TestStatus `protobuf:"varint,3,opt,name=test_status,json=testStatus,proto3,enum=luci.resultdb.v1.TestStatus" json:"test_status,omitempty"`
	// Part of the artifact content that contains the first occurrence of the match.
	// The snippet is at most 10 KiB.
	// Prioritize fiting first match into the 10KiB first, divided the remaining bytes equally
	// to fit content immediately before and after the first match, including at most one more line above and below.
	// If the first match is more than 10KiB, it will be truncated.
	// Ellipsis ("...") are added, if the snippet is truncated.
	Snippet string `protobuf:"bytes,4,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// All non-overlapping matches exists in the snippet from front to end in order (i.e. matches[i].end_index <= matches[i+1].start_index).
	Matches []*ArtifactMatchingContent_Match `protobuf:"bytes,5,rep,name=matches,proto3" json:"matches,omitempty"`
	// contains filtered or unexported fields
}

Represent a artifact that contains a match.

func (*ArtifactMatchingContent) Descriptor deprecated

func (*ArtifactMatchingContent) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactMatchingContent.ProtoReflect.Descriptor instead.

func (*ArtifactMatchingContent) GetMatches

func (*ArtifactMatchingContent) GetName

func (x *ArtifactMatchingContent) GetName() string

func (*ArtifactMatchingContent) GetPartitionTime

func (x *ArtifactMatchingContent) GetPartitionTime() *timestamppb.Timestamp

func (*ArtifactMatchingContent) GetSnippet

func (x *ArtifactMatchingContent) GetSnippet() string

func (*ArtifactMatchingContent) GetTestStatus

func (x *ArtifactMatchingContent) GetTestStatus() TestStatus

func (*ArtifactMatchingContent) ProtoMessage

func (*ArtifactMatchingContent) ProtoMessage()

func (*ArtifactMatchingContent) ProtoReflect

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

func (*ArtifactMatchingContent) Reset

func (x *ArtifactMatchingContent) Reset()

func (*ArtifactMatchingContent) String

func (x *ArtifactMatchingContent) String() string

type ArtifactMatchingContent_Match

type ArtifactMatchingContent_Match struct {

	// Start byte index of the match, inclusive.
	StartIndex int32 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	// End byte index of the match, exclusive.
	EndIndex int32 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"`
	// contains filtered or unexported fields
}

Represent the byte location of a match in snippet.

func (*ArtifactMatchingContent_Match) Descriptor deprecated

func (*ArtifactMatchingContent_Match) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactMatchingContent_Match.ProtoReflect.Descriptor instead.

func (*ArtifactMatchingContent_Match) GetEndIndex

func (x *ArtifactMatchingContent_Match) GetEndIndex() int32

func (*ArtifactMatchingContent_Match) GetStartIndex

func (x *ArtifactMatchingContent_Match) GetStartIndex() int32

func (*ArtifactMatchingContent_Match) ProtoMessage

func (*ArtifactMatchingContent_Match) ProtoMessage()

func (*ArtifactMatchingContent_Match) ProtoReflect

func (*ArtifactMatchingContent_Match) Reset

func (x *ArtifactMatchingContent_Match) Reset()

func (*ArtifactMatchingContent_Match) 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"`
	// An artifact must have an ID matching this regular expression entirely, i.e.
	// the expression is implicitly wrapped with ^ and $.  Defaults to ".*".
	ArtifactIdRegexp string `protobuf:"bytes,4,opt,name=artifact_id_regexp,json=artifactIdRegexp,proto3" json:"artifact_id_regexp,omitempty"`
	// contains filtered or unexported fields
}

Represents a function Artifact -> bool.

func (*ArtifactPredicate) Descriptor deprecated

func (*ArtifactPredicate) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactPredicate.ProtoReflect.Descriptor instead.

func (*ArtifactPredicate) GetArtifactIdRegexp

func (x *ArtifactPredicate) GetArtifactIdRegexp() string

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

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

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

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

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

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

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

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

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

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 BatchGetTestVariantsRequest

type BatchGetTestVariantsRequest struct {

	// Name of the invocation that the test variants are in.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// A list of test IDs and variant hashes, identifying the requested test
	// variants. Size is limited to 500. Any request for more than 500 variants
	// will return an error.
	TestVariants []*BatchGetTestVariantsRequest_TestVariantIdentifier `protobuf:"bytes,2,rep,name=test_variants,json=testVariants,proto3" json:"test_variants,omitempty"`
	// The maximum number of test results to be included in a test variant.
	//
	// If a test variant has more results than the limit, the remaining results
	// will not be returned.
	// If unspecified, at most 10 results will be included in a test variant.
	// The maximum value is 100; values above 100 will be coerced to 100.
	ResultLimit int32 `protobuf:"varint,3,opt,name=result_limit,json=resultLimit,proto3" json:"result_limit,omitempty"`
	// contains filtered or unexported fields
}

A request message for BatchGetTestVariants RPC.

func (*BatchGetTestVariantsRequest) Descriptor deprecated

func (*BatchGetTestVariantsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetTestVariantsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetTestVariantsRequest) GetInvocation

func (x *BatchGetTestVariantsRequest) GetInvocation() string

func (*BatchGetTestVariantsRequest) GetResultLimit

func (x *BatchGetTestVariantsRequest) GetResultLimit() int32

func (*BatchGetTestVariantsRequest) GetTestVariants

func (*BatchGetTestVariantsRequest) ProtoMessage

func (*BatchGetTestVariantsRequest) ProtoMessage()

func (*BatchGetTestVariantsRequest) ProtoReflect

func (*BatchGetTestVariantsRequest) Reset

func (x *BatchGetTestVariantsRequest) Reset()

func (*BatchGetTestVariantsRequest) String

func (x *BatchGetTestVariantsRequest) String() string

type BatchGetTestVariantsRequest_TestVariantIdentifier

type BatchGetTestVariantsRequest_TestVariantIdentifier struct {

	// The unique identifier of the test in a LUCI project. See the comment on
	// TestResult.test_id for full documentation.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Hash of the variant. See the comment on TestResult.variant_hash for full
	// documentation.
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) Descriptor deprecated

Deprecated: Use BatchGetTestVariantsRequest_TestVariantIdentifier.ProtoReflect.Descriptor instead.

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) GetTestId

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) GetVariantHash

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) ProtoMessage

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) ProtoReflect

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) Reset

func (*BatchGetTestVariantsRequest_TestVariantIdentifier) String

type BatchGetTestVariantsResponse

type BatchGetTestVariantsResponse struct {

	// Test variants matching the requests. Any variants that weren't found are
	// omitted from the response. Clients shouldn't rely on the ordering of this
	// field, as no particular order is guaranteed.
	TestVariants []*TestVariant `protobuf:"bytes,1,rep,name=test_variants,json=testVariants,proto3" json:"test_variants,omitempty"`
	// The code sources tested by the returned test variants. The sources are keyed
	// by an ID which allows them to be cross-referenced from TestVariant.sources_id.
	//
	// The sources are returned via this map instead of directly on the TestVariant
	// to avoid excessive response size. Each source message could be up to a few
	// kilobytes and there are usually no more than a handful of different sources
	// tested in an invocation, so deduplicating them here reduces response size.
	Sources map[string]*Sources `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message for BatchGetTestVariants RPC.

func (*BatchGetTestVariantsResponse) Descriptor deprecated

func (*BatchGetTestVariantsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetTestVariantsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetTestVariantsResponse) GetSources

func (x *BatchGetTestVariantsResponse) GetSources() map[string]*Sources

func (*BatchGetTestVariantsResponse) GetTestVariants

func (x *BatchGetTestVariantsResponse) GetTestVariants() []*TestVariant

func (*BatchGetTestVariantsResponse) ProtoMessage

func (*BatchGetTestVariantsResponse) ProtoMessage()

func (*BatchGetTestVariantsResponse) ProtoReflect

func (*BatchGetTestVariantsResponse) Reset

func (x *BatchGetTestVariantsResponse) Reset()

func (*BatchGetTestVariantsResponse) 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

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

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

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 BugComponent

type BugComponent struct {

	// Types that are assignable to System:
	//
	//	*BugComponent_IssueTracker
	//	*BugComponent_Monorail
	System isBugComponent_System `protobuf_oneof:"system"`
	// contains filtered or unexported fields
}

Represents a component in an issue tracker. A component is a container for issues.

func (*BugComponent) Descriptor deprecated

func (*BugComponent) Descriptor() ([]byte, []int)

Deprecated: Use BugComponent.ProtoReflect.Descriptor instead.

func (*BugComponent) GetIssueTracker

func (x *BugComponent) GetIssueTracker() *IssueTrackerComponent

func (*BugComponent) GetMonorail

func (x *BugComponent) GetMonorail() *MonorailComponent

func (*BugComponent) GetSystem

func (m *BugComponent) GetSystem() isBugComponent_System

func (*BugComponent) ProtoMessage

func (*BugComponent) ProtoMessage()

func (*BugComponent) ProtoReflect

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

func (*BugComponent) Reset

func (x *BugComponent) Reset()

func (*BugComponent) String

func (x *BugComponent) String() string

type BugComponent_IssueTracker

type BugComponent_IssueTracker struct {
	// The Google Issue Tracker component.
	IssueTracker *IssueTrackerComponent `protobuf:"bytes,1,opt,name=issue_tracker,json=issueTracker,proto3,oneof"`
}

type BugComponent_Monorail

type BugComponent_Monorail struct {
	// The monorail component.
	Monorail *MonorailComponent `protobuf:"bytes,2,opt,name=monorail,proto3,oneof"`
}

type CommitPosition deprecated

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
}

Deprecated: Use GitilesCommit instead.

func (*CommitPosition) Descriptor 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 deprecated

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
}

Deprecated: Do not use.

func (*CommitPositionRange) Descriptor 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

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

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

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

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 DecoratedExperiments

type DecoratedExperiments struct {
	// Service is the service to decorate.
	Service ExperimentsServer
	// 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 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 (*DecoratedExperiments) Echo

func (s *DecoratedExperiments) Echo(ctx context.Context, req *EchoRequest) (rsp *EchoResponse, err error)

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 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) MarkInvocationSubmitted

func (s *DecoratedRecorder) MarkInvocationSubmitted(ctx context.Context, req *MarkInvocationSubmittedRequest) (rsp *emptypb.Empty, 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 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) BatchGetTestVariants

func (s *DecoratedResultDB) BatchGetTestVariants(ctx context.Context, req *BatchGetTestVariantsRequest) (rsp *BatchGetTestVariantsResponse, err error)

func (*DecoratedResultDB) GetArtifact

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

func (*DecoratedResultDB) GetInstruction

func (s *DecoratedResultDB) GetInstruction(ctx context.Context, req *GetInstructionRequest) (rsp *Instruction, 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) ListArtifactLines

func (s *DecoratedResultDB) ListArtifactLines(ctx context.Context, req *ListArtifactLinesRequest) (rsp *ListArtifactLinesResponse, 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) QueryArtifactFailureOnlyLines

func (*DecoratedResultDB) QueryArtifacts

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

func (*DecoratedResultDB) QueryInstruction

func (s *DecoratedResultDB) QueryInstruction(ctx context.Context, req *QueryInstructionRequest) (rsp *QueryInstructionResponse, err error)

func (*DecoratedResultDB) QueryInvocationVariantArtifacts

func (*DecoratedResultDB) QueryNewTestVariants

func (s *DecoratedResultDB) QueryNewTestVariants(ctx context.Context, req *QueryNewTestVariantsRequest) (rsp *QueryNewTestVariantsResponse, err error)

func (*DecoratedResultDB) QueryRootInvocationNames

func (*DecoratedResultDB) QueryRunTestVerdicts

func (s *DecoratedResultDB) QueryRunTestVerdicts(ctx context.Context, req *QueryRunTestVerdictsRequest) (rsp *QueryRunTestVerdictsResponse, err error)

func (*DecoratedResultDB) QueryTestExonerations

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

func (*DecoratedResultDB) QueryTestMetadata

func (s *DecoratedResultDB) QueryTestMetadata(ctx context.Context, req *QueryTestMetadataRequest) (rsp *QueryTestMetadataResponse, err error)

func (*DecoratedResultDB) QueryTestResultStatistics

func (*DecoratedResultDB) QueryTestResults

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

func (*DecoratedResultDB) QueryTestVariantArtifactGroups

func (*DecoratedResultDB) QueryTestVariantArtifacts

func (*DecoratedResultDB) QueryTestVariants

func (s *DecoratedResultDB) QueryTestVariants(ctx context.Context, req *QueryTestVariantsRequest) (rsp *QueryTestVariantsResponse, err error)

type EchoRequest

type EchoRequest struct {

	// A message, which is to be returned in the response.
	//
	// Must consist only of printable ASCII characters.
	// Max 1024 characters. Mandatory.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

A request message for Echo RPC.

func (*EchoRequest) Descriptor deprecated

func (*EchoRequest) Descriptor() ([]byte, []int)

Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.

func (*EchoRequest) GetMessage

func (x *EchoRequest) GetMessage() string

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) ProtoReflect

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

func (*EchoRequest) Reset

func (x *EchoRequest) Reset()

func (*EchoRequest) String

func (x *EchoRequest) String() string

type EchoResponse

type EchoResponse struct {

	// The message, which was provided in the request.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

A response message for Echo RPC.

func (*EchoResponse) Descriptor deprecated

func (*EchoResponse) Descriptor() ([]byte, []int)

Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.

func (*EchoResponse) GetMessage

func (x *EchoResponse) GetMessage() string

func (*EchoResponse) ProtoMessage

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) ProtoReflect

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

func (*EchoResponse) Reset

func (x *EchoResponse) Reset()

func (*EchoResponse) String

func (x *EchoResponse) String() string

type ExonerationReason

type ExonerationReason int32

Reason why a test variant was exonerated.

const (
	// Reason was not specified.
	// Not to be used in actual test exonerations; serves as a default value for
	// an unset field.
	ExonerationReason_EXONERATION_REASON_UNSPECIFIED ExonerationReason = 0
	// Similar unexpected results were observed on a mainline branch
	// (i.e. against a build without unsubmitted changes applied).
	// (For avoidance of doubt, this includes both flakily and
	// deterministically occurring unexpected results.)
	// Applies to unexpected results in presubmit/CQ runs only.
	ExonerationReason_OCCURS_ON_MAINLINE ExonerationReason = 1
	// Similar unexpected results were observed in presubmit run(s) for other,
	// unrelated CL(s). (This is suggestive of the issue being present
	// on mainline but is not confirmed as there are possible confounding
	// factors, like how tests are run on CLs vs how tests are run on
	// mainline branches.)
	// Applies to unexpected results in presubmit/CQ runs only.
	ExonerationReason_OCCURS_ON_OTHER_CLS ExonerationReason = 2
	// The tests are not critical to the test subject (e.g. CL) passing.
	// This could be because more data is being collected to determine if
	// the tests are stable enough to be made critical (as is often the
	// case for experimental test suites).
	// If information exists indicating the tests are producing unexpected
	// results, and the tests are not critical for that reason,
	// prefer more specific reasons OCCURS_ON_MAINLINE or OCCURS_ON_OTHER_CLS.
	ExonerationReason_NOT_CRITICAL ExonerationReason = 3
	// The test result was an unexpected pass. (Note that such an exoneration is
	// not automatically created for unexpected passes, unless the option is
	// specified to ResultSink or the project manually creates one).
	ExonerationReason_UNEXPECTED_PASS ExonerationReason = 4
)

func (ExonerationReason) Descriptor

func (ExonerationReason) Enum

func (ExonerationReason) EnumDescriptor deprecated

func (ExonerationReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExonerationReason.Descriptor instead.

func (ExonerationReason) Number

func (ExonerationReason) String

func (x ExonerationReason) String() string

func (ExonerationReason) Type

type ExperimentsClient

type ExperimentsClient interface {
	// Sample RPC to allow verification the server is up and running.
	// Replace with actual RPC.
	Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
}

ExperimentsClient is the client API for Experiments service.

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

func NewExperimentsPRPCClient

func NewExperimentsPRPCClient(client *prpc.Client) ExperimentsClient

type ExperimentsServer

type ExperimentsServer interface {
	// Sample RPC to allow verification the server is up and running.
	// Replace with actual RPC.
	Echo(context.Context, *EchoRequest) (*EchoResponse, error)
}

ExperimentsServer is the server API for Experiments service.

type FailureReason

type FailureReason struct {

	// The error message that ultimately caused the test to fail. This should
	// only be the error message and should not include any stack traces.
	// An example would be the message from an Exception in a Java test.
	// In the case that a test failed due to multiple expectation failures, any
	// immediately fatal failure should be chosen, or otherwise the first
	// expectation failure.
	// If this field is empty, other fields (including those from the TestResult)
	// may be used to cluster the failure instead.
	//
	// The size of the message must be equal to or smaller than 1024 bytes in
	// UTF-8.
	PrimaryErrorMessage string `protobuf:"bytes,1,opt,name=primary_error_message,json=primaryErrorMessage,proto3" json:"primary_error_message,omitempty"`
	// The error(s) that caused the test to fail.
	//
	// If there is more than one error (e.g. due to multiple expectation failures),
	// a stable sorting should be used. A recommended form of stable sorting is:
	//   - Fatal errors (errors that cause the test to terminate immediately first,
	//     then
	//   - Within fatal/non-fatal errors, sort by chronological order
	//     (earliest error first).
	//
	// Where this field is populated, errors[0].message shall match
	// primary_error_message.
	//
	// The total combined size of all errors (as measured by proto.Size()) must
	// not exceed 3,172 bytes.
	Errors []*FailureReason_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// The number of errors that are truncated from the errors list above due to
	// the size limits.
	TruncatedErrorsCount int32 `protobuf:"varint,3,opt,name=truncated_errors_count,json=truncatedErrorsCount,proto3" json:"truncated_errors_count,omitempty"`
	// contains filtered or unexported fields
}

Information about why a test failed. This information may be displayed to developers in result viewing UIs and will also be used to cluster similar failures together. For example, this will contain assertion failure messages and stack traces.

func (*FailureReason) Descriptor deprecated

func (*FailureReason) Descriptor() ([]byte, []int)

Deprecated: Use FailureReason.ProtoReflect.Descriptor instead.

func (*FailureReason) GetErrors

func (x *FailureReason) GetErrors() []*FailureReason_Error

func (*FailureReason) GetPrimaryErrorMessage

func (x *FailureReason) GetPrimaryErrorMessage() string

func (*FailureReason) GetTruncatedErrorsCount

func (x *FailureReason) GetTruncatedErrorsCount() int32

func (*FailureReason) ProtoMessage

func (*FailureReason) ProtoMessage()

func (*FailureReason) ProtoReflect

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

func (*FailureReason) Reset

func (x *FailureReason) Reset()

func (*FailureReason) String

func (x *FailureReason) String() string

type FailureReason_Error

type FailureReason_Error struct {

	// The error message. This should only be the error message and
	// should not include any stack traces. An example would be the
	// message from an Exception in a Java test.
	//
	// This message may be used to cluster related failures together.
	//
	// The size of the message must be equal to or smaller than 1024 bytes in
	// UTF-8.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Error represents a problem that caused a test to fail, such as a crash or expectation failure.

func (*FailureReason_Error) Descriptor deprecated

func (*FailureReason_Error) Descriptor() ([]byte, []int)

Deprecated: Use FailureReason_Error.ProtoReflect.Descriptor instead.

func (*FailureReason_Error) GetMessage

func (x *FailureReason_Error) GetMessage() string

func (*FailureReason_Error) ProtoMessage

func (*FailureReason_Error) ProtoMessage()

func (*FailureReason_Error) ProtoReflect

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

func (*FailureReason_Error) Reset

func (x *FailureReason_Error) Reset()

func (*FailureReason_Error) String

func (x *FailureReason_Error) String() string

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

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 GerritChange

type GerritChange struct {

	// Gerrit hostname, e.g. "chromium-review.googlesource.com".
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Gerrit project, e.g. "chromium/src".
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Change number, e.g. 12345.
	Change int64 `protobuf:"varint,3,opt,name=change,proto3" json:"change,omitempty"`
	// Patch set number, e.g. 1.
	Patchset int64 `protobuf:"varint,4,opt,name=patchset,proto3" json:"patchset,omitempty"`
	// contains filtered or unexported fields
}

A Gerrit patchset.

func (*GerritChange) Descriptor deprecated

func (*GerritChange) Descriptor() ([]byte, []int)

Deprecated: Use GerritChange.ProtoReflect.Descriptor instead.

func (*GerritChange) GetChange

func (x *GerritChange) GetChange() int64

func (*GerritChange) GetHost

func (x *GerritChange) GetHost() string

func (*GerritChange) GetPatchset

func (x *GerritChange) GetPatchset() int64

func (*GerritChange) GetProject

func (x *GerritChange) GetProject() string

func (*GerritChange) ProtoMessage

func (*GerritChange) ProtoMessage()

func (*GerritChange) ProtoReflect

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

func (*GerritChange) Reset

func (x *GerritChange) Reset()

func (*GerritChange) String

func (x *GerritChange) 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

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 GetInstructionRequest

type GetInstructionRequest struct {

	// Name of the instruction. The format is:
	// invocations/{invocation_id}/instructions/{instruction_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstructionRequest) Descriptor deprecated

func (*GetInstructionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInstructionRequest.ProtoReflect.Descriptor instead.

func (*GetInstructionRequest) GetName

func (x *GetInstructionRequest) GetName() string

func (*GetInstructionRequest) ProtoMessage

func (*GetInstructionRequest) ProtoMessage()

func (*GetInstructionRequest) ProtoReflect

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

func (*GetInstructionRequest) Reset

func (x *GetInstructionRequest) Reset()

func (*GetInstructionRequest) String

func (x *GetInstructionRequest) 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

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

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 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

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 GitilesCommit

type GitilesCommit struct {

	// The identity of the gitiles host, e.g. "chromium.googlesource.com".
	// Mandatory.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Repository name on the host, e.g. "chromium/src". Mandatory.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Commit ref, e.g. "refs/heads/main" from which the commit was fetched.
	// Not the branch name, use "refs/heads/branch"
	// Mandatory.
	Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// Commit HEX SHA1. All lowercase. Mandatory.
	CommitHash string `protobuf:"bytes,4,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// Defines a total order of commits on the ref.
	// A positive, monotonically increasing integer. The recommended
	// way of obtaining this is by using the goto.google.com/git-numberer
	// Gerrit plugin. Other solutions can be used as well, so long
	// as the same scheme is used consistently for a ref.
	// Mandatory.
	Position int64 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

GitilesCommit specifies the position of the gitiles commit an invocation ran against, in a repository's commit log. More specifically, a ref's commit log.

It also specifies the host/project/ref combination that the commit exists in, to provide context.

func (*GitilesCommit) Descriptor deprecated

func (*GitilesCommit) Descriptor() ([]byte, []int)

Deprecated: Use GitilesCommit.ProtoReflect.Descriptor instead.

func (*GitilesCommit) GetCommitHash

func (x *GitilesCommit) GetCommitHash() string

func (*GitilesCommit) GetHost

func (x *GitilesCommit) GetHost() string

func (*GitilesCommit) GetPosition

func (x *GitilesCommit) GetPosition() int64

func (*GitilesCommit) GetProject

func (x *GitilesCommit) GetProject() string

func (*GitilesCommit) GetRef

func (x *GitilesCommit) GetRef() string

func (*GitilesCommit) ProtoMessage

func (*GitilesCommit) ProtoMessage()

func (*GitilesCommit) ProtoReflect

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

func (*GitilesCommit) Reset

func (x *GitilesCommit) Reset()

func (*GitilesCommit) String

func (x *GitilesCommit) String() string

type GitilesRef

type GitilesRef struct {

	// The gitiles host, e.g. "chromium.googlesource.com".
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The project on the gitiles host, e.g. "chromium/src".
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Commit ref, e.g. "refs/heads/main" from which the commit was fetched.
	// Not the branch name, use "refs/heads/branch"
	Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

Represents a branch in a gitiles repository.

func (*GitilesRef) Descriptor deprecated

func (*GitilesRef) Descriptor() ([]byte, []int)

Deprecated: Use GitilesRef.ProtoReflect.Descriptor instead.

func (*GitilesRef) GetHost

func (x *GitilesRef) GetHost() string

func (*GitilesRef) GetProject

func (x *GitilesRef) GetProject() string

func (*GitilesRef) GetRef

func (x *GitilesRef) GetRef() string

func (*GitilesRef) ProtoMessage

func (*GitilesRef) ProtoMessage()

func (*GitilesRef) ProtoReflect

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

func (*GitilesRef) Reset

func (x *GitilesRef) Reset()

func (*GitilesRef) String

func (x *GitilesRef) 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. Deprecated: do not use.

func (*HistoryOptions) Descriptor 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 IDMatcher

type IDMatcher struct {

	// Types that are assignable to Matcher:
	//
	//	*IDMatcher_HasPrefix
	//	*IDMatcher_ExactEqual
	Matcher isIDMatcher_Matcher `protobuf_oneof:"matcher"`
	// contains filtered or unexported fields
}

Used to match IDs (eg. test id, artifact id).

func (*IDMatcher) Descriptor deprecated

func (*IDMatcher) Descriptor() ([]byte, []int)

Deprecated: Use IDMatcher.ProtoReflect.Descriptor instead.

func (*IDMatcher) GetExactEqual

func (x *IDMatcher) GetExactEqual() string

func (*IDMatcher) GetHasPrefix

func (x *IDMatcher) GetHasPrefix() string

func (*IDMatcher) GetMatcher

func (m *IDMatcher) GetMatcher() isIDMatcher_Matcher

func (*IDMatcher) ProtoMessage

func (*IDMatcher) ProtoMessage()

func (*IDMatcher) ProtoReflect

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

func (*IDMatcher) Reset

func (x *IDMatcher) Reset()

func (*IDMatcher) String

func (x *IDMatcher) String() string

type IDMatcher_ExactEqual

type IDMatcher_ExactEqual struct {
	// The id should exactly equal to this string.
	ExactEqual string `protobuf:"bytes,2,opt,name=exact_equal,json=exactEqual,proto3,oneof"`
}

type IDMatcher_HasPrefix

type IDMatcher_HasPrefix struct {
	// The id should has a matching prefix.
	HasPrefix string `protobuf:"bytes,1,opt,name=has_prefix,json=hasPrefix,proto3,oneof"`
}

type Instruction

type Instruction struct {

	// ID of the instruction. Required.
	// It is consumer-defined and is unique within the an invocation.
	// The tuple (invocation_id, instruction_id) can uniquely identify an instruction.
	// At this moment, we only has use cases for instruction ID for step instructions,
	// but we also require test instruction to have ID, for possible features
	// or enhancements in the future.
	// Format [a-z][a-z0-9_\-:.]{0,99}
	// Limit: 100 bytes.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Either step or test instruction.
	Type InstructionType `protobuf:"varint,2,opt,name=type,proto3,enum=luci.resultdb.v1.InstructionType" json:"type,omitempty"`
	// List of instruction for different targets.
	// There is at most 1 instruction per target.
	// If there is more than 1, an error will be returned.
	TargetedInstructions []*TargetedInstruction `protobuf:"bytes,3,rep,name=targeted_instructions,json=targetedInstructions,proto3" json:"targeted_instructions,omitempty"`
	// Specified the collection of test results that this instruction applies to.
	// For example, we can target all test results within a child invocation.
	// The consumer needs to make sure that any test result only has at most 1 instruction.
	// Otherwise, the behavior is undeterministic.
	// If no filter is applied, assume this applies to all test results contained
	// in this invocation and included invocations.
	// Only applicable for test instructions. This field will be ignored for step instructions.
	InstructionFilter *InstructionFilter `protobuf:"bytes,4,opt,name=instruction_filter,json=instructionFilter,proto3" json:"instruction_filter,omitempty"`
	// This is an output only field, representing the name of the instruction.
	// Format: invocations/<invocation_id>/instructions/<instruction_id>
	// If this field is set as input, it will be ignored.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// The descriptive, human-readable name of the instruction.
	// It will be showed in the dependency section in MILO.
	// Limit: 100 bytes.
	DescriptiveName string `protobuf:"bytes,6,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"`
	// contains filtered or unexported fields
}

Instruction is one failure reproduction instruction for a step or test result. Instruction can have different targets, like "local" or "remote". Instructions are stored in invocation level.

func (*Instruction) Descriptor deprecated

func (*Instruction) Descriptor() ([]byte, []int)

Deprecated: Use Instruction.ProtoReflect.Descriptor instead.

func (*Instruction) GetDescriptiveName

func (x *Instruction) GetDescriptiveName() string

func (*Instruction) GetId

func (x *Instruction) GetId() string

func (*Instruction) GetInstructionFilter

func (x *Instruction) GetInstructionFilter() *InstructionFilter

func (*Instruction) GetName

func (x *Instruction) GetName() string

func (*Instruction) GetTargetedInstructions

func (x *Instruction) GetTargetedInstructions() []*TargetedInstruction

func (*Instruction) GetType

func (x *Instruction) GetType() InstructionType

func (*Instruction) ProtoMessage

func (*Instruction) ProtoMessage()

func (*Instruction) ProtoReflect

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

func (*Instruction) Reset

func (x *Instruction) Reset()

func (*Instruction) String

func (x *Instruction) String() string

type InstructionDependency

type InstructionDependency struct {

	// The invocation ID of the instruction being depended on.
	// Limit: 100 bytes
	InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
	// The instruction ID of the instruction being depended on.
	// (invocation_id, instruction_id) uniquely identify an invocation.
	InstructionId string `protobuf:"bytes,2,opt,name=instruction_id,json=instructionId,proto3" json:"instruction_id,omitempty"`
	// contains filtered or unexported fields
}

Specifies a dependency for instruction. An instruction being depended on needs to be step instruction, not test result instruction. If the dependency cannot be found, or the user does not have the ACL, the dependency chain will stop and Milo will not display the dependency. If a dependency cycle is detected, we will stop showing dependency once we detected the cycle.

func (*InstructionDependency) Descriptor deprecated

func (*InstructionDependency) Descriptor() ([]byte, []int)

Deprecated: Use InstructionDependency.ProtoReflect.Descriptor instead.

func (*InstructionDependency) GetInstructionId

func (x *InstructionDependency) GetInstructionId() string

func (*InstructionDependency) GetInvocationId

func (x *InstructionDependency) GetInvocationId() string

func (*InstructionDependency) ProtoMessage

func (*InstructionDependency) ProtoMessage()

func (*InstructionDependency) ProtoReflect

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

func (*InstructionDependency) Reset

func (x *InstructionDependency) Reset()

func (*InstructionDependency) String

func (x *InstructionDependency) String() string

type InstructionDependencyChain

type InstructionDependencyChain struct {

	// Target of the dependency chain.
	Target InstructionTarget `protobuf:"varint,1,opt,name=target,proto3,enum=luci.resultdb.v1.InstructionTarget" json:"target,omitempty"`
	// List of dependencies.
	// The list will be sorted by the position in the dependency chain.
	// The direct dependency will be at position 0.
	// If the dependency traversing encounters an error, the last node will contain the error.
	Nodes []*InstructionDependencyChain_Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

The dependency chain for one target.

func (*InstructionDependencyChain) Descriptor deprecated

func (*InstructionDependencyChain) Descriptor() ([]byte, []int)

Deprecated: Use InstructionDependencyChain.ProtoReflect.Descriptor instead.

func (*InstructionDependencyChain) GetNodes

func (*InstructionDependencyChain) GetTarget

func (*InstructionDependencyChain) ProtoMessage

func (*InstructionDependencyChain) ProtoMessage()

func (*InstructionDependencyChain) ProtoReflect

func (*InstructionDependencyChain) Reset

func (x *InstructionDependencyChain) Reset()

func (*InstructionDependencyChain) String

func (x *InstructionDependencyChain) String() string

type InstructionDependencyChain_Node

type InstructionDependencyChain_Node struct {

	// The instruction name that the dependency belongs to.
	// The format is invocations/{invocation_id}/instructions/{instruction_id}.
	// We need this for the UI to resolve the placeholders of the content.
	InstructionName string `protobuf:"bytes,1,opt,name=instruction_name,json=instructionName,proto3" json:"instruction_name,omitempty"`
	// Content of the dependency.
	// Placeholders (if existed) will be returned as-is.
	// The caller of this RPC is responsible for resolving the placeholders.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// In case the traversal encounters an error, the error will be returned in this field.
	// If an error is returned, it will only be returned in the last dependency node,
	// after that, the chain will stop.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// The descriptive name of the instruction that the dependency belongs to.
	// In the following cases, the descriptive name will not be set:
	// - If the user does not have the permission to access the instruction for the node, or
	// - If the instruction cannot be found.
	DescriptiveName string `protobuf:"bytes,4,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"`
	// contains filtered or unexported fields
}

Captures information about a dependency.

func (*InstructionDependencyChain_Node) Descriptor deprecated

func (*InstructionDependencyChain_Node) Descriptor() ([]byte, []int)

Deprecated: Use InstructionDependencyChain_Node.ProtoReflect.Descriptor instead.

func (*InstructionDependencyChain_Node) GetContent

func (x *InstructionDependencyChain_Node) GetContent() string

func (*InstructionDependencyChain_Node) GetDescriptiveName

func (x *InstructionDependencyChain_Node) GetDescriptiveName() string

func (*InstructionDependencyChain_Node) GetError

func (*InstructionDependencyChain_Node) GetInstructionName

func (x *InstructionDependencyChain_Node) GetInstructionName() string

func (*InstructionDependencyChain_Node) ProtoMessage

func (*InstructionDependencyChain_Node) ProtoMessage()

func (*InstructionDependencyChain_Node) ProtoReflect

func (*InstructionDependencyChain_Node) Reset

func (*InstructionDependencyChain_Node) String

type InstructionFilter

type InstructionFilter struct {

	// TODO (nqmtuan): We may support filter by invocation tags if requested.
	//
	// Types that are assignable to FilterType:
	//
	//	*InstructionFilter_InvocationIds
	FilterType isInstructionFilter_FilterType `protobuf_oneof:"filter_type"`
	// contains filtered or unexported fields
}

InstructionFilter specifies the test results that this instruction applies to.

func (*InstructionFilter) Descriptor deprecated

func (*InstructionFilter) Descriptor() ([]byte, []int)

Deprecated: Use InstructionFilter.ProtoReflect.Descriptor instead.

func (*InstructionFilter) GetFilterType

func (m *InstructionFilter) GetFilterType() isInstructionFilter_FilterType

func (*InstructionFilter) GetInvocationIds

func (x *InstructionFilter) GetInvocationIds() *InstructionFilterByInvocationID

func (*InstructionFilter) ProtoMessage

func (*InstructionFilter) ProtoMessage()

func (*InstructionFilter) ProtoReflect

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

func (*InstructionFilter) Reset

func (x *InstructionFilter) Reset()

func (*InstructionFilter) String

func (x *InstructionFilter) String() string

type InstructionFilterByInvocationID

type InstructionFilterByInvocationID struct {

	// Only test results contained in these invocation IDs will be selected.
	InvocationIds []string `protobuf:"bytes,1,rep,name=invocation_ids,json=invocationIds,proto3" json:"invocation_ids,omitempty"`
	// Whether the check is recursive (i.e. whether it applies to test results
	// in included invocation).
	Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*InstructionFilterByInvocationID) Descriptor deprecated

func (*InstructionFilterByInvocationID) Descriptor() ([]byte, []int)

Deprecated: Use InstructionFilterByInvocationID.ProtoReflect.Descriptor instead.

func (*InstructionFilterByInvocationID) GetInvocationIds

func (x *InstructionFilterByInvocationID) GetInvocationIds() []string

func (*InstructionFilterByInvocationID) GetRecursive

func (x *InstructionFilterByInvocationID) GetRecursive() bool

func (*InstructionFilterByInvocationID) ProtoMessage

func (*InstructionFilterByInvocationID) ProtoMessage()

func (*InstructionFilterByInvocationID) ProtoReflect

func (*InstructionFilterByInvocationID) Reset

func (*InstructionFilterByInvocationID) String

type InstructionFilter_InvocationIds

type InstructionFilter_InvocationIds struct {
	InvocationIds *InstructionFilterByInvocationID `protobuf:"bytes,1,opt,name=invocation_ids,json=invocationIds,proto3,oneof"`
}

type InstructionTarget

type InstructionTarget int32
const (
	InstructionTarget_INSTRUCTION_TARGET_UNSPECIFIED InstructionTarget = 0
	// For running in a local machine.
	InstructionTarget_LOCAL InstructionTarget = 1
	// For running remotely.
	InstructionTarget_REMOTE InstructionTarget = 2
	// For prebuilt images.
	InstructionTarget_PREBUILT InstructionTarget = 3
)

func (InstructionTarget) Descriptor

func (InstructionTarget) Enum

func (InstructionTarget) EnumDescriptor deprecated

func (InstructionTarget) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstructionTarget.Descriptor instead.

func (InstructionTarget) Number

func (InstructionTarget) String

func (x InstructionTarget) String() string

func (InstructionTarget) Type

type InstructionType

type InstructionType int32
const (
	InstructionType_INSTRUCTION_TYPE_UNSPECIFIED InstructionType = 0
	// Instruction for step.
	InstructionType_STEP_INSTRUCTION InstructionType = 1
	// Instruction for test result.
	InstructionType_TEST_RESULT_INSTRUCTION InstructionType = 2
)

func (InstructionType) Descriptor

func (InstructionType) Enum

func (x InstructionType) Enum() *InstructionType

func (InstructionType) EnumDescriptor deprecated

func (InstructionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstructionType.Descriptor instead.

func (InstructionType) Number

func (InstructionType) String

func (x InstructionType) String() string

func (InstructionType) Type

type Instructions

type Instructions struct {
	Instructions []*Instruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"`
	// contains filtered or unexported fields
}

A collection of instructions. Used for step and test result instructions. Instructions may mixed between step and test instructions. This has a size limit of 1MB.

func (*Instructions) Descriptor deprecated

func (*Instructions) Descriptor() ([]byte, []int)

Deprecated: Use Instructions.ProtoReflect.Descriptor instead.

func (*Instructions) GetInstructions

func (x *Instructions) GetInstructions() []*Instruction

func (*Instructions) ProtoMessage

func (*Instructions) ProtoMessage()

func (*Instructions) ProtoReflect

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

func (*Instructions) Reset

func (x *Instructions) Reset()

func (*Instructions) String

func (x *Instructions) 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 started to finalize, i.e. transitioned to FINALIZING
	// state. This means the invocation is immutable but directly or indirectly
	// included invocations may not be.
	//
	// Output only.
	FinalizeStartTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=finalize_start_time,json=finalizeStartTime,proto3" json:"finalize_start_time,omitempty"`
	// When the invocation was finalized, i.e. transitioned to FINALIZED state.
	// If this field is set, implies that the invocation is finalized. This
	// means the invocation and directly or indirectly included invocations
	// are immutable.
	//
	// 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"`
	// Whether this invocation is a root of the invocation graph for export purposes.
	//
	// To help downstream systems (like LUCI Analysis) make sense of test results,
	// and gather overall context for a result, ResultDB data export is centered
	// around export roots.
	// The export roots typically represent a top-level buildbucket build, like a
	// postsubmit build or presubmit tryjob. Test results are only exported if
	// they are included from a root. They may be exported multiple times of they
	// are included by multiple roots (e.g. in case of re-used test results).
	// Re-used test results can be identified because the parent invocation of the
	// test result will be the same even though the export root will be different.
	//
	// N.B. Export roots do not affect legacy BigQuery exports configured by the
	// BigQueryExports field.
	IsExportRoot bool `protobuf:"varint,21,opt,name=is_export_root,json=isExportRoot,proto3" json:"is_export_root,omitempty"`
	// bigquery_exports indicates what BigQuery table(s) that results in this
	// invocation should export to.
	//
	// Legacy feature: Prefer to use LUCI Analysis exports instead.
	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"`
	// Deprecated. Values specified here are ignored.
	HistoryOptions *HistoryOptions `protobuf:"bytes,13,opt,name=history_options,json=historyOptions,proto3" json:"history_options,omitempty"`
	// Arbitrary JSON object that contains structured, domain-specific properties
	// of the invocation.
	//
	// The serialized size must be <= 16 KB.
	Properties *structpb.Struct `protobuf:"bytes,14,opt,name=properties,proto3" json:"properties,omitempty"`
	// The code sources which were tested by this invocation.
	// This is used to index test results for test history, and for
	// related analyses (e.g. culprit analysis / changepoint analyses).
	//
	// The sources specified here applies only to:
	//   - the test results directly contained in this invocation, and
	//   - any directly included invocations which set their source_spec.inherit to
	//     true.
	//
	// Clients should be careful to ensure the uploaded source spec is consistent
	// between included invocations that upload the same test variants.
	// Verdicts are associated with the sources of *any* of their constituent
	// test results, so if there is inconsistency between included invocations,
	// the position of the verdict becomes not well defined.
	//
	// Note that the sources specified here are shared with included invocations
	// regardless of the realm of those included invocations.
	//
	// Attempting to update this field to a value other than its current value
	// after is_source_spec_final is set will generate an error.
	SourceSpec *SourceSpec `protobuf:"bytes,15,opt,name=source_spec,json=sourceSpec,proto3" json:"source_spec,omitempty"`
	// Whether the code sources specified by source_spec are final (immutable).
	//
	// To facilitate rapid export of invocations inheriting sources from this
	// invocation, this property should be set to true as soon as possible
	// after the invocation's sources are fixed. In most cases, clients
	// will want to set this property to true at the same time as they set
	// source_spec.
	//
	// This field is client owned. Consistent with https://google.aip.dev/129,
	// it will not be forced to true when the invocation starts to finalize, even
	// if its effective value will always be true at that point.
	IsSourceSpecFinal bool `protobuf:"varint,20,opt,name=is_source_spec_final,json=isSourceSpecFinal,proto3" json:"is_source_spec_final,omitempty"`
	// A user-specified baseline identifier that maps to a set of test variants.
	// Often, this will be the source that generated the test result, such as the
	// builder name for Chromium. For example, the baseline identifier may be
	// try:linux-rel. The supported syntax for a baseline identifier is
	// ^[a-z0-9\-_.]{1,100}:[a-zA-Z0-9\-_.\(\) ]{1,128}`$. This syntax was selected
	// to allow <buildbucket bucket name>:<buildbucket builder name> as a valid
	// baseline ID.
	// See go/src/go.chromium.org/luci/buildbucket/proto/builder_common.proto for
	// character lengths for buildbucket bucket name and builder name.
	//
	// Baselines are used to identify new tests; a subtraction between the set of
	// test variants for a baseline in the Baselines table and test variants from
	// a given invocation determines whether a test is new.
	//
	// The caller must have `resultdb.baselines.put` to be able to
	// modify this field.
	BaselineId string `protobuf:"bytes,16,opt,name=baseline_id,json=baselineId,proto3" json:"baseline_id,omitempty"`
	// Instructions for the steps and test results in this invocation.
	// It may also contain instructions for test results in included invocations.
	Instructions *Instructions `protobuf:"bytes,23,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// Union of all variants of test results directly included by the invocation.
	// This field will be populated by ResultDB during test result creation time.
	TestResultVariantUnion *Variant `protobuf:"bytes,24,opt,name=TestResultVariantUnion,proto3" json:"TestResultVariantUnion,omitempty"`
	// Additional JSON object(s) that contain additional structured data about the
	// invocation. Unlike `properties` this field is not included (denormalized)
	// in the test results export, it is only available in the finalized
	// invocations BigQuery export.
	//
	// All google.protobuf.Struct values must contain a field '@type' which is
	// a URL/resource name that uniquely identifies the type of the source
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent the
	// fully qualified name of the type (e.g. foo.com/x/some.package.MyMessage)
	//
	// ResultDB will not validate the contents with respect to this schema, but
	// downstream systems may depend on the '@type' field to inform how the
	// contents are interpreted.
	//
	// Each key is limited to 63 characters matching
	// ^[a-z]([a-z0-9_]{0,61}[a-z0-9])?$.
	// The size of each value is limited to <= 20,000 bytes.
	// The total size of the map (as measured by proto.Size())
	// is limited to <= 100,000 bytes.
	//
	// The following paths can be used for field masks:
	// * "extended_properties" to target the whole extended_properties,
	// * "extended_properties.some_key" to target one key of extended_properties.
	ExtendedProperties map[string]*structpb.Struct `` /* 204-byte string literal not displayed */
	// 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: 25.

func (*Invocation) Descriptor deprecated

func (*Invocation) Descriptor() ([]byte, []int)

Deprecated: Use Invocation.ProtoReflect.Descriptor instead.

func (*Invocation) GetBaselineId

func (x *Invocation) GetBaselineId() string

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) GetExtendedProperties

func (x *Invocation) GetExtendedProperties() map[string]*structpb.Struct

func (*Invocation) GetFinalizeStartTime

func (x *Invocation) GetFinalizeStartTime() *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) GetInstructions

func (x *Invocation) GetInstructions() *Instructions

func (*Invocation) GetIsExportRoot

func (x *Invocation) GetIsExportRoot() bool

func (*Invocation) GetIsSourceSpecFinal

func (x *Invocation) GetIsSourceSpecFinal() bool

func (*Invocation) GetName

func (x *Invocation) GetName() string

func (*Invocation) GetProducerResource

func (x *Invocation) GetProducerResource() string

func (*Invocation) GetProperties

func (x *Invocation) GetProperties() *structpb.Struct

func (*Invocation) GetRealm

func (x *Invocation) GetRealm() string

func (*Invocation) GetSourceSpec

func (x *Invocation) GetSourceSpec() *SourceSpec

func (*Invocation) GetState

func (x *Invocation) GetState() Invocation_State

func (*Invocation) GetTags

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

func (*Invocation) GetTestResultVariantUnion

func (x *Invocation) GetTestResultVariantUnion() *Variant

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 InvocationFinalizedNotification

type InvocationFinalizedNotification struct {

	// The name of the invocation that was finalized.
	// Format: invocations/{INVOCATION_ID}.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The LUCI realm that owns the invocation.
	// E.g. "chromium:ci".
	Realm string `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"`
	// Whether this invocation is a root of the invocation graph for export purposes.
	//
	// To help downstream systems (like LUCI Analysis) make sense of test results,
	// and gather overall context for a result, ResultDB data export is centered
	// around export roots.
	//
	// See more in invocation.proto.
	IsExportRoot bool `protobuf:"varint,3,opt,name=is_export_root,json=isExportRoot,proto3" json:"is_export_root,omitempty"`
	// The hostname of the luci.resultdb.v1.ResultDB service which
	// can be used to query more information about the invocation(s)
	// notified in this message.
	ResultdbHost string `protobuf:"bytes,4,opt,name=resultdb_host,json=resultdbHost,proto3" json:"resultdb_host,omitempty"`
	// When the invocation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

A message notifying that an invocation has been finalized, i.e. that an invocation's test results are now immutable and are safe to be exported.

The message is sent over the `v1.invocation_finalized` Cloud Pub/Sub topic in JSON-serialized form.

Next id: 6.

func (*InvocationFinalizedNotification) Descriptor deprecated

func (*InvocationFinalizedNotification) Descriptor() ([]byte, []int)

Deprecated: Use InvocationFinalizedNotification.ProtoReflect.Descriptor instead.

func (*InvocationFinalizedNotification) GetCreateTime

func (*InvocationFinalizedNotification) GetInvocation

func (x *InvocationFinalizedNotification) GetInvocation() string

func (*InvocationFinalizedNotification) GetIsExportRoot

func (x *InvocationFinalizedNotification) GetIsExportRoot() bool

func (*InvocationFinalizedNotification) GetRealm

func (*InvocationFinalizedNotification) GetResultdbHost

func (x *InvocationFinalizedNotification) GetResultdbHost() string

func (*InvocationFinalizedNotification) ProtoMessage

func (*InvocationFinalizedNotification) ProtoMessage()

func (*InvocationFinalizedNotification) ProtoReflect

func (*InvocationFinalizedNotification) Reset

func (*InvocationFinalizedNotification) String

type InvocationReadyForExportNotification

type InvocationReadyForExportNotification struct {

	// The hostname of the luci.resultdb.v1.ResultDB service which
	// can be used to query more information about the invocation(s)
	// notified in this message.
	ResultdbHost string `protobuf:"bytes,6,opt,name=resultdb_host,json=resultdbHost,proto3" json:"resultdb_host,omitempty"`
	// The export root with respect to which the export is occurring.
	//
	// Format: invocations/{ROOT_INVOCATION_ID}.
	RootInvocation string `protobuf:"bytes,1,opt,name=root_invocation,json=rootInvocation,proto3" json:"root_invocation,omitempty"`
	// The LUCI realm that owns the root invocation.
	RootInvocationRealm string `protobuf:"bytes,2,opt,name=root_invocation_realm,json=rootInvocationRealm,proto3" json:"root_invocation_realm,omitempty"`
	// When the root invocation was created.
	RootCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=root_create_time,json=rootCreateTime,proto3" json:"root_create_time,omitempty"`
	// The name of the ResultDB invocation included by root_invocation whose
	// immediate properties, test results and artifacts are now immutable
	// (in FINALIZING OR FINALIZED state). Note that child invocations included
	// by `invocation` may not yet be immutable.
	//
	// This may be equal to root_invocation, to indicate test results, artifacts
	// and properties immediately inside root_invocation are immutable and ready
	// for ingestion.
	//
	// Format: invocations/{INVOCATION_ID}.
	Invocation string `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The LUCI realm that owns `invocation`.
	InvocationRealm string `protobuf:"bytes,4,opt,name=invocation_realm,json=invocationRealm,proto3" json:"invocation_realm,omitempty"`
	// The resolved sources for `invocation`, if any.
	//
	// As sources may be inherited, the sources resolved for the same
	// invocation may vary between export roots. This typically occurs when
	// a project uses testing task deduplication, and the different sources
	// deduplicate to the same testing task as they compile to
	// byte-for-byte-identical testing artifacts.
	Sources *Sources `protobuf:"bytes,5,opt,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

InvocationReadyForExportNotification notifies that the properties, test results and artifacts directly inside invocation `invocation`, within the context of export root `root_invocation`, are now immutable and ready for consumption by downstream systems.

If a given invocation is included by multiple export roots, a message will be sent for each such root.

When sent over v1.invocation_ready_for_export Cloud Pub/Sub, an attribute "luci_project" will be attached to the message, which will contain the LUCI Project of the `root_invocation_realm`.

Next ID: 8.

func (*InvocationReadyForExportNotification) Descriptor deprecated

func (*InvocationReadyForExportNotification) Descriptor() ([]byte, []int)

Deprecated: Use InvocationReadyForExportNotification.ProtoReflect.Descriptor instead.

func (*InvocationReadyForExportNotification) GetInvocation

func (x *InvocationReadyForExportNotification) GetInvocation() string

func (*InvocationReadyForExportNotification) GetInvocationRealm

func (x *InvocationReadyForExportNotification) GetInvocationRealm() string

func (*InvocationReadyForExportNotification) GetResultdbHost

func (x *InvocationReadyForExportNotification) GetResultdbHost() string

func (*InvocationReadyForExportNotification) GetRootCreateTime

func (*InvocationReadyForExportNotification) GetRootInvocation

func (x *InvocationReadyForExportNotification) GetRootInvocation() string

func (*InvocationReadyForExportNotification) GetRootInvocationRealm

func (x *InvocationReadyForExportNotification) GetRootInvocationRealm() string

func (*InvocationReadyForExportNotification) GetSources

func (*InvocationReadyForExportNotification) ProtoMessage

func (*InvocationReadyForExportNotification) ProtoMessage()

func (*InvocationReadyForExportNotification) ProtoReflect

func (*InvocationReadyForExportNotification) Reset

func (*InvocationReadyForExportNotification) 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

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 IssueTrackerComponent

type IssueTrackerComponent struct {

	// The Google Issue Tracker component ID.
	ComponentId int64 `protobuf:"varint,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// contains filtered or unexported fields
}

A component in Google Issue Tracker, sometimes known as Buganizer, available at https://issuetracker.google.com.

func (*IssueTrackerComponent) Descriptor deprecated

func (*IssueTrackerComponent) Descriptor() ([]byte, []int)

Deprecated: Use IssueTrackerComponent.ProtoReflect.Descriptor instead.

func (*IssueTrackerComponent) GetComponentId

func (x *IssueTrackerComponent) GetComponentId() int64

func (*IssueTrackerComponent) ProtoMessage

func (*IssueTrackerComponent) ProtoMessage()

func (*IssueTrackerComponent) ProtoReflect

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

func (*IssueTrackerComponent) Reset

func (x *IssueTrackerComponent) Reset()

func (*IssueTrackerComponent) String

func (x *IssueTrackerComponent) String() string

type ListArtifactLinesRequest

type ListArtifactLinesRequest struct {

	// Retrieve log lines for 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}".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of log lines to return.
	//
	// The service may return fewer than this value.
	// The response size will be truncated to 10MB
	// if the size of matching lines is larger than 10MB.
	// If unspecified or is equal to 0, a max of 10MB of lines will be returned.
	// Negative page sizes are not allowed.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

A request message for ListArtifactLines RPC.

func (*ListArtifactLinesRequest) Descriptor deprecated

func (*ListArtifactLinesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactLinesRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactLinesRequest) GetPageSize

func (x *ListArtifactLinesRequest) GetPageSize() int32

func (*ListArtifactLinesRequest) GetParent

func (x *ListArtifactLinesRequest) GetParent() string

func (*ListArtifactLinesRequest) ProtoMessage

func (*ListArtifactLinesRequest) ProtoMessage()

func (*ListArtifactLinesRequest) ProtoReflect

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

func (*ListArtifactLinesRequest) Reset

func (x *ListArtifactLinesRequest) Reset()

func (*ListArtifactLinesRequest) String

func (x *ListArtifactLinesRequest) String() string

type ListArtifactLinesResponse

type ListArtifactLinesResponse struct {

	// The log lines in the artifact.
	Lines []*ArtifactLine `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

A response for ListArtifactLines RPC

func (*ListArtifactLinesResponse) Descriptor deprecated

func (*ListArtifactLinesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactLinesResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactLinesResponse) GetLines

func (x *ListArtifactLinesResponse) GetLines() []*ArtifactLine

func (*ListArtifactLinesResponse) ProtoMessage

func (*ListArtifactLinesResponse) ProtoMessage()

func (*ListArtifactLinesResponse) ProtoReflect

func (*ListArtifactLinesResponse) Reset

func (x *ListArtifactLinesResponse) Reset()

func (*ListArtifactLinesResponse) String

func (x *ListArtifactLinesResponse) String() string

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

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

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

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

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

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

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 MarkInvocationSubmittedRequest

type MarkInvocationSubmittedRequest struct {

	// Name of the invocation, e.g. "invocations/{id}".
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// contains filtered or unexported fields
}

A request message for MarkInvocationSubmitted RPC. To use this RPC, callers need:

  • resultdb.invocations.setSubmitted in the realm the <project>:@project, where project is the project of the nominated invocation.

func (*MarkInvocationSubmittedRequest) Descriptor deprecated

func (*MarkInvocationSubmittedRequest) Descriptor() ([]byte, []int)

Deprecated: Use MarkInvocationSubmittedRequest.ProtoReflect.Descriptor instead.

func (*MarkInvocationSubmittedRequest) GetInvocation

func (x *MarkInvocationSubmittedRequest) GetInvocation() string

func (*MarkInvocationSubmittedRequest) ProtoMessage

func (*MarkInvocationSubmittedRequest) ProtoMessage()

func (*MarkInvocationSubmittedRequest) ProtoReflect

func (*MarkInvocationSubmittedRequest) Reset

func (x *MarkInvocationSubmittedRequest) Reset()

func (*MarkInvocationSubmittedRequest) 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) MarkInvocationSubmitted

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

MarkInvocationSubmitted 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) MarkInvocationSubmitted

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

MarkInvocationSubmitted indicates an expected call of MarkInvocationSubmitted.

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) MarkInvocationSubmitted

func (m *MockRecorderServer) MarkInvocationSubmitted(arg0 context.Context, arg1 *MarkInvocationSubmittedRequest) (*emptypb.Empty, error)

MarkInvocationSubmitted 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) MarkInvocationSubmitted

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

MarkInvocationSubmitted indicates an expected call of MarkInvocationSubmitted.

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) BatchGetTestVariants

BatchGetTestVariants mocks base method.

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) GetInstruction

func (m *MockResultDBClient) GetInstruction(ctx context.Context, in *GetInstructionRequest, opts ...grpc.CallOption) (*Instruction, error)

GetInstruction 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) ListArtifactLines

ListArtifactLines 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) QueryArtifactFailureOnlyLines

QueryArtifactFailureOnlyLines mocks base method.

func (*MockResultDBClient) QueryArtifacts

QueryArtifacts mocks base method.

func (*MockResultDBClient) QueryInstruction

QueryInstruction mocks base method.

func (*MockResultDBClient) QueryInvocationVariantArtifactGroups

QueryInvocationVariantArtifactGroups mocks base method.

func (*MockResultDBClient) QueryInvocationVariantArtifacts

QueryInvocationVariantArtifacts mocks base method.

func (*MockResultDBClient) QueryNewTestVariants

QueryNewTestVariants mocks base method.

func (*MockResultDBClient) QueryRootInvocationNames

QueryRootInvocationNames mocks base method.

func (*MockResultDBClient) QueryRunTestVerdicts

QueryRunTestVerdicts mocks base method.

func (*MockResultDBClient) QueryTestExonerations

QueryTestExonerations mocks base method.

func (*MockResultDBClient) QueryTestMetadata

QueryTestMetadata mocks base method.

func (*MockResultDBClient) QueryTestResultStatistics

QueryTestResultStatistics mocks base method.

func (*MockResultDBClient) QueryTestResults

QueryTestResults mocks base method.

func (*MockResultDBClient) QueryTestVariantArtifactGroups

QueryTestVariantArtifactGroups mocks base method.

func (*MockResultDBClient) QueryTestVariantArtifacts

QueryTestVariantArtifacts mocks base method.

func (*MockResultDBClient) QueryTestVariants

QueryTestVariants mocks base method.

type MockResultDBClientMockRecorder

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

MockResultDBClientMockRecorder is the mock recorder for MockResultDBClient.

func (*MockResultDBClientMockRecorder) BatchGetTestVariants

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

BatchGetTestVariants indicates an expected call of BatchGetTestVariants.

func (*MockResultDBClientMockRecorder) GetArtifact

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

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBClientMockRecorder) GetInstruction

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

GetInstruction indicates an expected call of GetInstruction.

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) ListArtifactLines

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

ListArtifactLines indicates an expected call of ListArtifactLines.

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) QueryArtifactFailureOnlyLines

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

QueryArtifactFailureOnlyLines indicates an expected call of QueryArtifactFailureOnlyLines.

func (*MockResultDBClientMockRecorder) QueryArtifacts

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

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBClientMockRecorder) QueryInstruction

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

QueryInstruction indicates an expected call of QueryInstruction.

func (*MockResultDBClientMockRecorder) QueryInvocationVariantArtifactGroups

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

QueryInvocationVariantArtifactGroups indicates an expected call of QueryInvocationVariantArtifactGroups.

func (*MockResultDBClientMockRecorder) QueryInvocationVariantArtifacts

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

QueryInvocationVariantArtifacts indicates an expected call of QueryInvocationVariantArtifacts.

func (*MockResultDBClientMockRecorder) QueryNewTestVariants

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

QueryNewTestVariants indicates an expected call of QueryNewTestVariants.

func (*MockResultDBClientMockRecorder) QueryRootInvocationNames

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

QueryRootInvocationNames indicates an expected call of QueryRootInvocationNames.

func (*MockResultDBClientMockRecorder) QueryRunTestVerdicts

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

QueryRunTestVerdicts indicates an expected call of QueryRunTestVerdicts.

func (*MockResultDBClientMockRecorder) QueryTestExonerations

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

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBClientMockRecorder) QueryTestMetadata

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

QueryTestMetadata indicates an expected call of QueryTestMetadata.

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.

func (*MockResultDBClientMockRecorder) QueryTestVariantArtifactGroups

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

QueryTestVariantArtifactGroups indicates an expected call of QueryTestVariantArtifactGroups.

func (*MockResultDBClientMockRecorder) QueryTestVariantArtifacts

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

QueryTestVariantArtifacts indicates an expected call of QueryTestVariantArtifacts.

func (*MockResultDBClientMockRecorder) QueryTestVariants

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

QueryTestVariants indicates an expected call of QueryTestVariants.

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) BatchGetTestVariants

BatchGetTestVariants mocks base method.

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) GetInstruction

func (m *MockResultDBServer) GetInstruction(arg0 context.Context, arg1 *GetInstructionRequest) (*Instruction, error)

GetInstruction 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) ListArtifactLines

ListArtifactLines 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) QueryArtifactFailureOnlyLines

QueryArtifactFailureOnlyLines mocks base method.

func (*MockResultDBServer) QueryArtifacts

QueryArtifacts mocks base method.

func (*MockResultDBServer) QueryInstruction

QueryInstruction mocks base method.

func (*MockResultDBServer) QueryInvocationVariantArtifactGroups

QueryInvocationVariantArtifactGroups mocks base method.

func (*MockResultDBServer) QueryInvocationVariantArtifacts

QueryInvocationVariantArtifacts mocks base method.

func (*MockResultDBServer) QueryNewTestVariants

QueryNewTestVariants mocks base method.

func (*MockResultDBServer) QueryRootInvocationNames

QueryRootInvocationNames mocks base method.

func (*MockResultDBServer) QueryRunTestVerdicts

QueryRunTestVerdicts mocks base method.

func (*MockResultDBServer) QueryTestExonerations

QueryTestExonerations mocks base method.

func (*MockResultDBServer) QueryTestMetadata

QueryTestMetadata mocks base method.

func (*MockResultDBServer) QueryTestResultStatistics

QueryTestResultStatistics mocks base method.

func (*MockResultDBServer) QueryTestResults

QueryTestResults mocks base method.

func (*MockResultDBServer) QueryTestVariantArtifactGroups

QueryTestVariantArtifactGroups mocks base method.

func (*MockResultDBServer) QueryTestVariantArtifacts

QueryTestVariantArtifacts mocks base method.

func (*MockResultDBServer) QueryTestVariants

QueryTestVariants mocks base method.

type MockResultDBServerMockRecorder

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

MockResultDBServerMockRecorder is the mock recorder for MockResultDBServer.

func (*MockResultDBServerMockRecorder) BatchGetTestVariants

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

BatchGetTestVariants indicates an expected call of BatchGetTestVariants.

func (*MockResultDBServerMockRecorder) GetArtifact

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

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBServerMockRecorder) GetInstruction

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

GetInstruction indicates an expected call of GetInstruction.

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) ListArtifactLines

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

ListArtifactLines indicates an expected call of ListArtifactLines.

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) QueryArtifactFailureOnlyLines

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

QueryArtifactFailureOnlyLines indicates an expected call of QueryArtifactFailureOnlyLines.

func (*MockResultDBServerMockRecorder) QueryArtifacts

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

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBServerMockRecorder) QueryInstruction

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

QueryInstruction indicates an expected call of QueryInstruction.

func (*MockResultDBServerMockRecorder) QueryInvocationVariantArtifactGroups

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

QueryInvocationVariantArtifactGroups indicates an expected call of QueryInvocationVariantArtifactGroups.

func (*MockResultDBServerMockRecorder) QueryInvocationVariantArtifacts

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

QueryInvocationVariantArtifacts indicates an expected call of QueryInvocationVariantArtifacts.

func (*MockResultDBServerMockRecorder) QueryNewTestVariants

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

QueryNewTestVariants indicates an expected call of QueryNewTestVariants.

func (*MockResultDBServerMockRecorder) QueryRootInvocationNames

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

QueryRootInvocationNames indicates an expected call of QueryRootInvocationNames.

func (*MockResultDBServerMockRecorder) QueryRunTestVerdicts

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

QueryRunTestVerdicts indicates an expected call of QueryRunTestVerdicts.

func (*MockResultDBServerMockRecorder) QueryTestExonerations

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

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBServerMockRecorder) QueryTestMetadata

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

QueryTestMetadata indicates an expected call of QueryTestMetadata.

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.

func (*MockResultDBServerMockRecorder) QueryTestVariantArtifactGroups

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

QueryTestVariantArtifactGroups indicates an expected call of QueryTestVariantArtifactGroups.

func (*MockResultDBServerMockRecorder) QueryTestVariantArtifacts

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

QueryTestVariantArtifacts indicates an expected call of QueryTestVariantArtifacts.

func (*MockResultDBServerMockRecorder) QueryTestVariants

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

QueryTestVariants indicates an expected call of QueryTestVariants.

type MockisArtifactContentMatcher_Matcher

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

MockisArtifactContentMatcher_Matcher is a mock of isArtifactContentMatcher_Matcher interface.

func NewMockisArtifactContentMatcher_Matcher

func NewMockisArtifactContentMatcher_Matcher(ctrl *gomock.Controller) *MockisArtifactContentMatcher_Matcher

NewMockisArtifactContentMatcher_Matcher creates a new mock instance.

func (*MockisArtifactContentMatcher_Matcher) EXPECT

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

type MockisArtifactContentMatcher_MatcherMockRecorder

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

MockisArtifactContentMatcher_MatcherMockRecorder is the mock recorder for MockisArtifactContentMatcher_Matcher.

type MockisIDMatcher_Matcher

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

MockisIDMatcher_Matcher is a mock of isIDMatcher_Matcher interface.

func NewMockisIDMatcher_Matcher

func NewMockisIDMatcher_Matcher(ctrl *gomock.Controller) *MockisIDMatcher_Matcher

NewMockisIDMatcher_Matcher creates a new mock instance.

func (*MockisIDMatcher_Matcher) EXPECT

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

type MockisIDMatcher_MatcherMockRecorder

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

MockisIDMatcher_MatcherMockRecorder is the mock recorder for MockisIDMatcher_Matcher.

type MonorailComponent

type MonorailComponent struct {

	// The monorail project name.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The monorail component value. E.g. "Blink>Accessibility".
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A component in monorail issue tracker, available at https://bugs.chromium.org.

func (*MonorailComponent) Descriptor deprecated

func (*MonorailComponent) Descriptor() ([]byte, []int)

Deprecated: Use MonorailComponent.ProtoReflect.Descriptor instead.

func (*MonorailComponent) GetProject

func (x *MonorailComponent) GetProject() string

func (*MonorailComponent) GetValue

func (x *MonorailComponent) GetValue() string

func (*MonorailComponent) ProtoMessage

func (*MonorailComponent) ProtoMessage()

func (*MonorailComponent) ProtoReflect

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

func (*MonorailComponent) Reset

func (x *MonorailComponent) Reset()

func (*MonorailComponent) String

func (x *MonorailComponent) String() string

type QueryArtifactFailureOnlyLinesRequest

type QueryArtifactFailureOnlyLinesRequest struct {

	// Retrieve log lines for this artifact.
	// Invocation level artifacts are not yet supported.
	// Format:
	//   - For test-result-level artifacts:
	//     "invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/results/{RESULT_ID}/artifacts/{ARTIFACT_ID}".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// If set to true, the content of the log lines will be returned in the
	// response.  If left missing or false, only the line range indexes will
	// be returned.
	IncludeContent bool `protobuf:"varint,2,opt,name=include_content,json=includeContent,proto3" json:"include_content,omitempty"`
	// The maximum number of line ranges to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 1000 line ranges will be returned.
	// The maximum value is 10,000; values above 10,000 will be coerced to 10,000.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryArtifactFailureOnlyLines` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryArtifactFailureOnlyLines` 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 for the QueryArtifactFailureOnlyLines RPC.

func (*QueryArtifactFailureOnlyLinesRequest) Descriptor deprecated

func (*QueryArtifactFailureOnlyLinesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactFailureOnlyLinesRequest.ProtoReflect.Descriptor instead.

func (*QueryArtifactFailureOnlyLinesRequest) GetIncludeContent

func (x *QueryArtifactFailureOnlyLinesRequest) GetIncludeContent() bool

func (*QueryArtifactFailureOnlyLinesRequest) GetPageSize

func (*QueryArtifactFailureOnlyLinesRequest) GetPageToken

func (x *QueryArtifactFailureOnlyLinesRequest) GetPageToken() string

func (*QueryArtifactFailureOnlyLinesRequest) GetParent

func (*QueryArtifactFailureOnlyLinesRequest) ProtoMessage

func (*QueryArtifactFailureOnlyLinesRequest) ProtoMessage()

func (*QueryArtifactFailureOnlyLinesRequest) ProtoReflect

func (*QueryArtifactFailureOnlyLinesRequest) Reset

func (*QueryArtifactFailureOnlyLinesRequest) String

type QueryArtifactFailureOnlyLinesResponse

type QueryArtifactFailureOnlyLinesResponse struct {

	// Line ranges [start, end) in the requested artifact that do not typically
	// appear versions of the artifact from passing test results.
	// Line ranges are returned in sorted ascending order.
	FailureOnlyLineRanges []*QueryArtifactFailureOnlyLinesResponse_LineRange `` /* 128-byte string literal not displayed */
	// 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 for the QueryArtifactFailureOnlyLines RPC.

func (*QueryArtifactFailureOnlyLinesResponse) Descriptor deprecated

func (*QueryArtifactFailureOnlyLinesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactFailureOnlyLinesResponse.ProtoReflect.Descriptor instead.

func (*QueryArtifactFailureOnlyLinesResponse) GetFailureOnlyLineRanges

func (*QueryArtifactFailureOnlyLinesResponse) GetNextPageToken

func (x *QueryArtifactFailureOnlyLinesResponse) GetNextPageToken() string

func (*QueryArtifactFailureOnlyLinesResponse) ProtoMessage

func (*QueryArtifactFailureOnlyLinesResponse) ProtoMessage()

func (*QueryArtifactFailureOnlyLinesResponse) ProtoReflect

func (*QueryArtifactFailureOnlyLinesResponse) Reset

func (*QueryArtifactFailureOnlyLinesResponse) String

type QueryArtifactFailureOnlyLinesResponse_LineRange

type QueryArtifactFailureOnlyLinesResponse_LineRange struct {

	// The line index of the start of the line range.  The start is inclusive,
	// i.e. the start line is included in the range.
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// The line index of the end of the line range.  The end is exclusive, i.e.
	// the end line is not included in the range.
	End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// The content of the lines in the range.
	// Only included if include_content in the request is set to true.
	Lines []string `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

A representation of a range of lines in an artifact, where lines are represented by their index. The first line is line 0.

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) Descriptor deprecated

Deprecated: Use QueryArtifactFailureOnlyLinesResponse_LineRange.ProtoReflect.Descriptor instead.

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) GetEnd

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) GetLines

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) GetStart

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) ProtoMessage

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) ProtoReflect

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) Reset

func (*QueryArtifactFailureOnlyLinesResponse_LineRange) String

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

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

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 QueryInstructionRequest

type QueryInstructionRequest struct {

	// Name of the instruction to query for. The format is:
	// invocations/{invocation_id}/instructions/{instruction_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum depth to traverse the dependency chain. Default is 5.
	// The maximum value we support is 10, value bigger than 10 will be adjusted to 10.
	// Non-positive value will be adjusted to the default.
	DependencyMaxDepth int32 `protobuf:"varint,2,opt,name=dependency_max_depth,json=dependencyMaxDepth,proto3" json:"dependency_max_depth,omitempty"`
	// contains filtered or unexported fields
}

Request for QueryInstructionDependencies RPC.

func (*QueryInstructionRequest) Descriptor deprecated

func (*QueryInstructionRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryInstructionRequest.ProtoReflect.Descriptor instead.

func (*QueryInstructionRequest) GetDependencyMaxDepth

func (x *QueryInstructionRequest) GetDependencyMaxDepth() int32

func (*QueryInstructionRequest) GetName

func (x *QueryInstructionRequest) GetName() string

func (*QueryInstructionRequest) ProtoMessage

func (*QueryInstructionRequest) ProtoMessage()

func (*QueryInstructionRequest) ProtoReflect

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

func (*QueryInstructionRequest) Reset

func (x *QueryInstructionRequest) Reset()

func (*QueryInstructionRequest) String

func (x *QueryInstructionRequest) String() string

type QueryInstructionResponse

type QueryInstructionResponse struct {

	// The instruction.
	Instruction *Instruction `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"`
	// Dependency chain, one for each target.
	DependencyChains []*InstructionDependencyChain `protobuf:"bytes,2,rep,name=dependency_chains,json=dependencyChains,proto3" json:"dependency_chains,omitempty"`
	// contains filtered or unexported fields
}

Response for QueryInstructionDependencies RPC.

func (*QueryInstructionResponse) Descriptor deprecated

func (*QueryInstructionResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryInstructionResponse.ProtoReflect.Descriptor instead.

func (*QueryInstructionResponse) GetDependencyChains

func (x *QueryInstructionResponse) GetDependencyChains() []*InstructionDependencyChain

func (*QueryInstructionResponse) GetInstruction

func (x *QueryInstructionResponse) GetInstruction() *Instruction

func (*QueryInstructionResponse) ProtoMessage

func (*QueryInstructionResponse) ProtoMessage()

func (*QueryInstructionResponse) ProtoReflect

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

func (*QueryInstructionResponse) Reset

func (x *QueryInstructionResponse) Reset()

func (*QueryInstructionResponse) String

func (x *QueryInstructionResponse) String() string

type QueryInvocationVariantArtifactGroupsRequest

type QueryInvocationVariantArtifactGroupsRequest struct {

	// The LUCI project (required).
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The search string to search in text artifact content (required).
	// Support regex or exact match.
	SearchString *ArtifactContentMatcher `protobuf:"bytes,2,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
	// The artifact id matcher to restrict the scope of the search (optional).
	ArtifactIdMatcher *IDMatcher `protobuf:"bytes,3,opt,name=artifact_id_matcher,json=artifactIdMatcher,proto3" json:"artifact_id_matcher,omitempty"`
	// The lower bound of the time range to search in UTC time (exclusive) (required).
	// start_time must not be before 20 July 2024 UTC.
	// start_time must be less than the end time.
	// The duration between start_time and end_time must not be greater than 7 days.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The upper bound of the time range to search in UTC time (inclusive) (required).
	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The maximum number of match groups to return. The service may return fewer than
	// this value.
	// If unspecified, at most 100 items will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100.
	PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryInvocationVariantArtifactGroups` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryInvocationVariantArtifactGroups` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInvocationVariantArtifactGroupsRequest) Descriptor deprecated

Deprecated: Use QueryInvocationVariantArtifactGroupsRequest.ProtoReflect.Descriptor instead.

func (*QueryInvocationVariantArtifactGroupsRequest) GetArtifactIdMatcher

func (x *QueryInvocationVariantArtifactGroupsRequest) GetArtifactIdMatcher() *IDMatcher

func (*QueryInvocationVariantArtifactGroupsRequest) GetEndTime

func (*QueryInvocationVariantArtifactGroupsRequest) GetPageSize

func (*QueryInvocationVariantArtifactGroupsRequest) GetPageToken

func (*QueryInvocationVariantArtifactGroupsRequest) GetProject

func (*QueryInvocationVariantArtifactGroupsRequest) GetSearchString

func (*QueryInvocationVariantArtifactGroupsRequest) GetStartTime

func (*QueryInvocationVariantArtifactGroupsRequest) ProtoMessage

func (*QueryInvocationVariantArtifactGroupsRequest) ProtoReflect

func (*QueryInvocationVariantArtifactGroupsRequest) Reset

func (*QueryInvocationVariantArtifactGroupsRequest) String

type QueryInvocationVariantArtifactGroupsResponse

type QueryInvocationVariantArtifactGroupsResponse struct {

	// Invocation variant artifacts  are grouped by variant_union_hash and artifact_id.
	// Ordered by partition_time of the most recent artifact DESC in the group, variant_union_hash, artifact id.
	Groups []*QueryInvocationVariantArtifactGroupsResponse_MatchGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInvocationVariantArtifactGroupsResponse) Descriptor deprecated

Deprecated: Use QueryInvocationVariantArtifactGroupsResponse.ProtoReflect.Descriptor instead.

func (*QueryInvocationVariantArtifactGroupsResponse) GetGroups

func (*QueryInvocationVariantArtifactGroupsResponse) GetNextPageToken

func (*QueryInvocationVariantArtifactGroupsResponse) ProtoMessage

func (*QueryInvocationVariantArtifactGroupsResponse) ProtoReflect

func (*QueryInvocationVariantArtifactGroupsResponse) Reset

func (*QueryInvocationVariantArtifactGroupsResponse) String

type QueryInvocationVariantArtifactGroupsResponse_MatchGroup

type QueryInvocationVariantArtifactGroupsResponse_MatchGroup struct {

	// Hash of the union of all variants of test results directly included by the invocation.
	VariantUnionHash string `protobuf:"bytes,1,opt,name=variant_union_hash,json=variantUnionHash,proto3" json:"variant_union_hash,omitempty"`
	// Union of all variants of test results directly included by the invocation.
	// Roughly defines a specific way to run an invocation.
	VariantUnion *Variant `protobuf:"bytes,2,opt,name=variant_union,json=variantUnion,proto3" json:"variant_union,omitempty"`
	// ID of the artifact.
	ArtifactId string `protobuf:"bytes,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Artifacts that matches the search for this (variant_union_hash, artifact id) combination.
	// Return at most 3 items, ordered by partition time DESC, artifact name ASC.
	Artifacts []*ArtifactMatchingContent `protobuf:"bytes,4,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// The total number of matching artifacts for this (variant_union_hash, artifact id) combination.
	MatchingCount int32 `protobuf:"varint,5,opt,name=matching_count,json=matchingCount,proto3" json:"matching_count,omitempty"`
	// contains filtered or unexported fields
}

Represents one group of matched artifacts. variant_union_hash and artifact_id form the group key.

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) Descriptor deprecated

Deprecated: Use QueryInvocationVariantArtifactGroupsResponse_MatchGroup.ProtoReflect.Descriptor instead.

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) GetArtifactId

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) GetArtifacts

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) GetMatchingCount

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) GetVariantUnion

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) GetVariantUnionHash

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) ProtoMessage

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) ProtoReflect

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) Reset

func (*QueryInvocationVariantArtifactGroupsResponse_MatchGroup) String

type QueryInvocationVariantArtifactsRequest

type QueryInvocationVariantArtifactsRequest struct {

	// The LUCI project (required).
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The search string to search in text artifact content (required).
	// Support regex or exact match.
	SearchString *ArtifactContentMatcher `protobuf:"bytes,2,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
	// Hash of the union of all variants of test results directly included by the invocation (required).
	VariantUnionHash string `protobuf:"bytes,3,opt,name=variant_union_hash,json=variantUnionHash,proto3" json:"variant_union_hash,omitempty"`
	// The artifact id (required).
	ArtifactId string `protobuf:"bytes,4,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// The lower bound of the time range to search in UTC time (exclusive) (required).
	// start_time must not be before 20 July 2024 UTC.
	// start_time must be less than the end time.
	// The duration between start_time and end_time must not be greater than 7 days.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The upper bound of the time range to search in UTC time (inclusive) (required).
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The maximum number of items to return. The service may return fewer than
	// this value.
	// If unspecified, at most 100 items will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100.
	PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryInvocationVariantArtifacts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryInvocationVariantArtifacts` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInvocationVariantArtifactsRequest) Descriptor deprecated

func (*QueryInvocationVariantArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryInvocationVariantArtifactsRequest.ProtoReflect.Descriptor instead.

func (*QueryInvocationVariantArtifactsRequest) GetArtifactId

func (*QueryInvocationVariantArtifactsRequest) GetEndTime

func (*QueryInvocationVariantArtifactsRequest) GetPageSize

func (*QueryInvocationVariantArtifactsRequest) GetPageToken

func (*QueryInvocationVariantArtifactsRequest) GetProject

func (*QueryInvocationVariantArtifactsRequest) GetSearchString

func (*QueryInvocationVariantArtifactsRequest) GetStartTime

func (*QueryInvocationVariantArtifactsRequest) GetVariantUnionHash

func (x *QueryInvocationVariantArtifactsRequest) GetVariantUnionHash() string

func (*QueryInvocationVariantArtifactsRequest) ProtoMessage

func (*QueryInvocationVariantArtifactsRequest) ProtoReflect

func (*QueryInvocationVariantArtifactsRequest) Reset

func (*QueryInvocationVariantArtifactsRequest) String

type QueryInvocationVariantArtifactsResponse

type QueryInvocationVariantArtifactsResponse struct {

	// Artifacts that matches the search.
	// Ordered by partition_time DESC, artifact name.
	Artifacts []*ArtifactMatchingContent `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 are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInvocationVariantArtifactsResponse) Descriptor deprecated

func (*QueryInvocationVariantArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryInvocationVariantArtifactsResponse.ProtoReflect.Descriptor instead.

func (*QueryInvocationVariantArtifactsResponse) GetArtifacts

func (*QueryInvocationVariantArtifactsResponse) GetNextPageToken

func (x *QueryInvocationVariantArtifactsResponse) GetNextPageToken() string

func (*QueryInvocationVariantArtifactsResponse) ProtoMessage

func (*QueryInvocationVariantArtifactsResponse) ProtoReflect

func (*QueryInvocationVariantArtifactsResponse) Reset

func (*QueryInvocationVariantArtifactsResponse) String

type QueryNewTestVariantsRequest

type QueryNewTestVariantsRequest struct {

	// Name of the invocation, e.g. "invocations/{id}".
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The baseline to compare test variants against, to determine if they are new.
	// e.g. “projects/{project}/baselines/{baseline_id}”.
	// For example, in the project "chromium", the baseline_id may be
	// "try:linux-rel".
	Baseline string `protobuf:"bytes,2,opt,name=baseline,proto3" json:"baseline,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryNewTestVariants RPC. To use this RPC, callers need:

  • resultdb.baselines.get in the realm the <baseline_project>:@project, where baseline_project is the LUCI project that contains the baseline.
  • resultdb.testResults.list in the realm of the invocation which is being queried.

func (*QueryNewTestVariantsRequest) Descriptor deprecated

func (*QueryNewTestVariantsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryNewTestVariantsRequest.ProtoReflect.Descriptor instead.

func (*QueryNewTestVariantsRequest) GetBaseline

func (x *QueryNewTestVariantsRequest) GetBaseline() string

func (*QueryNewTestVariantsRequest) GetInvocation

func (x *QueryNewTestVariantsRequest) GetInvocation() string

func (*QueryNewTestVariantsRequest) ProtoMessage

func (*QueryNewTestVariantsRequest) ProtoMessage()

func (*QueryNewTestVariantsRequest) ProtoReflect

func (*QueryNewTestVariantsRequest) Reset

func (x *QueryNewTestVariantsRequest) Reset()

func (*QueryNewTestVariantsRequest) String

func (x *QueryNewTestVariantsRequest) String() string

type QueryNewTestVariantsResponse

type QueryNewTestVariantsResponse struct {

	// Indicates whether the baseline has been populated with at least 72 hours
	// of data and the results can be relied upon.
	IsBaselineReady bool `protobuf:"varint,1,opt,name=is_baseline_ready,json=isBaselineReady,proto3" json:"is_baseline_ready,omitempty"`
	// Test variants that are new, meaning that they have not been part of
	// a submitted run prior.
	NewTestVariants []*QueryNewTestVariantsResponse_NewTestVariant `protobuf:"bytes,2,rep,name=new_test_variants,json=newTestVariants,proto3" json:"new_test_variants,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryNewTestVariants RPC.

func (*QueryNewTestVariantsResponse) Descriptor deprecated

func (*QueryNewTestVariantsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryNewTestVariantsResponse.ProtoReflect.Descriptor instead.

func (*QueryNewTestVariantsResponse) GetIsBaselineReady

func (x *QueryNewTestVariantsResponse) GetIsBaselineReady() bool

func (*QueryNewTestVariantsResponse) GetNewTestVariants

func (*QueryNewTestVariantsResponse) ProtoMessage

func (*QueryNewTestVariantsResponse) ProtoMessage()

func (*QueryNewTestVariantsResponse) ProtoReflect

func (*QueryNewTestVariantsResponse) Reset

func (x *QueryNewTestVariantsResponse) Reset()

func (*QueryNewTestVariantsResponse) String

type QueryNewTestVariantsResponse_NewTestVariant

type QueryNewTestVariantsResponse_NewTestVariant struct {

	// A unique identifier of the test in a LUCI project.
	// Regex: ^[[::print::]]{1,256}$
	//
	// Refer to TestResult.test_id for details.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Hash of the variant.
	// hex(sha256(sorted(”.join('%s:%s\n' for k, v in variant.items())))).
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// contains filtered or unexported fields
}

Represents a new test, which contains minimal information to uniquely identify a TestVariant.

func (*QueryNewTestVariantsResponse_NewTestVariant) Descriptor deprecated

Deprecated: Use QueryNewTestVariantsResponse_NewTestVariant.ProtoReflect.Descriptor instead.

func (*QueryNewTestVariantsResponse_NewTestVariant) GetTestId

func (*QueryNewTestVariantsResponse_NewTestVariant) GetVariantHash

func (*QueryNewTestVariantsResponse_NewTestVariant) ProtoMessage

func (*QueryNewTestVariantsResponse_NewTestVariant) ProtoReflect

func (*QueryNewTestVariantsResponse_NewTestVariant) Reset

func (*QueryNewTestVariantsResponse_NewTestVariant) String

type QueryRootInvocationNamesRequest

type QueryRootInvocationNamesRequest 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 QueryRootInvocationNames RPC.

func (*QueryRootInvocationNamesRequest) Descriptor deprecated

func (*QueryRootInvocationNamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRootInvocationNamesRequest.ProtoReflect.Descriptor instead.

func (*QueryRootInvocationNamesRequest) GetName

func (*QueryRootInvocationNamesRequest) ProtoMessage

func (*QueryRootInvocationNamesRequest) ProtoMessage()

func (*QueryRootInvocationNamesRequest) ProtoReflect

func (*QueryRootInvocationNamesRequest) Reset

func (*QueryRootInvocationNamesRequest) String

type QueryRootInvocationNamesResponse

type QueryRootInvocationNamesResponse struct {

	// The name of all root invocations to the invocation in the request.
	// A root either
	//   - has is_export_root = true, or
	//   - has no parent invocation.
	//
	// If the invocation to request is already a root,
	// the root_invocation_names will only contains the invocation in the request
	// (i.e. a invocation can be its own root).
	//
	// root_invocation_names can be empty when no root is found (in the presence of cycles).
	RootInvocationNames []string `protobuf:"bytes,1,rep,name=root_invocation_names,json=rootInvocationNames,proto3" json:"root_invocation_names,omitempty"`
	// contains filtered or unexported fields
}

A response message for QueryRootInvocationNames RPC.

func (*QueryRootInvocationNamesResponse) Descriptor deprecated

func (*QueryRootInvocationNamesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryRootInvocationNamesResponse.ProtoReflect.Descriptor instead.

func (*QueryRootInvocationNamesResponse) GetRootInvocationNames

func (x *QueryRootInvocationNamesResponse) GetRootInvocationNames() []string

func (*QueryRootInvocationNamesResponse) ProtoMessage

func (*QueryRootInvocationNamesResponse) ProtoMessage()

func (*QueryRootInvocationNamesResponse) ProtoReflect

func (*QueryRootInvocationNamesResponse) Reset

func (*QueryRootInvocationNamesResponse) String

type QueryRunTestVerdictsRequest

type QueryRunTestVerdictsRequest struct {

	// Retrieve test verdicts for the test run represented by this invocation.
	// Format: invocations/{INVOCATION_ID}.
	Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The maximum number of test results to be included in a test variant.
	//
	// If a test variant has more results than the limit, the remaining results
	// will not be returned.
	// If unspecified, at most 10 results will be included in a test variant.
	// The maximum value is 100; values above 100 will be coerced to 100.
	ResultLimit int32 `protobuf:"varint,2,opt,name=result_limit,json=resultLimit,proto3" json:"result_limit,omitempty"`
	// The maximum number of test variants to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 1000 test variants will be returned.
	// The maximum value is 10,000; values above 10,000 will be coerced to 10,000.
	// Page sizes smaller than the maximum may be returned at the server's
	// discretion, for example, due to keep the response size tractable for
	// the server.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryRunTestVerdicts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `QueryRunTestVerdicts` MUST match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for QueryRunTestVerdicts RPC.

func (*QueryRunTestVerdictsRequest) Descriptor deprecated

func (*QueryRunTestVerdictsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRunTestVerdictsRequest.ProtoReflect.Descriptor instead.

func (*QueryRunTestVerdictsRequest) GetInvocation

func (x *QueryRunTestVerdictsRequest) GetInvocation() string

func (*QueryRunTestVerdictsRequest) GetPageSize

func (x *QueryRunTestVerdictsRequest) GetPageSize() int32

func (*QueryRunTestVerdictsRequest) GetPageToken

func (x *QueryRunTestVerdictsRequest) GetPageToken() string

func (*QueryRunTestVerdictsRequest) GetResultLimit

func (x *QueryRunTestVerdictsRequest) GetResultLimit() int32

func (*QueryRunTestVerdictsRequest) ProtoMessage

func (*QueryRunTestVerdictsRequest) ProtoMessage()

func (*QueryRunTestVerdictsRequest) ProtoReflect

func (*QueryRunTestVerdictsRequest) Reset

func (x *QueryRunTestVerdictsRequest) Reset()

func (*QueryRunTestVerdictsRequest) String

func (x *QueryRunTestVerdictsRequest) String() string

type QueryRunTestVerdictsResponse

type QueryRunTestVerdictsResponse struct {

	// Test verdicts for the run.
	//
	// Ordered by test_id, then variant_hash.
	RunTestVerdicts []*RunTestVerdict `protobuf:"bytes,1,rep,name=run_test_verdicts,json=runTestVerdicts,proto3" json:"run_test_verdicts,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 QueryRunTestVerdicts RPC.

func (*QueryRunTestVerdictsResponse) Descriptor deprecated

func (*QueryRunTestVerdictsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryRunTestVerdictsResponse.ProtoReflect.Descriptor instead.

func (*QueryRunTestVerdictsResponse) GetNextPageToken

func (x *QueryRunTestVerdictsResponse) GetNextPageToken() string

func (*QueryRunTestVerdictsResponse) GetRunTestVerdicts

func (x *QueryRunTestVerdictsResponse) GetRunTestVerdicts() []*RunTestVerdict

func (*QueryRunTestVerdictsResponse) ProtoMessage

func (*QueryRunTestVerdictsResponse) ProtoMessage()

func (*QueryRunTestVerdictsResponse) ProtoReflect

func (*QueryRunTestVerdictsResponse) Reset

func (x *QueryRunTestVerdictsResponse) Reset()

func (*QueryRunTestVerdictsResponse) 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

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

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 QueryTestMetadataRequest

type QueryTestMetadataRequest struct {

	// The LUCI Project to query.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Filters to apply to the returned test metadata.
	Predicate *TestMetadataPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// The maximum number of test metadata entries to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 1000 test metadata entries will be returned.
	// The maximum value is 100K; values above 100K will be coerced to 100K.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestMetadata` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestMetadata` MUST
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryTestMetadata RPC.

func (*QueryTestMetadataRequest) Descriptor deprecated

func (*QueryTestMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestMetadataRequest.ProtoReflect.Descriptor instead.

func (*QueryTestMetadataRequest) GetPageSize

func (x *QueryTestMetadataRequest) GetPageSize() int32

func (*QueryTestMetadataRequest) GetPageToken

func (x *QueryTestMetadataRequest) GetPageToken() string

func (*QueryTestMetadataRequest) GetPredicate

func (*QueryTestMetadataRequest) GetProject

func (x *QueryTestMetadataRequest) GetProject() string

func (*QueryTestMetadataRequest) ProtoMessage

func (*QueryTestMetadataRequest) ProtoMessage()

func (*QueryTestMetadataRequest) ProtoReflect

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

func (*QueryTestMetadataRequest) Reset

func (x *QueryTestMetadataRequest) Reset()

func (*QueryTestMetadataRequest) String

func (x *QueryTestMetadataRequest) String() string

type QueryTestMetadataResponse

type QueryTestMetadataResponse struct {

	// The matched testMetadata.
	TestMetadata []*TestMetadataDetail `protobuf:"bytes,1,rep,name=testMetadata,proto3" json:"testMetadata,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 QueryTestMetadata RPC.

func (*QueryTestMetadataResponse) Descriptor deprecated

func (*QueryTestMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestMetadataResponse.ProtoReflect.Descriptor instead.

func (*QueryTestMetadataResponse) GetNextPageToken

func (x *QueryTestMetadataResponse) GetNextPageToken() string

func (*QueryTestMetadataResponse) GetTestMetadata

func (x *QueryTestMetadataResponse) GetTestMetadata() []*TestMetadataDetail

func (*QueryTestMetadataResponse) ProtoMessage

func (*QueryTestMetadataResponse) ProtoMessage()

func (*QueryTestMetadataResponse) ProtoReflect

func (*QueryTestMetadataResponse) Reset

func (x *QueryTestMetadataResponse) Reset()

func (*QueryTestMetadataResponse) String

func (x *QueryTestMetadataResponse) String() 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

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

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

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

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 QueryTestVariantArtifactGroupsRequest

type QueryTestVariantArtifactGroupsRequest struct {

	// The LUCI project (required).
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The search string to search in text artifact content (required).
	// Support regex or exact match.
	SearchString *ArtifactContentMatcher `protobuf:"bytes,2,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
	// The test id matcher to restrict the scope of the search (optional).
	TestIdMatcher *IDMatcher `protobuf:"bytes,3,opt,name=test_id_matcher,json=testIdMatcher,proto3" json:"test_id_matcher,omitempty"`
	// The artifact id matcher to restrict the scope of the search (optional).
	ArtifactIdMatcher *IDMatcher `protobuf:"bytes,4,opt,name=artifact_id_matcher,json=artifactIdMatcher,proto3" json:"artifact_id_matcher,omitempty"`
	// The lower bound of the time range to search in UTC time (exclusive) (required).
	// start_time must not be before 20 July 2024 UTC.
	// start_time must be less than the end time.
	// The duration between start_time and end_time must not be greater than 7 days.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The upper bound of the time range to search in UTC time (inclusive) (required).
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The maximum number of match groups to return. The service may return fewer than
	// this value.
	// If unspecified, at most 100 items will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100.
	PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestVariantArtifactGroups` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestVariantArtifactGroups` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTestVariantArtifactGroupsRequest) Descriptor deprecated

func (*QueryTestVariantArtifactGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantArtifactGroupsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestVariantArtifactGroupsRequest) GetArtifactIdMatcher

func (x *QueryTestVariantArtifactGroupsRequest) GetArtifactIdMatcher() *IDMatcher

func (*QueryTestVariantArtifactGroupsRequest) GetEndTime

func (*QueryTestVariantArtifactGroupsRequest) GetPageSize

func (*QueryTestVariantArtifactGroupsRequest) GetPageToken

func (*QueryTestVariantArtifactGroupsRequest) GetProject

func (*QueryTestVariantArtifactGroupsRequest) GetSearchString

func (*QueryTestVariantArtifactGroupsRequest) GetStartTime

func (*QueryTestVariantArtifactGroupsRequest) GetTestIdMatcher

func (x *QueryTestVariantArtifactGroupsRequest) GetTestIdMatcher() *IDMatcher

func (*QueryTestVariantArtifactGroupsRequest) ProtoMessage

func (*QueryTestVariantArtifactGroupsRequest) ProtoMessage()

func (*QueryTestVariantArtifactGroupsRequest) ProtoReflect

func (*QueryTestVariantArtifactGroupsRequest) Reset

func (*QueryTestVariantArtifactGroupsRequest) String

type QueryTestVariantArtifactGroupsResponse

type QueryTestVariantArtifactGroupsResponse struct {

	// Test variant artifacts are grouped by test_id, variant_hash and artifact_id.
	// Groups are ordered by partition_time of the most recent artifact DESC in the group, test id, variant hash, artifact id.
	Groups []*QueryTestVariantArtifactGroupsResponse_MatchGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTestVariantArtifactGroupsResponse) Descriptor deprecated

func (*QueryTestVariantArtifactGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantArtifactGroupsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestVariantArtifactGroupsResponse) GetGroups

func (*QueryTestVariantArtifactGroupsResponse) GetNextPageToken

func (x *QueryTestVariantArtifactGroupsResponse) GetNextPageToken() string

func (*QueryTestVariantArtifactGroupsResponse) ProtoMessage

func (*QueryTestVariantArtifactGroupsResponse) ProtoReflect

func (*QueryTestVariantArtifactGroupsResponse) Reset

func (*QueryTestVariantArtifactGroupsResponse) String

type QueryTestVariantArtifactGroupsResponse_MatchGroup

type QueryTestVariantArtifactGroupsResponse_MatchGroup struct {

	// The LUCI test id.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// The hash of the variant.
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// The definition of the variant.
	// Description of one specific way of running the test,
	// e.g. a specific bucket, builder and a test suite.
	Variant *Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	// ID of the artifact.
	ArtifactId string `protobuf:"bytes,4,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Artifacts that matches the search for this (test id, variant_hash, artifact id) combination.
	// Return at most 3 items, ordered by partition time DESC, artifact name ASC.
	Artifacts []*ArtifactMatchingContent `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// The total number of matching artifacts for this (test id, variant_hash, artifact id) combination.
	MatchingCount int32 `protobuf:"varint,6,opt,name=matching_count,json=matchingCount,proto3" json:"matching_count,omitempty"`
	// contains filtered or unexported fields
}

Represents one group of matched artifacts. test_id, variant_hash and artifact_id form the group key.

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) Descriptor deprecated

Deprecated: Use QueryTestVariantArtifactGroupsResponse_MatchGroup.ProtoReflect.Descriptor instead.

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetArtifactId

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetArtifacts

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetMatchingCount

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetTestId

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetVariant

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) GetVariantHash

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) ProtoMessage

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) ProtoReflect

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) Reset

func (*QueryTestVariantArtifactGroupsResponse_MatchGroup) String

type QueryTestVariantArtifactsRequest

type QueryTestVariantArtifactsRequest struct {

	// The LUCI project (required).
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The search string to search in text artifact content (required).
	// Support regex or exact match.
	SearchString *ArtifactContentMatcher `protobuf:"bytes,2,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
	// The test id. (required).
	TestId string `protobuf:"bytes,3,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// The variant hash (required).
	VariantHash string `protobuf:"bytes,4,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// The artifact id (required).
	ArtifactId string `protobuf:"bytes,5,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// The lower bound of the time range to search in UTC time (exclusive) (required).
	// start_time must not be before 20 July 2024 UTC.
	// start_time must be less than the end time.
	// The duration between start_time and end_time must not be greater than 7 days.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The upper bound of the time range to search in UTC time (inclusive) (required).
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The maximum number of items to return. The service may return fewer than
	// this value.
	// If unspecified, at most 100 items will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100.
	PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestVariantArtifacts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestVariantArtifacts` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,9,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTestVariantArtifactsRequest) Descriptor deprecated

func (*QueryTestVariantArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantArtifactsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestVariantArtifactsRequest) GetArtifactId

func (x *QueryTestVariantArtifactsRequest) GetArtifactId() string

func (*QueryTestVariantArtifactsRequest) GetEndTime

func (*QueryTestVariantArtifactsRequest) GetPageSize

func (x *QueryTestVariantArtifactsRequest) GetPageSize() int32

func (*QueryTestVariantArtifactsRequest) GetPageToken

func (x *QueryTestVariantArtifactsRequest) GetPageToken() string

func (*QueryTestVariantArtifactsRequest) GetProject

func (x *QueryTestVariantArtifactsRequest) GetProject() string

func (*QueryTestVariantArtifactsRequest) GetSearchString

func (*QueryTestVariantArtifactsRequest) GetStartTime

func (*QueryTestVariantArtifactsRequest) GetTestId

func (*QueryTestVariantArtifactsRequest) GetVariantHash

func (x *QueryTestVariantArtifactsRequest) GetVariantHash() string

func (*QueryTestVariantArtifactsRequest) ProtoMessage

func (*QueryTestVariantArtifactsRequest) ProtoMessage()

func (*QueryTestVariantArtifactsRequest) ProtoReflect

func (*QueryTestVariantArtifactsRequest) Reset

func (*QueryTestVariantArtifactsRequest) String

type QueryTestVariantArtifactsResponse

type QueryTestVariantArtifactsResponse struct {

	// Artifacts that matches the search.
	// Ordered by partition_time DESC, artifact name.
	Artifacts []*ArtifactMatchingContent `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 are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTestVariantArtifactsResponse) Descriptor deprecated

func (*QueryTestVariantArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantArtifactsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestVariantArtifactsResponse) GetArtifacts

func (*QueryTestVariantArtifactsResponse) GetNextPageToken

func (x *QueryTestVariantArtifactsResponse) GetNextPageToken() string

func (*QueryTestVariantArtifactsResponse) ProtoMessage

func (*QueryTestVariantArtifactsResponse) ProtoMessage()

func (*QueryTestVariantArtifactsResponse) ProtoReflect

func (*QueryTestVariantArtifactsResponse) Reset

func (*QueryTestVariantArtifactsResponse) String

type QueryTestVariantsRequest

type QueryTestVariantsRequest struct {

	// Retrieve test verdicts included in these invocations, directly or indirectly
	// (via Invocation.included_invocations).
	//
	// As of April 2024, a maximum of one invocation may be specified.
	Invocations []string `protobuf:"bytes,2,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// A test variant must satisfy this predicate.
	Predicate *TestVariantPredicate `protobuf:"bytes,6,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// The maximum number of test results to be included in a test variant.
	//
	// If a test variant has more results than the limit, the remaining results
	// will not be returned.
	// If unspecified, at most 10 results will be included in a test variant.
	// The maximum value is 100; values above 100 will be coerced to 100.
	ResultLimit int32 `protobuf:"varint,8,opt,name=result_limit,json=resultLimit,proto3" json:"result_limit,omitempty"`
	// The maximum number of test variants to return.
	//
	// The service may return fewer than this value.
	// If unspecified, at most 100 test variants will be returned.
	// The maximum value is 10,000; values above 10,000 will be coerced to 10,000.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `QueryTestVariants` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `QueryTestVariants` 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 all fields are included.
	//
	// The following fields in results.*.result will NEVER be included even when
	// specified:
	// * test_id
	// * variant_hash
	// * variant
	// * test_metadata
	// Those values can be found in the parent test variant objects.
	//
	// The following fields will ALWAYS be included even when NOT specified:
	// * test_id
	// * variant_hash
	// * status
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message for QueryTestVariants RPC. Next id: 9.

func (*QueryTestVariantsRequest) Descriptor deprecated

func (*QueryTestVariantsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestVariantsRequest) GetInvocations

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

func (*QueryTestVariantsRequest) GetPageSize

func (x *QueryTestVariantsRequest) GetPageSize() int32

func (*QueryTestVariantsRequest) GetPageToken

func (x *QueryTestVariantsRequest) GetPageToken() string

func (*QueryTestVariantsRequest) GetPredicate

func (*QueryTestVariantsRequest) GetReadMask

func (*QueryTestVariantsRequest) GetResultLimit

func (x *QueryTestVariantsRequest) GetResultLimit() int32

func (*QueryTestVariantsRequest) ProtoMessage

func (*QueryTestVariantsRequest) ProtoMessage()

func (*QueryTestVariantsRequest) ProtoReflect

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

func (*QueryTestVariantsRequest) Reset

func (x *QueryTestVariantsRequest) Reset()

func (*QueryTestVariantsRequest) String

func (x *QueryTestVariantsRequest) String() string

type QueryTestVariantsResponse

type QueryTestVariantsResponse struct {

	// Matched test variants.
	// Ordered by TestVariantStatus, test_id, then variant_hash
	TestVariants []*TestVariant `protobuf:"bytes,1,rep,name=test_variants,json=testVariants,proto3" json:"test_variants,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"`
	// The code sources tested by the returned test variants. The sources are keyed
	// by an ID which allows them to be cross-referenced from TestVariant.sources_id.
	//
	// The sources are returned via this map instead of directly on the TestVariant
	// to avoid excessive response size. Each source message could be up to a few
	// kilobytes and there are usually no more than a handful of different sources
	// tested in an invocation, so deduplicating them here reduces response size.
	Sources map[string]*Sources `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message for QueryTestVariants RPC.

func (*QueryTestVariantsResponse) Descriptor deprecated

func (*QueryTestVariantsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestVariantsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestVariantsResponse) GetNextPageToken

func (x *QueryTestVariantsResponse) GetNextPageToken() string

func (*QueryTestVariantsResponse) GetSources

func (x *QueryTestVariantsResponse) GetSources() map[string]*Sources

func (*QueryTestVariantsResponse) GetTestVariants

func (x *QueryTestVariantsResponse) GetTestVariants() []*TestVariant

func (*QueryTestVariantsResponse) ProtoMessage

func (*QueryTestVariantsResponse) ProtoMessage()

func (*QueryTestVariantsResponse) ProtoReflect

func (*QueryTestVariantsResponse) Reset

func (x *QueryTestVariantsResponse) Reset()

func (*QueryTestVariantsResponse) String

func (x *QueryTestVariantsResponse) 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)
	// Recursively marks all test variants associated with the invocation as
	// submitted, merging them into the invocation's associated baseline.
	MarkInvocationSubmitted(ctx context.Context, in *MarkInvocationSubmittedRequest, 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)
	// Recursively marks all test variants associated with the invocation as
	// submitted, merging them into the invocation's associated baseline.
	MarkInvocationSubmitted(context.Context, *MarkInvocationSubmittedRequest) (*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)
	// Retrieve names of all root invocations for a given invocation.
	QueryRootInvocationNames(ctx context.Context, in *QueryRootInvocationNamesRequest, opts ...grpc.CallOption) (*QueryRootInvocationNamesResponse, 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.
	// Examples: go/resultdb-rpc#querytestresults
	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)
	// Calculate new test variants by running the difference between the tests
	// run in the given invocation against the submitted test history for the
	// source.
	QueryNewTestVariants(ctx context.Context, in *QueryNewTestVariantsRequest, opts ...grpc.CallOption) (*QueryNewTestVariantsResponse, 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 verdicts for a test run. A test run comprises only
	// the test results from a single invocation and not its included
	// invocations.
	//
	// Useful to incrementally ingest test results for an export root as its
	// individual constituent invocations finalize, in conjunction with
	// the invocations-ready-for-export pub/sub.
	//
	// Compared to the ListTestResults RPC, this RPC ensures all results
	// for a test variant are returned together, which is useful when
	// ingesting results into analyses that treat retried test results
	// in a given test run differently to the first retry.
	//
	// To use, the caller must have `resultdb.testResults.list` permission
	// on the queried invocation.
	QueryRunTestVerdicts(ctx context.Context, in *QueryRunTestVerdictsRequest, opts ...grpc.CallOption) (*QueryRunTestVerdictsResponse, error)
	// Lists the artifact contents as a list of log lines and
	// performs best effort extraction of log information
	// such as severity and timestamp for each line.
	//
	// Currently supports artifacts with content types: [text/plain,]
	ListArtifactLines(ctx context.Context, in *ListArtifactLinesRequest, opts ...grpc.CallOption) (*ListArtifactLinesResponse, error)
	// Retrieves the line ranges in the given failure that do not usually appear
	// in logs from passes.
	//
	// Lines are normalized before comparison to remove numbers, dates, tmp file
	// paths, etc.
	//
	// Due to missed normalizations, sampling error or other reasons, this may
	// not eliminate all lines that appear in passes.
	QueryArtifactFailureOnlyLines(ctx context.Context, in *QueryArtifactFailureOnlyLinesRequest, opts ...grpc.CallOption) (*QueryArtifactFailureOnlyLinesResponse, error)
	// Retrieves test verdicts from an invocation, recursively.
	// Supports invocation inclusions.
	QueryTestVariants(ctx context.Context, in *QueryTestVariantsRequest, opts ...grpc.CallOption) (*QueryTestVariantsResponse, error)
	// Retrieves test variants from a single invocation, matching the specified
	// test IDs and hashes.
	BatchGetTestVariants(ctx context.Context, in *BatchGetTestVariantsRequest, opts ...grpc.CallOption) (*BatchGetTestVariantsResponse, error)
	// Retrieves test metadata from a LUCI project, matching the predicate.
	QueryTestMetadata(ctx context.Context, in *QueryTestMetadataRequest, opts ...grpc.CallOption) (*QueryTestMetadataResponse, error)
	// Retrieves an instruction for step or test result.
	// If the instruction contains placeholders, they will not be replaced.
	// The callers of this RPC are responsible to populate the placeholders with real data.
	GetInstruction(ctx context.Context, in *GetInstructionRequest, opts ...grpc.CallOption) (*Instruction, error)
	// Retrieves the instruction and the dependency chain for all targets.
	// A maximum depth can be specified for the maximum number of dependency nodes to be returned.
	// If an error occurs while traversing a chain (e.g. circular dependency, permission, not found...),
	// the chain will stop and the rpc will return whatever it has found so far.
	QueryInstruction(ctx context.Context, in *QueryInstructionRequest, opts ...grpc.CallOption) (*QueryInstructionResponse, error)
	// Queries result level artifacts that matches a search_string. Support regex or exact match.
	// Results are grouped by test_id, variant_hash, artifact_id.
	// Within each group, artifacts are sorted by recency and at most 3 are returned.
	// To obtain more matching artifacts of a particular group, uses QueryTestVariantArtifacts.
	QueryTestVariantArtifactGroups(ctx context.Context, in *QueryTestVariantArtifactGroupsRequest, opts ...grpc.CallOption) (*QueryTestVariantArtifactGroupsResponse, error)
	// Queries test result artifacts that match a search_string for given test_id, variant_hash and artifact_id.
	QueryTestVariantArtifacts(ctx context.Context, in *QueryTestVariantArtifactsRequest, opts ...grpc.CallOption) (*QueryTestVariantArtifactsResponse, error)
	// Queries invocation level artifacts that matches a search_string. Support regex or exact match.
	// Results are grouped by variant_union_hash, artifact_id.
	// Within each group, artifacts are sorted by recency and at most 3 are returned.
	// To obtain more matching artifacts of a particular group, uses QueryInvocationVariantArtifacts.
	QueryInvocationVariantArtifactGroups(ctx context.Context, in *QueryInvocationVariantArtifactGroupsRequest, opts ...grpc.CallOption) (*QueryInvocationVariantArtifactGroupsResponse, error)
	// Queries invocation artifacts that match a search_string for given variant_union_hash and artifact_id.
	QueryInvocationVariantArtifacts(ctx context.Context, in *QueryInvocationVariantArtifactsRequest, opts ...grpc.CallOption) (*QueryInvocationVariantArtifactsResponse, 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)
	// Retrieve names of all root invocations for a given invocation.
	QueryRootInvocationNames(context.Context, *QueryRootInvocationNamesRequest) (*QueryRootInvocationNamesResponse, 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.
	// Examples: go/resultdb-rpc#querytestresults
	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)
	// Calculate new test variants by running the difference between the tests
	// run in the given invocation against the submitted test history for the
	// source.
	QueryNewTestVariants(context.Context, *QueryNewTestVariantsRequest) (*QueryNewTestVariantsResponse, 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 verdicts for a test run. A test run comprises only
	// the test results from a single invocation and not its included
	// invocations.
	//
	// Useful to incrementally ingest test results for an export root as its
	// individual constituent invocations finalize, in conjunction with
	// the invocations-ready-for-export pub/sub.
	//
	// Compared to the ListTestResults RPC, this RPC ensures all results
	// for a test variant are returned together, which is useful when
	// ingesting results into analyses that treat retried test results
	// in a given test run differently to the first retry.
	//
	// To use, the caller must have `resultdb.testResults.list` permission
	// on the queried invocation.
	QueryRunTestVerdicts(context.Context, *QueryRunTestVerdictsRequest) (*QueryRunTestVerdictsResponse, error)
	// Lists the artifact contents as a list of log lines and
	// performs best effort extraction of log information
	// such as severity and timestamp for each line.
	//
	// Currently supports artifacts with content types: [text/plain,]
	ListArtifactLines(context.Context, *ListArtifactLinesRequest) (*ListArtifactLinesResponse, error)
	// Retrieves the line ranges in the given failure that do not usually appear
	// in logs from passes.
	//
	// Lines are normalized before comparison to remove numbers, dates, tmp file
	// paths, etc.
	//
	// Due to missed normalizations, sampling error or other reasons, this may
	// not eliminate all lines that appear in passes.
	QueryArtifactFailureOnlyLines(context.Context, *QueryArtifactFailureOnlyLinesRequest) (*QueryArtifactFailureOnlyLinesResponse, error)
	// Retrieves test verdicts from an invocation, recursively.
	// Supports invocation inclusions.
	QueryTestVariants(context.Context, *QueryTestVariantsRequest) (*QueryTestVariantsResponse, error)
	// Retrieves test variants from a single invocation, matching the specified
	// test IDs and hashes.
	BatchGetTestVariants(context.Context, *BatchGetTestVariantsRequest) (*BatchGetTestVariantsResponse, error)
	// Retrieves test metadata from a LUCI project, matching the predicate.
	QueryTestMetadata(context.Context, *QueryTestMetadataRequest) (*QueryTestMetadataResponse, error)
	// Retrieves an instruction for step or test result.
	// If the instruction contains placeholders, they will not be replaced.
	// The callers of this RPC are responsible to populate the placeholders with real data.
	GetInstruction(context.Context, *GetInstructionRequest) (*Instruction, error)
	// Retrieves the instruction and the dependency chain for all targets.
	// A maximum depth can be specified for the maximum number of dependency nodes to be returned.
	// If an error occurs while traversing a chain (e.g. circular dependency, permission, not found...),
	// the chain will stop and the rpc will return whatever it has found so far.
	QueryInstruction(context.Context, *QueryInstructionRequest) (*QueryInstructionResponse, error)
	// Queries result level artifacts that matches a search_string. Support regex or exact match.
	// Results are grouped by test_id, variant_hash, artifact_id.
	// Within each group, artifacts are sorted by recency and at most 3 are returned.
	// To obtain more matching artifacts of a particular group, uses QueryTestVariantArtifacts.
	QueryTestVariantArtifactGroups(context.Context, *QueryTestVariantArtifactGroupsRequest) (*QueryTestVariantArtifactGroupsResponse, error)
	// Queries test result artifacts that match a search_string for given test_id, variant_hash and artifact_id.
	QueryTestVariantArtifacts(context.Context, *QueryTestVariantArtifactsRequest) (*QueryTestVariantArtifactsResponse, error)
	// Queries invocation level artifacts that matches a search_string. Support regex or exact match.
	// Results are grouped by variant_union_hash, artifact_id.
	// Within each group, artifacts are sorted by recency and at most 3 are returned.
	// To obtain more matching artifacts of a particular group, uses QueryInvocationVariantArtifacts.
	QueryInvocationVariantArtifactGroups(context.Context, *QueryInvocationVariantArtifactGroupsRequest) (*QueryInvocationVariantArtifactGroupsResponse, error)
	// Queries invocation artifacts that match a search_string for given variant_union_hash and artifact_id.
	QueryInvocationVariantArtifacts(context.Context, *QueryInvocationVariantArtifactsRequest) (*QueryInvocationVariantArtifactsResponse, error)
}

ResultDBServer is the server API for ResultDB service.

type RunTestVerdict

type RunTestVerdict struct {

	// A unique identifier of the test in a LUCI project.
	// Regex: ^[[::print::]]{1,256}$
	//
	// Refer to TestResult.test_id for details.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_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,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// Hash of the variant.
	// hex(sha256(sorted(”.join('%s:%s\n' for k, v in variant.items())))).
	VariantHash string `protobuf:"bytes,3,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Outcomes of the test variant.
	Results []*TestResultBundle `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"`
	// Information about the test at the time of its execution.
	//
	// All test results of the same test variant should report the same test
	// metadata. This RPC relies on this rule and returns test metadata from
	// *arbitrary* result of the test variant.
	TestMetadata *TestMetadata `protobuf:"bytes,5,opt,name=test_metadata,json=testMetadata,proto3" json:"test_metadata,omitempty"`
	// contains filtered or unexported fields
}

The outcome of a test variant in a test run (a single invocation, excluding any included invocations).

func (*RunTestVerdict) Descriptor deprecated

func (*RunTestVerdict) Descriptor() ([]byte, []int)

Deprecated: Use RunTestVerdict.ProtoReflect.Descriptor instead.

func (*RunTestVerdict) GetResults

func (x *RunTestVerdict) GetResults() []*TestResultBundle

func (*RunTestVerdict) GetTestId

func (x *RunTestVerdict) GetTestId() string

func (*RunTestVerdict) GetTestMetadata

func (x *RunTestVerdict) GetTestMetadata() *TestMetadata

func (*RunTestVerdict) GetVariant

func (x *RunTestVerdict) GetVariant() *Variant

func (*RunTestVerdict) GetVariantHash

func (x *RunTestVerdict) GetVariantHash() string

func (*RunTestVerdict) ProtoMessage

func (*RunTestVerdict) ProtoMessage()

func (*RunTestVerdict) ProtoReflect

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

func (*RunTestVerdict) Reset

func (x *RunTestVerdict) Reset()

func (*RunTestVerdict) String

func (x *RunTestVerdict) String() string

type SkipReason

type SkipReason int32

Machine-readable reason that a test execution was skipped. Only reasons actually used are listed here, if you need a new reason please add it here and send a CL to the OWNERS.

const (
	// Skip reason was not specified.
	// This represents an unset field which should be used for non-skip test
	// result statuses.  It can also be used if none of the other statuses
	// apply.
	SkipReason_SKIP_REASON_UNSPECIFIED SkipReason = 0
	// Disabled automatically in response to a test skipping policy that skips
	// flaky tests.
	// Used for ChromeOS CQ test filtering.
	SkipReason_AUTOMATICALLY_DISABLED_FOR_FLAKINESS SkipReason = 1
)

func (SkipReason) Descriptor

func (SkipReason) Descriptor() protoreflect.EnumDescriptor

func (SkipReason) Enum

func (x SkipReason) Enum() *SkipReason

func (SkipReason) EnumDescriptor deprecated

func (SkipReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use SkipReason.Descriptor instead.

func (SkipReason) Number

func (x SkipReason) Number() protoreflect.EnumNumber

func (SkipReason) String

func (x SkipReason) String() string

func (SkipReason) Type

type SourceRef

type SourceRef struct {

	// The source control system used.
	// Only gitiles is supported at this moment. If other systems need to be
	// supported in future (e.g. non-gitiles git, subversion, google storage
	// buckets), they can be added here
	//
	// Types that are assignable to System:
	//
	//	*SourceRef_Gitiles
	System isSourceRef_System `protobuf_oneof:"system"`
	// contains filtered or unexported fields
}

Represents a reference in a source control system.

func (*SourceRef) Descriptor deprecated

func (*SourceRef) Descriptor() ([]byte, []int)

Deprecated: Use SourceRef.ProtoReflect.Descriptor instead.

func (*SourceRef) GetGitiles

func (x *SourceRef) GetGitiles() *GitilesRef

func (*SourceRef) GetSystem

func (m *SourceRef) GetSystem() isSourceRef_System

func (*SourceRef) ProtoMessage

func (*SourceRef) ProtoMessage()

func (*SourceRef) ProtoReflect

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

func (*SourceRef) Reset

func (x *SourceRef) Reset()

func (*SourceRef) String

func (x *SourceRef) String() string

type SourceRef_Gitiles

type SourceRef_Gitiles struct {
	// A branch in gitiles repository.
	Gitiles *GitilesRef `protobuf:"bytes,1,opt,name=gitiles,proto3,oneof"`
}

type SourceSpec

type SourceSpec struct {

	// Specifies the source position that was tested.
	// Either this or inherit_sources may be set, but not both.
	Sources *Sources `protobuf:"bytes,1,opt,name=sources,proto3" json:"sources,omitempty"`
	// Specifies that the source position of the invocation is inherited
	// from the parent invocation it is included in.
	//
	// # Use case
	// This is useful in situations where the testing infrastructure deduplicates
	// execution of tests on identical binaries (e.g. using swarming's task
	// deduplication feature).
	//
	// Let A be the invocation for a swarming task that receives only a
	// test binary as input, with task deduplication enabled.
	// Let B be the invocation for a buildbucket build which built the
	// binary from sources (or at the very least knew the sources)
	// and triggered invocation A.
	// Invocation B includes invocation A.
	//
	// By setting A's source_spec to inherit, and specifying the sources
	// on invocation B, the test results in A will be associated with
	// the sources specified on invocation B, when queried via invocation B.
	//
	// This allows further invocations B2, B3 ... BN to be created which also
	// re-use the test results in A but associate them with possibly different
	// sources when queried via B2 ... BN (this is valid so long as the sources
	// produce a binary-identical testing input).
	//
	// # Multiple inclusion paths
	// It is possible for an invocation A to be included in the reachable
	// invocation graph for an invocation C in more than one way.
	//
	// For example, we may have:
	//
	//	A -> B1 -> C
	//	A -> B2 -> C
	//
	// as two paths of inclusion.
	//
	// If A sets inherit to true, the commit position assigned to its
	// test results will be selected via *one* of the paths of inclusion
	// into C (i.e. from B1 or B2).
	//
	// However, which path is selected is not guaranteed, so if clients
	// must include the same invocation multiple times, they should
	// make the source position via all paths the same.
	Inherit bool `protobuf:"varint,2,opt,name=inherit,proto3" json:"inherit,omitempty"`
	// contains filtered or unexported fields
}

Specifies the source code that was tested in an invocation, either directly (via the sources field) or indirectly (via inherit_sources).

func (*SourceSpec) Descriptor deprecated

func (*SourceSpec) Descriptor() ([]byte, []int)

Deprecated: Use SourceSpec.ProtoReflect.Descriptor instead.

func (*SourceSpec) GetInherit

func (x *SourceSpec) GetInherit() bool

func (*SourceSpec) GetSources

func (x *SourceSpec) GetSources() *Sources

func (*SourceSpec) ProtoMessage

func (*SourceSpec) ProtoMessage()

func (*SourceSpec) ProtoReflect

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

func (*SourceSpec) Reset

func (x *SourceSpec) Reset()

func (*SourceSpec) String

func (x *SourceSpec) String() string

type Sources

type Sources struct {

	// The base version of code sources checked out. Mandatory.
	// If necessary, we could add support for non-gitiles sources here in
	// future, using a oneof statement. E.g.
	//
	//	oneof system {
	//	   GitilesCommit gitiles_commit = 1;
	//	   SubversionRevision svn_revision = 4;
	//	   ...
	//	}
	GitilesCommit *GitilesCommit `protobuf:"bytes,1,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// The changelist(s) which were applied upon the base version of sources
	// checked out. E.g. in commit queue tryjobs.
	//
	// At most 10 changelist(s) may be specified here. If there
	// are more, only include the first 10 and set is_dirty.
	Changelists []*GerritChange `protobuf:"bytes,2,rep,name=changelists,proto3" json:"changelists,omitempty"`
	// Whether there were any changes made to the sources, not described above.
	// For example, a version of a dependency was upgraded before testing (e.g.
	// in an autoroller recipe).
	//
	// Cherry-picking a changelist on top of the base checkout is not considered
	// making the sources dirty as it is reported separately above.
	IsDirty bool `protobuf:"varint,3,opt,name=is_dirty,json=isDirty,proto3" json:"is_dirty,omitempty"`
	// contains filtered or unexported fields
}

Specifies the source code that was tested.

func (*Sources) Descriptor deprecated

func (*Sources) Descriptor() ([]byte, []int)

Deprecated: Use Sources.ProtoReflect.Descriptor instead.

func (*Sources) GetChangelists

func (x *Sources) GetChangelists() []*GerritChange

func (*Sources) GetGitilesCommit

func (x *Sources) GetGitilesCommit() *GitilesCommit

func (*Sources) GetIsDirty

func (x *Sources) GetIsDirty() bool

func (*Sources) ProtoMessage

func (*Sources) ProtoMessage()

func (*Sources) ProtoReflect

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

func (*Sources) Reset

func (x *Sources) Reset()

func (*Sources) String

func (x *Sources) String() string

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

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 TargetedInstruction

type TargetedInstruction struct {

	// The targets that this instruction is for, like "LOCAL", "REMOTE" or "PREBUILT".
	// A targeted instruction can only depend on another instruction with the same target.
	// For example, a "LOCAL" instruction can only depend on another "LOCAL" instruction.
	Targets []InstructionTarget `protobuf:"varint,1,rep,packed,name=targets,proto3,enum=luci.resultdb.v1.InstructionTarget" json:"targets,omitempty"`
	// Another instruction that this instruction depends on.
	// At the moment, one instruction can have at most 1 dependency.
	// Make this repeated for forward compatibility.
	Dependencies []*InstructionDependency `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// The content of the instruction, in markdown format.
	// Placeholders may be used and will be populated with real
	// information when displayed in the UI.
	// This will be limit to 10KB. If the content is longer than 10KB,
	// an error will be returned.
	// See go/luci-failure-reproduction-instructions-dd for details.
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Instruction for specific targets. Instruction for different targets may have the same or different dependency and content.

func (*TargetedInstruction) Descriptor deprecated

func (*TargetedInstruction) Descriptor() ([]byte, []int)

Deprecated: Use TargetedInstruction.ProtoReflect.Descriptor instead.

func (*TargetedInstruction) GetContent

func (x *TargetedInstruction) GetContent() string

func (*TargetedInstruction) GetDependencies

func (x *TargetedInstruction) GetDependencies() []*InstructionDependency

func (*TargetedInstruction) GetTargets

func (x *TargetedInstruction) GetTargets() []InstructionTarget

func (*TargetedInstruction) ProtoMessage

func (*TargetedInstruction) ProtoMessage()

func (*TargetedInstruction) ProtoReflect

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

func (*TargetedInstruction) Reset

func (x *TargetedInstruction) Reset()

func (*TargetedInstruction) String

func (x *TargetedInstruction) 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"`
	// Reasoning behind the exoneration, in machine-readable form.
	// Used to assist downstream analyses, such as automatic bug-filing.
	// This allow detection of e.g. critical tests failing in presubmit,
	// even if they are being exonerated because they fail on other CLs.
	Reason ExonerationReason `protobuf:"varint,7,opt,name=reason,proto3,enum=luci.resultdb.v1.ExonerationReason" json:"reason,omitempty"`
	// Whether the test exoneration has been masked so that it includes only
	// metadata. The metadata fields for a TestExoneration are:
	// * name
	// * test_id
	// * exoneration_id
	// * variant_hash
	// * explanation_html
	// * reason
	//
	// Output only.
	IsMasked bool `protobuf:"varint,8,opt,name=is_masked,json=isMasked,proto3" json:"is_masked,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

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) GetIsMasked

func (x *TestExoneration) GetIsMasked() bool

func (*TestExoneration) GetName

func (x *TestExoneration) GetName() string

func (*TestExoneration) GetReason

func (x *TestExoneration) GetReason() ExonerationReason

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

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

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"`
	// The issue tracker component associated with the test, if any.
	// Bugs related to the test may be filed here.
	BugComponent *BugComponent `protobuf:"bytes,3,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	// Identifies the schema of the JSON object in the properties field.
	// Use the fully-qualified name of the source protocol buffer.
	// eg. chromiumos.test.api.TestCaseInfo
	// ResultDB will *not* validate the properties field with respect to this
	// schema. Downstream systems may however use this field to inform how the
	// properties field is interpreted.
	PropertiesSchema string `protobuf:"bytes,4,opt,name=properties_schema,json=propertiesSchema,proto3" json:"properties_schema,omitempty"`
	// Arbitrary JSON object that contains structured, domain-specific properties
	// of the test.
	//
	// The serialized size must be <= 4096 bytes.
	//
	// If this field is specified, properties_schema must also be specified.
	Properties *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

Information about a test.

func (*TestMetadata) Descriptor deprecated

func (*TestMetadata) Descriptor() ([]byte, []int)

Deprecated: Use TestMetadata.ProtoReflect.Descriptor instead.

func (*TestMetadata) GetBugComponent

func (x *TestMetadata) GetBugComponent() *BugComponent

func (*TestMetadata) GetLocation

func (x *TestMetadata) GetLocation() *TestLocation

func (*TestMetadata) GetName

func (x *TestMetadata) GetName() string

func (*TestMetadata) GetProperties

func (x *TestMetadata) GetProperties() *structpb.Struct

func (*TestMetadata) GetPropertiesSchema

func (x *TestMetadata) GetPropertiesSchema() 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 TestMetadataDetail

type TestMetadataDetail struct {

	// Can be used to refer to a test metadata, e.g. in ResultDB.QueryTestMetadata
	// RPC.
	// Format:
	// "projects/{PROJECT}/refs/{REF_HASH}/tests/{URL_ESCAPED_TEST_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"`
	// The LUCI project.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// A unique identifier of a test in a LUCI project.
	// Refer to TestResult.test_id for details.
	TestId string `protobuf:"bytes,3,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Hexadecimal encoded hash string of the source_ref.
	// A given source_ref always hashes to the same ref_hash value.
	RefHash string `protobuf:"bytes,12,opt,name=ref_hash,json=refHash,proto3" json:"ref_hash,omitempty"`
	// A reference in the source control system where the test metadata comes from.
	SourceRef *SourceRef `protobuf:"bytes,4,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
	// Test metadata content.
	TestMetadata *TestMetadata `protobuf:"bytes,5,opt,name=testMetadata,proto3" json:"testMetadata,omitempty"`
	// contains filtered or unexported fields
}

Information about a test metadata.

func (*TestMetadataDetail) Descriptor deprecated

func (*TestMetadataDetail) Descriptor() ([]byte, []int)

Deprecated: Use TestMetadataDetail.ProtoReflect.Descriptor instead.

func (*TestMetadataDetail) GetName

func (x *TestMetadataDetail) GetName() string

func (*TestMetadataDetail) GetProject

func (x *TestMetadataDetail) GetProject() string

func (*TestMetadataDetail) GetRefHash

func (x *TestMetadataDetail) GetRefHash() string

func (*TestMetadataDetail) GetSourceRef

func (x *TestMetadataDetail) GetSourceRef() *SourceRef

func (*TestMetadataDetail) GetTestId

func (x *TestMetadataDetail) GetTestId() string

func (*TestMetadataDetail) GetTestMetadata

func (x *TestMetadataDetail) GetTestMetadata() *TestMetadata

func (*TestMetadataDetail) ProtoMessage

func (*TestMetadataDetail) ProtoMessage()

func (*TestMetadataDetail) ProtoReflect

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

func (*TestMetadataDetail) Reset

func (x *TestMetadataDetail) Reset()

func (*TestMetadataDetail) String

func (x *TestMetadataDetail) String() string

type TestMetadataPredicate

type TestMetadataPredicate struct {

	// A test metadata must have the test id in this list.
	TestIds []string `protobuf:"bytes,1,rep,name=test_ids,json=testIds,proto3" json:"test_ids,omitempty"`
	// contains filtered or unexported fields
}

Represents a function TestMetadata -> bool. Empty message matches all test metadata.

func (*TestMetadataPredicate) Descriptor deprecated

func (*TestMetadataPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestMetadataPredicate.ProtoReflect.Descriptor instead.

func (*TestMetadataPredicate) GetTestIds

func (x *TestMetadataPredicate) GetTestIds() []string

func (*TestMetadataPredicate) ProtoMessage

func (*TestMetadataPredicate) ProtoMessage()

func (*TestMetadataPredicate) ProtoReflect

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

func (*TestMetadataPredicate) Reset

func (x *TestMetadataPredicate) Reset()

func (*TestMetadataPredicate) String

func (x *TestMetadataPredicate) 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,512}$
	//
	// 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"`
	// Information about the test failure. Only present if the test failed.
	FailureReason *FailureReason `protobuf:"bytes,14,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
	// Arbitrary JSON object that contains structured, domain-specific properties
	// of the test result.
	//
	// The serialized size must be <= 8 KB.
	Properties *structpb.Struct `protobuf:"bytes,15,opt,name=properties,proto3" json:"properties,omitempty"`
	// Whether the test result has been masked so that it includes only metadata.
	// The metadata fields for a TestResult are:
	// * name
	// * test_id
	// * result_id
	// * expected
	// * status
	// * start_time
	// * duration
	// * variant_hash
	// * failure_reason.primary_error_message (truncated to 140 characters)
	// * skip_reason
	//
	// Output only.
	IsMasked bool `protobuf:"varint,16,opt,name=is_masked,json=isMasked,proto3" json:"is_masked,omitempty"`
	// Reasoning behind a test skip, in machine-readable form.
	// Used to assist downstream analyses, such as automatic bug-filing.
	// MUST not be set unless status is SKIP.
	SkipReason SkipReason `` /* 126-byte string literal not displayed */
	// 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.

Next id: 17.

func (*TestResult) Descriptor 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) GetFailureReason

func (x *TestResult) GetFailureReason() *FailureReason

func (*TestResult) GetIsMasked

func (x *TestResult) GetIsMasked() bool

func (*TestResult) GetName

func (x *TestResult) GetName() string

func (*TestResult) GetProperties

func (x *TestResult) GetProperties() *structpb.Struct

func (*TestResult) GetResultId

func (x *TestResult) GetResultId() string

func (*TestResult) GetSkipReason

func (x *TestResult) GetSkipReason() SkipReason

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 TestResultBundle

type TestResultBundle struct {

	// Result of the test variant execution.
	Result *TestResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Outcomes of an execution of the test variant.

func (*TestResultBundle) Descriptor deprecated

func (*TestResultBundle) Descriptor() ([]byte, []int)

Deprecated: Use TestResultBundle.ProtoReflect.Descriptor instead.

func (*TestResultBundle) GetResult

func (x *TestResultBundle) GetResult() *TestResult

func (*TestResultBundle) ProtoMessage

func (*TestResultBundle) ProtoMessage()

func (*TestResultBundle) ProtoReflect

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

func (*TestResultBundle) Reset

func (x *TestResultBundle) Reset()

func (*TestResultBundle) String

func (x *TestResultBundle) 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

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

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

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 TestVariant

type TestVariant struct {

	// A unique identifier of the test in a LUCI project.
	// Regex: ^[[::print::]]{1,256}$
	//
	// Refer to TestResult.test_id for details.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_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,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// Hash of the variant.
	// hex(sha256(sorted(”.join('%s:%s\n' for k, v in variant.items())))).
	VariantHash string `protobuf:"bytes,3,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Status of the test variant.
	Status TestVariantStatus `protobuf:"varint,4,opt,name=status,proto3,enum=luci.resultdb.v1.TestVariantStatus" json:"status,omitempty"`
	// Outcomes of the test variant.
	Results []*TestResultBundle `protobuf:"bytes,5,rep,name=results,proto3" json:"results,omitempty"`
	// Test exonerations if any test variant is exonerated.
	Exonerations []*TestExoneration `protobuf:"bytes,6,rep,name=exonerations,proto3" json:"exonerations,omitempty"`
	// Information about the test at the time of its execution.
	//
	// All test results of the same test variant should report the same test
	// metadata. This RPC relies on this rule and returns test metadata from
	// *arbitrary* result of the test variant.
	TestMetadata *TestMetadata `protobuf:"bytes,7,opt,name=test_metadata,json=testMetadata,proto3" json:"test_metadata,omitempty"`
	// Whether the
	//   - test metadata; or
	//   - the variant definition; or
	//   - both the test metadata and variant definition
	//
	// have been masked from the test variant.
	//
	// Output only.
	IsMasked bool `protobuf:"varint,8,opt,name=is_masked,json=isMasked,proto3" json:"is_masked,omitempty"`
	// The identity of the code sources tested. This ID can be used
	// to lookup of the actual sources in QueryTestVariantsResponse.sources.
	//
	// All test results of the same test variant should be attached to the same
	// sources (via their respective invocation(s)). This RPC relies upon this
	// and returns sources from an *arbitrary* result of the test variant.
	//
	// If the code sources tested are not available, this field is blank.
	SourcesId string `protobuf:"bytes,9,opt,name=sources_id,json=sourcesId,proto3" json:"sources_id,omitempty"`
	// Contain the data for instruction for the test verdict.
	// To find out the instruction for a test verdict, we select an *arbitrary*
	// test result in the test verdict and get its instruction.
	// Note: If in this test verdict, if there are different instructions for
	// test result, the result may be undeterministic.
	Instruction *VerdictInstruction `protobuf:"bytes,10,opt,name=instruction,proto3" json:"instruction,omitempty"`
	// contains filtered or unexported fields
}

Represents a matching test variant with its outcomes. Also known as a test verdict.

func (*TestVariant) Descriptor deprecated

func (*TestVariant) Descriptor() ([]byte, []int)

Deprecated: Use TestVariant.ProtoReflect.Descriptor instead.

func (*TestVariant) GetExonerations

func (x *TestVariant) GetExonerations() []*TestExoneration

func (*TestVariant) GetInstruction

func (x *TestVariant) GetInstruction() *VerdictInstruction

func (*TestVariant) GetIsMasked

func (x *TestVariant) GetIsMasked() bool

func (*TestVariant) GetResults

func (x *TestVariant) GetResults() []*TestResultBundle

func (*TestVariant) GetSourcesId

func (x *TestVariant) GetSourcesId() string

func (*TestVariant) GetStatus

func (x *TestVariant) GetStatus() TestVariantStatus

func (*TestVariant) GetTestId

func (x *TestVariant) GetTestId() string

func (*TestVariant) GetTestMetadata

func (x *TestVariant) GetTestMetadata() *TestMetadata

func (*TestVariant) GetVariant

func (x *TestVariant) GetVariant() *Variant

func (*TestVariant) GetVariantHash

func (x *TestVariant) GetVariantHash() string

func (*TestVariant) ProtoMessage

func (*TestVariant) ProtoMessage()

func (*TestVariant) ProtoReflect

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

func (*TestVariant) Reset

func (x *TestVariant) Reset()

func (*TestVariant) String

func (x *TestVariant) String() string

type TestVariantPredicate

type TestVariantPredicate struct {

	// A test variant must have this status.
	Status TestVariantStatus `protobuf:"varint,1,opt,name=status,proto3,enum=luci.resultdb.v1.TestVariantStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Represents a function TestVariant -> bool. Empty message matches all test variants.

func (*TestVariantPredicate) Descriptor deprecated

func (*TestVariantPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestVariantPredicate.ProtoReflect.Descriptor instead.

func (*TestVariantPredicate) GetStatus

func (x *TestVariantPredicate) GetStatus() TestVariantStatus

func (*TestVariantPredicate) ProtoMessage

func (*TestVariantPredicate) ProtoMessage()

func (*TestVariantPredicate) ProtoReflect

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

func (*TestVariantPredicate) Reset

func (x *TestVariantPredicate) Reset()

func (*TestVariantPredicate) String

func (x *TestVariantPredicate) String() string

type TestVariantStatus

type TestVariantStatus int32

Status of a test variant.

const (
	// a test variant must not have this status.
	// This is only used when filtering variants.
	TestVariantStatus_TEST_VARIANT_STATUS_UNSPECIFIED TestVariantStatus = 0
	// The test variant has no exonerations, and all results are unexpected.
	TestVariantStatus_UNEXPECTED TestVariantStatus = 10
	// The test variant has no exonerations, and all results are unexpectedly skipped.
	TestVariantStatus_UNEXPECTEDLY_SKIPPED TestVariantStatus = 20
	// The test variant has no exonerations, and has both expected and unexpected
	// results.
	TestVariantStatus_FLAKY TestVariantStatus = 30
	// The test variant has one or more test exonerations.
	TestVariantStatus_EXONERATED TestVariantStatus = 40
	// A special value that matches any test variant which doesn't have the status
	// EXPECTED. This includes all the above statuses. It will never be present on
	// returned results, it's only for use in predicates.
	TestVariantStatus_UNEXPECTED_MASK TestVariantStatus = 45
	// The test variant has no exonerations, and all results are expected.
	TestVariantStatus_EXPECTED TestVariantStatus = 50
)

func (TestVariantStatus) Descriptor

func (TestVariantStatus) Enum

func (TestVariantStatus) EnumDescriptor deprecated

func (TestVariantStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestVariantStatus.Descriptor instead.

func (TestVariantStatus) Number

func (TestVariantStatus) String

func (x TestVariantStatus) String() string

func (TestVariantStatus) 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.

Currently unused.

func (*TimeRange) Descriptor 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 UnimplementedExperimentsServer

type UnimplementedExperimentsServer struct {
}

UnimplementedExperimentsServer can be embedded to have forward compatible implementations.

func (*UnimplementedExperimentsServer) Echo

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) MarkInvocationSubmitted

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) GetInstruction

func (*UnimplementedResultDBServer) GetInvocation

func (*UnimplementedResultDBServer) GetTestExoneration

func (*UnimplementedResultDBServer) GetTestResult

func (*UnimplementedResultDBServer) ListArtifactLines

func (*UnimplementedResultDBServer) ListArtifacts

func (*UnimplementedResultDBServer) ListTestResults

func (*UnimplementedResultDBServer) QueryArtifacts

func (*UnimplementedResultDBServer) QueryInstruction

func (*UnimplementedResultDBServer) QueryTestMetadata

func (*UnimplementedResultDBServer) QueryTestResults

func (*UnimplementedResultDBServer) QueryTestVariants

type UpdateIncludedInvocationsRequest

type UpdateIncludedInvocationsRequest struct {

	// Name of the invocation to add/remove inclusions to/from,
	// see Invocation.name.
	// For example, name of the buildbucket build invocation that should include
	// a swarming task invocation.
	IncludingInvocation string `protobuf:"bytes,1,opt,name=including_invocation,json=includingInvocation,proto3" json:"including_invocation,omitempty"`
	// Names of the invocations to include, see Invocation.name.
	// If any of these invocations are already included, they will be silently
	// ignored for idempotency.
	AddInvocations []string `protobuf:"bytes,2,rep,name=add_invocations,json=addInvocations,proto3" json:"add_invocations,omitempty"`
	// Deprecated: Removing invocations is no longer supported. Do not use.
	RemoveInvocations []string `protobuf:"bytes,3,rep,name=remove_invocations,json=removeInvocations,proto3" json:"remove_invocations,omitempty"`
	// contains filtered or unexported fields
}

A request message for UpdateIncludedInvocations RPC.

func (*UpdateIncludedInvocationsRequest) Descriptor deprecated

func (*UpdateIncludedInvocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIncludedInvocationsRequest.ProtoReflect.Descriptor instead.

func (*UpdateIncludedInvocationsRequest) GetAddInvocations

func (x *UpdateIncludedInvocationsRequest) GetAddInvocations() []string

func (*UpdateIncludedInvocationsRequest) GetIncludingInvocation

func (x *UpdateIncludedInvocationsRequest) GetIncludingInvocation() string

func (*UpdateIncludedInvocationsRequest) GetRemoveInvocations

func (x *UpdateIncludedInvocationsRequest) GetRemoveInvocations() []string

func (*UpdateIncludedInvocationsRequest) ProtoMessage

func (*UpdateIncludedInvocationsRequest) ProtoMessage()

func (*UpdateIncludedInvocationsRequest) ProtoReflect

func (*UpdateIncludedInvocationsRequest) Reset

func (*UpdateIncludedInvocationsRequest) String

type UpdateInvocationRequest

type UpdateInvocationRequest struct {

	// Invocation to update.
	Invocation *Invocation `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message for UpdateInvocation RPC.

func (*UpdateInvocationRequest) Descriptor deprecated

func (*UpdateInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInvocationRequest.ProtoReflect.Descriptor instead.

func (*UpdateInvocationRequest) GetInvocation

func (x *UpdateInvocationRequest) GetInvocation() *Invocation

func (*UpdateInvocationRequest) GetUpdateMask

func (x *UpdateInvocationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInvocationRequest) ProtoMessage

func (*UpdateInvocationRequest) ProtoMessage()

func (*UpdateInvocationRequest) ProtoReflect

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

func (*UpdateInvocationRequest) Reset

func (x *UpdateInvocationRequest) Reset()

func (*UpdateInvocationRequest) String

func (x *UpdateInvocationRequest) String() string

type Variant

type Variant struct {

	// The definition of the variant.
	// Key and values must be valid StringPair keys and values, see their
	// constraints.
	Def map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

A key-value map describing one variant of a test case.

The same test case can be executed in different ways, for example on different OS, GPUs, with different compile options or runtime flags. A variant definition captures one variant. A test case with a specific variant definition is called test variant.

Guidelines for variant definition design:

  • This rule guides what keys MUST be present in the definition. A single expected result of a given test variant is enough to consider it passing (potentially flakily). If it is important to differentiate across a certain dimension (e.g. whether web tests are executed with or without site per process isolation), then there MUST be a key that captures the dimension (e.g. a name from test_suites.pyl). Otherwise, a pass in one variant will hide a failure of another one.

  • This rule guides what keys MUST NOT be present in the definition. A change in the key-value set essentially resets the test result history. For example, if GN args are among variant key-value pairs, then adding a new GN arg changes the identity of the test variant and resets its history.

In Chromium, variant keys are:

func (*Variant) Descriptor deprecated

func (*Variant) Descriptor() ([]byte, []int)

Deprecated: Use Variant.ProtoReflect.Descriptor instead.

func (*Variant) GetDef

func (x *Variant) GetDef() map[string]string

func (*Variant) ProtoMessage

func (*Variant) ProtoMessage()

func (*Variant) ProtoReflect

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

func (*Variant) Reset

func (x *Variant) Reset()

func (*Variant) String

func (x *Variant) String() string

type VariantPredicate

type VariantPredicate struct {

	// Types that are assignable to Predicate:
	//
	//	*VariantPredicate_Equals
	//	*VariantPredicate_Contains
	Predicate isVariantPredicate_Predicate `protobuf_oneof:"predicate"`
	// contains filtered or unexported fields
}

Represents a function Variant -> bool.

func (*VariantPredicate) Descriptor deprecated

func (*VariantPredicate) Descriptor() ([]byte, []int)

Deprecated: Use VariantPredicate.ProtoReflect.Descriptor instead.

func (*VariantPredicate) GetContains

func (x *VariantPredicate) GetContains() *Variant

func (*VariantPredicate) GetEquals

func (x *VariantPredicate) GetEquals() *Variant

func (*VariantPredicate) GetPredicate

func (m *VariantPredicate) GetPredicate() isVariantPredicate_Predicate

func (*VariantPredicate) ProtoMessage

func (*VariantPredicate) ProtoMessage()

func (*VariantPredicate) ProtoReflect

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

func (*VariantPredicate) Reset

func (x *VariantPredicate) Reset()

func (*VariantPredicate) String

func (x *VariantPredicate) String() string

type VariantPredicate_Contains

type VariantPredicate_Contains struct {
	// A variant's key-value pairs must contain those in this one.
	Contains *Variant `protobuf:"bytes,2,opt,name=contains,proto3,oneof"`
}

type VariantPredicate_Equals

type VariantPredicate_Equals struct {
	// A variant must be equal this definition exactly.
	Equals *Variant `protobuf:"bytes,1,opt,name=equals,proto3,oneof"`
}

type VerdictInstruction

type VerdictInstruction struct {

	// Name of the instruction.
	// Format: invocations/<invocation id>/instructions/<instruction id>
	Instruction string `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"`
	// contains filtered or unexported fields
}

func (*VerdictInstruction) Descriptor deprecated

func (*VerdictInstruction) Descriptor() ([]byte, []int)

Deprecated: Use VerdictInstruction.ProtoReflect.Descriptor instead.

func (*VerdictInstruction) GetInstruction

func (x *VerdictInstruction) GetInstruction() string

func (*VerdictInstruction) ProtoMessage

func (*VerdictInstruction) ProtoMessage()

func (*VerdictInstruction) ProtoReflect

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

func (*VerdictInstruction) Reset

func (x *VerdictInstruction) Reset()

func (*VerdictInstruction) String

func (x *VerdictInstruction) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL