bisectionpb

package
v0.0.0-...-9eda336 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package bisectionpb contains the proto definitions for LUCI Bisection.

Index

Constants

This section is empty.

Variables

View Source
var (
	AnalysisRunStatus_name = map[int32]string{
		0: "ANALYSIS_RUN_STATUS_UNSPECIFIED",
		2: "STARTED",
		3: "ENDED",
		4: "CANCELED",
	}
	AnalysisRunStatus_value = map[string]int32{
		"ANALYSIS_RUN_STATUS_UNSPECIFIED": 0,
		"STARTED":                         2,
		"ENDED":                           3,
		"CANCELED":                        4,
	}
)

Enum value maps for AnalysisRunStatus.

View Source
var (
	BuildFailureType_name = map[int32]string{
		0: "BUILD_FAILURE_TYPE_UNSPECIFIED",
		1: "COMPILE",
		2: "TEST",
		3: "INFRA",
		4: "OTHER",
	}
	BuildFailureType_value = map[string]int32{
		"BUILD_FAILURE_TYPE_UNSPECIFIED": 0,
		"COMPILE":                        1,
		"TEST":                           2,
		"INFRA":                          3,
		"OTHER":                          4,
	}
)

Enum value maps for BuildFailureType.

View Source
var (
	AnalysisStatus_name = map[int32]string{
		0: "ANALYSIS_STATUS_UNSPECIFIED",
		1: "CREATED",
		2: "RUNNING",
		3: "FOUND",
		4: "NOTFOUND",
		5: "ERROR",
		6: "SUSPECTFOUND",
		7: "UNSUPPORTED",
		8: "DISABLED",
		9: "INSUFFICENTDATA",
	}
	AnalysisStatus_value = map[string]int32{
		"ANALYSIS_STATUS_UNSPECIFIED": 0,
		"CREATED":                     1,
		"RUNNING":                     2,
		"FOUND":                       3,
		"NOTFOUND":                    4,
		"ERROR":                       5,
		"SUSPECTFOUND":                6,
		"UNSUPPORTED":                 7,
		"DISABLED":                    8,
		"INSUFFICENTDATA":             9,
	}
)

Enum value maps for AnalysisStatus.

View Source
var (
	RerunStatus_name = map[int32]string{
		0: "RERUN_STATUS_UNSPECIFIED",
		1: "RERUN_STATUS_IN_PROGRESS",
		2: "RERUN_STATUS_PASSED",
		3: "RERUN_STATUS_FAILED",
		4: "RERUN_STATUS_INFRA_FAILED",
		5: "RERUN_STATUS_CANCELED",
		6: "RERUN_STATUS_TEST_SKIPPED",
	}
	RerunStatus_value = map[string]int32{
		"RERUN_STATUS_UNSPECIFIED":  0,
		"RERUN_STATUS_IN_PROGRESS":  1,
		"RERUN_STATUS_PASSED":       2,
		"RERUN_STATUS_FAILED":       3,
		"RERUN_STATUS_INFRA_FAILED": 4,
		"RERUN_STATUS_CANCELED":     5,
		"RERUN_STATUS_TEST_SKIPPED": 6,
	}
)

Enum value maps for RerunStatus.

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

Enum value maps for TestResultStatus.

View Source
var (
	AnalysisType_name = map[int32]string{
		0: "ANALYSIS_TYPE_UNSPECIFIED",
		1: "COMPILE_FAILURE_ANALYSIS",
		2: "TEST_FAILURE_ANALYSIS",
	}
	AnalysisType_value = map[string]int32{
		"ANALYSIS_TYPE_UNSPECIFIED": 0,
		"COMPILE_FAILURE_ANALYSIS":  1,
		"TEST_FAILURE_ANALYSIS":     2,
	}
)

Enum value maps for AnalysisType.

View Source
var (
	SuspectVerificationStatus_name = map[int32]string{
		0: "SUSPECT_VERIFICATION_STATUS_UNSPECIFIED",
		1: "UNVERIFIED",
		2: "VERIFICATION_SCHEDULED",
		3: "UNDER_VERIFICATION",
		4: "CONFIRMED_CULPRIT",
		5: "VINDICATED",
		6: "VERIFICATION_ERROR",
		7: "VERIFICATION_CANCELED",
	}
	SuspectVerificationStatus_value = map[string]int32{
		"SUSPECT_VERIFICATION_STATUS_UNSPECIFIED": 0,
		"UNVERIFIED":             1,
		"VERIFICATION_SCHEDULED": 2,
		"UNDER_VERIFICATION":     3,
		"CONFIRMED_CULPRIT":      4,
		"VINDICATED":             5,
		"VERIFICATION_ERROR":     6,
		"VERIFICATION_CANCELED":  7,
	}
)

Enum value maps for SuspectVerificationStatus.

View Source
var (
	TestVerdictStatus_name = map[int32]string{
		0:  "TEST_VERDICT_STATUS_UNSPECIFIED",
		10: "UNEXPECTED",
		20: "UNEXPECTEDLY_SKIPPED",
		30: "FLAKY",
		40: "EXONERATED",
		50: "EXPECTED",
	}
	TestVerdictStatus_value = map[string]int32{
		"TEST_VERDICT_STATUS_UNSPECIFIED": 0,
		"UNEXPECTED":                      10,
		"UNEXPECTEDLY_SKIPPED":            20,
		"FLAKY":                           30,
		"EXONERATED":                      40,
		"EXPECTED":                        50,
	}
)

Enum value maps for TestVerdictStatus.

View Source
var (
	CulpritActionType_name = map[int32]string{
		0: "CULPRIT_ACTION_TYPE_UNSPECIFIED",
		1: "NO_ACTION",
		2: "CULPRIT_AUTO_REVERTED",
		3: "REVERT_CL_CREATED",
		4: "CULPRIT_CL_COMMENTED",
		5: "BUG_COMMENTED",
		6: "EXISTING_REVERT_CL_COMMENTED",
	}
	CulpritActionType_value = map[string]int32{
		"CULPRIT_ACTION_TYPE_UNSPECIFIED": 0,
		"NO_ACTION":                       1,
		"CULPRIT_AUTO_REVERTED":           2,
		"REVERT_CL_CREATED":               3,
		"CULPRIT_CL_COMMENTED":            4,
		"BUG_COMMENTED":                   5,
		"EXISTING_REVERT_CL_COMMENTED":    6,
	}
)

Enum value maps for CulpritActionType.

View Source
var (
	CulpritInactionReason_name = map[int32]string{
		0: "CULPRIT_INACTION_REASON_UNSPECIFIED",
		1: "REVERTED_BY_BISECTION",
		2: "REVERTED_MANUALLY",
		3: "REVERT_OWNED_BY_BISECTION",
		4: "REVERT_HAS_COMMENT",
		5: "CULPRIT_HAS_COMMENT",
		6: "ANALYSIS_CANCELED",
		7: "ACTIONS_DISABLED",
		8: "TEST_NO_LONGER_UNEXPECTED",
	}
	CulpritInactionReason_value = map[string]int32{
		"CULPRIT_INACTION_REASON_UNSPECIFIED": 0,
		"REVERTED_BY_BISECTION":               1,
		"REVERTED_MANUALLY":                   2,
		"REVERT_OWNED_BY_BISECTION":           3,
		"REVERT_HAS_COMMENT":                  4,
		"CULPRIT_HAS_COMMENT":                 5,
		"ANALYSIS_CANCELED":                   6,
		"ACTIONS_DISABLED":                    7,
		"TEST_NO_LONGER_UNEXPECTED":           8,
	}
)

Enum value maps for CulpritInactionReason.

View Source
var (
	SuspectConfidenceLevel_name = map[int32]string{
		0: "SUSPECT_CONFIDENCE_LEVEL_UNSPECIFIED",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
	}
	SuspectConfidenceLevel_value = map[string]int32{
		"SUSPECT_CONFIDENCE_LEVEL_UNSPECIFIED": 0,
		"LOW":                                  1,
		"MEDIUM":                               2,
		"HIGH":                                 3,
	}
)

Enum value maps for SuspectConfidenceLevel.

View Source
var File_go_chromium_org_luci_bisection_proto_v1_analyses_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_botupdates_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_bugs_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_common_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_culprits_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_heuristic_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_bisection_proto_v1_nthsection_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 RegisterAnalysesServer

func RegisterAnalysesServer(s prpc.Registrar, srv AnalysesServer)

func RegisterBotUpdatesServer

func RegisterBotUpdatesServer(s prpc.Registrar, srv BotUpdatesServer)

Types

type AnalysesClient

type AnalysesClient interface {
	// GetAnalysis is used to get an analysis by analysis ID.
	GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error)
	// QueryAnalysis is used to query for the status and result of analyses.
	// The user can pass in the failure information to retrieve the analyses.
	QueryAnalysis(ctx context.Context, in *QueryAnalysisRequest, opts ...grpc.CallOption) (*QueryAnalysisResponse, error)
	// ListAnalyses is used to get existing analyses.
	// Most recently created analyses are returned first.
	ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error)
	// TriggerAnalysis is used to trigger an analysis for a failed build.
	// This RPC is called from a LUCI Bisection client like SoM or Milo.
	// If an existing analysis is found for the same failure, no new analysis
	// will be triggered.
	TriggerAnalysis(ctx context.Context, in *TriggerAnalysisRequest, opts ...grpc.CallOption) (*TriggerAnalysisResponse, error)
	// Update the information of an analysis,
	// e.g. update the bugs associated with an analysis.
	// Mainly used by SoM, since LUCI Bisection does not have any information
	// about bugs created by sheriffs.
	UpdateAnalysis(ctx context.Context, in *UpdateAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error)
	// ListTestAnalyses is used to get existing test analyses.
	// Most recently created test analyses are returned first.
	ListTestAnalyses(ctx context.Context, in *ListTestAnalysesRequest, opts ...grpc.CallOption) (*ListTestAnalysesResponse, error)
	// GetTestAnalysis is used to get a test analysis by its ID.
	GetTestAnalysis(ctx context.Context, in *GetTestAnalysisRequest, opts ...grpc.CallOption) (*TestAnalysis, error)
	// BatchGetTestAnalyses is an RPC to batch get test analyses for test failures.
	// At this moment it only support getting the bisection for the ongoing test failure.
	// TODO(@beining): This endpoint can be extended to support returning bisection for
	// any test failure by specifying source position in the request.
	BatchGetTestAnalyses(ctx context.Context, in *BatchGetTestAnalysesRequest, opts ...grpc.CallOption) (*BatchGetTestAnalysesResponse, error)
}

AnalysesClient is the client API for Analyses service.

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

func NewAnalysesClient

func NewAnalysesClient(cc grpc.ClientConnInterface) AnalysesClient

func NewAnalysesPRPCClient

func NewAnalysesPRPCClient(client *prpc.Client) AnalysesClient

type AnalysesServer

type AnalysesServer interface {
	// GetAnalysis is used to get an analysis by analysis ID.
	GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
	// QueryAnalysis is used to query for the status and result of analyses.
	// The user can pass in the failure information to retrieve the analyses.
	QueryAnalysis(context.Context, *QueryAnalysisRequest) (*QueryAnalysisResponse, error)
	// ListAnalyses is used to get existing analyses.
	// Most recently created analyses are returned first.
	ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
	// TriggerAnalysis is used to trigger an analysis for a failed build.
	// This RPC is called from a LUCI Bisection client like SoM or Milo.
	// If an existing analysis is found for the same failure, no new analysis
	// will be triggered.
	TriggerAnalysis(context.Context, *TriggerAnalysisRequest) (*TriggerAnalysisResponse, error)
	// Update the information of an analysis,
	// e.g. update the bugs associated with an analysis.
	// Mainly used by SoM, since LUCI Bisection does not have any information
	// about bugs created by sheriffs.
	UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*Analysis, error)
	// ListTestAnalyses is used to get existing test analyses.
	// Most recently created test analyses are returned first.
	ListTestAnalyses(context.Context, *ListTestAnalysesRequest) (*ListTestAnalysesResponse, error)
	// GetTestAnalysis is used to get a test analysis by its ID.
	GetTestAnalysis(context.Context, *GetTestAnalysisRequest) (*TestAnalysis, error)
	// BatchGetTestAnalyses is an RPC to batch get test analyses for test failures.
	// At this moment it only support getting the bisection for the ongoing test failure.
	// TODO(@beining): This endpoint can be extended to support returning bisection for
	// any test failure by specifying source position in the request.
	BatchGetTestAnalyses(context.Context, *BatchGetTestAnalysesRequest) (*BatchGetTestAnalysesResponse, error)
}

AnalysesServer is the server API for Analyses service.

type Analysis

