luci: go.chromium.org/luci/resultdb/proto/bq Index | Files

package resultpb

import "go.chromium.org/luci/resultdb/proto/bq"

Index

Package Files

artifact_row.pb.go common.pb.go gen.go test_result_row.pb.go

Variables

var File_go_chromium_org_luci_resultdb_proto_bq_artifact_row_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_bq_common_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_bq_test_result_row_proto protoreflect.FileDescriptor

type InvocationRecord Uses

type InvocationRecord struct {

    // The ID of the invocation.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Tags represents Invocation-level string key-value pairs.
    // A key can be repeated.
    Tags []*v1.StringPair `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
    // The LUCI Realm the invocation exists under.
    Realm string `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"`
    // contains filtered or unexported fields
}

func (*InvocationRecord) Descriptor Uses

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

Deprecated: Use InvocationRecord.ProtoReflect.Descriptor instead.

func (*InvocationRecord) GetId Uses

func (x *InvocationRecord) GetId() string

func (*InvocationRecord) GetRealm Uses

func (x *InvocationRecord) GetRealm() string

func (*InvocationRecord) GetTags Uses

func (x *InvocationRecord) GetTags() []*v1.StringPair

func (*InvocationRecord) ProtoMessage Uses

func (*InvocationRecord) ProtoMessage()

func (*InvocationRecord) ProtoReflect Uses

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

func (*InvocationRecord) Reset Uses

func (x *InvocationRecord) Reset()

func (*InvocationRecord) String Uses

func (x *InvocationRecord) String() string

type TestResultRow Uses

type TestResultRow struct {

    // Exported contains info of the exported invocation.
    //
    // Note: it's possible that this invocation is not the result's
    // immediate parent invocation, but the including invocation.
    // For example if the BigQuery table is for all test results of Chromium CI
    // builds, then the exported invocation is for a CI build, which includes
    // multiple invocations for swarming tasks within that build.
    Exported *InvocationRecord `protobuf:"bytes,1,opt,name=exported,proto3" json:"exported,omitempty"`
    // Parent contains info of the result's immediate parent invocation.
    Parent *InvocationRecord `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
    // Is a unique identifier of the 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"`
    // Identifies a test result in a given invocation and test id.
    ResultId string `protobuf:"bytes,4,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
    // Describes one specific way of running the test,
    // e.g. a specific bucket, builder and a test suite.
    Variant []*v1.StringPair `protobuf:"bytes,5,rep,name=variant,proto3" json:"variant,omitempty"`
    // A hex-encoded sha256 of concatenated "<key>:<value>\n" variant pairs.
    VariantHash string `protobuf:"bytes,6,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
    // Expected is a flag indicating whether the result of test case execution is expected.
    // Refer to TestResult.Expected for details.
    Expected bool `protobuf:"varint,7,opt,name=expected,proto3" json:"expected,omitempty"`
    // Status of the test result.
    // See TestStatus for possible values.
    Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
    // A human-readable explanation of the result, in HTML.
    SummaryHtml string `protobuf:"bytes,9,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,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Duration of the test case execution in seconds.
    Duration *durationpb.Duration `protobuf:"bytes,11,opt,name=duration,proto3" json:"duration,omitempty"`
    // Tags contains metadata for this test result.
    // It might describe this particular execution or the test case.
    Tags []*v1.StringPair `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
    // If the failures of the test variant are exonerated.
    // Note: the exoneration is at the test variant level, not result level.
    Exonerated bool `protobuf:"varint,13,opt,name=exonerated,proto3" json:"exonerated,omitempty"`
    // Partition_time is used to partition the table.
    // It is the time when exported invocation was created in Spanner.
    // https://cloud.google.com/bigquery/docs/creating-column-partitions#limitations
    // mentions "The partitioning column must be a top-level field."
    // So we keep this column here instead of adding the CreateTime to Invocation.
    PartitionTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=partition_time,json=partitionTime,proto3" json:"partition_time,omitempty"`
    // The location of the test definition.
    // Deprecated. Use test_metadata instead.
    //
    // Deprecated: Do not use.
    TestLocation *v1.TestLocation `protobuf:"bytes,15,opt,name=test_location,json=testLocation,proto3" json:"test_location,omitempty"`
    // Metadata of the test case,
    // e.g. the original test name, test_location, monorail_component and team_email.
    TestMetadata *v1.TestMetadata `protobuf:"bytes,16,opt,name=test_metadata,json=testMetadata,proto3" json:"test_metadata,omitempty"`
    // contains filtered or unexported fields
}

TestResultRow represents a row in a BigQuery table for result of a functional test case.

func (*TestResultRow) Descriptor Uses

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

Deprecated: Use TestResultRow.ProtoReflect.Descriptor instead.

func (*TestResultRow) GetDuration Uses

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

func (*TestResultRow) GetExonerated Uses

func (x *TestResultRow) GetExonerated() bool

func (*TestResultRow) GetExpected Uses