type Analysis struct {

	// ID to identify this analysis.
	AnalysisId int64 `protobuf:"varint,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	// The failure associated with the analysis.
	BuildFailure *BuildFailure `protobuf:"bytes,2,opt,name=build_failure,json=buildFailure,proto3" json:"build_failure,omitempty"`
	// Result status of the analysis.
	Status AnalysisStatus `protobuf:"varint,3,opt,name=status,proto3,enum=luci.bisection.v1.AnalysisStatus" json:"status,omitempty"`
	// Run status of the analysis.
	// See https://go.chromium.org/luci/bisection/proto/v1/#AnalysisRunStatus
	RunStatus AnalysisRunStatus `` /* 130-byte string literal not displayed */
	// Buildbucket ID for the last passed build.
	LastPassedBbid int64 `protobuf:"varint,5,opt,name=last_passed_bbid,json=lastPassedBbid,proto3" json:"last_passed_bbid,omitempty"`
	// Buildbucket ID for the first failed build.
	FirstFailedBbid int64 `protobuf:"varint,6,opt,name=first_failed_bbid,json=firstFailedBbid,proto3" json:"first_failed_bbid,omitempty"`
	// Timestamp for the created time of the analysis.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Timestamp for the last updated time of the analysis.
	LastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	// Timestamp for the end time of the analysis.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Result of heuristic analysis.
	HeuristicResult *HeuristicAnalysisResult `protobuf:"bytes,10,opt,name=heuristic_result,json=heuristicResult,proto3" json:"heuristic_result,omitempty"`
	// Result of nth-section analysis.
	NthSectionResult *NthSectionAnalysisResult `protobuf:"bytes,11,opt,name=nth_section_result,json=nthSectionResult,proto3" json:"nth_section_result,omitempty"`
	// Builder for the first failed build.
	Builder *proto.BuilderID `protobuf:"bytes,12,opt,name=builder,proto3" json:"builder,omitempty"`
	// Type of the failure associated with the analysis.
	BuildFailureType BuildFailureType `` /* 153-byte string literal not displayed */
	// The culprits for the analysis.
	// For some rare cases, we may get more than one culprit for a regression
	// range. So we set it as repeated field.
	Culprits []*Culprit `protobuf:"bytes,14,rep,name=culprits,proto3" json:"culprits,omitempty"`
	// contains filtered or unexported fields
}

Analysis contains result of an analysis. Next available tag: 15.

func (*Analysis) Descriptor deprecated

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

Deprecated: Use Analysis.ProtoReflect.Descriptor instead.

func (*Analysis) GetAnalysisId

func (x *Analysis) GetAnalysisId() int64

func (*Analysis) GetBuildFailure

func (x *Analysis) GetBuildFailure() *BuildFailure

func (*Analysis) GetBuildFailureType

func (x *Analysis) GetBuildFailureType() BuildFailureType

func (*Analysis) GetBuilder

func (x *Analysis) GetBuilder() *proto.BuilderID

func (*Analysis) GetCreatedTime

func (x *Analysis) GetCreatedTime() *timestamppb.Timestamp

func (*Analysis) GetCulprits

func (x *Analysis) GetCulprits() []*Culprit

func (*Analysis) GetEndTime

func (x *Analysis) GetEndTime() *timestamppb.Timestamp

func (*Analysis) GetFirstFailedBbid

func (x *Analysis) GetFirstFailedBbid() int64

func (*Analysis) GetHeuristicResult

func (x *Analysis) GetHeuristicResult() *HeuristicAnalysisResult

func (*Analysis) GetLastPassedBbid

func (x *Analysis) GetLastPassedBbid() int64

func (*Analysis) GetLastUpdatedTime

func (x *Analysis) GetLastUpdatedTime() *timestamppb.Timestamp

func (*Analysis) GetNthSectionResult

func (x *Analysis) GetNthSectionResult() *NthSectionAnalysisResult

func (*Analysis) GetRunStatus

func (x *Analysis) GetRunStatus() AnalysisRunStatus

func (*Analysis) GetStatus

func (x *Analysis) GetStatus() AnalysisStatus

func (*Analysis) ProtoMessage

func (*Analysis) ProtoMessage()

func (*Analysis) ProtoReflect

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

func (*Analysis) Reset

func (x *Analysis) Reset()

func (*Analysis) String

func (x *Analysis) String() string

type AnalysisRunStatus

type AnalysisRunStatus int32

AnalysisRunStatus focusses on whether the analysis is currently running, not the actual result of the analysis.

const (
	AnalysisRunStatus_ANALYSIS_RUN_STATUS_UNSPECIFIED AnalysisRunStatus = 0
	// The analysis started and is still running.
	AnalysisRunStatus_STARTED AnalysisRunStatus = 2
	// The analysis has ended (either it stopped naturally or ran into an error).
	AnalysisRunStatus_ENDED AnalysisRunStatus = 3
	// The analysis has been canceled.
	AnalysisRunStatus_CANCELED AnalysisRunStatus = 4
)

func (AnalysisRunStatus) Descriptor

func (AnalysisRunStatus) Enum

func (AnalysisRunStatus) EnumDescriptor deprecated

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

Deprecated: Use AnalysisRunStatus.Descriptor instead.

func (AnalysisRunStatus) Number

func (AnalysisRunStatus) String

func (x AnalysisRunStatus) String() string

func (AnalysisRunStatus) Type

type AnalysisStatus

type AnalysisStatus int32

AnalysisStatus represents the result status of an analysis.

const (
	AnalysisStatus_ANALYSIS_STATUS_UNSPECIFIED AnalysisStatus = 0
	// The analysis has been created, but not yet started.
	// We don't have this status in code. It's here for backward-compatability.
	AnalysisStatus_CREATED AnalysisStatus = 1
	// The analysis is running, but results have not been finalised.
	AnalysisStatus_RUNNING AnalysisStatus = 2
	// The analysis has finished and found (and verified) the culprit.
	AnalysisStatus_FOUND AnalysisStatus = 3
	// The analysis has finished but no culprit/suspect has been found.
	AnalysisStatus_NOTFOUND AnalysisStatus = 4
	// The analysis resulted in an error.
	AnalysisStatus_ERROR AnalysisStatus = 5
	// The analysis found some suspects, either from heuristic or nth-section.
	AnalysisStatus_SUSPECTFOUND AnalysisStatus = 6
	// The analysis is unsupported (unsupported project, test...).
	AnalysisStatus_UNSUPPORTED AnalysisStatus = 7
	// The analysis was disabled (e.g. from config).
	AnalysisStatus_DISABLED AnalysisStatus = 8
	// This status is to mark for the case when an analysis was created,
	// but was not sent to bisector, because we couldn't get sufficient data
	// to proceed.
	// One example is if we cannot get the commit ID for the regression range
	// because the commit was too old.
	AnalysisStatus_INSUFFICENTDATA AnalysisStatus = 9
)

func (AnalysisStatus) Descriptor

func (AnalysisStatus) Enum

func (x AnalysisStatus) Enum() *AnalysisStatus

func (AnalysisStatus) EnumDescriptor deprecated

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

Deprecated: Use AnalysisStatus.Descriptor instead.

func (AnalysisStatus) Number

func (AnalysisStatus) String

func (x AnalysisStatus) String() string

func (AnalysisStatus) Type

type AnalysisType

type AnalysisType int32

AnalysisType specifies type of the analysis.

const (
	AnalysisType_ANALYSIS_TYPE_UNSPECIFIED AnalysisType = 0
	// Compile analysis type.
	AnalysisType_COMPILE_FAILURE_ANALYSIS AnalysisType = 1
	// Test analysis type.
	AnalysisType_TEST_FAILURE_ANALYSIS AnalysisType = 2
)

func (AnalysisType) Descriptor

func (AnalysisType) Enum

func (x AnalysisType) Enum() *AnalysisType

func (AnalysisType) EnumDescriptor deprecated

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

Deprecated: Use AnalysisType.Descriptor instead.

func (AnalysisType) Number

func (AnalysisType) String

func (x AnalysisType) String() string

func (AnalysisType) Type

type BatchGetTestAnalysesRequest

type BatchGetTestAnalysesRequest struct {

	// The LUCI project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The response will only contain analyses which analyze failures in this list.
	// It is an error to request for more than 100 test failures.
	TestFailures []*BatchGetTestAnalysesRequest_TestFailureIdentifier `protobuf:"bytes,2,rep,name=test_failures,json=testFailures,proto3" json:"test_failures,omitempty"`
	// The fields to be included in the response.
	// By default, all fields are included.
	Fields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetTestAnalysesRequest) Descriptor deprecated

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

Deprecated: Use BatchGetTestAnalysesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetTestAnalysesRequest) GetFields

func (*BatchGetTestAnalysesRequest) GetProject

func (x *BatchGetTestAnalysesRequest) GetProject() string

func (*BatchGetTestAnalysesRequest) GetTestFailures

func (*BatchGetTestAnalysesRequest) ProtoMessage

func (*BatchGetTestAnalysesRequest) ProtoMessage()

func (*BatchGetTestAnalysesRequest) ProtoReflect

func (*BatchGetTestAnalysesRequest) Reset

func (x *BatchGetTestAnalysesRequest) Reset()

func (*BatchGetTestAnalysesRequest) String

func (x *BatchGetTestAnalysesRequest) String() string

type BatchGetTestAnalysesRequest_TestFailureIdentifier

type BatchGetTestAnalysesRequest_TestFailureIdentifier struct {

	// Identify a test variant. All fields are required.
	// This represents the ongoing test failure of this test variant.
	TestId      string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	RefHash     string `protobuf:"bytes,3,opt,name=ref_hash,json=refHash,proto3" json:"ref_hash,omitempty"`
	// contains filtered or unexported fields
}

Identify a test failure.

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) Descriptor deprecated

Deprecated: Use BatchGetTestAnalysesRequest_TestFailureIdentifier.ProtoReflect.Descriptor instead.

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) GetRefHash

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) GetTestId

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) GetVariantHash

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) ProtoMessage

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) ProtoReflect

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) Reset

func (*BatchGetTestAnalysesRequest_TestFailureIdentifier) String

type BatchGetTestAnalysesResponse

type BatchGetTestAnalysesResponse struct {

	// Test analyses for each test failure in the order they were requested.
	// The test analysis will be null if the requested test failure has not been
	// analyzed by any bisection.
	TestAnalyses []*TestAnalysis `protobuf:"bytes,1,rep,name=test_analyses,json=testAnalyses,proto3" json:"test_analyses,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetTestAnalysesResponse) Descriptor deprecated

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

Deprecated: Use BatchGetTestAnalysesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetTestAnalysesResponse) GetTestAnalyses

func (x *BatchGetTestAnalysesResponse) GetTestAnalyses() []*TestAnalysis

func (*BatchGetTestAnalysesResponse) ProtoMessage

func (*BatchGetTestAnalysesResponse) ProtoMessage()

func (*BatchGetTestAnalysesResponse) ProtoReflect

func (*BatchGetTestAnalysesResponse) Reset

func (x *BatchGetTestAnalysesResponse) Reset()

func (*BatchGetTestAnalysesResponse) String

type BlameList

type BlameList struct {

	// The commits in the blame list.
	Commits []*BlameListSingleCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	// The last pass commit.
	// It is the commit right before the least recent commit in the blamelist.
	LastPassCommit *BlameListSingleCommit `protobuf:"bytes,2,opt,name=last_pass_commit,json=lastPassCommit,proto3" json:"last_pass_commit,omitempty"`
	// contains filtered or unexported fields
}

func (*BlameList) Descriptor deprecated

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

Deprecated: Use BlameList.ProtoReflect.Descriptor instead.

func (*BlameList) GetCommits

func (x *BlameList) GetCommits() []*BlameListSingleCommit

func (*BlameList) GetLastPassCommit

func (x *BlameList) GetLastPassCommit() *BlameListSingleCommit

func (*BlameList) ProtoMessage

func (*BlameList) ProtoMessage()

func (*BlameList) ProtoReflect

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

func (*BlameList) Reset

func (x *BlameList) Reset()

func (*BlameList) String

func (x *BlameList) String() string

type BlameListSingleCommit

type BlameListSingleCommit struct {

	// The commit ID.
	Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// Review URL for the commit.
	ReviewUrl string `protobuf:"bytes,2,opt,name=reviewUrl,proto3" json:"reviewUrl,omitempty"`
	// Title of the review for the commit.
	ReviewTitle string `protobuf:"bytes,3,opt,name=reviewTitle,proto3" json:"reviewTitle,omitempty"`
	// Commit position of this commit.
	// This field is currently only set for test failure analysis blamelist.
	Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
	// Commit time of this commit.
	CommitTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"`
	// contains filtered or unexported fields
}

func (*BlameListSingleCommit) Descriptor deprecated

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

Deprecated: Use BlameListSingleCommit.ProtoReflect.Descriptor instead.

func (*BlameListSingleCommit) GetCommit

func (x *BlameListSingleCommit) GetCommit() string

func (*BlameListSingleCommit) GetCommitTime

func (x *BlameListSingleCommit) GetCommitTime() *timestamppb.Timestamp

func (*BlameListSingleCommit) GetPosition