func (x *TestResultRow) GetExpected() bool

func (*TestResultRow) GetExported Uses

func (x *TestResultRow) GetExported() *InvocationRecord

func (*TestResultRow) GetParent Uses

func (x *TestResultRow) GetParent() *InvocationRecord

func (*TestResultRow) GetPartitionTime Uses

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

func (*TestResultRow) GetResultId Uses

func (x *TestResultRow) GetResultId() string

func (*TestResultRow) GetStartTime Uses

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

func (*TestResultRow) GetStatus Uses

func (x *TestResultRow) GetStatus() string

func (*TestResultRow) GetSummaryHtml Uses

func (x *TestResultRow) GetSummaryHtml() string

func (*TestResultRow) GetTags Uses

func (x *TestResultRow) GetTags() []*v1.StringPair

func (*TestResultRow) GetTestId Uses

func (x *TestResultRow) GetTestId() string

func (*TestResultRow) GetTestLocation Uses

func (x *TestResultRow) GetTestLocation() *v1.TestLocation

Deprecated: Do not use.

func (*TestResultRow) GetTestMetadata Uses

func (x *TestResultRow) GetTestMetadata() *v1.TestMetadata

func (*TestResultRow) GetVariant Uses

func (x *TestResultRow) GetVariant() []*v1.StringPair

func (*TestResultRow) GetVariantHash Uses

func (x *TestResultRow) GetVariantHash() string

func (*TestResultRow) ProtoMessage Uses

func (*TestResultRow) ProtoMessage()

func (*TestResultRow) ProtoReflect Uses

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

func (*TestResultRow) Reset Uses

func (x *TestResultRow) Reset()

func (*TestResultRow) String Uses

func (x *TestResultRow) String() string

type TextArtifactRow Uses

type TextArtifactRow struct {

    // Exported contains info of the exported invocation.
    //
    // Note: it's possible that this invocation is not the artifact's
    // immediate parent invocation, but the including invocation.
    // For example if the BigQuery table is for all artifacts of Chromium CI
    // builds, then the exported invocation is for a CI build, which includes
    // multiple invocations for swarming tasks within that build.
    Exported *InvocationRecord `protobuf:"bytes,1,opt,name=exported,proto3" json:"exported,omitempty"`
    // Parent contains info of the artifact's immediate parent invocation.
    Parent *InvocationRecord `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
    // Test_id and result_id can identify the test result in the invocation
    // this artifact belongs to.
    // They will be empty if the artifact is an invocation-level artifact.
    TestId   string `protobuf:"bytes,3,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
    ResultId string `protobuf:"bytes,4,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
    // Id of the artifact.
    // Regex: ^[[:word:]]([[:print:]]{0,254}[[:word:]])?$
    //
    // Refer to luci.resultdb.v1.Artifact.artifact_id for details.
    ArtifactId string `protobuf:"bytes,5,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
    // Id of the artifact shard.
    // Row size limit is 5MB according to
    // https://cloud.google.com/bigquery/quotas#streaming_inserts
    // If the size of the artifact content is larger than that, the data will be
    // sharded at the nearest previous line break ("\r\n" first, if not exist
    // then "\n" or "\r").
    // Shard_id is monotonically increasing and starts at 0.
    ShardId int32 `protobuf:"varint,6,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
    // Artifact shard content.
    // Encoded as UTF-8. Invalid characters are replaced with the replacement
    // character (U+FFFD).
    Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
    // contains filtered or unexported fields
}

TextArtifactRow represents a row in a BigQuery table for a text artifact.

func (*TextArtifactRow) Descriptor Uses

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

Deprecated: Use TextArtifactRow.ProtoReflect.Descriptor instead.

func (*TextArtifactRow) GetArtifactId Uses

func (x *TextArtifactRow) GetArtifactId() string

func (*TextArtifactRow) GetContent Uses

func (x *TextArtifactRow) GetContent() string

func (*TextArtifactRow) GetExported Uses

func (x *TextArtifactRow) GetExported() *InvocationRecord

func (*TextArtifactRow) GetParent Uses

func (x *TextArtifactRow) GetParent() *InvocationRecord

func (*TextArtifactRow) GetResultId Uses

func (x *TextArtifactRow) GetResultId() string

func (*TextArtifactRow) GetShardId Uses

func (x *TextArtifactRow) GetShardId() int32

func (*TextArtifactRow) GetTestId Uses

func (x *TextArtifactRow) GetTestId() string

func (*TextArtifactRow) ProtoMessage Uses

func (*TextArtifactRow) ProtoMessage()

func (*TextArtifactRow) ProtoReflect Uses

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

func (*TextArtifactRow) Reset Uses

func (x *TextArtifactRow) Reset()

func (*TextArtifactRow) String Uses

func (x *TextArtifactRow) String() string

Package resultpb imports 7 packages (graph) and is imported by 1 packages. Updated 2021-01-21. Refresh now. Tools for package owners.