func (x *BlameListSingleCommit) GetPosition() int64

func (*BlameListSingleCommit) GetReviewTitle

func (x *BlameListSingleCommit) GetReviewTitle() string

func (*BlameListSingleCommit) GetReviewUrl

func (x *BlameListSingleCommit) GetReviewUrl() string

func (*BlameListSingleCommit) ProtoMessage

func (*BlameListSingleCommit) ProtoMessage()

func (*BlameListSingleCommit) ProtoReflect

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

func (*BlameListSingleCommit) Reset

func (x *BlameListSingleCommit) Reset()

func (*BlameListSingleCommit) String

func (x *BlameListSingleCommit) String() string

type BotUpdatesClient

type BotUpdatesClient interface {
	// RPC called from bots to update the compile analysis progress.
	UpdateAnalysisProgress(ctx context.Context, in *UpdateAnalysisProgressRequest, opts ...grpc.CallOption) (*UpdateAnalysisProgressResponse, error)
	// RPC called from bots to update test analysis progress.
	UpdateTestAnalysisProgress(ctx context.Context, in *UpdateTestAnalysisProgressRequest, opts ...grpc.CallOption) (*UpdateTestAnalysisProgressResponse, error)
}

BotUpdatesClient is the client API for BotUpdates service.

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

func NewBotUpdatesClient

func NewBotUpdatesClient(cc grpc.ClientConnInterface) BotUpdatesClient

func NewBotUpdatesPRPCClient

func NewBotUpdatesPRPCClient(client *prpc.Client) BotUpdatesClient

type BotUpdatesServer

type BotUpdatesServer interface {
	// RPC called from bots to update the compile analysis progress.
	UpdateAnalysisProgress(context.Context, *UpdateAnalysisProgressRequest) (*UpdateAnalysisProgressResponse, error)
	// RPC called from bots to update test analysis progress.
	UpdateTestAnalysisProgress(context.Context, *UpdateTestAnalysisProgressRequest) (*UpdateTestAnalysisProgressResponse, error)
}

BotUpdatesServer is the server API for BotUpdates service.

type BugInfo

type BugInfo struct {

	// Types that are assignable to Bug:
	//
	//	*BugInfo_MonorailBugInfo
	//	*BugInfo_BuganizerBugInfo
	Bug isBugInfo_Bug `protobuf_oneof:"bug"`
	// contains filtered or unexported fields
}

Information about a bug associated with a failure.

func (*BugInfo) Descriptor deprecated

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

Deprecated: Use BugInfo.ProtoReflect.Descriptor instead.

func (*BugInfo) GetBug

func (m *BugInfo) GetBug() isBugInfo_Bug

func (*BugInfo) GetBuganizerBugInfo

func (x *BugInfo) GetBuganizerBugInfo() *BuganizerBugInfo

func (*BugInfo) GetMonorailBugInfo

func (x *BugInfo) GetMonorailBugInfo() *MonorailBugInfo

func (*BugInfo) ProtoMessage

func (*BugInfo) ProtoMessage()

func (*BugInfo) ProtoReflect

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

func (*BugInfo) Reset

func (x *BugInfo) Reset()

func (*BugInfo) String

func (x *BugInfo) String() string

type BugInfo_BuganizerBugInfo

type BugInfo_BuganizerBugInfo struct {
	BuganizerBugInfo *BuganizerBugInfo `protobuf:"bytes,2,opt,name=buganizer_bug_info,json=buganizerBugInfo,proto3,oneof"`
}

type BugInfo_MonorailBugInfo

type BugInfo_MonorailBugInfo struct {
	MonorailBugInfo *MonorailBugInfo `protobuf:"bytes,1,opt,name=monorail_bug_info,json=monorailBugInfo,proto3,oneof"`
}

type BuganizerBugInfo

type BuganizerBugInfo struct {

	// Buganizer bug ID.
	BugId int64 `protobuf:"varint,1,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuganizerBugInfo) Descriptor deprecated

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

Deprecated: Use BuganizerBugInfo.ProtoReflect.Descriptor instead.

func (*BuganizerBugInfo) GetBugId

func (x *BuganizerBugInfo) GetBugId() int64

func (*BuganizerBugInfo) ProtoMessage

func (*BuganizerBugInfo) ProtoMessage()

func (*BuganizerBugInfo) ProtoReflect

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

func (*BuganizerBugInfo) Reset

func (x *BuganizerBugInfo) Reset()

func (*BuganizerBugInfo) String

func (x *BuganizerBugInfo) String() string

type BuildFailure

type BuildFailure struct {

	// Buildbucket ID for the failed build.
	Bbid int64 `protobuf:"varint,1,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// failed_step_name should be 'compile' for compile failures.
	FailedStepName string `protobuf:"bytes,2,opt,name=failed_step_name,json=failedStepName,proto3" json:"failed_step_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildFailure) Descriptor deprecated

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

Deprecated: Use BuildFailure.ProtoReflect.Descriptor instead.

func (*BuildFailure) GetBbid

func (x *BuildFailure) GetBbid() int64

func (*BuildFailure) GetFailedStepName

func (x *BuildFailure) GetFailedStepName() string

func (*BuildFailure) ProtoMessage

func (*BuildFailure) ProtoMessage()

func (*BuildFailure) ProtoReflect

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

func (*BuildFailure) Reset

func (x *BuildFailure) Reset()

func (*BuildFailure) String

func (x *BuildFailure) String() string

type BuildFailureType

type BuildFailureType int32
const (
	BuildFailureType_BUILD_FAILURE_TYPE_UNSPECIFIED BuildFailureType = 0
	BuildFailureType_COMPILE                        BuildFailureType = 1
	BuildFailureType_TEST                           BuildFailureType = 2
	BuildFailureType_INFRA                          BuildFailureType = 3
	BuildFailureType_OTHER                          BuildFailureType = 4
)

func (BuildFailureType) Descriptor

func (BuildFailureType) Enum

func (BuildFailureType) EnumDescriptor deprecated

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

Deprecated: Use BuildFailureType.Descriptor instead.

func (BuildFailureType) Number

func (BuildFailureType) String

func (x BuildFailureType) String() string

func (BuildFailureType) Type

type Culprit

type Culprit struct {

	// The gitiles commit for the culprit.
	Commit *proto.GitilesCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// The review URL for the culprit.
	ReviewUrl string `protobuf:"bytes,2,opt,name=review_url,json=reviewUrl,proto3" json:"review_url,omitempty"`
	// The review title for the culprit.
	ReviewTitle string `protobuf:"bytes,3,opt,name=review_title,json=reviewTitle,proto3" json:"review_title,omitempty"`
	// Actions we have taken with the culprit.
	// More than one action may be taken, for example, reverting the culprit and
	// commenting on the bug.
	CulpritAction []*CulpritAction `protobuf:"bytes,4,rep,name=culprit_action,json=culpritAction,proto3" json:"culprit_action,omitempty"`
	// The details of suspect verification for the culprit.
	VerificationDetails *SuspectVerificationDetails `protobuf:"bytes,5,opt,name=verification_details,json=verificationDetails,proto3" json:"verification_details,omitempty"`
	// contains filtered or unexported fields
}

func (*Culprit) Descriptor deprecated

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

Deprecated: Use Culprit.ProtoReflect.Descriptor instead.

func (*Culprit) GetCommit

func (x *Culprit) GetCommit() *proto.GitilesCommit

func (*Culprit) GetCulpritAction

func (x *Culprit) GetCulpritAction() []*CulpritAction

func (*Culprit) GetReviewTitle

func (x *Culprit) GetReviewTitle() string

func (*Culprit) GetReviewUrl

func (x *Culprit) GetReviewUrl() string

func (*Culprit) GetVerificationDetails

func (x *Culprit) GetVerificationDetails() *SuspectVerificationDetails

func (*Culprit) ProtoMessage

func (*Culprit) ProtoMessage()

func (*Culprit) ProtoReflect

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

func (*Culprit) Reset

func (x *Culprit) Reset()

func (*Culprit) String

func (x *Culprit) String() string

type CulpritAction

type CulpritAction struct {
	ActionType CulpritActionType `` /* 133-byte string literal not displayed */
	// URL to the revert CL for the culprit.
	RevertClUrl string `protobuf:"bytes,2,opt,name=revert_cl_url,json=revertClUrl,proto3" json:"revert_cl_url,omitempty"`
	// URL to the bug, if action_type = BUG_COMMENTED.
	BugUrl string `protobuf:"bytes,3,opt,name=bug_url,json=bugUrl,proto3" json:"bug_url,omitempty"`
	// Timestamp of when the culprit action was executed.
	ActionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=action_time,json=actionTime,proto3" json:"action_time,omitempty"`
	// Optional reason for why no action was taken with the culprit, if
	// action_type = NO_ACTION.
	InactionReason CulpritInactionReason `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

An action that LUCI Bisection has taken with the culprit.

func (*CulpritAction) Descriptor deprecated

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

Deprecated: Use CulpritAction.ProtoReflect.Descriptor instead.

func (*CulpritAction) GetActionTime

func (x *CulpritAction) GetActionTime() *timestamppb.Timestamp

func (*CulpritAction) GetActionType

func (x *CulpritAction) GetActionType() CulpritActionType

func (*CulpritAction) GetBugUrl

func (x *CulpritAction) GetBugUrl() string

func (*CulpritAction) GetInactionReason

func (x *CulpritAction) GetInactionReason() CulpritInactionReason

func (*CulpritAction) GetRevertClUrl

func (x *CulpritAction) GetRevertClUrl() string

func (*CulpritAction) ProtoMessage

func (*CulpritAction) ProtoMessage()

func (*CulpritAction) ProtoReflect

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

func (*CulpritAction) Reset

func (x *CulpritAction) Reset()

func (*CulpritAction) String

func (x *CulpritAction) String() string

type CulpritActionType

type CulpritActionType int32
const (
	CulpritActionType_CULPRIT_ACTION_TYPE_UNSPECIFIED CulpritActionType = 0
	// No action has been taken with the culprit.
	CulpritActionType_NO_ACTION CulpritActionType = 1
	// The culprit was auto-reverted by LUCI Bisection.
	CulpritActionType_CULPRIT_AUTO_REVERTED CulpritActionType = 2
	// The revert CL for the culprit was created.
	// Maybe waiting for a human to review or for the verification process
	// to finish.
	CulpritActionType_REVERT_CL_CREATED CulpritActionType = 3
	// LUCI Bisection commented on the culprit CL.
	CulpritActionType_CULPRIT_CL_COMMENTED CulpritActionType = 4
	// LUCI Bisection commented on the bug for the failure.
	CulpritActionType_BUG_COMMENTED CulpritActionType = 5
	// LUCI Bisection commented on an existing revert CL for the culprit CL.
	CulpritActionType_EXISTING_REVERT_CL_COMMENTED CulpritActionType = 6
)

func (CulpritActionType) Descriptor

func (CulpritActionType) Enum

func (CulpritActionType) EnumDescriptor deprecated

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

Deprecated: Use CulpritActionType.Descriptor instead.

func (CulpritActionType) Number

func (CulpritActionType) String

func (x CulpritActionType) String() string

func (CulpritActionType) Type

type CulpritInactionReason

type CulpritInactionReason int32

CulpritInactionReason encapsulates common reasons for why culprits found by LUCI Bisection may not have resulted in any perceivable actions.

const (
	CulpritInactionReason_CULPRIT_INACTION_REASON_UNSPECIFIED CulpritInactionReason = 0
	// The culprit has been reverted by LUCI Bisection.
	CulpritInactionReason_REVERTED_BY_BISECTION CulpritInactionReason = 1
	// The culprit has been reverted, but not by LUCI Bisection.
	CulpritInactionReason_REVERTED_MANUALLY CulpritInactionReason = 2
	// The culprit has an existing revert, yet to be merged, created by
	// LUCI Bisection.
	CulpritInactionReason_REVERT_OWNED_BY_BISECTION CulpritInactionReason = 3
	// The culprit's existing revert already has a comment from LUCI Bisection.
	CulpritInactionReason_REVERT_HAS_COMMENT CulpritInactionReason = 4
	// The culprit already has a comment from LUCI Bisection.
	CulpritInactionReason_CULPRIT_HAS_COMMENT CulpritInactionReason = 5
	// The analysis that resulted in the culprit has been canceled.
	CulpritInactionReason_ANALYSIS_CANCELED CulpritInactionReason = 6
	// Culprit actions have been disabled via configs.
	CulpritInactionReason_ACTIONS_DISABLED CulpritInactionReason = 7
	// The test being analysed is no longer having unexpected status.
	CulpritInactionReason_TEST_NO_LONGER_UNEXPECTED CulpritInactionReason = 8
)

func (CulpritInactionReason) Descriptor

func (CulpritInactionReason) Enum

func (CulpritInactionReason) EnumDescriptor deprecated

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

Deprecated: Use CulpritInactionReason.Descriptor instead.

func (CulpritInactionReason) Number

func (CulpritInactionReason) String

func (x CulpritInactionReason) String() string

func (CulpritInactionReason) Type

type DecoratedAnalyses

type DecoratedAnalyses struct {
	// Service is the service to decorate.
	Service AnalysesServer
	// 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 (*DecoratedAnalyses) BatchGetTestAnalyses

func (s *DecoratedAnalyses) BatchGetTestAnalyses(ctx context.Context, req *BatchGetTestAnalysesRequest) (rsp *BatchGetTestAnalysesResponse, err error)

func (*DecoratedAnalyses) GetAnalysis

func (s *DecoratedAnalyses) GetAnalysis(ctx context.Context, req *GetAnalysisRequest) (rsp *Analysis, err error)

func (*DecoratedAnalyses) GetTestAnalysis

func (s *DecoratedAnalyses) GetTestAnalysis(ctx context.Context, req *GetTestAnalysisRequest) (rsp *TestAnalysis, err error)

func (*DecoratedAnalyses) ListAnalyses

func (s *DecoratedAnalyses) ListAnalyses(ctx context.Context, req *ListAnalysesRequest) (rsp *ListAnalysesResponse, err error)

func (*DecoratedAnalyses) ListTestAnalyses

func (s *DecoratedAnalyses) ListTestAnalyses(ctx context.Context, req *ListTestAnalysesRequest) (rsp *ListTestAnalysesResponse, err error)

func (*DecoratedAnalyses) QueryAnalysis

func (s *DecoratedAnalyses) QueryAnalysis(ctx context.Context, req *QueryAnalysisRequest) (rsp *QueryAnalysisResponse, err error)

func (*DecoratedAnalyses) TriggerAnalysis

func (s *DecoratedAnalyses) TriggerAnalysis(ctx context.Context, req *TriggerAnalysisRequest) (rsp *TriggerAnalysisResponse, err error)

func (*DecoratedAnalyses) UpdateAnalysis

func (s *DecoratedAnalyses) UpdateAnalysis(ctx context.Context, req *UpdateAnalysisRequest) (rsp *Analysis, err error)

type DecoratedBotUpdates

type DecoratedBotUpdates struct {
	// Service is the service to decorate.
	Service BotUpdatesServer
	// 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 (*DecoratedBotUpdates) UpdateAnalysisProgress

func (*DecoratedBotUpdates) UpdateTestAnalysisProgress

type Dimension

type Dimension struct {

	// Key, e.g. "os".
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value, e.g. "Ubuntu".
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Represent one dimension requested to buildbucket.

func (*Dimension) Descriptor deprecated

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

Deprecated: Use Dimension.ProtoReflect.Descriptor instead.

func (*Dimension) GetKey

func (x *Dimension) GetKey() string

func (*Dimension) GetValue

func (x *Dimension) GetValue() string

func (*Dimension) ProtoMessage

func (*Dimension) ProtoMessage()

func (*Dimension) ProtoReflect

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

func (*Dimension) Reset

func (x *Dimension) Reset()

func (*Dimension) String

func (x *Dimension) String() string

type Dimensions

type Dimensions struct {

	// List of dimensions, ordered by key ascendingly.
	Dimensions []*Dimension `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// contains filtered or unexported fields
}

Represents dimensions requested to buildbucket.

func (*Dimensions) Descriptor deprecated

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

Deprecated: Use Dimensions.ProtoReflect.Descriptor instead.

func (*Dimensions) GetDimensions

func (x *Dimensions) GetDimensions() []*Dimension

func (*Dimensions) ProtoMessage

func (*Dimensions) ProtoMessage()

func (*Dimensions) ProtoReflect

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

func (*Dimensions) Reset

func (x *Dimensions) Reset()

func (*Dimensions) String

func (x *Dimensions) String() string

type GetAnalysisRequest

type GetAnalysisRequest struct {

	// ID of the analysis.
	AnalysisId int64 `protobuf:"varint,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAnalysisRequest) Descriptor deprecated

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

Deprecated: Use GetAnalysisRequest.ProtoReflect.Descriptor instead.

func (*GetAnalysisRequest) GetAnalysisId

func (x *GetAnalysisRequest) GetAnalysisId() int64

func (*GetAnalysisRequest) ProtoMessage

func (*GetAnalysisRequest) ProtoMessage()

func (*GetAnalysisRequest) ProtoReflect

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

func (*GetAnalysisRequest) Reset

func (x *GetAnalysisRequest) Reset()

func (*GetAnalysisRequest) String

func (x *GetAnalysisRequest) String() string

type GetTestAnalysisRequest

type GetTestAnalysisRequest struct {

	// ID of the analysis.
	AnalysisId int64 `protobuf:"varint,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	// The fields to be included in the response.
	// By default, all fields are included.
	Fields *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestAnalysisRequest) Descriptor deprecated

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

Deprecated: Use GetTestAnalysisRequest.ProtoReflect.Descriptor instead.

func (*GetTestAnalysisRequest) GetAnalysisId

func (x *GetTestAnalysisRequest) GetAnalysisId() int64

func (*GetTestAnalysisRequest) GetFields

func (*GetTestAnalysisRequest) ProtoMessage

func (*GetTestAnalysisRequest) ProtoMessage()

func (*GetTestAnalysisRequest) ProtoReflect

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

func (*GetTestAnalysisRequest) Reset

func (x *GetTestAnalysisRequest) Reset()

func (*GetTestAnalysisRequest) String

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

type HeuristicAnalysisResult struct {

	// The status of the heuristic analysis.
	Status AnalysisStatus `protobuf:"varint,1,opt,name=status,proto3,enum=luci.bisection.v1.AnalysisStatus" json:"status,omitempty"`
	// One or more suspects of the heuristic analysis.
	// This field exists only when status = FINISHED.
	Suspects []*HeuristicSuspect `protobuf:"bytes,2,rep,name=suspects,proto3" json:"suspects,omitempty"`
	// Start time of heuristic analysis.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End time of heuristic analysis.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*HeuristicAnalysisResult) Descriptor deprecated

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

Deprecated: Use HeuristicAnalysisResult.ProtoReflect.Descriptor instead.

func (*HeuristicAnalysisResult) GetEndTime

func (*HeuristicAnalysisResult) GetStartTime

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

func (*HeuristicAnalysisResult) GetStatus

func (x *HeuristicAnalysisResult) GetStatus() AnalysisStatus

func (*HeuristicAnalysisResult) GetSuspects

func (x *HeuristicAnalysisResult) GetSuspects() []*HeuristicSuspect

func (*HeuristicAnalysisResult) ProtoMessage

func (*HeuristicAnalysisResult) ProtoMessage()

func (*HeuristicAnalysisResult) ProtoReflect

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

func (*HeuristicAnalysisResult) Reset

func (x *HeuristicAnalysisResult) Reset()

func (*HeuristicAnalysisResult) String

func (x *HeuristicAnalysisResult) String() string

type HeuristicSuspect

type HeuristicSuspect struct {

	// A suspect revision of heuristic analysis.
	GitilesCommit *proto.GitilesCommit `protobuf:"bytes,1,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// Review URL for the suspect commit.
	ReviewUrl string `protobuf:"bytes,2,opt,name=reviewUrl,proto3" json:"reviewUrl,omitempty"`
	// Score is an integer representing the how confident we believe the suspect
	// is indeed the culprit.
	// A higher score means a stronger signal that the suspect is responsible for
	// a failure.
	Score int32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
	// The reason why heuristic analysis thinks the suspect caused a build
	// failure.
	Justification string `protobuf:"bytes,4,opt,name=justification,proto3" json:"justification,omitempty"`
	// Whether the suspect has been verified by the culprit verification
	// component.
	Verified bool `protobuf:"varint,5,opt,name=verified,proto3" json:"verified,omitempty"`
	// The level of confidence we have for the suspect.
	ConfidenceLevel SuspectConfidenceLevel `` /* 153-byte string literal not displayed */
	// Title of the review for the suspect commit.
	ReviewTitle string `protobuf:"bytes,7,opt,name=reviewTitle,proto3" json:"reviewTitle,omitempty"`
	// The details of suspect verification for the suspect.
	VerificationDetails *SuspectVerificationDetails `protobuf:"bytes,8,opt,name=verification_details,json=verificationDetails,proto3" json:"verification_details,omitempty"`
	// contains filtered or unexported fields
}

func (*HeuristicSuspect) Descriptor deprecated

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

Deprecated: Use HeuristicSuspect.ProtoReflect.Descriptor instead.

func (*HeuristicSuspect) GetConfidenceLevel

func (x *HeuristicSuspect) GetConfidenceLevel() SuspectConfidenceLevel

func (*HeuristicSuspect) GetGitilesCommit

func (x *HeuristicSuspect) GetGitilesCommit() *proto.GitilesCommit

func (*HeuristicSuspect) GetJustification

func (x *HeuristicSuspect) GetJustification() string

func (*HeuristicSuspect) GetReviewTitle

func (x *HeuristicSuspect) GetReviewTitle() string

func (*HeuristicSuspect) GetReviewUrl

func (x *HeuristicSuspect) GetReviewUrl() string

func (*HeuristicSuspect) GetScore

func (x *HeuristicSuspect) GetScore() int32

func (*HeuristicSuspect) GetVerificationDetails

func (x *HeuristicSuspect) GetVerificationDetails() *SuspectVerificationDetails

func (*HeuristicSuspect) GetVerified

func (x *HeuristicSuspect) GetVerified() bool

func (*HeuristicSuspect) ProtoMessage

func (*HeuristicSuspect) ProtoMessage()

func (*HeuristicSuspect) ProtoReflect

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

func (*HeuristicSuspect) Reset

func (x *HeuristicSuspect) Reset()

func (*HeuristicSuspect) String

func (x *HeuristicSuspect) String() string

type ListAnalysesRequest

type ListAnalysesRequest struct {

	// Optional. The maximum number of analyses to be returned in the response.
	// The service may return fewer than this value.
	// If unspecified, at most 50 analyses will be returned.
	// The maximum value is 200; values above 200 will be coerced to 200.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListAnalyses` call.
	// Provide this to retrieve the subsequent page.
	// When paginating, all other parameters provided to `ListAnalyses` must
	// match the call that provided the page token,
	// with the exception of page_size and page_token.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAnalysesRequest) Descriptor deprecated

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

Deprecated: Use ListAnalysesRequest.ProtoReflect.Descriptor instead.

func (*ListAnalysesRequest) GetPageSize

func (x *ListAnalysesRequest) GetPageSize() int32

func (*ListAnalysesRequest) GetPageToken

func (x *ListAnalysesRequest) GetPageToken() string

func (*ListAnalysesRequest) ProtoMessage

func (*ListAnalysesRequest) ProtoMessage()

func (*ListAnalysesRequest) ProtoReflect

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

func (*ListAnalysesRequest) Reset

func (x *ListAnalysesRequest) Reset()

func (*ListAnalysesRequest) String

func (x *ListAnalysesRequest) String() string

type ListAnalysesResponse

type ListAnalysesResponse struct {

	// The analyses corresponding to the ListAnalysesRequest.
	Analyses []*Analysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"`
	// The token to send as `page_token` to retrieve the next page of analyses.
	// 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 (*ListAnalysesResponse) Descriptor deprecated

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

Deprecated: Use ListAnalysesResponse.ProtoReflect.Descriptor instead.

func (*ListAnalysesResponse) GetAnalyses

func (x *ListAnalysesResponse) GetAnalyses() []*Analysis

func (*ListAnalysesResponse) GetNextPageToken

func (x *ListAnalysesResponse) GetNextPageToken() string

func (*ListAnalysesResponse) ProtoMessage

func (*ListAnalysesResponse) ProtoMessage()

func (*ListAnalysesResponse) ProtoReflect

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

func (*ListAnalysesResponse) Reset

func (x *ListAnalysesResponse) Reset()

func (*ListAnalysesResponse) String

func (x *ListAnalysesResponse) String() string

type ListTestAnalysesRequest

type ListTestAnalysesRequest struct {

	// The project that the test analyses belong to.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Optional. The maximum number of analyses to be returned in the response.
	// The service may return fewer than this value.
	// If unspecified, at most 50 analyses will be returned.
	// The maximum value is 200; values above 200 will be coerced to 200.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListTestAnalyses` call.
	// Provide this to retrieve the subsequent page.
	// When paginating, all other parameters provided to `ListTestAnalyses` must
	// match the call that provided the page token,
	// with the exception of page_size and page_token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The fields to be included in the response.
	// By default, all fields are included.
	Fields *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTestAnalysesRequest) Descriptor deprecated

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

Deprecated: Use ListTestAnalysesRequest.ProtoReflect.Descriptor instead.

func (*ListTestAnalysesRequest) GetFields

func (*ListTestAnalysesRequest) GetPageSize

func (x *ListTestAnalysesRequest) GetPageSize() int32

func (*ListTestAnalysesRequest) GetPageToken

func (x *ListTestAnalysesRequest) GetPageToken() string

func (*ListTestAnalysesRequest) GetProject

func (x *ListTestAnalysesRequest) GetProject() string

func (*ListTestAnalysesRequest) ProtoMessage

func (*ListTestAnalysesRequest) ProtoMessage()

func (*ListTestAnalysesRequest) ProtoReflect

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

func (*ListTestAnalysesRequest) Reset

func (x *ListTestAnalysesRequest) Reset()

func (*ListTestAnalysesRequest) String

func (x *ListTestAnalysesRequest) String() string

type ListTestAnalysesResponse

type ListTestAnalysesResponse struct {

	// The test analyses corresponding to the ListTestAnalysesRequest.
	Analyses []*TestAnalysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"`
	// The token to send as `page_token` to retrieve the next page of analyses.
	// 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 (*ListTestAnalysesResponse) Descriptor deprecated

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

Deprecated: Use ListTestAnalysesResponse.ProtoReflect.Descriptor instead.

func (*ListTestAnalysesResponse) GetAnalyses

func (x *ListTestAnalysesResponse) GetAnalyses() []*TestAnalysis

func (*ListTestAnalysesResponse) GetNextPageToken

func (x *ListTestAnalysesResponse) GetNextPageToken() string

func (*ListTestAnalysesResponse) ProtoMessage

func (*ListTestAnalysesResponse) ProtoMessage()

func (*ListTestAnalysesResponse) ProtoReflect

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

func (*ListTestAnalysesResponse) Reset

func (x *ListTestAnalysesResponse) Reset()

func (*ListTestAnalysesResponse) String

func (x *ListTestAnalysesResponse) String() string

type MonorailBugInfo

type MonorailBugInfo struct {

	// The project of the bug, e.g. "chromium".
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Monorail bug ID.
	BugId int32 `protobuf:"varint,2,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MonorailBugInfo) Descriptor deprecated

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

Deprecated: Use MonorailBugInfo.ProtoReflect.Descriptor instead.

func (*MonorailBugInfo) GetBugId

func (x *MonorailBugInfo) GetBugId() int32

func (*MonorailBugInfo) GetProject

func (x *MonorailBugInfo) GetProject() string

func (*MonorailBugInfo) ProtoMessage

func (*MonorailBugInfo) ProtoMessage()

func (*MonorailBugInfo) ProtoReflect

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

func (*MonorailBugInfo) Reset

func (x *MonorailBugInfo) Reset()

func (*MonorailBugInfo) String

func (x *MonorailBugInfo) String() string

type NthSectionAnalysisResult

type NthSectionAnalysisResult struct {

	// The status of the nth-section analysis.
	Status AnalysisStatus `protobuf:"varint,1,opt,name=status,proto3,enum=luci.bisection.v1.AnalysisStatus" json:"status,omitempty"`
	// Timestamp for the start time of the nth-section analysis.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp for the last updated time of the nth-section analysis.
	LastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	// Timestamp for the end time of the nth-section analysis.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Optional, when status = FOUND. Whether the culprit has been verified.
	Verified bool `protobuf:"varint,5,opt,name=verified,proto3" json:"verified,omitempty"`
	// Optional, when status = RUNNING. This is the possible commit range of the
	// culprit. This will be updated as the nth-section progress.
	RemainingNthSectionRange *RegressionRange `` /* 137-byte string literal not displayed */
	// Optional, when status = ERROR. The error message.
	ErrorMessage string `protobuf:"bytes,7,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// List of the reruns that have been run so far for the nth-section analysis.
	// This is useful to analyse the nth-section progress.
	// The runs are sorted by the start timestamp.
	Reruns []*SingleRerun `protobuf:"bytes,8,rep,name=reruns,proto3" json:"reruns,omitempty"`
	// The blame list of commits to run the nth-section analysis on.
	// The commits are sorted by recency, with the most recent commit first.
	BlameList *BlameList `protobuf:"bytes,9,opt,name=blameList,proto3" json:"blameList,omitempty"`
	// Optional, when nth-section has found a suspect.
	Suspect *NthSectionSuspect `protobuf:"bytes,10,opt,name=suspect,proto3" json:"suspect,omitempty"`
	// contains filtered or unexported fields
}

func (*NthSectionAnalysisResult) Descriptor deprecated

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

Deprecated: Use NthSectionAnalysisResult.ProtoReflect.Descriptor instead.

func (*NthSectionAnalysisResult) GetBlameList

func (x *NthSectionAnalysisResult) GetBlameList() *BlameList

func (*NthSectionAnalysisResult) GetEndTime

func (*NthSectionAnalysisResult) GetErrorMessage

func (x *NthSectionAnalysisResult) GetErrorMessage() string

func (*NthSectionAnalysisResult) GetLastUpdatedTime

func (x *NthSectionAnalysisResult) GetLastUpdatedTime() *timestamppb.Timestamp

func (*NthSectionAnalysisResult) GetRemainingNthSectionRange

func (x *NthSectionAnalysisResult) GetRemainingNthSectionRange() *RegressionRange

func (*NthSectionAnalysisResult) GetReruns

func (x *NthSectionAnalysisResult) GetReruns() []*SingleRerun

func (*NthSectionAnalysisResult) GetStartTime

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

func (*NthSectionAnalysisResult) GetStatus

func (*NthSectionAnalysisResult) GetSuspect

func (*NthSectionAnalysisResult) GetVerified

func (x *NthSectionAnalysisResult) GetVerified() bool

func (*NthSectionAnalysisResult) ProtoMessage

func (*NthSectionAnalysisResult) ProtoMessage()

func (*NthSectionAnalysisResult) ProtoReflect

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

func (*NthSectionAnalysisResult) Reset

func (x *NthSectionAnalysisResult) Reset()

func (*NthSectionAnalysisResult) String

func (x *NthSectionAnalysisResult) String() string

type NthSectionSuspect

type NthSectionSuspect struct {

	// A suspect revision of nth-section analysis.
	// Deprecating: use commit instead.
	// TODO(beining@): remove this field when frontend switch to use commit field.
	GitilesCommit *proto.GitilesCommit `protobuf:"bytes,1,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// Review URL for the commit.
	ReviewUrl string `protobuf:"bytes,2,opt,name=reviewUrl,proto3" json:"reviewUrl,omitempty"`
	// Title of the review for the commit.
	ReviewTitle string `protobuf:"bytes,3,opt,name=reviewTitle,proto3" json:"reviewTitle,omitempty"`
	// The details of suspect verification for the suspect.
	VerificationDetails *SuspectVerificationDetails `protobuf:"bytes,4,opt,name=verification_details,json=verificationDetails,proto3" json:"verification_details,omitempty"`
	// A suspect revision of nth-section analysis.
	Commit *proto.GitilesCommit `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*NthSectionSuspect) Descriptor deprecated

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

Deprecated: Use NthSectionSuspect.ProtoReflect.Descriptor instead.

func (*NthSectionSuspect) GetCommit

func (x *NthSectionSuspect) GetCommit() *proto.GitilesCommit

func (*NthSectionSuspect) GetGitilesCommit

func (x *NthSectionSuspect) GetGitilesCommit() *proto.GitilesCommit

func (*NthSectionSuspect) GetReviewTitle

func (x *NthSectionSuspect) GetReviewTitle() string

func (*NthSectionSuspect) GetReviewUrl

func (x *NthSectionSuspect) GetReviewUrl() string

func (*NthSectionSuspect) GetVerificationDetails

func (x *NthSectionSuspect) GetVerificationDetails() *SuspectVerificationDetails

func (*NthSectionSuspect) ProtoMessage

func (*NthSectionSuspect) ProtoMessage()

func (*NthSectionSuspect) ProtoReflect

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

func (*NthSectionSuspect) Reset

func (x *NthSectionSuspect) Reset()

func (*NthSectionSuspect) String

func (x *NthSectionSuspect) String() string

type QueryAnalysisRequest

type QueryAnalysisRequest struct {

	// The build failure information to query for the analyses.
	BuildFailure *BuildFailure `protobuf:"bytes,1,opt,name=build_failure,json=buildFailure,proto3" json:"build_failure,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAnalysisRequest) Descriptor deprecated

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

Deprecated: Use QueryAnalysisRequest.ProtoReflect.Descriptor instead.

func (*QueryAnalysisRequest) GetBuildFailure

func (x *QueryAnalysisRequest) GetBuildFailure() *BuildFailure

func (*QueryAnalysisRequest) ProtoMessage

func (*QueryAnalysisRequest) ProtoMessage()

func (*QueryAnalysisRequest) ProtoReflect

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

func (*QueryAnalysisRequest) Reset

func (x *QueryAnalysisRequest) Reset()

func (*QueryAnalysisRequest) String

func (x *QueryAnalysisRequest) String() string

type QueryAnalysisResponse

type QueryAnalysisResponse struct {

	// The analyses corresponding to the QueryAnalysisRequest.
	Analyses []*Analysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAnalysisResponse) Descriptor deprecated

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

Deprecated: Use QueryAnalysisResponse.ProtoReflect.Descriptor instead.

func (*QueryAnalysisResponse) GetAnalyses

func (x *QueryAnalysisResponse) GetAnalyses() []*Analysis

func (*QueryAnalysisResponse) ProtoMessage

func (*QueryAnalysisResponse) ProtoMessage()

func (*QueryAnalysisResponse) ProtoReflect

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

func (*QueryAnalysisResponse) Reset

func (x *QueryAnalysisResponse) Reset()

func (*QueryAnalysisResponse) String

func (x *QueryAnalysisResponse) String() string

type RegressionRange

type RegressionRange struct {

	// The commit that is the latest known to pass.
	LastPassed *proto.GitilesCommit `protobuf:"bytes,1,opt,name=last_passed,json=lastPassed,proto3" json:"last_passed,omitempty"`
	// The commit that is the earliest known to fail.
	FirstFailed *proto.GitilesCommit `protobuf:"bytes,2,opt,name=first_failed,json=firstFailed,proto3" json:"first_failed,omitempty"`
	// How many revisions between last passed (exclusively) and first failed
	// (inclusively).
	NumberOfRevisions int32 `protobuf:"varint,3,opt,name=number_of_revisions,json=numberOfRevisions,proto3" json:"number_of_revisions,omitempty"`
	// contains filtered or unexported fields
}

func (*RegressionRange) Descriptor deprecated

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

Deprecated: Use RegressionRange.ProtoReflect.Descriptor instead.

func (*RegressionRange) GetFirstFailed

func (x *RegressionRange) GetFirstFailed() *proto.GitilesCommit

func (*RegressionRange) GetLastPassed

func (x *RegressionRange) GetLastPassed() *proto.GitilesCommit

func (*RegressionRange) GetNumberOfRevisions

func (x *RegressionRange) GetNumberOfRevisions() int32

func (*RegressionRange) ProtoMessage

func (*RegressionRange) ProtoMessage()

func (*RegressionRange) ProtoReflect

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

func (*RegressionRange) Reset

func (x *RegressionRange) Reset()

func (*RegressionRange) String

func (x *RegressionRange) String() string

type RerunResult

type RerunResult struct {

	// Status of the rerun.
	RerunStatus RerunStatus `` /* 130-byte string literal not displayed */
	// Error message, in case of FAILED or INFRA_FAILED status.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

RerunResult contains the result of one rerun. It is for the bots to update result back to LUCI Bisection.

func (*RerunResult) Descriptor deprecated

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

Deprecated: Use RerunResult.ProtoReflect.Descriptor instead.

func (*RerunResult) GetErrorMessage

func (x *RerunResult) GetErrorMessage() string

func (*RerunResult) GetRerunStatus

func (x *RerunResult) GetRerunStatus() RerunStatus

func (*RerunResult) ProtoMessage

func (*RerunResult) ProtoMessage()

func (*RerunResult) ProtoReflect

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

func (*RerunResult) Reset

func (x *RerunResult) Reset()

func (*RerunResult) String

func (x *RerunResult) String() string

type RerunStatus

type RerunStatus int32
const (
	RerunStatus_RERUN_STATUS_UNSPECIFIED RerunStatus = 0
	// The rerun is in progress.
	// It may be scheduled or started, but not finished yet.
	RerunStatus_RERUN_STATUS_IN_PROGRESS RerunStatus = 1
	// For compile failure, it means the rerun succeeded.
	// For deterministic test failure, it means that the primary test failure
	// got expected result.
	RerunStatus_RERUN_STATUS_PASSED RerunStatus = 2
	// For compile failure, it means the compile was unsuccessful.
	// For deterministic test failure, it means that the primary test failure
	// got unexpected result.
	RerunStatus_RERUN_STATUS_FAILED RerunStatus = 3
	// The rerun ended with infra failure.
	// It means we will not know which direction to continue the bisection.
	// This case usually mean that the bisection will not be able to
	// find culprit.
	RerunStatus_RERUN_STATUS_INFRA_FAILED RerunStatus = 4
	// The rerun was canceled.
	RerunStatus_RERUN_STATUS_CANCELED RerunStatus = 5
	// Only used for test failure rerun.
	// The rerun ended, but the primary test failure was not run.
	// It usually means that we won't be able to continue the bisection.
	RerunStatus_RERUN_STATUS_TEST_SKIPPED RerunStatus = 6
)

func (RerunStatus) Descriptor

func (RerunStatus) Enum

func (x RerunStatus) Enum() *RerunStatus

func (RerunStatus) EnumDescriptor deprecated

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

Deprecated: Use RerunStatus.Descriptor instead.

func (RerunStatus) Number

func (x RerunStatus) Number() protoreflect.EnumNumber

func (RerunStatus) String

func (x RerunStatus) String() string

func (RerunStatus) Type

type RerunTestResults

type RerunTestResults struct {
	Results []*RerunTestSingleResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// Status of the rerun.
	RerunStatus RerunStatus `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RerunTestResults) Descriptor deprecated

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

Deprecated: Use RerunTestResults.ProtoReflect.Descriptor instead.

func (*RerunTestResults) GetRerunStatus

func (x *RerunTestResults) GetRerunStatus() RerunStatus

func (*RerunTestResults) GetResults

func (x *RerunTestResults) GetResults() []*RerunTestSingleResult

func (*RerunTestResults) ProtoMessage

func (*RerunTestResults) ProtoMessage()

func (*RerunTestResults) ProtoReflect

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

func (*RerunTestResults) Reset

func (x *RerunTestResults) Reset()

func (*RerunTestResults) String

func (x *RerunTestResults) String() string

type RerunTestSingleResult

type RerunTestSingleResult struct {

	// Test ID of the result.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Variant hash of the result.
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Number of expected results.
	ExpectedCount int64 `protobuf:"varint,3,opt,name=expected_count,json=expectedCount,proto3" json:"expected_count,omitempty"`
	// Number of unexpected results.
	UnexpectedCount int64 `protobuf:"varint,4,opt,name=unexpected_count,json=unexpectedCount,proto3" json:"unexpected_count,omitempty"`
	// contains filtered or unexported fields
}

func (*RerunTestSingleResult) Descriptor deprecated

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

Deprecated: Use RerunTestSingleResult.ProtoReflect.Descriptor instead.

func (*RerunTestSingleResult) GetExpectedCount

func (x *RerunTestSingleResult) GetExpectedCount() int64

func (*RerunTestSingleResult) GetTestId

func (x *RerunTestSingleResult) GetTestId() string

func (*RerunTestSingleResult) GetUnexpectedCount

func (x *RerunTestSingleResult) GetUnexpectedCount() int64

func (*RerunTestSingleResult) GetVariantHash

func (x *RerunTestSingleResult) GetVariantHash() string

func (*RerunTestSingleResult) ProtoMessage

func (*RerunTestSingleResult) ProtoMessage()

func (*RerunTestSingleResult) ProtoReflect

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

func (*RerunTestSingleResult) Reset

func (x *RerunTestSingleResult) Reset()

func (*RerunTestSingleResult) String

func (x *RerunTestSingleResult) String() string

type SingleRerun

type SingleRerun struct {

	// Timestamp for the created time of the rerun.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp for the last updated time of the rerun.
	LastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	// Timestamp for the end time of the rerun.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Buildbucket ID of the rerun build.
	Bbid int64 `protobuf:"varint,4,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// Task ID of the rerun.
	TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// ID of the bot.
	BotId string `protobuf:"bytes,6,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// Result of the rerun.
	RerunResult *RerunResult `protobuf:"bytes,7,opt,name=rerun_result,json=rerunResult,proto3" json:"rerun_result,omitempty"`
	// Gitiles commit to do the rerun with.
	Commit *proto.GitilesCommit `protobuf:"bytes,8,opt,name=commit,proto3" json:"commit,omitempty"`
	// Index of the commit to rerun within the blamelist, if this is an
	// nth-section rerun. We need to use a string instead of an int here because
	// 0 is a possible valid value but would get lost due to the "omitempty" flag
	// in the generated proto.
	Index string `protobuf:"bytes,9,opt,name=index,proto3" json:"index,omitempty"`
	// Type of rerun: either "Culprit Verification" or "NthSection".
	Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

SingleRerun contains information about a single rerun. The same bot may be reused for multiple rerun (to speed up compilation time).

func (*SingleRerun) Descriptor deprecated

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

Deprecated: Use SingleRerun.ProtoReflect.Descriptor instead.

func (*SingleRerun) GetBbid

func (x *SingleRerun) GetBbid() int64

func (*SingleRerun) GetBotId

func (x *SingleRerun) GetBotId() string

func (*SingleRerun) GetCommit

func (x *SingleRerun) GetCommit() *proto.GitilesCommit

func (*SingleRerun) GetEndTime

func (x *SingleRerun) GetEndTime() *timestamppb.Timestamp

func (*SingleRerun) GetIndex

func (x *SingleRerun) GetIndex() string

func (*SingleRerun) GetLastUpdatedTime

func (x *SingleRerun) GetLastUpdatedTime() *timestamppb.Timestamp

func (*SingleRerun) GetRerunResult

func (x *SingleRerun) GetRerunResult() *RerunResult

func (*SingleRerun) GetStartTime

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

func (*SingleRerun) GetTaskId

func (x *SingleRerun) GetTaskId() string

func (*SingleRerun) GetType

func (x *SingleRerun) GetType() string

func (*SingleRerun) ProtoMessage

func (*SingleRerun) ProtoMessage()

func (*SingleRerun) ProtoReflect

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

func (*SingleRerun) Reset

func (x *SingleRerun) Reset()

func (*SingleRerun) String

func (x *SingleRerun) String() string

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 SuspectConfidenceLevel

type SuspectConfidenceLevel int32
const (
	SuspectConfidenceLevel_SUSPECT_CONFIDENCE_LEVEL_UNSPECIFIED SuspectConfidenceLevel = 0
	SuspectConfidenceLevel_LOW                                  SuspectConfidenceLevel = 1
	SuspectConfidenceLevel_MEDIUM                               SuspectConfidenceLevel = 2
	SuspectConfidenceLevel_HIGH                                 SuspectConfidenceLevel = 3
)

func (SuspectConfidenceLevel) Descriptor

func (SuspectConfidenceLevel) Enum

func (SuspectConfidenceLevel) EnumDescriptor deprecated

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

Deprecated: Use SuspectConfidenceLevel.Descriptor instead.

func (SuspectConfidenceLevel) Number

func (SuspectConfidenceLevel) String

func (x SuspectConfidenceLevel) String() string

func (SuspectConfidenceLevel) Type

type SuspectVerificationDetails

type SuspectVerificationDetails struct {

	// The status of the suspect verification.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The verification rerun build for the suspect commit.
	SuspectRerun *SingleRerun `protobuf:"bytes,2,opt,name=suspect_rerun,json=suspectRerun,proto3" json:"suspect_rerun,omitempty"`
	// The verification rerun build for the parent commit of the suspect.
	ParentRerun *SingleRerun `protobuf:"bytes,3,opt,name=parent_rerun,json=parentRerun,proto3" json:"parent_rerun,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspectVerificationDetails) Descriptor deprecated

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

Deprecated: Use SuspectVerificationDetails.ProtoReflect.Descriptor instead.

func (*SuspectVerificationDetails) GetParentRerun

func (x *SuspectVerificationDetails) GetParentRerun() *SingleRerun

func (*SuspectVerificationDetails) GetStatus

func (x *SuspectVerificationDetails) GetStatus() string

func (*SuspectVerificationDetails) GetSuspectRerun

func (x *SuspectVerificationDetails) GetSuspectRerun() *SingleRerun

func (*SuspectVerificationDetails) ProtoMessage

func (*SuspectVerificationDetails) ProtoMessage()

func (*SuspectVerificationDetails) ProtoReflect

func (*SuspectVerificationDetails) Reset

func (x *SuspectVerificationDetails) Reset()

func (*SuspectVerificationDetails) String

func (x *SuspectVerificationDetails) String() string

type SuspectVerificationStatus

type SuspectVerificationStatus int32
const (
	SuspectVerificationStatus_SUSPECT_VERIFICATION_STATUS_UNSPECIFIED SuspectVerificationStatus = 0
	SuspectVerificationStatus_UNVERIFIED                              SuspectVerificationStatus = 1
	SuspectVerificationStatus_VERIFICATION_SCHEDULED                  SuspectVerificationStatus = 2
	SuspectVerificationStatus_UNDER_VERIFICATION                      SuspectVerificationStatus = 3
	SuspectVerificationStatus_CONFIRMED_CULPRIT                       SuspectVerificationStatus = 4
	SuspectVerificationStatus_VINDICATED                              SuspectVerificationStatus = 5
	SuspectVerificationStatus_VERIFICATION_ERROR                      SuspectVerificationStatus = 6
	SuspectVerificationStatus_VERIFICATION_CANCELED                   SuspectVerificationStatus = 7
)

func (SuspectVerificationStatus) Descriptor

func (SuspectVerificationStatus) Enum

func (SuspectVerificationStatus) EnumDescriptor deprecated

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

Deprecated: Use SuspectVerificationStatus.Descriptor instead.

func (SuspectVerificationStatus) Number

func (SuspectVerificationStatus) String

func (x SuspectVerificationStatus) String() string

func (SuspectVerificationStatus) Type

type TestAnalysis

type TestAnalysis struct {

	// ID to identify this analysis.
	AnalysisId int64 `protobuf:"varint,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	// Timestamp for the create time of the analysis.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Timestamp for the start time of the analysis.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp for the end time of the analysis.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Result status of the analysis.
	Status AnalysisStatus `protobuf:"varint,5,opt,name=status,proto3,enum=luci.bisection.v1.AnalysisStatus" json:"status,omitempty"`
	// Run status of the analysis.
	RunStatus AnalysisRunStatus `` /* 130-byte string literal not displayed */
	// The verified culprit for the analysis.
	Culprit *TestCulprit `protobuf:"bytes,7,opt,name=culprit,proto3" json:"culprit,omitempty"`
	// The builder that the analysis analyzed.
	Builder *proto.BuilderID `protobuf:"bytes,8,opt,name=builder,proto3" json:"builder,omitempty"`
	// Test failures that the analysis analyzed.
	// The first item will be the primary failure, followed by other failures.
	// Bisection process will follow the path of the primary test failure.
	TestFailures []*TestFailure `protobuf:"bytes,9,rep,name=test_failures,json=testFailures,proto3" json:"test_failures,omitempty"`
	// The start commit of the regression range (exclusive).
	StartCommit *proto.GitilesCommit `protobuf:"bytes,10,opt,name=start_commit,json=startCommit,proto3" json:"start_commit,omitempty"`
	// The end commit of the regression range (inclusive).
	EndCommit *proto.GitilesCommit `protobuf:"bytes,11,opt,name=end_commit,json=endCommit,proto3" json:"end_commit,omitempty"`
	// Sample build bucket ID where the primary test failure failed.
	SampleBbid int64 `protobuf:"varint,14,opt,name=sample_bbid,json=sampleBbid,proto3" json:"sample_bbid,omitempty"`
	// Nthsection result.
	NthSectionResult *TestNthSectionAnalysisResult `protobuf:"bytes,15,opt,name=nth_section_result,json=nthSectionResult,proto3" json:"nth_section_result,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAnalysis) Descriptor deprecated

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

Deprecated: Use TestAnalysis.ProtoReflect.Descriptor instead.

func (*TestAnalysis) GetAnalysisId

func (x *TestAnalysis) GetAnalysisId() int64

func (*TestAnalysis) GetBuilder

func (x *TestAnalysis) GetBuilder() *proto.BuilderID

func (*TestAnalysis) GetCreatedTime

func (x *TestAnalysis) GetCreatedTime() *timestamppb.Timestamp

func (*TestAnalysis) GetCulprit

func (x *TestAnalysis) GetCulprit() *TestCulprit

func (*TestAnalysis) GetEndCommit

func (x *TestAnalysis) GetEndCommit() *proto.GitilesCommit

func (*TestAnalysis) GetEndTime

func (x *TestAnalysis) GetEndTime() *timestamppb.Timestamp

func (*TestAnalysis) GetNthSectionResult

func (x *TestAnalysis) GetNthSectionResult() *TestNthSectionAnalysisResult

func (*TestAnalysis) GetRunStatus

func (x *TestAnalysis) GetRunStatus() AnalysisRunStatus

func (*TestAnalysis) GetSampleBbid

func (x *TestAnalysis) GetSampleBbid() int64

func (*TestAnalysis) GetStartCommit

func (x *TestAnalysis) GetStartCommit() *proto.GitilesCommit

func (*TestAnalysis) GetStartTime

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

func (*TestAnalysis) GetStatus

func (x *TestAnalysis) GetStatus() AnalysisStatus

func (*TestAnalysis) GetTestFailures

func (x *TestAnalysis) GetTestFailures() []*TestFailure

func (*TestAnalysis) ProtoMessage

func (*TestAnalysis) ProtoMessage()

func (*TestAnalysis) ProtoReflect

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

func (*TestAnalysis) Reset

func (x *TestAnalysis) Reset()

func (*TestAnalysis) String

func (x *TestAnalysis) String() string

type TestCulprit

type TestCulprit struct {

	// The gitiles commit for the culprit.
	Commit *proto.GitilesCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// The review URL for the culprit.
	ReviewUrl string `protobuf:"bytes,2,opt,name=review_url,json=reviewUrl,proto3" json:"review_url,omitempty"`
	// The review title for the culprit.
	ReviewTitle string `protobuf:"bytes,3,opt,name=review_title,json=reviewTitle,proto3" json:"review_title,omitempty"`
	// Actions we have taken with the culprit.
	// More than one action may be taken, for example, reverting the culprit and
	// commenting on the bug.
	CulpritAction []*CulpritAction `protobuf:"bytes,4,rep,name=culprit_action,json=culpritAction,proto3" json:"culprit_action,omitempty"`
	// The details of suspect verification for the culprit.
	VerificationDetails *TestSuspectVerificationDetails `protobuf:"bytes,5,opt,name=verification_details,json=verificationDetails,proto3" json:"verification_details,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCulprit) Descriptor deprecated

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

Deprecated: Use TestCulprit.ProtoReflect.Descriptor instead.

func (*TestCulprit) GetCommit

func (x *TestCulprit) GetCommit() *proto.GitilesCommit

func (*TestCulprit) GetCulpritAction

func (x *TestCulprit) GetCulpritAction() []*CulpritAction

func (*TestCulprit) GetReviewTitle

func (x *TestCulprit) GetReviewTitle() string

func (*TestCulprit) GetReviewUrl

func (x *TestCulprit) GetReviewUrl() string

func (*TestCulprit) GetVerificationDetails

func (x *TestCulprit) GetVerificationDetails() *TestSuspectVerificationDetails

func (*TestCulprit) ProtoMessage

func (*TestCulprit) ProtoMessage()

func (*TestCulprit) ProtoReflect

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

func (*TestCulprit) Reset

func (x *TestCulprit) Reset()

func (*TestCulprit) String

func (x *TestCulprit) String() string

type TestFailure

type TestFailure struct {

	// The ID of the test.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// The variant hash of the test.
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Hash to identify the branch in the source control.
	RefHash string `protobuf:"bytes,3,opt,name=ref_hash,json=refHash,proto3" json:"ref_hash,omitempty"`
	// The variant of the test.
	Variant *Variant `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	// Whether the test failure was diverged from the primary test failure
	// during the bisection process.
	IsDiverged bool `protobuf:"varint,5,opt,name=is_diverged,json=isDiverged,proto3" json:"is_diverged,omitempty"`
	// Whether the test failure is a primary failure or not.
	IsPrimary bool `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	// Start hour of the test failure.
	StartHour *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_hour,json=startHour,proto3" json:"start_hour,omitempty"`
	// The unexpected test result rate at the start position of the changepoint.
	StartUnexpectedResultRate float32 `` /* 142-byte string literal not displayed */
	// The unexpected test result rate at the end position of the changepoint.
	EndUnexpectedResultRate float32 `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestFailure) Descriptor deprecated

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

Deprecated: Use TestFailure.ProtoReflect.Descriptor instead.

func (*TestFailure) GetEndUnexpectedResultRate

func (x *TestFailure) GetEndUnexpectedResultRate() float32

func (*TestFailure) GetIsDiverged

func (x *TestFailure) GetIsDiverged() bool

func (*TestFailure) GetIsPrimary

func (x *TestFailure) GetIsPrimary() bool

func (*TestFailure) GetRefHash

func (x *TestFailure) GetRefHash() string

func (*TestFailure) GetStartHour

func (x *TestFailure) GetStartHour() *timestamppb.Timestamp

func (*TestFailure) GetStartUnexpectedResultRate

func (x *TestFailure) GetStartUnexpectedResultRate() float32

func (*TestFailure) GetTestId

func (x *TestFailure) GetTestId() string

func (*TestFailure) GetVariant

func (x *TestFailure) GetVariant() *Variant

func (*TestFailure) GetVariantHash

func (x *TestFailure) GetVariantHash() string

func (*TestFailure) ProtoMessage

func (*TestFailure) ProtoMessage()

func (*TestFailure) ProtoReflect

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

func (*TestFailure) Reset

func (x *TestFailure) Reset()

func (*TestFailure) String

func (x *TestFailure) String() string

type TestNthSectionAnalysisResult

type TestNthSectionAnalysisResult struct {

	// The status of the nth-section analysis.
	Status AnalysisStatus `protobuf:"varint,1,opt,name=status,proto3,enum=luci.bisection.v1.AnalysisStatus" json:"status,omitempty"`
	// The run status of the nth-section analysis.
	RunStatus AnalysisRunStatus `` /* 130-byte string literal not displayed */
	// Timestamp for the start time of the nth-section analysis.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp for the end time of the nth-section analysis.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Optional, when status = RUNNING. This is the possible commit range of the
	// culprit. This will be updated as the nth-section progress.
	// This will only be available if nthsection is still running (not ended).
	RemainingNthSectionRange *RegressionRange `` /* 137-byte string literal not displayed */
	// List of the reruns that have been run so far for the nth-section analysis.
	// The runs are sorted by the create timestamp.
	Reruns []*TestSingleRerun `protobuf:"bytes,6,rep,name=reruns,proto3" json:"reruns,omitempty"`
	// The blame list of commits to run the nth-section analysis on.
	// The commits are sorted by recency, with the most recent commit first.
	BlameList *BlameList `protobuf:"bytes,7,opt,name=blame_list,json=blameList,proto3" json:"blame_list,omitempty"`
	// Optional, when nth-section has found a culprit.
	Suspect *TestCulprit `protobuf:"bytes,8,opt,name=suspect,proto3" json:"suspect,omitempty"`
	// contains filtered or unexported fields
}

func (*TestNthSectionAnalysisResult) Descriptor deprecated

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

Deprecated: Use TestNthSectionAnalysisResult.ProtoReflect.Descriptor instead.

func (*TestNthSectionAnalysisResult) GetBlameList

func (x *TestNthSectionAnalysisResult) GetBlameList() *BlameList

func (*TestNthSectionAnalysisResult) GetEndTime

func (*TestNthSectionAnalysisResult) GetRemainingNthSectionRange

func (x *TestNthSectionAnalysisResult) GetRemainingNthSectionRange() *RegressionRange

func (*TestNthSectionAnalysisResult) GetReruns

func (*TestNthSectionAnalysisResult) GetRunStatus

func (*TestNthSectionAnalysisResult) GetStartTime

func (*TestNthSectionAnalysisResult) GetStatus

func (*TestNthSectionAnalysisResult) GetSuspect

func (x *TestNthSectionAnalysisResult) GetSuspect() *TestCulprit

func (*TestNthSectionAnalysisResult) ProtoMessage

func (*TestNthSectionAnalysisResult) ProtoMessage()

func (*TestNthSectionAnalysisResult) ProtoReflect

func (*TestNthSectionAnalysisResult) Reset

func (x *TestNthSectionAnalysisResult) Reset()

func (*TestNthSectionAnalysisResult) String

type TestResult

type TestResult struct {

	// Test ID of the test.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Variant hash of the test.
	VariantHash string `protobuf:"bytes,2,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
	// Whether the result is expected or not.
	IsExpected bool `protobuf:"varint,3,opt,name=is_expected,json=isExpected,proto3" json:"is_expected,omitempty"`
	// ResultDB status, e.g. PASSED, FAILED...
	Status TestResultStatus `protobuf:"varint,4,opt,name=status,proto3,enum=luci.bisection.v1.TestResultStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResult) Descriptor deprecated

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

Deprecated: Use TestResult.ProtoReflect.Descriptor instead.

func (*TestResult) GetIsExpected

func (x *TestResult) GetIsExpected() bool

func (*TestResult) GetStatus

func (x *TestResult) GetStatus() TestResultStatus

func (*TestResult) GetTestId

func (x *TestResult) GetTestId() string

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 TestResultStatus

type TestResultStatus int32

Status of a test result. It is a mirror of luci.resultdb.v1.TestStatus, but the right to evolve it independently is reserved.

const (
	// Status was not specified.
	// Not to be used in actual test results; serves as a default value for an
	// unset field.
	TestResultStatus_TEST_RESULT_STATUS_UNSPECIFIED TestResultStatus = 0
	// The test case has passed.
	TestResultStatus_PASS TestResultStatus = 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.
	TestResultStatus_FAIL TestResultStatus = 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.
	TestResultStatus_CRASH TestResultStatus = 3
	// The test case has started, but was aborted before finishing.
	// A common reason: timeout.
	TestResultStatus_ABORT TestResultStatus = 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.
	TestResultStatus_SKIP TestResultStatus = 5
)

func (TestResultStatus) Descriptor

func (TestResultStatus) Enum

func (TestResultStatus) EnumDescriptor deprecated

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

Deprecated: Use TestResultStatus.Descriptor instead.

func (TestResultStatus) Number

func (TestResultStatus) String

func (x TestResultStatus) String() string

func (TestResultStatus) Type

type TestSingleRerun

type TestSingleRerun struct {

	// Buildbucket ID of the rerun build.
	Bbid int64 `protobuf:"varint,1,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// Timestamp for the create time of the rerun.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Timestamp for the start time of the rerun.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp for the end time of the rerun.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Timestamp when the rerun send the result to bisection from recipe.
	ReportTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty"`
	// ID of the bot that runs the rerun.
	BotId string `protobuf:"bytes,6,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// Result of the rerun.
	RerunResult *RerunTestResults `protobuf:"bytes,7,opt,name=rerun_result,json=rerunResult,proto3" json:"rerun_result,omitempty"`
	// Gitiles commit to do the rerun with.
	Commit *proto.GitilesCommit `protobuf:"bytes,8,opt,name=commit,proto3" json:"commit,omitempty"`
	// Index of the commit to rerun within the blamelist, if this is an
	// nth-section rerun. We need to use a string instead of an int here because
	// 0 is a possible valid value but would get lost due to the "omitempty" flag
	// in the generated proto.
	// There is one case where the index is not populated (empty string). It is when
	// the culprit is the (last pass + 1) position, and this rerun is for parent commit
	// of the culprit verification. In such cases, the parent commit (last pass) is not found in the
	// blamelist (this blamelist is (last pass, first fail]). In such case, index will be "".
	Index string `protobuf:"bytes,9,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSingleRerun) Descriptor deprecated

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

Deprecated: Use TestSingleRerun.ProtoReflect.Descriptor instead.

func (*TestSingleRerun) GetBbid

func (x *TestSingleRerun) GetBbid() int64

func (*TestSingleRerun) GetBotId

func (x *TestSingleRerun) GetBotId() string

func (*TestSingleRerun) GetCommit

func (x *TestSingleRerun) GetCommit() *proto.GitilesCommit

func (*TestSingleRerun) GetCreateTime

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

func (*TestSingleRerun) GetEndTime

func (x *TestSingleRerun) GetEndTime() *timestamppb.Timestamp

func (*TestSingleRerun) GetIndex

func (x *TestSingleRerun) GetIndex() string

func (*TestSingleRerun) GetReportTime

func (x *TestSingleRerun) GetReportTime() *timestamppb.Timestamp

func (*TestSingleRerun) GetRerunResult

func (x *TestSingleRerun) GetRerunResult() *RerunTestResults

func (*TestSingleRerun) GetStartTime

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

func (*TestSingleRerun) ProtoMessage

func (*TestSingleRerun) ProtoMessage()

func (*TestSingleRerun) ProtoReflect

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

func (*TestSingleRerun) Reset

func (x *TestSingleRerun) Reset()

func (*TestSingleRerun) String

func (x *TestSingleRerun) String() string

type TestSuspectVerificationDetails

type TestSuspectVerificationDetails struct {

	// The status of the suspect verification.
	Status SuspectVerificationStatus `protobuf:"varint,1,opt,name=status,proto3,enum=luci.bisection.v1.SuspectVerificationStatus" json:"status,omitempty"`
	// The verification rerun build for the suspect commit.
	SuspectRerun *TestSingleRerun `protobuf:"bytes,2,opt,name=suspect_rerun,json=suspectRerun,proto3" json:"suspect_rerun,omitempty"`
	// The verification rerun build for the parent commit of the suspect.
	ParentRerun *TestSingleRerun `protobuf:"bytes,3,opt,name=parent_rerun,json=parentRerun,proto3" json:"parent_rerun,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuspectVerificationDetails) Descriptor deprecated

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

Deprecated: Use TestSuspectVerificationDetails.ProtoReflect.Descriptor instead.

func (*TestSuspectVerificationDetails) GetParentRerun

func (x *TestSuspectVerificationDetails) GetParentRerun() *TestSingleRerun

func (*TestSuspectVerificationDetails) GetStatus

func (*TestSuspectVerificationDetails) GetSuspectRerun

func (x *TestSuspectVerificationDetails) GetSuspectRerun() *TestSingleRerun

func (*TestSuspectVerificationDetails) ProtoMessage

func (*TestSuspectVerificationDetails) ProtoMessage()

func (*TestSuspectVerificationDetails) ProtoReflect

func (*TestSuspectVerificationDetails) Reset

func (x *TestSuspectVerificationDetails) Reset()

func (*TestSuspectVerificationDetails) String

type TestVerdictStatus

type TestVerdictStatus int32

Status of a test verdict. It is a mirror of luci.resultdb.v1.TestVariantStatus.

const (
	// a test verdict must not have this status.
	// This is only used when filtering verdicts.
	TestVerdictStatus_TEST_VERDICT_STATUS_UNSPECIFIED TestVerdictStatus = 0
	// The test verdict has no exonerations, and all results are unexpected.
	TestVerdictStatus_UNEXPECTED TestVerdictStatus = 10
	// The test verdict has no exonerations, and all results are unexpectedly skipped.
	TestVerdictStatus_UNEXPECTEDLY_SKIPPED TestVerdictStatus = 20
	// The test verdict has no exonerations, and has both expected and unexpected
	// results.
	TestVerdictStatus_FLAKY TestVerdictStatus = 30
	// The test verdict has one or more test exonerations.
	TestVerdictStatus_EXONERATED TestVerdictStatus = 40
	// The test verdict has no exonerations, and all results are expected.
	TestVerdictStatus_EXPECTED TestVerdictStatus = 50
)

func (TestVerdictStatus) Descriptor

func (TestVerdictStatus) Enum

func (TestVerdictStatus) EnumDescriptor deprecated

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

Deprecated: Use TestVerdictStatus.Descriptor instead.

func (TestVerdictStatus) Number

func (TestVerdictStatus) String

func (x TestVerdictStatus) String() string

func (TestVerdictStatus) Type

type TriggerAnalysisRequest

type TriggerAnalysisRequest struct {

	// Failure for which to trigger the analysis.
	BuildFailure *BuildFailure `protobuf:"bytes,1,opt,name=build_failure,json=buildFailure,proto3" json:"build_failure,omitempty"`
	// Optionally, the client can pass the bug associated with the failure.
	// LUCI Bisection will update the bug with analysis progress/result.
	// This is mainly for SoM, which has information about bugs associated
	// with a failure.
	BugInfo []*BugInfo `protobuf:"bytes,2,rep,name=bug_info,json=bugInfo,proto3" json:"bug_info,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerAnalysisRequest) Descriptor deprecated

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

Deprecated: Use TriggerAnalysisRequest.ProtoReflect.Descriptor instead.

func (*TriggerAnalysisRequest) GetBugInfo

func (x *TriggerAnalysisRequest) GetBugInfo() []*BugInfo

func (*TriggerAnalysisRequest) GetBuildFailure

func (x *TriggerAnalysisRequest) GetBuildFailure() *BuildFailure

func (*TriggerAnalysisRequest) ProtoMessage

func (*TriggerAnalysisRequest) ProtoMessage()

func (*TriggerAnalysisRequest) ProtoReflect

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

func (*TriggerAnalysisRequest) Reset

func (x *TriggerAnalysisRequest) Reset()

func (*TriggerAnalysisRequest) String

func (x *TriggerAnalysisRequest) String() string

type TriggerAnalysisResponse

type TriggerAnalysisResponse struct {

	// The analysis result corresponding to the request.
	// It is either a new analysis or an existing one.
	Result *Analysis `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// is_new_analysis will be set to true if a new analysis is triggered.
	// It will be set to false if an existing analysis is used instead.
	IsNewAnalysis bool `protobuf:"varint,2,opt,name=is_new_analysis,json=isNewAnalysis,proto3" json:"is_new_analysis,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerAnalysisResponse) Descriptor deprecated

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

Deprecated: Use TriggerAnalysisResponse.ProtoReflect.Descriptor instead.

func (*TriggerAnalysisResponse) GetIsNewAnalysis

func (x *TriggerAnalysisResponse) GetIsNewAnalysis() bool

func (*TriggerAnalysisResponse) GetResult

func (x *TriggerAnalysisResponse) GetResult() *Analysis

func (*TriggerAnalysisResponse) ProtoMessage

func (*TriggerAnalysisResponse) ProtoMessage()

func (*TriggerAnalysisResponse) ProtoReflect

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

func (*TriggerAnalysisResponse) Reset

func (x *TriggerAnalysisResponse) Reset()

func (*TriggerAnalysisResponse) String

func (x *TriggerAnalysisResponse) String() string

type UnimplementedAnalysesServer

type UnimplementedAnalysesServer struct {
}

UnimplementedAnalysesServer can be embedded to have forward compatible implementations.

func (*UnimplementedAnalysesServer) GetAnalysis

func (*UnimplementedAnalysesServer) GetTestAnalysis

func (*UnimplementedAnalysesServer) ListAnalyses

func (*UnimplementedAnalysesServer) ListTestAnalyses

func (*UnimplementedAnalysesServer) QueryAnalysis

func (*UnimplementedAnalysesServer) TriggerAnalysis

func (*UnimplementedAnalysesServer) UpdateAnalysis

type UnimplementedBotUpdatesServer

type UnimplementedBotUpdatesServer struct {
}

UnimplementedBotUpdatesServer can be embedded to have forward compatible implementations.

type UpdateAnalysisProgressRequest

type UpdateAnalysisProgressRequest struct {

	// The analysis that the bot ran.
	AnalysisId int64 `protobuf:"varint,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	// Bot ID.
	BotId string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// BuildbucketID of the rerun build.
	// We use this to determine which rerun build to map back.
	Bbid int64 `protobuf:"varint,3,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// The revision that the bot ran.
	GitilesCommit *proto.GitilesCommit `protobuf:"bytes,4,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// Result of the rerun.
	RerunResult *RerunResult `protobuf:"bytes,5,opt,name=rerun_result,json=rerunResult,proto3" json:"rerun_result,omitempty"`
	// contains filtered or unexported fields
}

RPC called from bots to update the analysis progress.

func (*UpdateAnalysisProgressRequest) Descriptor deprecated

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

Deprecated: Use UpdateAnalysisProgressRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnalysisProgressRequest) GetAnalysisId

func (x *UpdateAnalysisProgressRequest) GetAnalysisId() int64

func (*UpdateAnalysisProgressRequest) GetBbid

func (x *UpdateAnalysisProgressRequest) GetBbid() int64

func (*UpdateAnalysisProgressRequest) GetBotId

func (x *UpdateAnalysisProgressRequest) GetBotId() string

func (*UpdateAnalysisProgressRequest) GetGitilesCommit

func (x *UpdateAnalysisProgressRequest) GetGitilesCommit() *proto.GitilesCommit

func (*UpdateAnalysisProgressRequest) GetRerunResult

func (x *UpdateAnalysisProgressRequest) GetRerunResult() *RerunResult

func (*UpdateAnalysisProgressRequest) ProtoMessage

func (*UpdateAnalysisProgressRequest) ProtoMessage()

func (*UpdateAnalysisProgressRequest) ProtoReflect

func (*UpdateAnalysisProgressRequest) Reset

func (x *UpdateAnalysisProgressRequest) Reset()

func (*UpdateAnalysisProgressRequest) String

type UpdateAnalysisProgressResponse

type UpdateAnalysisProgressResponse struct {

	// The next revision for the bot to run.
	// This is because we can compile faster when the same bot runs
	// multiple revisions.
	// If this is not set, then there is no further revision to run.
	// The bot can finish and be released.
	NextRevisionToRun *proto.GitilesCommit `protobuf:"bytes,1,opt,name=next_revision_to_run,json=nextRevisionToRun,proto3" json:"next_revision_to_run,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAnalysisProgressResponse) Descriptor deprecated

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

Deprecated: Use UpdateAnalysisProgressResponse.ProtoReflect.Descriptor instead.

func (*UpdateAnalysisProgressResponse) GetNextRevisionToRun

func (x *UpdateAnalysisProgressResponse) GetNextRevisionToRun() *proto.GitilesCommit

func (*UpdateAnalysisProgressResponse) ProtoMessage

func (*UpdateAnalysisProgressResponse) ProtoMessage()

func (*UpdateAnalysisProgressResponse) ProtoReflect

func (*UpdateAnalysisProgressResponse) Reset

func (x *UpdateAnalysisProgressResponse) Reset()

func (*UpdateAnalysisProgressResponse) String

type UpdateAnalysisRequest

type UpdateAnalysisRequest struct {

	// ID of the analysis.
	AnalysisId string     `protobuf:"bytes,1,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
	BugInfo    []*BugInfo `protobuf:"bytes,2,rep,name=bug_info,json=bugInfo,proto3" json:"bug_info,omitempty"`
	// contains filtered or unexported fields
}

Update the information of an analysis, e.g. update the bugs associated with an analysis. LUCI Bisection will comment on the bug with analysis progress/results. Note: Existing bugs associated with the analysis will be replaced.

func (*UpdateAnalysisRequest) Descriptor deprecated

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

Deprecated: Use UpdateAnalysisRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnalysisRequest) GetAnalysisId

func (x *UpdateAnalysisRequest) GetAnalysisId() string

func (*UpdateAnalysisRequest) GetBugInfo

func (x *UpdateAnalysisRequest) GetBugInfo() []*BugInfo

func (*UpdateAnalysisRequest) ProtoMessage

func (*UpdateAnalysisRequest) ProtoMessage()

func (*UpdateAnalysisRequest) ProtoReflect

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

func (*UpdateAnalysisRequest) Reset

func (x *UpdateAnalysisRequest) Reset()

func (*UpdateAnalysisRequest) String

func (x *UpdateAnalysisRequest) String() string

type UpdateTestAnalysisProgressRequest

type UpdateTestAnalysisProgressRequest struct {

	// BuildbucketID of the rerun build.
	Bbid int64 `protobuf:"varint,1,opt,name=bbid,proto3" json:"bbid,omitempty"`
	// Bot ID.
	BotId string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// Contains the results of the tests that were run in the rerun.
	// Only the results of the requested tests (in tests_to_run properties of the recipe)
	// will be included. The non-requested test results will not be included.
	Results []*TestResult `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
	// Indicate whether the recipe has finished running tests and is sending back test results.
	// This flag does not care about the test results, it only care about the tests
	// were run and the test results being sent to LUCI Bisection.
	// In cases of infra failure, or something went wrong (e.g. compile failure),
	// tests may not get run. In such cases, this should be set to false.
	// When this is set to false, LUCI Bisection will mark the rerun as INFRA_FAILURE.
	RunSucceeded bool `protobuf:"varint,4,opt,name=run_succeeded,json=runSucceeded,proto3" json:"run_succeeded,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTestAnalysisProgressRequest) Descriptor deprecated

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

Deprecated: Use UpdateTestAnalysisProgressRequest.ProtoReflect.Descriptor instead.

func (*UpdateTestAnalysisProgressRequest) GetBbid

func (*UpdateTestAnalysisProgressRequest) GetBotId

func (*UpdateTestAnalysisProgressRequest) GetResults

func (x *UpdateTestAnalysisProgressRequest) GetResults() []*TestResult

func (*UpdateTestAnalysisProgressRequest) GetRunSucceeded

func (x *UpdateTestAnalysisProgressRequest) GetRunSucceeded() bool

func (*UpdateTestAnalysisProgressRequest) ProtoMessage

func (*UpdateTestAnalysisProgressRequest) ProtoMessage()

func (*UpdateTestAnalysisProgressRequest) ProtoReflect

func (*UpdateTestAnalysisProgressRequest) Reset

func (*UpdateTestAnalysisProgressRequest) String

type UpdateTestAnalysisProgressResponse

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

func (*UpdateTestAnalysisProgressResponse) Descriptor deprecated

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

Deprecated: Use UpdateTestAnalysisProgressResponse.ProtoReflect.Descriptor instead.

func (*UpdateTestAnalysisProgressResponse) ProtoMessage

func (*UpdateTestAnalysisProgressResponse) ProtoMessage()

func (*UpdateTestAnalysisProgressResponse) ProtoReflect

func (*UpdateTestAnalysisProgressResponse) Reset

func (*UpdateTestAnalysisProgressResponse) String

type Variant

type Variant struct {

	// The definition of the variant. Each key-value pair represents a
	// parameter describing how the test was run (e.g. OS, GPU, etc.).
	Def map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Variant represents a way of running 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.

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

Jump to

Keyboard shortcuts

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