eventlog

package
v0.0.0-...-678bb0e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package eventlog is a generated protocol buffer package.

It is generated from these files:

chrome_infra_log.proto
goma_stats.proto
log_request_lite.proto

It has these top-level messages:

CQEvent
CodeVersion
ServiceEvent
BuildEvent
InfraEventSource
TestResultsEvent
MachineProviderEvent
AnalyzeEvent
SwarmingTaskEvent
Binary
IsolateClientEvent
ChromeInfraEvent
RequestStats
CompilerProxyStats
CompilerInfoStats
GomaCompileStats
LocalCompileStats
FallbackInSetupStats
FileStats
OutputStats
MemoryStats
TimeStats
IncludeProcessorStats
IncludeCacheStats
DepsCacheStats
IncludeDirCacheStats
LocalOutputCacheStats
HttpRPCStats
GomaErrorStats
GomaMismatchStats
DistributionProto
GomaHistograms
MachineInfo
GomaStats
LogRequestLite

Index

Constants

View Source
const Default_SwarmingTaskEvent_InternalFailure bool = false

Variables

View Source
var AnalyzeEvent_AnalyzeResult_name = map[int32]string{
	0: "UNKNOWN",
	1: "ERROR",
	2: "NO_COMPILE_NECESSARY",
	3: "ALL_FILES_IGNORED",
	4: "MATCHED_EXCLUSION",
	5: "FOUND_DEPENDENCY",
	6: "FOUND_DEPENDENCY_ALL",
	7: "INVALID_TARGETS",
}
View Source
var AnalyzeEvent_AnalyzeResult_value = map[string]int32{
	"UNKNOWN":              0,
	"ERROR":                1,
	"NO_COMPILE_NECESSARY": 2,
	"ALL_FILES_IGNORED":    3,
	"MATCHED_EXCLUSION":    4,
	"FOUND_DEPENDENCY":     5,
	"FOUND_DEPENDENCY_ALL": 6,
	"INVALID_TARGETS":      7,
}
View Source
var BuildEvent_BuildEventType_name = map[int32]string{
	0: "SCHEDULER",
	1: "BUILD",
	2: "STEP",
}
View Source
var BuildEvent_BuildEventType_value = map[string]int32{
	"SCHEDULER": 0,
	"BUILD":     1,
	"STEP":      2,
}
View Source
var BuildEvent_BuildResult_name = map[int32]string{
	0: "UNKNOWN",
	1: "SUCCESS",
	2: "FAILURE",
	3: "INFRA_FAILURE",
	4: "WARNING",
	5: "SKIPPED",
	6: "RETRY",
}
View Source
var BuildEvent_BuildResult_value = map[string]int32{
	"UNKNOWN":       0,
	"SUCCESS":       1,
	"FAILURE":       2,
	"INFRA_FAILURE": 3,
	"WARNING":       4,
	"SKIPPED":       5,
	"RETRY":         6,
}
View Source
var BuildEvent_Category_name = map[int32]string{
	0: "CATEGORY_UNKNOWN",
	1: "CATEGORY_CQ",
	2: "CATEGORY_CQ_EXPERIMENTAL",
	3: "CATEGORY_GIT_CL_TRY",
}
View Source
var BuildEvent_Category_value = map[string]int32{
	"CATEGORY_UNKNOWN":         0,
	"CATEGORY_CQ":              1,
	"CATEGORY_CQ_EXPERIMENTAL": 2,
	"CATEGORY_GIT_CL_TRY":      3,
}
View Source
var BuildEvent_FailType_name = map[int32]string{
	0: "FAIL_TYPE_UNKNOWN",
	1: "FAIL_TYPE_INFRA",
	2: "FAIL_TYPE_COMPILE",
	3: "FAIL_TYPE_TEST",
	4: "FAIL_TYPE_INVALID",
	5: "FAIL_TYPE_PATCH",
}
View Source
var BuildEvent_FailType_value = map[string]int32{
	"FAIL_TYPE_UNKNOWN": 0,
	"FAIL_TYPE_INFRA":   1,
	"FAIL_TYPE_COMPILE": 2,
	"FAIL_TYPE_TEST":    3,
	"FAIL_TYPE_INVALID": 4,
	"FAIL_TYPE_PATCH":   5,
}
View Source
var BuildEvent_GomaErrorType_name = map[int32]string{
	0: "GOMA_ERROR_OK",
	1: "GOMA_ERROR_UNKNOWN",
	2: "GOMA_ERROR_CRASHED",
	3: "GOMA_ERROR_LOG_FATAL",
}
View Source
var BuildEvent_GomaErrorType_value = map[string]int32{
	"GOMA_ERROR_OK":        0,
	"GOMA_ERROR_UNKNOWN":   1,
	"GOMA_ERROR_CRASHED":   2,
	"GOMA_ERROR_LOG_FATAL": 3,
}
View Source
var CQEvent_Action_name = map[int32]string{
	0:  "UNKNOWN_ACTION",
	1:  "CQ_START",
	2:  "CQ_STOP",
	3:  "PATCH_COMMITTED",
	4:  "PATCH_COMMITTING",
	5:  "PATCH_FAILED",
	6:  "PATCH_READY_TO_COMMIT",
	7:  "PATCH_START",
	8:  "PATCH_STOP",
	9:  "PATCH_THROTTLED",
	10: "PATCH_TREE_CLOSED",
	11: "VERIFIER_CUSTOM_TRYBOTS",
	12: "VERIFIER_ERROR",
	13: "VERIFIER_FAIL",
	14: "VERIFIER_JOBS_UPDATE",
	15: "VERIFIER_PASS",
	16: "VERIFIER_RETRY",
	17: "VERIFIER_SKIP",
	18: "VERIFIER_START",
	19: "VERIFIER_TIMEOUT",
	20: "VERIFIER_TRIGGER",
	21: "VERIFIER_NOTRY",
}
View Source
var CQEvent_Action_value = map[string]int32{
	"UNKNOWN_ACTION":          0,
	"CQ_START":                1,
	"CQ_STOP":                 2,
	"PATCH_COMMITTED":         3,
	"PATCH_COMMITTING":        4,
	"PATCH_FAILED":            5,
	"PATCH_READY_TO_COMMIT":   6,
	"PATCH_START":             7,
	"PATCH_STOP":              8,
	"PATCH_THROTTLED":         9,
	"PATCH_TREE_CLOSED":       10,
	"VERIFIER_CUSTOM_TRYBOTS": 11,
	"VERIFIER_ERROR":          12,
	"VERIFIER_FAIL":           13,
	"VERIFIER_JOBS_UPDATE":    14,
	"VERIFIER_PASS":           15,
	"VERIFIER_RETRY":          16,
	"VERIFIER_SKIP":           17,
	"VERIFIER_START":          18,
	"VERIFIER_TIMEOUT":        19,
	"VERIFIER_TRIGGER":        20,
	"VERIFIER_NOTRY":          21,
}
View Source
var CQEvent_FailureReason_FailType_name = map[int32]string{
	0:  "UNKNOWN_FAIL_TYPE",
	1:  "FAILED_PRESUBMIT_BOT",
	17: "FAILED_PRESUBMIT_BOT_INFRA",
	2:  "FAILED_JOBS",
	3:  "RETRY_QUOTA_EXCEEDED",
	4:  "NOT_LGTM",
	5:  "MISSING_LGTM",
	6:  "NO_SIGNCLA",
	7:  "FAILED_SIGNCLA_REQUEST",
	8:  "MANUAL_CANCEL",
	9:  "COMMIT_FALSE",
	10: "OPEN_DEPENDENCY",
	11: "INVALID_DELIMITER",
	12: "FAILED_REMOTE_REF_PRESUBMIT",
	18: "FAILED_TO_TRIGGER_JOBS",
	19: "UNSUPPORTED_CQ_FEATURE",
	13: "FAILED_CHECKOUT",
	14: "FAILED_COMMIT",
	15: "FAILED_PATCH",
	16: "FAILED_REQUEST_PATCH",
}
View Source
var CQEvent_FailureReason_FailType_value = map[string]int32{
	"UNKNOWN_FAIL_TYPE":           0,
	"FAILED_PRESUBMIT_BOT":        1,
	"FAILED_PRESUBMIT_BOT_INFRA":  17,
	"FAILED_JOBS":                 2,
	"RETRY_QUOTA_EXCEEDED":        3,
	"NOT_LGTM":                    4,
	"MISSING_LGTM":                5,
	"NO_SIGNCLA":                  6,
	"FAILED_SIGNCLA_REQUEST":      7,
	"MANUAL_CANCEL":               8,
	"COMMIT_FALSE":                9,
	"OPEN_DEPENDENCY":             10,
	"INVALID_DELIMITER":           11,
	"FAILED_REMOTE_REF_PRESUBMIT": 12,
	"FAILED_TO_TRIGGER_JOBS":      18,
	"UNSUPPORTED_CQ_FEATURE":      19,
	"FAILED_CHECKOUT":             13,
	"FAILED_COMMIT":               14,
	"FAILED_PATCH":                15,
	"FAILED_REQUEST_PATCH":        16,
}
View Source
var CQEvent_Status_name = map[int32]string{
	0: "UNKNOWN_STATUS",
	1: "START",
	2: "STOP",
	3: "READY_TO_COMMIT",
	4: "COMMITTING",
	5: "COMMITTED",
	6: "FAILED",
	7: "THROTTLED",
	8: "TREE_CLOSED",
}
View Source
var CQEvent_Status_value = map[string]int32{
	"UNKNOWN_STATUS":  0,
	"START":           1,
	"STOP":            2,
	"READY_TO_COMMIT": 3,
	"COMMITTING":      4,
	"COMMITTED":       5,
	"FAILED":          6,
	"THROTTLED":       7,
	"TREE_CLOSED":     8,
}
View Source
var CQEvent_Verifier_name = map[int32]string{
	0: "UNKNOWN_VERIFIER",
	1: "REVIEWER_LGTM",
	2: "SIGN_CLA",
	3: "TREE_STATUS",
	4: "TRIGGER_EXPERIMENT_TRY_JOB",
	5: "TRY_JOB",
}
View Source
var CQEvent_Verifier_value = map[string]int32{
	"UNKNOWN_VERIFIER":           0,
	"REVIEWER_LGTM":              1,
	"SIGN_CLA":                   2,
	"TREE_STATUS":                3,
	"TRIGGER_EXPERIMENT_TRY_JOB": 4,
	"TRY_JOB":                    5,
}
View Source
var ChromeInfraEvent_TimestampKind_name = map[int32]string{
	0: "UNKNOWN",
	1: "POINT",
	2: "BEGIN",
	3: "END",
}
View Source
var ChromeInfraEvent_TimestampKind_value = map[string]int32{
	"UNKNOWN": 0,
	"POINT":   1,
	"BEGIN":   2,
	"END":     3,
}
View Source
var IsolateClientEvent_Operation_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "ARCHIVE",
	2: "LEGACY_ARCHIVE",
	3: "BATCH_ARCHIVE",
}
View Source
var IsolateClientEvent_Operation_value = map[string]int32{
	"UNSPECIFIED":    0,
	"ARCHIVE":        1,
	"LEGACY_ARCHIVE": 2,
	"BATCH_ARCHIVE":  3,
}
View Source
var MachineInfo_OSType_name = map[int32]string{
	0: "UNKNOWN",
	1: "LINUX",
	2: "MAC",
	3: "WIN",
}
View Source
var MachineInfo_OSType_value = map[string]int32{
	"UNKNOWN": 0,
	"LINUX":   1,
	"MAC":     2,
	"WIN":     3,
}
View Source
var MachineProviderEvent_GCEBackendDeletionReason_name = map[int32]string{
	1: "RECLAMATION",
	2: "DRAINED",
}
View Source
var MachineProviderEvent_GCEBackendDeletionReason_value = map[string]int32{
	"RECLAMATION": 1,
	"DRAINED":     2,
}
View Source
var MachineProviderEvent_GCEBackendMachineState_name = map[int32]string{
	0:  "GCE_UNKNOWN",
	1:  "CREATED",
	2:  "CATALOGED",
	3:  "SUBSCRIPTION_RECEIVED",
	4:  "METADATA_UPDATE_PROPOSED",
	5:  "METADATA_UPDATE_READY",
	6:  "METADATA_UPDATE_SCHEDULED",
	7:  "METADATA_UPDATE_FAILED",
	8:  "METADATA_UPDATE_SUCCEEDED",
	9:  "LEASE_RECEIVED",
	10: "RECLAIMED",
	11: "DELETION_PROPOSED",
	12: "DELETION_SCHEDULED",
	13: "DELETION_SUCCEEDED",
	14: "DELETED",
}
View Source
var MachineProviderEvent_GCEBackendMachineState_value = map[string]int32{
	"GCE_UNKNOWN":               0,
	"CREATED":                   1,
	"CATALOGED":                 2,
	"SUBSCRIPTION_RECEIVED":     3,
	"METADATA_UPDATE_PROPOSED":  4,
	"METADATA_UPDATE_READY":     5,
	"METADATA_UPDATE_SCHEDULED": 6,
	"METADATA_UPDATE_FAILED":    7,
	"METADATA_UPDATE_SUCCEEDED": 8,
	"LEASE_RECEIVED":            9,
	"RECLAIMED":                 10,
	"DELETION_PROPOSED":         11,
	"DELETION_SCHEDULED":        12,
	"DELETION_SUCCEEDED":        13,
	"DELETED":                   14,
}
View Source
var MachineProviderEvent_MachineProviderAgentState_name = map[int32]string{
	0: "AGENT_UNKNOWN",
	1: "POLLING",
	2: "ALLOCATED",
	3: "SWARMING_CONFIGURED",
}
View Source
var MachineProviderEvent_MachineProviderAgentState_value = map[string]int32{
	"AGENT_UNKNOWN":       0,
	"POLLING":             1,
	"ALLOCATED":           2,
	"SWARMING_CONFIGURED": 3,
}
View Source
var MachineProviderEvent_MachineProviderMachineState_name = map[int32]string{
	0: "MP_UNKNOWN",
	1: "RECEIVED",
	2: "SUBSCRIBED",
	3: "LEASED",
	4: "LEASE_EXPIRED",
	5: "UNCATALOGED",
}
View Source
var MachineProviderEvent_MachineProviderMachineState_value = map[string]int32{
	"MP_UNKNOWN":    0,
	"RECEIVED":      1,
	"SUBSCRIBED":    2,
	"LEASED":        3,
	"LEASE_EXPIRED": 4,
	"UNCATALOGED":   5,
}
View Source
var ServiceEvent_ServiceEventType_name = map[int32]string{
	0: "UNKNOWN",
	1: "START",
	2: "STOP",
	3: "UPDATE",
	4: "CURRENT_VERSION",
	5: "CRASH",
}
View Source
var ServiceEvent_ServiceEventType_value = map[string]int32{
	"UNKNOWN":         0,
	"START":           1,
	"STOP":            2,
	"UPDATE":          3,
	"CURRENT_VERSION": 4,
	"CRASH":           5,
}
View Source
var SwarmingTaskEvent_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "COMPLETED",
	2: "CANCELED",
	3: "BOT_DIED",
	4: "TIMED_OUT",
	5: "EXPIRED",
}
View Source
var SwarmingTaskEvent_State_value = map[string]int32{
	"UNKNOWN":   0,
	"COMPLETED": 1,
	"CANCELED":  2,
	"BOT_DIED":  3,
	"TIMED_OUT": 4,
	"EXPIRED":   5,
}
View Source
var TestResultsEvent_TestResultType_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "SKIP",
	2:  "PASS",
	3:  "FAIL",
	4:  "CRASH",
	5:  "TIMEOUT",
	6:  "MISSING",
	7:  "LEAK",
	8:  "SLOW",
	9:  "TEXT",
	10: "AUDIO",
	11: "IMAGE",
	12: "IMAGE_TEXT",
	13: "REBASELINE",
	14: "NEEDSREBASELINE",
	15: "NEEDSMANUALREBASELINE",
}
View Source
var TestResultsEvent_TestResultType_value = map[string]int32{
	"UNKNOWN":               0,
	"SKIP":                  1,
	"PASS":                  2,
	"FAIL":                  3,
	"CRASH":                 4,
	"TIMEOUT":               5,
	"MISSING":               6,
	"LEAK":                  7,
	"SLOW":                  8,
	"TEXT":                  9,
	"AUDIO":                 10,
	"IMAGE":                 11,
	"IMAGE_TEXT":            12,
	"REBASELINE":            13,
	"NEEDSREBASELINE":       14,
	"NEEDSMANUALREBASELINE": 15,
}

Functions

This section is empty.

Types

type AnalyzeEvent

type AnalyzeEvent struct {
	// Required. Name of the master on which tests were run.
	MasterName *string `protobuf:"bytes,1,opt,name=master_name,json=masterName" json:"master_name,omitempty"`
	// Required. If this test run was produced on a bot, this should be the
	// builder name of the bot, e.g., "Linux Tests".
	BuilderName *string `protobuf:"bytes,2,opt,name=builder_name,json=builderName" json:"builder_name,omitempty"`
	// Optional. If this test run was produced on a bot, this should be the build
	// number of the run, e.g., 1234. Stored as string to make it future-proof
	// for CI systems where build IDs are not integers.
	BuildId *string `protobuf:"bytes,3,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	// Required. List of files affected by the patch.
	AffectedFiles []string `protobuf:"bytes,4,rep,name=affected_files,json=affectedFiles" json:"affected_files,omitempty"`
	// Required. Test targets supplied to analyze.
	InputTestTargets []string `protobuf:"bytes,5,rep,name=input_test_targets,json=inputTestTargets" json:"input_test_targets,omitempty"`
	// Required. Compile targets supplied to analyze.
	InputCompileTargets []string `protobuf:"bytes,6,rep,name=input_compile_targets,json=inputCompileTargets" json:"input_compile_targets,omitempty"`
	// Required. Result of running analyze.
	Result *AnalyzeEvent_AnalyzeResult `protobuf:"varint,7,opt,name=result,enum=eventlog.AnalyzeEvent_AnalyzeResult,def=0" json:"result,omitempty"`
	// Optional. Test targets returned by analyze.
	OutputTestTargets []string `protobuf:"bytes,8,rep,name=output_test_targets,json=outputTestTargets" json:"output_test_targets,omitempty"`
	// Optional. Compile targets returned by analyze.
	OutputCompileTargets []string `protobuf:"bytes,9,rep,name=output_compile_targets,json=outputCompileTargets" json:"output_compile_targets,omitempty"`
	// Optional. Targets that were determined to be invalid.
	InvalidTargets   []string `protobuf:"bytes,10,rep,name=invalid_targets,json=invalidTargets" json:"invalid_targets,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Analyze event: result of filtering compile and test targets for a build.

Next tag: 11

func (*AnalyzeEvent) Descriptor

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

func (*AnalyzeEvent) GetAffectedFiles

func (m *AnalyzeEvent) GetAffectedFiles() []string

func (*AnalyzeEvent) GetBuildId

func (m *AnalyzeEvent) GetBuildId() string

func (*AnalyzeEvent) GetBuilderName

func (m *AnalyzeEvent) GetBuilderName() string

func (*AnalyzeEvent) GetInputCompileTargets

func (m *AnalyzeEvent) GetInputCompileTargets() []string

func (*AnalyzeEvent) GetInputTestTargets

func (m *AnalyzeEvent) GetInputTestTargets() []string

func (*AnalyzeEvent) GetInvalidTargets

func (m *AnalyzeEvent) GetInvalidTargets() []string

func (*AnalyzeEvent) GetMasterName

func (m *AnalyzeEvent) GetMasterName() string

func (*AnalyzeEvent) GetOutputCompileTargets

func (m *AnalyzeEvent) GetOutputCompileTargets() []string

func (*AnalyzeEvent) GetOutputTestTargets

func (m *AnalyzeEvent) GetOutputTestTargets() []string

func (*AnalyzeEvent) GetResult

func (*AnalyzeEvent) ProtoMessage

func (*AnalyzeEvent) ProtoMessage()

func (*AnalyzeEvent) Reset

func (m *AnalyzeEvent) Reset()

func (*AnalyzeEvent) String

func (m *AnalyzeEvent) String() string

type AnalyzeEvent_AnalyzeResult

type AnalyzeEvent_AnalyzeResult int32

Result reported by analyze.

const (
	// Default value. Should not be used in practice.
	AnalyzeEvent_UNKNOWN AnalyzeEvent_AnalyzeResult = 0
	// An error occurred (e.g. GN failed).
	AnalyzeEvent_ERROR AnalyzeEvent_AnalyzeResult = 1
	// No targets are affected by the patch.
	AnalyzeEvent_NO_COMPILE_NECESSARY AnalyzeEvent_AnalyzeResult = 2
	// All files in the patch matched ignore lists.
	AnalyzeEvent_ALL_FILES_IGNORED AnalyzeEvent_AnalyzeResult = 3
	// A file in the patch matched exclusion, all targets
	// should be passed through.
	AnalyzeEvent_MATCHED_EXCLUSION AnalyzeEvent_AnalyzeResult = 4
	// Analyze successfully returned a subset of targets
	// affected by the patch.
	AnalyzeEvent_FOUND_DEPENDENCY AnalyzeEvent_AnalyzeResult = 5
	// Analyze hit a special case and returned exactly same set of targets
	// as input.
	AnalyzeEvent_FOUND_DEPENDENCY_ALL AnalyzeEvent_AnalyzeResult = 6
	// Analyze found invalid targets in input.
	AnalyzeEvent_INVALID_TARGETS AnalyzeEvent_AnalyzeResult = 7
)
const Default_AnalyzeEvent_Result AnalyzeEvent_AnalyzeResult = AnalyzeEvent_UNKNOWN

func (AnalyzeEvent_AnalyzeResult) Enum

func (AnalyzeEvent_AnalyzeResult) EnumDescriptor

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

func (AnalyzeEvent_AnalyzeResult) String

func (*AnalyzeEvent_AnalyzeResult) UnmarshalJSON

func (x *AnalyzeEvent_AnalyzeResult) UnmarshalJSON(data []byte) error

type Binary

type Binary struct {
	// The name of the binary e.g. "isolate".
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The git revision of the https://chromium.googlesource.com/infra/infra
	// repo, at which the binary was built.
	InfraRevision *string `protobuf:"bytes,2,opt,name=infra_revision,json=infraRevision" json:"infra_revision,omitempty"`
	// The git revision of the https://github.com/luci/luci-go repo, at which
	// the binary was built.
	// The infra repo has a dependency on the luci-go repo, with the luci-go
	// git revision stored in a configuration file in the infra repo.  Thus it
	// is possible to determine the luci_go_revision given the infra_revision.
	// However, both are stored in this proto to simplify analysis.
	LuciGoRevision *string `protobuf:"bytes,3,opt,name=luci_go_revision,json=luciGoRevision" json:"luci_go_revision,omitempty"`
	// The version number of the binary.
	VersionNumber    *string `protobuf:"bytes,4,opt,name=version_number,json=versionNumber" json:"version_number,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Details of the binary which generated this log.

func (*Binary) Descriptor

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

func (*Binary) GetInfraRevision

func (m *Binary) GetInfraRevision() string

func (*Binary) GetLuciGoRevision

func (m *Binary) GetLuciGoRevision() string

func (*Binary) GetName

func (m *Binary) GetName() string

func (*Binary) GetVersionNumber

func (m *Binary) GetVersionNumber() string

func (*Binary) ProtoMessage

func (*Binary) ProtoMessage()

func (*Binary) Reset

func (m *Binary) Reset()

func (*Binary) String

func (m *Binary) String() string

type BuildEvent

type BuildEvent struct {
	// Which build entity is considered here
	Type *BuildEvent_BuildEventType `protobuf:"varint,1,opt,name=type,enum=eventlog.BuildEvent_BuildEventType" json:"type,omitempty"`
	// Hostname of the machine running the build
	HostName *string `protobuf:"bytes,2,opt,name=host_name,json=hostName" json:"host_name,omitempty"`
	// Name of the builder
	// This should not contain the master name: Use
	// ChromeInfraEvent.event_source to provide it.
	BuildName *string `protobuf:"bytes,3,opt,name=build_name,json=buildName" json:"build_name,omitempty"`
	// Build number (if type is BUILD or STEP)
	BuildNumber *int32 `protobuf:"varint,4,opt,name=build_number,json=buildNumber" json:"build_number,omitempty"`
	// This is used to dedup builds with identical build_number.
	BuildSchedulingTimeMs *int64 `protobuf:"varint,5,opt,name=build_scheduling_time_ms,json=buildSchedulingTimeMs" json:"build_scheduling_time_ms,omitempty"`
	// Name of the step (if type is STEP)
	StepName *string `protobuf:"bytes,6,opt,name=step_name,json=stepName" json:"step_name,omitempty"`
	// Text associated with a step.
	StepText *string `protobuf:"bytes,19,opt,name=step_text,json=stepText" json:"step_text,omitempty"`
	// Rank of the step in the build
	StepNumber *int32 `protobuf:"varint,7,opt,name=step_number,json=stepNumber" json:"step_number,omitempty"`
	// Result of a event when it finishes. Use only for BUILD and STEP.
	Result *BuildEvent_BuildResult `protobuf:"varint,8,opt,name=result,enum=eventlog.BuildEvent_BuildResult,def=0" json:"result,omitempty"`
	// A list of codes to give more detail about the failure.
	// This is expected to be short (<20 char) strings like 'INVALID_TESTS_RESULT'
	// All strings are truncated to 20 characters server-side.
	ExtraResultCode []string `protobuf:"bytes,10,rep,name=extra_result_code,json=extraResultCode" json:"extra_result_code,omitempty"`
	// Statistics for goma usage if goma is used.  Use only in compile STEP.
	GomaStats *GomaStats                `protobuf:"bytes,9,opt,name=goma_stats,json=gomaStats" json:"goma_stats,omitempty"`
	GomaError *BuildEvent_GomaErrorType `` /* 128-byte string literal not displayed */
	// Crash report id for goma compiler_proxy if it has crashed.
	// The report can be seen in:
	// https://crash.corp.google.com/browse?reportid=<report id>
	GomaCrashReportId *string `protobuf:"bytes,18,opt,name=goma_crash_report_id,json=gomaCrashReportId" json:"goma_crash_report_id,omitempty"`
	// Project the build is in (e.g. 'chromium', 'infra')
	Project *string `protobuf:"bytes,11,opt,name=project" json:"project,omitempty"`
	// Latest revision checked-out.
	// This is the revision of the code under test, NOT of the infra code.
	HeadRevision *CodeVersion `protobuf:"bytes,12,opt,name=head_revision,json=headRevision" json:"head_revision,omitempty"`
	// Other revision(s) checked-out.
	// Like head_revision, this is for the code under test.
	// Providing several revisions is useful when batching. This is the
	// "blame list" in Buildbot vocabulary.
	Revision []*CodeVersion `protobuf:"bytes,13,rep,name=revision" json:"revision,omitempty"`
	// Patch under test, if any. Used on tryservers.
	// Ex: https://chromiumcodereview.appspot.com/1368583005/
	PatchUrl *string `protobuf:"bytes,14,opt,name=patch_url,json=patchUrl" json:"patch_url,omitempty"`
	// Group of builds that this build is part of as reported by the buildbucket.
	// This should replace patch_url above as a more universal concept supporting
	// both Rietveld, Gerrit and any other code review systems.
	// Ex.: patch/rietveld/codereview.chromium.org/2179293005/1
	Buildset *string              `protobuf:"bytes,24,opt,name=buildset" json:"buildset,omitempty"`
	Category *BuildEvent_Category `protobuf:"varint,20,opt,name=category,enum=eventlog.BuildEvent_Category" json:"category,omitempty"`
	// Buildbucket build id, when triggered through buildbucket.
	// ex: 9032782684794853744
	BbucketId *int64 `protobuf:"varint,15,opt,name=bbucket_id,json=bbucketId" json:"bbucket_id,omitempty"`
	// How the build was triggered on buildbucket.
	// ex: 'git_cl_try'
	BbucketUserAgent *string              `protobuf:"bytes,16,opt,name=bbucket_user_agent,json=bbucketUserAgent" json:"bbucket_user_agent,omitempty"`
	FailType         *BuildEvent_FailType `protobuf:"varint,21,opt,name=fail_type,json=failType,enum=eventlog.BuildEvent_FailType" json:"fail_type,omitempty"`
	// Fields to specify commit queue (CQ) project and subproject. These are only
	// set when the category is CATEGORY_CQ or CATEGORY_CQ_EXPERIMENTAL.
	CqProject        *string `protobuf:"bytes,22,opt,name=cq_project,json=cqProject" json:"cq_project,omitempty"`
	CqSubproject     *string `protobuf:"bytes,23,opt,name=cq_subproject,json=cqSubproject" json:"cq_subproject,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Build events. Use that to get e.g. timing info and failure / success rates

Next tag: 25

func (*BuildEvent) Descriptor

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

func (*BuildEvent) GetBbucketId

func (m *BuildEvent) GetBbucketId() int64

func (*BuildEvent) GetBbucketUserAgent

func (m *BuildEvent) GetBbucketUserAgent() string

func (*BuildEvent) GetBuildName

func (m *BuildEvent) GetBuildName() string

func (*BuildEvent) GetBuildNumber

func (m *BuildEvent) GetBuildNumber() int32

func (*BuildEvent) GetBuildSchedulingTimeMs

func (m *BuildEvent) GetBuildSchedulingTimeMs() int64

func (*BuildEvent) GetBuildset

func (m *BuildEvent) GetBuildset() string

func (*BuildEvent) GetCategory

func (m *BuildEvent) GetCategory() BuildEvent_Category

func (*BuildEvent) GetCqProject

func (m *BuildEvent) GetCqProject() string

func (*BuildEvent) GetCqSubproject

func (m *BuildEvent) GetCqSubproject() string

func (*BuildEvent) GetExtraResultCode

func (m *BuildEvent) GetExtraResultCode() []string

func (*BuildEvent) GetFailType

func (m *BuildEvent) GetFailType() BuildEvent_FailType

func (*BuildEvent) GetGomaCrashReportId

func (m *BuildEvent) GetGomaCrashReportId() string

func (*BuildEvent) GetGomaError

func (m *BuildEvent) GetGomaError() BuildEvent_GomaErrorType

func (*BuildEvent) GetGomaStats

func (m *BuildEvent) GetGomaStats() *GomaStats

func (*BuildEvent) GetHeadRevision

func (m *BuildEvent) GetHeadRevision() *CodeVersion

func (*BuildEvent) GetHostName

func (m *BuildEvent) GetHostName() string

func (*BuildEvent) GetPatchUrl

func (m *BuildEvent) GetPatchUrl() string

func (*BuildEvent) GetProject

func (m *BuildEvent) GetProject() string

func (*BuildEvent) GetResult

func (m *BuildEvent) GetResult() BuildEvent_BuildResult

func (*BuildEvent) GetRevision

func (m *BuildEvent) GetRevision() []*CodeVersion

func (*BuildEvent) GetStepName

func (m *BuildEvent) GetStepName() string

func (*BuildEvent) GetStepNumber

func (m *BuildEvent) GetStepNumber() int32

func (*BuildEvent) GetStepText

func (m *BuildEvent) GetStepText() string

func (*BuildEvent) GetType

func (*BuildEvent) ProtoMessage

func (*BuildEvent) ProtoMessage()

func (*BuildEvent) Reset

func (m *BuildEvent) Reset()

func (*BuildEvent) String

func (m *BuildEvent) String() string

type BuildEvent_BuildEventType

type BuildEvent_BuildEventType int32
const (
	BuildEvent_SCHEDULER BuildEvent_BuildEventType = 0
	BuildEvent_BUILD     BuildEvent_BuildEventType = 1
	BuildEvent_STEP      BuildEvent_BuildEventType = 2
)

func (BuildEvent_BuildEventType) Enum

func (BuildEvent_BuildEventType) EnumDescriptor

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

func (BuildEvent_BuildEventType) String

func (x BuildEvent_BuildEventType) String() string

func (*BuildEvent_BuildEventType) UnmarshalJSON

func (x *BuildEvent_BuildEventType) UnmarshalJSON(data []byte) error

type BuildEvent_BuildResult

type BuildEvent_BuildResult int32
const (
	BuildEvent_UNKNOWN       BuildEvent_BuildResult = 0
	BuildEvent_SUCCESS       BuildEvent_BuildResult = 1
	BuildEvent_FAILURE       BuildEvent_BuildResult = 2
	BuildEvent_INFRA_FAILURE BuildEvent_BuildResult = 3
	BuildEvent_WARNING       BuildEvent_BuildResult = 4
	BuildEvent_SKIPPED       BuildEvent_BuildResult = 5
	BuildEvent_RETRY         BuildEvent_BuildResult = 6
)
const Default_BuildEvent_Result BuildEvent_BuildResult = BuildEvent_UNKNOWN

func (BuildEvent_BuildResult) Enum

func (BuildEvent_BuildResult) EnumDescriptor

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

func (BuildEvent_BuildResult) String

func (x BuildEvent_BuildResult) String() string

func (*BuildEvent_BuildResult) UnmarshalJSON

func (x *BuildEvent_BuildResult) UnmarshalJSON(data []byte) error

type BuildEvent_Category

type BuildEvent_Category int32

Build category.

const (
	BuildEvent_CATEGORY_UNKNOWN         BuildEvent_Category = 0
	BuildEvent_CATEGORY_CQ              BuildEvent_Category = 1
	BuildEvent_CATEGORY_CQ_EXPERIMENTAL BuildEvent_Category = 2
	BuildEvent_CATEGORY_GIT_CL_TRY      BuildEvent_Category = 3
)

func (BuildEvent_Category) Enum

func (BuildEvent_Category) EnumDescriptor

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

func (BuildEvent_Category) String

func (x BuildEvent_Category) String() string

func (*BuildEvent_Category) UnmarshalJSON

func (x *BuildEvent_Category) UnmarshalJSON(data []byte) error

type BuildEvent_FailType

type BuildEvent_FailType int32
const (
	// This is not supposed to be used by any newly reported build events and
	// should only serve as a default value for legacy events.
	BuildEvent_FAIL_TYPE_UNKNOWN BuildEvent_FailType = 0
	// Any kind of infrastructure failure. We classify unknown failure types
	// as infra failures to be conservative.
	BuildEvent_FAIL_TYPE_INFRA BuildEvent_FailType = 1
	// Build failed to compile the code.
	BuildEvent_FAIL_TYPE_COMPILE BuildEvent_FailType = 2
	// Test failed to pass.
	BuildEvent_FAIL_TYPE_TEST BuildEvent_FailType = 3
	// Test results were invalid.
	BuildEvent_FAIL_TYPE_INVALID BuildEvent_FailType = 4
	// Build failed to apply the patch.
	BuildEvent_FAIL_TYPE_PATCH BuildEvent_FailType = 5
)

func (BuildEvent_FailType) Enum

func (BuildEvent_FailType) EnumDescriptor

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

func (BuildEvent_FailType) String

func (x BuildEvent_FailType) String() string

func (*BuildEvent_FailType) UnmarshalJSON

func (x *BuildEvent_FailType) UnmarshalJSON(data []byte) error

type BuildEvent_GomaErrorType

type BuildEvent_GomaErrorType int32

Goma errors if goma_stats is not available while goma should have run.

const (
	// No goma error.  This must be set as default value.
	BuildEvent_GOMA_ERROR_OK BuildEvent_GomaErrorType = 0
	// GomaStats does not exist with unknown reason.
	BuildEvent_GOMA_ERROR_UNKNOWN BuildEvent_GomaErrorType = 1
	// Goma compiler_proxy has crashed, and there is a crash dump.
	// If goma_error is this type, goma_crash_report_id should be set.
	BuildEvent_GOMA_ERROR_CRASHED BuildEvent_GomaErrorType = 2
	// Goma compiler_proxy was killed by CHECK or LOG(FATAL), and no crash
	// dump exists.  (goma team may change CHECK behavior to make compiler_proxy
	// generate crash dump, and then the state would be marked as
	// GOMA_ERROR_CRASHED)
	BuildEvent_GOMA_ERROR_LOG_FATAL BuildEvent_GomaErrorType = 3
)
const Default_BuildEvent_GomaError BuildEvent_GomaErrorType = BuildEvent_GOMA_ERROR_OK

func (BuildEvent_GomaErrorType) Enum

func (BuildEvent_GomaErrorType) EnumDescriptor

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

func (BuildEvent_GomaErrorType) String

func (x BuildEvent_GomaErrorType) String() string

func (*BuildEvent_GomaErrorType) UnmarshalJSON

func (x *BuildEvent_GomaErrorType) UnmarshalJSON(data []byte) error

type CQEvent

type CQEvent struct {
	Action   *CQEvent_Action   `protobuf:"varint,1,opt,name=action,enum=eventlog.CQEvent_Action" json:"action,omitempty"`
	Verifier *CQEvent_Verifier `protobuf:"varint,2,opt,name=verifier,enum=eventlog.CQEvent_Verifier" json:"verifier,omitempty"`
	// Name of the CQ that sends this event.
	CqName *string `protobuf:"bytes,3,opt,name=cq_name,json=cqName" json:"cq_name,omitempty"`
	// Issue ID that is processed by CQ; at most 100 characters.
	Issue *string `protobuf:"bytes,4,opt,name=issue" json:"issue,omitempty"`
	// Patchset ID that is processed by CQ; at most 100 characters.
	Patchset *string `protobuf:"bytes,5,opt,name=patchset" json:"patchset,omitempty"`
	// Timestamp when the CQ attempt was started (user clicked on CQ bit).
	AttemptStartUsec *int64          `protobuf:"varint,6,opt,name=attempt_start_usec,json=attemptStartUsec" json:"attempt_start_usec,omitempty"`
	Status           *CQEvent_Status `protobuf:"varint,7,opt,name=status,enum=eventlog.CQEvent_Status" json:"status,omitempty"`
	// True when the verifier has finished processing CL.
	Done          *bool                  `protobuf:"varint,8,opt,name=done" json:"done,omitempty"`
	FailureReason *CQEvent_FailureReason `protobuf:"bytes,9,opt,name=failure_reason,json=failureReason" json:"failure_reason,omitempty"`
	// True if CQ is in dry-run mode.
	DryRun *bool `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
	// Amount of retries remaining for an attempt globally.
	GlobalRetryQuota *int32                     `protobuf:"varint,11,opt,name=global_retry_quota,json=globalRetryQuota" json:"global_retry_quota,omitempty"`
	TriggeredTryjobs []*CQEvent_TriggeredTryJob `protobuf:"bytes,12,rep,name=triggered_tryjobs,json=triggeredTryjobs" json:"triggered_tryjobs,omitempty"`
	// List of paths to files modified in the patch relative to checkout root.
	Files []string `protobuf:"bytes,13,rep,name=files" json:"files,omitempty"`
	// Codereview hostname of where issue/patchset is located.
	CodereviewHostname *string `protobuf:"bytes,14,opt,name=codereview_hostname,json=codereviewHostname" json:"codereview_hostname,omitempty"`
	// CQ config revision used for this run.
	ConfigRevision   *string `protobuf:"bytes,15,opt,name=config_revision,json=configRevision" json:"config_revision,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Event from commit queue. This was closely modelled after the JSON data that is sent to chromium-cq-status.appspot.com. All tags and certain fields, however, were excluded: owner, message, state, timestamp. Some fields that have been renamed have a correspoding comment.

Next tag: 16

func (*CQEvent) Descriptor

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

func (*CQEvent) GetAction

func (m *CQEvent) GetAction() CQEvent_Action

func (*CQEvent) GetAttemptStartUsec

func (m *CQEvent) GetAttemptStartUsec() int64

func (*CQEvent) GetCodereviewHostname

func (m *CQEvent) GetCodereviewHostname() string

func (*CQEvent) GetConfigRevision

func (m *CQEvent) GetConfigRevision() string

func (*CQEvent) GetCqName

func (m *CQEvent) GetCqName() string

func (*CQEvent) GetDone

func (m *CQEvent) GetDone() bool

func (*CQEvent) GetDryRun

func (m *CQEvent) GetDryRun() bool

func (*CQEvent) GetFailureReason

func (m *CQEvent) GetFailureReason() *CQEvent_FailureReason

func (*CQEvent) GetFiles

func (m *CQEvent) GetFiles() []string

func (*CQEvent) GetGlobalRetryQuota

func (m *CQEvent) GetGlobalRetryQuota() int32

func (*CQEvent) GetIssue

func (m *CQEvent) GetIssue() string

func (*CQEvent) GetPatchset

func (m *CQEvent) GetPatchset() string

func (*CQEvent) GetStatus

func (m *CQEvent) GetStatus() CQEvent_Status

func (*CQEvent) GetTriggeredTryjobs

func (m *CQEvent) GetTriggeredTryjobs() []*CQEvent_TriggeredTryJob

func (*CQEvent) GetVerifier

func (m *CQEvent) GetVerifier() CQEvent_Verifier

func (*CQEvent) ProtoMessage

func (*CQEvent) ProtoMessage()

func (*CQEvent) Reset

func (m *CQEvent) Reset()

func (*CQEvent) String

func (m *CQEvent) String() string

type CQEvent_Action

type CQEvent_Action int32

Type of CQ event.

const (
	CQEvent_UNKNOWN_ACTION          CQEvent_Action = 0
	CQEvent_CQ_START                CQEvent_Action = 1
	CQEvent_CQ_STOP                 CQEvent_Action = 2
	CQEvent_PATCH_COMMITTED         CQEvent_Action = 3
	CQEvent_PATCH_COMMITTING        CQEvent_Action = 4
	CQEvent_PATCH_FAILED            CQEvent_Action = 5
	CQEvent_PATCH_READY_TO_COMMIT   CQEvent_Action = 6
	CQEvent_PATCH_START             CQEvent_Action = 7
	CQEvent_PATCH_STOP              CQEvent_Action = 8
	CQEvent_PATCH_THROTTLED         CQEvent_Action = 9
	CQEvent_PATCH_TREE_CLOSED       CQEvent_Action = 10
	CQEvent_VERIFIER_CUSTOM_TRYBOTS CQEvent_Action = 11
	CQEvent_VERIFIER_ERROR          CQEvent_Action = 12
	CQEvent_VERIFIER_FAIL           CQEvent_Action = 13
	CQEvent_VERIFIER_JOBS_UPDATE    CQEvent_Action = 14
	CQEvent_VERIFIER_PASS           CQEvent_Action = 15
	CQEvent_VERIFIER_RETRY          CQEvent_Action = 16
	CQEvent_VERIFIER_SKIP           CQEvent_Action = 17
	CQEvent_VERIFIER_START          CQEvent_Action = 18
	CQEvent_VERIFIER_TIMEOUT        CQEvent_Action = 19
	CQEvent_VERIFIER_TRIGGER        CQEvent_Action = 20
	CQEvent_VERIFIER_NOTRY          CQEvent_Action = 21
)

func (CQEvent_Action) Enum

func (x CQEvent_Action) Enum() *CQEvent_Action

func (CQEvent_Action) EnumDescriptor

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

func (CQEvent_Action) String

func (x CQEvent_Action) String() string

func (*CQEvent_Action) UnmarshalJSON

func (x *CQEvent_Action) UnmarshalJSON(data []byte) error

type CQEvent_FailureReason

type CQEvent_FailureReason struct {
	Verifier *CQEvent_Verifier               `protobuf:"varint,1,opt,name=verifier,enum=eventlog.CQEvent_Verifier" json:"verifier,omitempty"`
	FailType *CQEvent_FailureReason_FailType `protobuf:"varint,2,opt,name=fail_type,json=failType,enum=eventlog.CQEvent_FailureReason_FailType" json:"fail_type,omitempty"`
	// Only used by try_job verifier.
	FailedTryJobs    []*CQEvent_FailureReason_FailedTryJob `protobuf:"bytes,3,rep,name=failed_try_jobs,json=failedTryJobs" json:"failed_try_jobs,omitempty"`
	XXX_unrecognized []byte                                `json:"-"`
}

Detailed reason on failure to commit.

func (*CQEvent_FailureReason) Descriptor

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

func (*CQEvent_FailureReason) GetFailType

func (*CQEvent_FailureReason) GetFailedTryJobs

func (*CQEvent_FailureReason) GetVerifier

func (m *CQEvent_FailureReason) GetVerifier() CQEvent_Verifier

func (*CQEvent_FailureReason) ProtoMessage

func (*CQEvent_FailureReason) ProtoMessage()

func (*CQEvent_FailureReason) Reset

func (m *CQEvent_FailureReason) Reset()

func (*CQEvent_FailureReason) String

func (m *CQEvent_FailureReason) String() string

type CQEvent_FailureReason_FailType

type CQEvent_FailureReason_FailType int32

Next tag: 20

const (
	CQEvent_FailureReason_UNKNOWN_FAIL_TYPE CQEvent_FailureReason_FailType = 0
	// try_bot
	CQEvent_FailureReason_FAILED_PRESUBMIT_BOT       CQEvent_FailureReason_FailType = 1
	CQEvent_FailureReason_FAILED_PRESUBMIT_BOT_INFRA CQEvent_FailureReason_FailType = 17
	CQEvent_FailureReason_FAILED_JOBS                CQEvent_FailureReason_FailType = 2
	CQEvent_FailureReason_RETRY_QUOTA_EXCEEDED       CQEvent_FailureReason_FailType = 3
	// reviewer_lgtm
	CQEvent_FailureReason_NOT_LGTM     CQEvent_FailureReason_FailType = 4
	CQEvent_FailureReason_MISSING_LGTM CQEvent_FailureReason_FailType = 5
	// sign_cla
	CQEvent_FailureReason_NO_SIGNCLA             CQEvent_FailureReason_FailType = 6
	CQEvent_FailureReason_FAILED_SIGNCLA_REQUEST CQEvent_FailureReason_FailType = 7
	// CQ was stopped manually
	CQEvent_FailureReason_MANUAL_CANCEL CQEvent_FailureReason_FailType = 8
	// Issue had COMMIT=false flag
	CQEvent_FailureReason_COMMIT_FALSE CQEvent_FailureReason_FailType = 9
	// Issue depends on another issue
	CQEvent_FailureReason_OPEN_DEPENDENCY CQEvent_FailureReason_FailType = 10
	// Incorrect CQ_EXTRA_TRYBOTS flag
	CQEvent_FailureReason_INVALID_DELIMITER CQEvent_FailureReason_FailType = 11
	// Did not contain NOTRY & NOPRESUBMIT for non-master remote ref
	CQEvent_FailureReason_FAILED_REMOTE_REF_PRESUBMIT CQEvent_FailureReason_FailType = 12
	// CQ failed to trigger jobs in buildbucket.
	CQEvent_FailureReason_FAILED_TO_TRIGGER_JOBS CQEvent_FailureReason_FailType = 18
	// Using CQ feature that was deprecated and removed.
	CQEvent_FailureReason_UNSUPPORTED_CQ_FEATURE CQEvent_FailureReason_FailType = 19
	// CQ failed to check out a patch
	CQEvent_FailureReason_FAILED_CHECKOUT CQEvent_FailureReason_FailType = 13
	// CQ failed to commit the patch
	CQEvent_FailureReason_FAILED_COMMIT CQEvent_FailureReason_FailType = 14
	// Failed to apply patch
	CQEvent_FailureReason_FAILED_PATCH CQEvent_FailureReason_FailType = 15
	// Failed to download patch from Rietveld
	CQEvent_FailureReason_FAILED_REQUEST_PATCH CQEvent_FailureReason_FailType = 16
)

func (CQEvent_FailureReason_FailType) Enum

func (CQEvent_FailureReason_FailType) EnumDescriptor

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

func (CQEvent_FailureReason_FailType) String

func (*CQEvent_FailureReason_FailType) UnmarshalJSON

func (x *CQEvent_FailureReason_FailType) UnmarshalJSON(data []byte) error

type CQEvent_FailureReason_FailedTryJob

type CQEvent_FailureReason_FailedTryJob struct {
	Master           *string              `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
	Builder          *string              `protobuf:"bytes,2,opt,name=builder" json:"builder,omitempty"`
	BuildId          *int64               `protobuf:"varint,3,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	FailType         *BuildEvent_FailType `protobuf:"varint,5,opt,name=fail_type,json=failType,enum=eventlog.BuildEvent_FailType" json:"fail_type,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*CQEvent_FailureReason_FailedTryJob) Descriptor

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

func (*CQEvent_FailureReason_FailedTryJob) GetBuildId

func (m *CQEvent_FailureReason_FailedTryJob) GetBuildId() int64

func (*CQEvent_FailureReason_FailedTryJob) GetBuilder

func (*CQEvent_FailureReason_FailedTryJob) GetFailType

func (*CQEvent_FailureReason_FailedTryJob) GetMaster

func (*CQEvent_FailureReason_FailedTryJob) ProtoMessage

func (*CQEvent_FailureReason_FailedTryJob) ProtoMessage()

func (*CQEvent_FailureReason_FailedTryJob) Reset

func (*CQEvent_FailureReason_FailedTryJob) String

type CQEvent_Status

type CQEvent_Status int32

DEPRECATED. Status of the issue.

const (
	CQEvent_UNKNOWN_STATUS  CQEvent_Status = 0
	CQEvent_START           CQEvent_Status = 1
	CQEvent_STOP            CQEvent_Status = 2
	CQEvent_READY_TO_COMMIT CQEvent_Status = 3
	CQEvent_COMMITTING      CQEvent_Status = 4
	CQEvent_COMMITTED       CQEvent_Status = 5
	CQEvent_FAILED          CQEvent_Status = 6
	CQEvent_THROTTLED       CQEvent_Status = 7
	CQEvent_TREE_CLOSED     CQEvent_Status = 8
)

func (CQEvent_Status) Enum

func (x CQEvent_Status) Enum() *CQEvent_Status

func (CQEvent_Status) EnumDescriptor

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

func (CQEvent_Status) String

func (x CQEvent_Status) String() string

func (*CQEvent_Status) UnmarshalJSON

func (x *CQEvent_Status) UnmarshalJSON(data []byte) error

type CQEvent_TriggeredTryJob

type CQEvent_TriggeredTryJob struct {
	Master           *string  `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
	Builder          *string  `protobuf:"bytes,2,opt,name=builder" json:"builder,omitempty"`
	Tests            []string `protobuf:"bytes,3,rep,name=tests" json:"tests,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Tryjobs which were triggered. Used for VERIFIER_TRIGGER action.

func (*CQEvent_TriggeredTryJob) Descriptor

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

func (*CQEvent_TriggeredTryJob) GetBuilder

func (m *CQEvent_TriggeredTryJob) GetBuilder() string

func (*CQEvent_TriggeredTryJob) GetMaster

func (m *CQEvent_TriggeredTryJob) GetMaster() string

func (*CQEvent_TriggeredTryJob) GetTests

func (m *CQEvent_TriggeredTryJob) GetTests() []string

func (*CQEvent_TriggeredTryJob) ProtoMessage

func (*CQEvent_TriggeredTryJob) ProtoMessage()

func (*CQEvent_TriggeredTryJob) Reset

func (m *CQEvent_TriggeredTryJob) Reset()

func (*CQEvent_TriggeredTryJob) String

func (m *CQEvent_TriggeredTryJob) String() string

type CQEvent_Verifier

type CQEvent_Verifier int32

Verifier which produced event.

const (
	CQEvent_UNKNOWN_VERIFIER           CQEvent_Verifier = 0
	CQEvent_REVIEWER_LGTM              CQEvent_Verifier = 1
	CQEvent_SIGN_CLA                   CQEvent_Verifier = 2
	CQEvent_TREE_STATUS                CQEvent_Verifier = 3
	CQEvent_TRIGGER_EXPERIMENT_TRY_JOB CQEvent_Verifier = 4
	CQEvent_TRY_JOB                    CQEvent_Verifier = 5
)

func (CQEvent_Verifier) Enum

func (CQEvent_Verifier) EnumDescriptor

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

func (CQEvent_Verifier) String

func (x CQEvent_Verifier) String() string

func (*CQEvent_Verifier) UnmarshalJSON

func (x *CQEvent_Verifier) UnmarshalJSON(data []byte) error

type ChromeInfraEvent

type ChromeInfraEvent struct {
	// Meaning of the timestamp provided in LogEvent.event_time_ms
	// An event with a time extension (http request e.g.) should have two
	// ChromeInfraEvent associated with it, marked BEGIN and END respectively.
	TimestampKind *ChromeInfraEvent_TimestampKind `` /* 145-byte string literal not displayed */
	// // Dapper-style IDs, used to reconstruct traces.
	// First event in the tree of events.
	TraceId *string `protobuf:"bytes,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
	// Current event.
	SpanId *string `protobuf:"bytes,3,opt,name=span_id,json=spanId" json:"span_id,omitempty"`
	// (optional) event that triggered the current one.
	ParentId *string `protobuf:"bytes,4,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"`
	// Can be a machine name, the name of a service, or something else.
	EventSource *InfraEventSource `protobuf:"bytes,5,opt,name=event_source,json=eventSource" json:"event_source,omitempty"`
	// Below this line: different kind of events. A single one should be provided.
	// See the definition of each message type for a detailed description of
	// their use.
	ServiceEvent *ServiceEvent `protobuf:"bytes,6,opt,name=service_event,json=serviceEvent" json:"service_event,omitempty"`
	BuildEvent   *BuildEvent   `protobuf:"bytes,8,opt,name=build_event,json=buildEvent" json:"build_event,omitempty"`
	CqEvent      *CQEvent      `protobuf:"bytes,9,opt,name=cq_event,json=cqEvent" json:"cq_event,omitempty"`
	// A group of test results reported to test-results app.
	TestResults          *TestResultsEvent     `protobuf:"bytes,10,opt,name=test_results,json=testResults" json:"test_results,omitempty"`
	MachineProviderEvent *MachineProviderEvent `protobuf:"bytes,11,opt,name=machine_provider_event,json=machineProviderEvent" json:"machine_provider_event,omitempty"`
	AnalyzeEvent         *AnalyzeEvent         `protobuf:"bytes,12,opt,name=analyze_event,json=analyzeEvent" json:"analyze_event,omitempty"`
	SwarmingTaskEvent    *SwarmingTaskEvent    `protobuf:"bytes,13,opt,name=swarming_task_event,json=swarmingTaskEvent" json:"swarming_task_event,omitempty"`
	IsolateClientEvent   *IsolateClientEvent   `protobuf:"bytes,14,opt,name=isolate_client_event,json=isolateClientEvent" json:"isolate_client_event,omitempty"`
	XXX_unrecognized     []byte                `json:"-"`
}

Describes an event happening on the Chrome infrastructure go/chrome-infra This is rather generic on purpose. New use cases should be added as a new *_event field at the end.

Next tag: 15

func (*ChromeInfraEvent) Descriptor

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

func (*ChromeInfraEvent) GetAnalyzeEvent

func (m *ChromeInfraEvent) GetAnalyzeEvent() *AnalyzeEvent

func (*ChromeInfraEvent) GetBuildEvent

func (m *ChromeInfraEvent) GetBuildEvent() *BuildEvent

func (*ChromeInfraEvent) GetCqEvent

func (m *ChromeInfraEvent) GetCqEvent() *CQEvent

func (*ChromeInfraEvent) GetEventSource

func (m *ChromeInfraEvent) GetEventSource() *InfraEventSource

func (*ChromeInfraEvent) GetIsolateClientEvent

func (m *ChromeInfraEvent) GetIsolateClientEvent() *IsolateClientEvent

func (*ChromeInfraEvent) GetMachineProviderEvent

func (m *ChromeInfraEvent) GetMachineProviderEvent() *MachineProviderEvent

func (*ChromeInfraEvent) GetParentId

func (m *ChromeInfraEvent) GetParentId() string

func (*ChromeInfraEvent) GetServiceEvent

func (m *ChromeInfraEvent) GetServiceEvent() *ServiceEvent

func (*ChromeInfraEvent) GetSpanId

func (m *ChromeInfraEvent) GetSpanId() string

func (*ChromeInfraEvent) GetSwarmingTaskEvent

func (m *ChromeInfraEvent) GetSwarmingTaskEvent() *SwarmingTaskEvent

func (*ChromeInfraEvent) GetTestResults

func (m *ChromeInfraEvent) GetTestResults() *TestResultsEvent

func (*ChromeInfraEvent) GetTimestampKind

func (m *ChromeInfraEvent) GetTimestampKind() ChromeInfraEvent_TimestampKind

func (*ChromeInfraEvent) GetTraceId

func (m *ChromeInfraEvent) GetTraceId() string

func (*ChromeInfraEvent) ProtoMessage

func (*ChromeInfraEvent) ProtoMessage()

func (*ChromeInfraEvent) Reset

func (m *ChromeInfraEvent) Reset()

func (*ChromeInfraEvent) String

func (m *ChromeInfraEvent) String() string

type ChromeInfraEvent_TimestampKind

type ChromeInfraEvent_TimestampKind int32
const (
	ChromeInfraEvent_UNKNOWN ChromeInfraEvent_TimestampKind = 0
	// Event with no time extension
	ChromeInfraEvent_POINT ChromeInfraEvent_TimestampKind = 1
	// Start/end of an event with a time extension.
	ChromeInfraEvent_BEGIN ChromeInfraEvent_TimestampKind = 2
	ChromeInfraEvent_END   ChromeInfraEvent_TimestampKind = 3
)
const Default_ChromeInfraEvent_TimestampKind ChromeInfraEvent_TimestampKind = ChromeInfraEvent_UNKNOWN

func (ChromeInfraEvent_TimestampKind) Enum

func (ChromeInfraEvent_TimestampKind) EnumDescriptor

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

func (ChromeInfraEvent_TimestampKind) String

func (*ChromeInfraEvent_TimestampKind) UnmarshalJSON

func (x *ChromeInfraEvent_TimestampKind) UnmarshalJSON(data []byte) error

type CodeVersion

type CodeVersion struct {
	// A reference to the source repository. Do not include any hash / revision
	// information.
	SourceUrl *string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
	// Indicates if the current state of the code has local modification.
	Dirty *bool `protobuf:"varint,2,opt,name=dirty" json:"dirty,omitempty"`
	// Provide only one of these, depending on version control system used.
	Version     *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	GitHash     *string `protobuf:"bytes,4,opt,name=git_hash,json=gitHash" json:"git_hash,omitempty"`
	SvnRevision *int32  `protobuf:"varint,5,opt,name=svn_revision,json=svnRevision" json:"svn_revision,omitempty"`
	// Name of the branch we're on.
	// ex: 'master', 'trunk'
	Branch           *string `protobuf:"bytes,6,opt,name=branch" json:"branch,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Describe version of code used or checked-out.

Next tag: 7

func (*CodeVersion) Descriptor

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

func (*CodeVersion) GetBranch

func (m *CodeVersion) GetBranch() string

func (*CodeVersion) GetDirty

func (m *CodeVersion) GetDirty() bool

func (*CodeVersion) GetGitHash

func (m *CodeVersion) GetGitHash() string

func (*CodeVersion) GetSourceUrl

func (m *CodeVersion) GetSourceUrl() string

func (*CodeVersion) GetSvnRevision

func (m *CodeVersion) GetSvnRevision() int32

func (*CodeVersion) GetVersion

func (m *CodeVersion) GetVersion() string

func (*CodeVersion) ProtoMessage

func (*CodeVersion) ProtoMessage()

func (*CodeVersion) Reset

func (m *CodeVersion) Reset()

func (*CodeVersion) String

func (m *CodeVersion) String() string

type CompilerInfoStats

type CompilerInfoStats struct {
	// Number of times new compiler info were stored to the cache.
	Stores *int64 `protobuf:"varint,1,opt,name=stores" json:"stores,omitempty"`
	// Number of times compiler info were reused.
	StoreDups *int64 `protobuf:"varint,2,opt,name=store_dups,json=storeDups" json:"store_dups,omitempty"`
	// Number of times compiler were not found.
	Miss *int64 `protobuf:"varint,3,opt,name=miss" json:"miss,omitempty"`
	// Number of failures to get compiler info.
	// i.e. compiler can be found but failed to get compiler info.
	// e.g. not executable binary, unknown options are passed, etc.
	Fail *int64 `protobuf:"varint,4,opt,name=fail" json:"fail,omitempty"`
	// The size of CompilerInfoCache loaded from disk.
	LoadedSizeBytes  *int64 `protobuf:"varint,5,opt,name=loaded_size_bytes,json=loadedSizeBytes" json:"loaded_size_bytes,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of compiler info store.

Compiler info store contains caches of compiler info to be used for listing up necessary files for compiles or dispatching compilers in backend. NEXT ID TO USE: 6

func (*CompilerInfoStats) Descriptor

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

func (*CompilerInfoStats) GetFail

func (m *CompilerInfoStats) GetFail() int64

func (*CompilerInfoStats) GetLoadedSizeBytes

func (m *CompilerInfoStats) GetLoadedSizeBytes() int64

func (*CompilerInfoStats) GetMiss

func (m *CompilerInfoStats) GetMiss() int64

func (*CompilerInfoStats) GetStoreDups

func (m *CompilerInfoStats) GetStoreDups() int64

func (*CompilerInfoStats) GetStores

func (m *CompilerInfoStats) GetStores() int64

func (*CompilerInfoStats) ProtoMessage

func (*CompilerInfoStats) ProtoMessage()

func (*CompilerInfoStats) Reset

func (m *CompilerInfoStats) Reset()

func (*CompilerInfoStats) String

func (m *CompilerInfoStats) String() string

type CompilerProxyStats

type CompilerProxyStats struct {
	// Number of compile requests failed by compiler_proxy error.
	Fail             *int64 `protobuf:"varint,1,opt,name=fail" json:"fail,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of compiler_proxy itself.

func (*CompilerProxyStats) Descriptor

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

func (*CompilerProxyStats) GetFail

func (m *CompilerProxyStats) GetFail() int64

func (*CompilerProxyStats) ProtoMessage

func (*CompilerProxyStats) ProtoMessage()

func (*CompilerProxyStats) Reset

func (m *CompilerProxyStats) Reset()

func (*CompilerProxyStats) String

func (m *CompilerProxyStats) String() string

type DepsCacheStats

type DepsCacheStats struct {
	// Size of deps_cache_table.
	DepsTableSize *int64 `protobuf:"varint,1,opt,name=deps_table_size,json=depsTableSize" json:"deps_table_size,omitempty"`
	// Maximum number of ids of an entry in deps_cache_table.
	MaxEntries *int64 `protobuf:"varint,2,opt,name=max_entries,json=maxEntries" json:"max_entries,omitempty"`
	// Total number of ids of all entries in deps_cache_table.
	TotalEntries *int64 `protobuf:"varint,3,opt,name=total_entries,json=totalEntries" json:"total_entries,omitempty"`
	// Size of id_table.
	IdtableSize *int64 `protobuf:"varint,4,opt,name=idtable_size,json=idtableSize" json:"idtable_size,omitempty"`
	// Number of hit of the table.
	Hit *int64 `protobuf:"varint,5,opt,name=hit" json:"hit,omitempty"`
	// Number of update of the table.
	Updated *int64 `protobuf:"varint,6,opt,name=updated" json:"updated,omitempty"`
	// Number of miss. i.e. newly added to the table.
	Missed           *int64 `protobuf:"varint,7,opt,name=missed" json:"missed,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of DepsCache.

The result of the include processor is cached in DepsCache. It has two kinds of tables: deps_cache_table and id_table. deps_cache_table is a mapping from an identifier of a compile to list of files required for it. Since the same filename shows up to various number of entries in deps_cache_table, we give an unique id to each filename and deps_cache actually contains ids as value. id_table maintains mapping between the id and the filename.

func (*DepsCacheStats) Descriptor

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

func (*DepsCacheStats) GetDepsTableSize

func (m *DepsCacheStats) GetDepsTableSize() int64

func (*DepsCacheStats) GetHit

func (m *DepsCacheStats) GetHit() int64

func (*DepsCacheStats) GetIdtableSize

func (m *DepsCacheStats) GetIdtableSize() int64

func (*DepsCacheStats) GetMaxEntries

func (m *DepsCacheStats) GetMaxEntries() int64

func (*DepsCacheStats) GetMissed

func (m *DepsCacheStats) GetMissed() int64

func (*DepsCacheStats) GetTotalEntries

func (m *DepsCacheStats) GetTotalEntries() int64

func (*DepsCacheStats) GetUpdated

func (m *DepsCacheStats) GetUpdated() int64

func (*DepsCacheStats) ProtoMessage

func (*DepsCacheStats) ProtoMessage()

func (*DepsCacheStats) Reset

func (m *DepsCacheStats) Reset()

func (*DepsCacheStats) String

func (m *DepsCacheStats) String() string

type DistributionProto

type DistributionProto struct {
	// Number of elements.
	Count *int64 `protobuf:"varint,1,req,name=count" json:"count,omitempty"`
	// Sum of all elements.
	Sum *int64 `protobuf:"varint,2,req,name=sum" json:"sum,omitempty"`
	// Square sum of all elements.
	// This can be used to calculate variance.
	SumOfSquares *float64 `protobuf:"fixed64,3,req,name=sum_of_squares,json=sumOfSquares" json:"sum_of_squares,omitempty"`
	// minimum value of all elements.
	Min *int64 `protobuf:"varint,4,opt,name=min" json:"min,omitempty"`
	// maximum value of all elements.
	Max *int64 `protobuf:"varint,5,opt,name=max" json:"max,omitempty"`
	// histogram logbase.
	Logbase *float64 `protobuf:"fixed64,6,opt,name=logbase" json:"logbase,omitempty"`
	// Values of each bucket.
	// The bucket range is like [0,1), [1, logbase), [logbase, logbase^2), ...
	BucketValue      []int64 `protobuf:"varint,7,rep,name=bucket_value,json=bucketValue" json:"bucket_value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

General purpose protocol buffer type to represents distribution.

logs made from histogram usually use this protocol buffer type.

func (*DistributionProto) Descriptor

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

func (*DistributionProto) GetBucketValue

func (m *DistributionProto) GetBucketValue() []int64

func (*DistributionProto) GetCount

func (m *DistributionProto) GetCount() int64

func (*DistributionProto) GetLogbase

func (m *DistributionProto) GetLogbase() float64

func (*DistributionProto) GetMax

func (m *DistributionProto) GetMax() int64

func (*DistributionProto) GetMin

func (m *DistributionProto) GetMin() int64

func (*DistributionProto) GetSum

func (m *DistributionProto) GetSum() int64

func (*DistributionProto) GetSumOfSquares

func (m *DistributionProto) GetSumOfSquares() float64

func (*DistributionProto) ProtoMessage

func (*DistributionProto) ProtoMessage()

func (*DistributionProto) Reset

func (m *DistributionProto) Reset()

func (*DistributionProto) String

func (m *DistributionProto) String() string

type FallbackInSetupStats

type FallbackInSetupStats struct {
	// Number of fallbacks caused by failures to parse command line flags.
	FailedToParseFlags *int64 `protobuf:"varint,1,opt,name=failed_to_parse_flags,json=failedToParseFlags" json:"failed_to_parse_flags,omitempty"`
	// Number of fallbacks because remote compile is not supported.
	NoRemoteCompileSupported *int64 `` /* 131-byte string literal not displayed */
	// Number of fallbacks caused by HTTP disabled.
	HttpDisabled *int64 `protobuf:"varint,3,opt,name=http_disabled,json=httpDisabled" json:"http_disabled,omitempty"`
	// Number of fallbacks caused by failures to get compiler info.
	FailToGetCompilerInfo *int64 `protobuf:"varint,4,opt,name=fail_to_get_compiler_info,json=failToGetCompilerInfo" json:"fail_to_get_compiler_info,omitempty"`
	// Number of fallbacks caused by compiler disabled.
	CompilerDisabled *int64 `protobuf:"varint,5,opt,name=compiler_disabled,json=compilerDisabled" json:"compiler_disabled,omitempty"`
	// Number of fallbacks requested by the user.
	RequestedByUser  *int64 `protobuf:"varint,6,opt,name=requested_by_user,json=requestedByUser" json:"requested_by_user,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics on forced local fallbacks in setup step. NEXT ID TO USE: 7

func (*FallbackInSetupStats) Descriptor

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

func (*FallbackInSetupStats) GetCompilerDisabled

func (m *FallbackInSetupStats) GetCompilerDisabled() int64

func (*FallbackInSetupStats) GetFailToGetCompilerInfo

func (m *FallbackInSetupStats) GetFailToGetCompilerInfo() int64

func (*FallbackInSetupStats) GetFailedToParseFlags

func (m *FallbackInSetupStats) GetFailedToParseFlags() int64

func (*FallbackInSetupStats) GetHttpDisabled

func (m *FallbackInSetupStats) GetHttpDisabled() int64

func (*FallbackInSetupStats) GetNoRemoteCompileSupported

func (m *FallbackInSetupStats) GetNoRemoteCompileSupported() int64

func (*FallbackInSetupStats) GetRequestedByUser

func (m *FallbackInSetupStats) GetRequestedByUser() int64

func (*FallbackInSetupStats) ProtoMessage

func (*FallbackInSetupStats) ProtoMessage()

func (*FallbackInSetupStats) Reset

func (m *FallbackInSetupStats) Reset()

func (*FallbackInSetupStats) String

func (m *FallbackInSetupStats) String() string

type FileStats

type FileStats struct {
	// Number of files used for compile.
	Requested *int64 `protobuf:"varint,1,opt,name=requested" json:"requested,omitempty"`
	// Number of files uploaded to goma backend.
	Uploaded *int64 `protobuf:"varint,2,opt,name=uploaded" json:"uploaded,omitempty"`
	// Number of file hashes not found in goma backend.
	// A compile request to goma backend has a list of hashes of files
	// instead of contents.  If one of them are missing in goma backend,
	// the backend returns the list of missing hashes.  This field represents
	// number of hashes missed.
	Missed           *int64 `protobuf:"varint,3,opt,name=missed" json:"missed,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of files used for remote compile.

func (*FileStats) Descriptor

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

func (*FileStats) GetMissed

func (m *FileStats) GetMissed() int64

func (*FileStats) GetRequested

func (m *FileStats) GetRequested() int64

func (*FileStats) GetUploaded

func (m *FileStats) GetUploaded() int64

func (*FileStats) ProtoMessage

func (*FileStats) ProtoMessage()

func (*FileStats) Reset

func (m *FileStats) Reset()

func (*FileStats) String

func (m *FileStats) String() string

type GomaCompileStats

type GomaCompileStats struct {
	// Number of compiles requested to goma backend.
	Finished *int64 `protobuf:"varint,1,opt,name=finished" json:"finished,omitempty"`
	// The number of compiles returned from the cache in backend.
	CacheHit *int64 `protobuf:"varint,2,opt,name=cache_hit,json=cacheHit" json:"cache_hit,omitempty"`
	// The number of compiles returned from the cache in local output.
	LocalCacheHit *int64 `protobuf:"varint,6,opt,name=local_cache_hit,json=localCacheHit" json:"local_cache_hit,omitempty"`
	// Number of compiles aborted.
	// compiler_proxy does competition between local and remote, and if local
	// wins, remote compile is aborted.
	Aborted *int64 `protobuf:"varint,3,opt,name=aborted" json:"aborted,omitempty"`
	// Number of retries.
	// In case of retriable error, compiler proxy retries remote compile.
	// e.g. if files required for compile is missing, compiler_proxy send
	// missing files, and retries compile.
	Retry *int64 `protobuf:"varint,4,opt,name=retry" json:"retry,omitempty"`
	// Number of remote failures. This contains remote compile failure, backend
	// failure, etc. Note that local compile result does not matter.
	Fail             *int64 `protobuf:"varint,5,opt,name=fail" json:"fail,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of compiles done in goma backend.

func (*GomaCompileStats) Descriptor

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

func (*GomaCompileStats) GetAborted

func (m *GomaCompileStats) GetAborted() int64

func (*GomaCompileStats) GetCacheHit

func (m *GomaCompileStats) GetCacheHit() int64

func (*GomaCompileStats) GetFail

func (m *GomaCompileStats) GetFail() int64

func (*GomaCompileStats) GetFinished

func (m *GomaCompileStats) GetFinished() int64

func (*GomaCompileStats) GetLocalCacheHit

func (m *GomaCompileStats) GetLocalCacheHit() int64

func (*GomaCompileStats) GetRetry

func (m *GomaCompileStats) GetRetry() int64

func (*GomaCompileStats) ProtoMessage

func (*GomaCompileStats) ProtoMessage()

func (*GomaCompileStats) Reset

func (m *GomaCompileStats) Reset()

func (*GomaCompileStats) String

func (m *GomaCompileStats) String() string

type GomaErrorStats

type GomaErrorStats struct {
	// The number of errors that were reported to the user.
	UserError *int64 `protobuf:"varint,1,opt,name=user_error,json=userError" json:"user_error,omitempty"`
	// Deprecated tikuta 7/2016.
	DEPRECATEDUserWarning *int64 `protobuf:"varint,2,opt,name=DEPRECATED_user_warning,json=DEPRECATEDUserWarning" json:"DEPRECATED_user_warning,omitempty"`
	// The number of errors that were written to the log file.
	LogError *int64 `protobuf:"varint,3,opt,name=log_error,json=logError" json:"log_error,omitempty"`
	// The number of warnings that were written to the log file.
	LogWarning       *int64 `protobuf:"varint,4,opt,name=log_warning,json=logWarning" json:"log_warning,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics for errors in compile_task.

func (*GomaErrorStats) Descriptor

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

func (*GomaErrorStats) GetDEPRECATEDUserWarning

func (m *GomaErrorStats) GetDEPRECATEDUserWarning() int64

func (*GomaErrorStats) GetLogError

func (m *GomaErrorStats) GetLogError() int64

func (*GomaErrorStats) GetLogWarning

func (m *GomaErrorStats) GetLogWarning() int64

func (*GomaErrorStats) GetUserError

func (m *GomaErrorStats) GetUserError() int64

func (*GomaErrorStats) ProtoMessage

func (*GomaErrorStats) ProtoMessage()

func (*GomaErrorStats) Reset

func (m *GomaErrorStats) Reset()

func (*GomaErrorStats) String

func (m *GomaErrorStats) String() string

type GomaHistograms

type GomaHistograms struct {
	// Histogram for HttpRPC call time in milliseconds.
	RpcCallTime *DistributionProto `protobuf:"bytes,1,opt,name=rpc_call_time,json=rpcCallTime" json:"rpc_call_time,omitempty"`
	// Histogram for goma executor run time in milliseconds.
	ExecutorRunTime  *DistributionProto `protobuf:"bytes,2,opt,name=executor_run_time,json=executorRunTime" json:"executor_run_time,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

Histograpms of compiler_proxy.

func (*GomaHistograms) Descriptor

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

func (*GomaHistograms) GetExecutorRunTime

func (m *GomaHistograms) GetExecutorRunTime() *DistributionProto

func (*GomaHistograms) GetRpcCallTime

func (m *GomaHistograms) GetRpcCallTime() *DistributionProto

func (*GomaHistograms) ProtoMessage

func (*GomaHistograms) ProtoMessage()

func (*GomaHistograms) Reset

func (m *GomaHistograms) Reset()

func (*GomaHistograms) String

func (m *GomaHistograms) String() string

type GomaMismatchStats

type GomaMismatchStats struct {
	// The number of compiler version mismatches.
	CommandVersionMismatch *int64 `protobuf:"varint,1,opt,name=command_version_mismatch,json=commandVersionMismatch" json:"command_version_mismatch,omitempty"`
	// The number of compiler binary hash mismatches.
	BinaryHashMismatch *int64 `protobuf:"varint,2,opt,name=binary_hash_mismatch,json=binaryHashMismatch" json:"binary_hash_mismatch,omitempty"`
	// The number of subprogram mismatches.
	SubprogramMismatch *int64 `protobuf:"varint,3,opt,name=subprogram_mismatch,json=subprogramMismatch" json:"subprogram_mismatch,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

Statistics for compilers/subprograms mismatches.

func (*GomaMismatchStats) Descriptor

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

func (*GomaMismatchStats) GetBinaryHashMismatch

func (m *GomaMismatchStats) GetBinaryHashMismatch() int64

func (*GomaMismatchStats) GetCommandVersionMismatch

func (m *GomaMismatchStats) GetCommandVersionMismatch() int64

func (*GomaMismatchStats) GetSubprogramMismatch

func (m *GomaMismatchStats) GetSubprogramMismatch() int64

func (*GomaMismatchStats) ProtoMessage

func (*GomaMismatchStats) ProtoMessage()

func (*GomaMismatchStats) Reset

func (m *GomaMismatchStats) Reset()

func (*GomaMismatchStats) String

func (m *GomaMismatchStats) String() string

type GomaStats

type GomaStats struct {
	// different kind of stats. A single one should be provided.
	// See the definition of each message type for a details description of
	// thier use.
	RequestStats          *RequestStats          `protobuf:"bytes,1,opt,name=request_stats,json=requestStats" json:"request_stats,omitempty"`
	FileStats             *FileStats             `protobuf:"bytes,2,opt,name=file_stats,json=fileStats" json:"file_stats,omitempty"`
	OutputStats           *OutputStats           `protobuf:"bytes,3,opt,name=output_stats,json=outputStats" json:"output_stats,omitempty"`
	MemoryStats           *MemoryStats           `protobuf:"bytes,4,opt,name=memory_stats,json=memoryStats" json:"memory_stats,omitempty"`
	TimeStats             *TimeStats             `protobuf:"bytes,5,opt,name=time_stats,json=timeStats" json:"time_stats,omitempty"`
	IncludeProcessorStats *IncludeProcessorStats `protobuf:"bytes,6,opt,name=include_processor_stats,json=includeProcessorStats" json:"include_processor_stats,omitempty"`
	DepscacheStats        *DepsCacheStats        `protobuf:"bytes,7,opt,name=depscache_stats,json=depscacheStats" json:"depscache_stats,omitempty"`
	// Deprecated 04/2017. IncludeDirCache has been removed from goma.
	IncdircacheStats      *IncludeDirCacheStats  `protobuf:"bytes,8,opt,name=incdircache_stats,json=incdircacheStats" json:"incdircache_stats,omitempty"`
	HttpRpcStats          *HttpRPCStats          `protobuf:"bytes,9,opt,name=http_rpc_stats,json=httpRpcStats" json:"http_rpc_stats,omitempty"`
	ErrorStats            *GomaErrorStats        `protobuf:"bytes,12,opt,name=error_stats,json=errorStats" json:"error_stats,omitempty"`
	MismatchStats         *GomaMismatchStats     `protobuf:"bytes,13,opt,name=mismatch_stats,json=mismatchStats" json:"mismatch_stats,omitempty"`
	IncludecacheStats     *IncludeCacheStats     `protobuf:"bytes,14,opt,name=includecache_stats,json=includecacheStats" json:"includecache_stats,omitempty"`
	LocalOutputCacheStats *LocalOutputCacheStats `protobuf:"bytes,15,opt,name=local_output_cache_stats,json=localOutputCacheStats" json:"local_output_cache_stats,omitempty"`
	Histogram             *GomaHistograms        `protobuf:"bytes,10,opt,name=histogram" json:"histogram,omitempty"`
	MachineInfo           *MachineInfo           `protobuf:"bytes,11,opt,name=machine_info,json=machineInfo" json:"machine_info,omitempty"`
	XXX_unrecognized      []byte                 `json:"-"`
}

NEXT ID TO USE: 16

func (*GomaStats) Descriptor

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

func (*GomaStats) GetDepscacheStats

func (m *GomaStats) GetDepscacheStats() *DepsCacheStats

func (*GomaStats) GetErrorStats

func (m *GomaStats) GetErrorStats() *GomaErrorStats

func (*GomaStats) GetFileStats

func (m *GomaStats) GetFileStats() *FileStats

func (*GomaStats) GetHistogram

func (m *GomaStats) GetHistogram() *GomaHistograms

func (*GomaStats) GetHttpRpcStats

func (m *GomaStats) GetHttpRpcStats() *HttpRPCStats

func (*GomaStats) GetIncdircacheStats

func (m *GomaStats) GetIncdircacheStats() *IncludeDirCacheStats

func (*GomaStats) GetIncludeProcessorStats

func (m *GomaStats) GetIncludeProcessorStats() *IncludeProcessorStats

func (*GomaStats) GetIncludecacheStats

func (m *GomaStats) GetIncludecacheStats() *IncludeCacheStats

func (*GomaStats) GetLocalOutputCacheStats

func (m *GomaStats) GetLocalOutputCacheStats() *LocalOutputCacheStats

func (*GomaStats) GetMachineInfo

func (m *GomaStats) GetMachineInfo() *MachineInfo

func (*GomaStats) GetMemoryStats

func (m *GomaStats) GetMemoryStats() *MemoryStats

func (*GomaStats) GetMismatchStats

func (m *GomaStats) GetMismatchStats() *GomaMismatchStats

func (*GomaStats) GetOutputStats

func (m *GomaStats) GetOutputStats() *OutputStats

func (*GomaStats) GetRequestStats

func (m *GomaStats) GetRequestStats() *RequestStats

func (*GomaStats) GetTimeStats

func (m *GomaStats) GetTimeStats() *TimeStats

func (*GomaStats) ProtoMessage

func (*GomaStats) ProtoMessage()

func (*GomaStats) Reset

func (m *GomaStats) Reset()

func (*GomaStats) String

func (m *GomaStats) String() string

type HttpRPCStats

type HttpRPCStats struct {
	// Status code for initial /pingz.
	// compiler_proxy accessis /pingz to confirm backend live.
	PingStatusCode *int32 `protobuf:"varint,1,opt,name=ping_status_code,json=pingStatusCode" json:"ping_status_code,omitempty"`
	// round trip time of initial /pingz in milliseconds.
	// negative value would be set if /pingz failed by network error.
	PingRoundTripTimeMs *int32 `protobuf:"varint,10,opt,name=ping_round_trip_time_ms,json=pingRoundTripTimeMs" json:"ping_round_trip_time_ms,omitempty"`
	// Number of HttpRPC called.
	Query *int64 `protobuf:"varint,2,opt,name=query" json:"query,omitempty"`
	// Number of active HttpRPC now.
	Active *int64 `protobuf:"varint,3,opt,name=active" json:"active,omitempty"`
	// Number of HttpRPC retries.
	Retry *int64 `protobuf:"varint,4,opt,name=retry" json:"retry,omitempty"`
	// Number of HttpRPC timeouts.
	Timeout *int64 `protobuf:"varint,5,opt,name=timeout" json:"timeout,omitempty"`
	// Number of HttpRPC errors.
	Error *int64 `protobuf:"varint,6,opt,name=error" json:"error,omitempty"`
	// Number of times detected network error and become network error mode.
	NetworkError *int64 `protobuf:"varint,7,opt,name=network_error,json=networkError" json:"network_error,omitempty"`
	// Number of times recovered from network error mode.
	NetworkRecovered *int64 `protobuf:"varint,8,opt,name=network_recovered,json=networkRecovered" json:"network_recovered,omitempty"`
	// Statistics of HTTP status code.
	//
	// Since we may get several kinds of status code from backend,
	// this is repeated field.
	StatusCode       []*HttpRPCStats_HttpStatus `protobuf:"bytes,9,rep,name=status_code,json=statusCode" json:"status_code,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

Statistics of HttpRPC.

compiler_proxy calls goma backend via HttpRPC. NEXT ID TO USE: 11

func (*HttpRPCStats) Descriptor

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

func (*HttpRPCStats) GetActive

func (m *HttpRPCStats) GetActive() int64

func (*HttpRPCStats) GetError

func (m *HttpRPCStats) GetError() int64

func (*HttpRPCStats) GetNetworkError

func (m *HttpRPCStats) GetNetworkError() int64

func (*HttpRPCStats) GetNetworkRecovered

func (m *HttpRPCStats) GetNetworkRecovered() int64

func (*HttpRPCStats) GetPingRoundTripTimeMs

func (m *HttpRPCStats) GetPingRoundTripTimeMs() int32

func (*HttpRPCStats) GetPingStatusCode

func (m *HttpRPCStats) GetPingStatusCode() int32

func (*HttpRPCStats) GetQuery

func (m *HttpRPCStats) GetQuery() int64

func (*HttpRPCStats) GetRetry

func (m *HttpRPCStats) GetRetry() int64

func (*HttpRPCStats) GetStatusCode

func (m *HttpRPCStats) GetStatusCode() []*HttpRPCStats_HttpStatus

func (*HttpRPCStats) GetTimeout

func (m *HttpRPCStats) GetTimeout() int64

func (*HttpRPCStats) ProtoMessage

func (*HttpRPCStats) ProtoMessage()

func (*HttpRPCStats) Reset

func (m *HttpRPCStats) Reset()

func (*HttpRPCStats) String

func (m *HttpRPCStats) String() string

type HttpRPCStats_HttpStatus

type HttpRPCStats_HttpStatus struct {
	// HTTP status code e.g. 200, 302, 401, 503, etc.
	StatusCode *int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode" json:"status_code,omitempty"`
	// Number of times the status code were returned from backend.
	Count            *int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*HttpRPCStats_HttpStatus) Descriptor

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

func (*HttpRPCStats_HttpStatus) GetCount

func (m *HttpRPCStats_HttpStatus) GetCount() int64

func (*HttpRPCStats_HttpStatus) GetStatusCode

func (m *HttpRPCStats_HttpStatus) GetStatusCode() int32

func (*HttpRPCStats_HttpStatus) ProtoMessage

func (*HttpRPCStats_HttpStatus) ProtoMessage()

func (*HttpRPCStats_HttpStatus) Reset

func (m *HttpRPCStats_HttpStatus) Reset()

func (*HttpRPCStats_HttpStatus) String

func (m *HttpRPCStats_HttpStatus) String() string

type IncludeCacheStats

type IncludeCacheStats struct {
	// The number of entries in the include cache.
	TotalEntries *int64 `protobuf:"varint,1,opt,name=total_entries,json=totalEntries" json:"total_entries,omitempty"`
	// The total bytes of the contents in the include cache.
	TotalCacheSize *int64 `protobuf:"varint,2,opt,name=total_cache_size,json=totalCacheSize" json:"total_cache_size,omitempty"`
	// Cache hit count.
	Hit *int64 `protobuf:"varint,3,opt,name=hit" json:"hit,omitempty"`
	// Cache miss count.
	Missed *int64 `protobuf:"varint,4,opt,name=missed" json:"missed,omitempty"`
	// Cache update count.
	Updated *int64 `protobuf:"varint,5,opt,name=updated" json:"updated,omitempty"`
	// Cache evicted count.
	Evicted *int64 `protobuf:"varint,6,opt,name=evicted" json:"evicted,omitempty"`
	// The total size of original (unfiltered) header files in byte.
	OriginalTotalSize *int64 `protobuf:"varint,7,opt,name=original_total_size,json=originalTotalSize" json:"original_total_size,omitempty"`
	// The max size ef the original header files in byte.
	OriginalMaxSize *int64 `protobuf:"varint,8,opt,name=original_max_size,json=originalMaxSize" json:"original_max_size,omitempty"`
	// The total size of filtered header files in byte.
	FilteredTotalSize *int64 `protobuf:"varint,9,opt,name=filtered_total_size,json=filteredTotalSize" json:"filtered_total_size,omitempty"`
	// The max size of filtered header files in byte.
	FilteredMaxSize  *int64 `protobuf:"varint,10,opt,name=filtered_max_size,json=filteredMaxSize" json:"filtered_max_size,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics for include cache.

IncludeCache contains a file that include only preprocessor directives.

func (*IncludeCacheStats) Descriptor

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

func (*IncludeCacheStats) GetEvicted

func (m *IncludeCacheStats) GetEvicted() int64

func (*IncludeCacheStats) GetFilteredMaxSize

func (m *IncludeCacheStats) GetFilteredMaxSize() int64

func (*IncludeCacheStats) GetFilteredTotalSize

func (m *IncludeCacheStats) GetFilteredTotalSize() int64

func (*IncludeCacheStats) GetHit

func (m *IncludeCacheStats) GetHit() int64

func (*IncludeCacheStats) GetMissed

func (m *IncludeCacheStats) GetMissed() int64

func (*IncludeCacheStats) GetOriginalMaxSize

func (m *IncludeCacheStats) GetOriginalMaxSize() int64

func (*IncludeCacheStats) GetOriginalTotalSize

func (m *IncludeCacheStats) GetOriginalTotalSize() int64

func (*IncludeCacheStats) GetTotalCacheSize

func (m *IncludeCacheStats) GetTotalCacheSize() int64

func (*IncludeCacheStats) GetTotalEntries

func (m *IncludeCacheStats) GetTotalEntries() int64

func (*IncludeCacheStats) GetUpdated

func (m *IncludeCacheStats) GetUpdated() int64

func (*IncludeCacheStats) ProtoMessage

func (*IncludeCacheStats) ProtoMessage()

func (*IncludeCacheStats) Reset

func (m *IncludeCacheStats) Reset()

func (*IncludeCacheStats) String

func (m *IncludeCacheStats) String() string

type IncludeDirCacheStats

type IncludeDirCacheStats struct {
	// Number of instances of include dir cache.
	Instances *int64 `protobuf:"varint,1,opt,name=instances" json:"instances,omitempty"`
	// Estimated size of memory consumed for include dir cache.
	Memory *int64 `protobuf:"varint,2,opt,name=memory" json:"memory,omitempty"`
	// Number of times new instance is created.
	Created *int64 `protobuf:"varint,3,opt,name=created" json:"created,omitempty"`
	// Number of times instance is reused.
	Reused           *int64 `protobuf:"varint,4,opt,name=reused" json:"reused,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics for inlucde dir cache.

Include dir cache is a cache for a directory to be used as an include directory.

func (*IncludeDirCacheStats) Descriptor

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

func (*IncludeDirCacheStats) GetCreated

func (m *IncludeDirCacheStats) GetCreated() int64

func (*IncludeDirCacheStats) GetInstances

func (m *IncludeDirCacheStats) GetInstances() int64

func (*IncludeDirCacheStats) GetMemory

func (m *IncludeDirCacheStats) GetMemory() int64

func (*IncludeDirCacheStats) GetReused

func (m *IncludeDirCacheStats) GetReused() int64

func (*IncludeDirCacheStats) ProtoMessage

func (*IncludeDirCacheStats) ProtoMessage()

func (*IncludeDirCacheStats) Reset

func (m *IncludeDirCacheStats) Reset()

func (*IncludeDirCacheStats) String

func (m *IncludeDirCacheStats) String() string

type IncludeProcessorStats

type IncludeProcessorStats struct {
	// Number of files to be searched.
	Total *int64 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
	// Number of files that was skipped to search.
	// If include guard exists, and the same file is read twice, we do not need
	// to go into the guard.
	Skipped *int64 `protobuf:"varint,2,opt,name=skipped" json:"skipped,omitempty"`
	// Total waiting time [ms] to start IncludeProcessor.
	// This doesn't include the running time of IncludeProcessor.
	TotalWaitTime *int64 `protobuf:"varint,3,opt,name=total_wait_time,json=totalWaitTime" json:"total_wait_time,omitempty"`
	// Total running time [ms] of IncludeProcessor.
	TotalRunTime     *int64 `protobuf:"varint,4,opt,name=total_run_time,json=totalRunTime" json:"total_run_time,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of include processor.

Include processor gets defined macros, search dirs, and a source file, and list up files required for compile.

func (*IncludeProcessorStats) Descriptor

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

func (*IncludeProcessorStats) GetSkipped

func (m *IncludeProcessorStats) GetSkipped() int64

func (*IncludeProcessorStats) GetTotal

func (m *IncludeProcessorStats) GetTotal() int64

func (*IncludeProcessorStats) GetTotalRunTime

func (m *IncludeProcessorStats) GetTotalRunTime() int64

func (*IncludeProcessorStats) GetTotalWaitTime

func (m *IncludeProcessorStats) GetTotalWaitTime() int64

func (*IncludeProcessorStats) ProtoMessage

func (*IncludeProcessorStats) ProtoMessage()

func (*IncludeProcessorStats) Reset

func (m *IncludeProcessorStats) Reset()

func (*IncludeProcessorStats) String

func (m *IncludeProcessorStats) String() string

type InfraEventSource

type InfraEventSource struct {
	// This should not be an IP address.
	HostName *string `protobuf:"bytes,1,opt,name=host_name,json=hostName" json:"host_name,omitempty"`
	// Provide the name found in app.yaml, not the URL
	AppengineName *string `protobuf:"bytes,2,opt,name=appengine_name,json=appengineName" json:"appengine_name,omitempty"`
	// Name of service as found in infra(_internal).git/infra/services. For
	// buildbot events this field contains '/buildbot/masters/' + master name.
	// Ex: builder_alerts, /buildbot/masters/tryserver.chromium.linux.
	ServiceName      *string `protobuf:"bytes,3,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Next tag: 4

func (*InfraEventSource) Descriptor

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

func (*InfraEventSource) GetAppengineName

func (m *InfraEventSource) GetAppengineName() string

func (*InfraEventSource) GetHostName

func (m *InfraEventSource) GetHostName() string

func (*InfraEventSource) GetServiceName

func (m *InfraEventSource) GetServiceName() string

func (*InfraEventSource) ProtoMessage

func (*InfraEventSource) ProtoMessage()

func (*InfraEventSource) Reset

func (m *InfraEventSource) Reset()

func (*InfraEventSource) String

func (m *InfraEventSource) String() string

type IsolateClientEvent

type IsolateClientEvent struct {
	// Details of the isolate binary version which generated this log.
	Binary *Binary `protobuf:"bytes,1,opt,name=binary" json:"binary,omitempty"`
	// The type of operation.  If set to ARCHIVE, archive_details is also set.
	Operation *IsolateClientEvent_Operation `protobuf:"varint,2,opt,name=operation,enum=eventlog.IsolateClientEvent_Operation" json:"operation,omitempty"`
	// Stats for an archive operation.
	ArchiveDetails *IsolateClientEvent_ArchiveDetails `protobuf:"bytes,3,opt,name=archive_details,json=archiveDetails" json:"archive_details,omitempty"`
	// The name of the buildbot master which caused this operation to run.
	Master *string `protobuf:"bytes,4,opt,name=master" json:"master,omitempty"`
	// The name of the builder which caused this operation to run.
	Builder *string `protobuf:"bytes,5,opt,name=builder" json:"builder,omitempty"`
	// The id of the build operation in which the isolate binary was run.
	BuildId *string `protobuf:"bytes,6,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	// The host on which the isolate binary was executed.
	Slave *string `protobuf:"bytes,7,opt,name=slave" json:"slave,omitempty"`
	// Start time of the operation in microseconds.
	StartTsUsec *int64 `protobuf:"varint,8,opt,name=start_ts_usec,json=startTsUsec" json:"start_ts_usec,omitempty"`
	// End time of the operation in microseconds.
	EndTsUsec        *int64 `protobuf:"varint,9,opt,name=end_ts_usec,json=endTsUsec" json:"end_ts_usec,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Describes a run of the isolate client. Next tag: 10

func (*IsolateClientEvent) Descriptor

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

func (*IsolateClientEvent) GetArchiveDetails

func (m *IsolateClientEvent) GetArchiveDetails() *IsolateClientEvent_ArchiveDetails

func (*IsolateClientEvent) GetBinary

func (m *IsolateClientEvent) GetBinary() *Binary

func (*IsolateClientEvent) GetBuildId

func (m *IsolateClientEvent) GetBuildId() string

func (*IsolateClientEvent) GetBuilder

func (m *IsolateClientEvent) GetBuilder() string

func (*IsolateClientEvent) GetEndTsUsec

func (m *IsolateClientEvent) GetEndTsUsec() int64

func (*IsolateClientEvent) GetMaster

func (m *IsolateClientEvent) GetMaster() string

func (*IsolateClientEvent) GetOperation

func (*IsolateClientEvent) GetSlave

func (m *IsolateClientEvent) GetSlave() string

func (*IsolateClientEvent) GetStartTsUsec

func (m *IsolateClientEvent) GetStartTsUsec() int64

func (*IsolateClientEvent) ProtoMessage

func (*IsolateClientEvent) ProtoMessage()

func (*IsolateClientEvent) Reset

func (m *IsolateClientEvent) Reset()

func (*IsolateClientEvent) String

func (m *IsolateClientEvent) String() string

type IsolateClientEvent_ArchiveDetails

type IsolateClientEvent_ArchiveDetails struct {
	// The number of files to be isolated that were already present in the
	// isolate cache.
	HitCount *int64 `protobuf:"varint,1,opt,name=hit_count,json=hitCount" json:"hit_count,omitempty"`
	// The number of bytes in files to be isolated that were already present in
	// the isolate cache.
	HitBytes *int64 `protobuf:"varint,2,opt,name=hit_bytes,json=hitBytes" json:"hit_bytes,omitempty"`
	// The number of files to be isolated that were not already present in the
	// isolate cache.
	// This should equal upload_success_count + upload_fail_count.
	MissCount *int64 `protobuf:"varint,3,opt,name=miss_count,json=missCount" json:"miss_count,omitempty"`
	// The number of (uncompressed) bytes to be uploaded.
	MissBytes *int64 `protobuf:"varint,4,opt,name=miss_bytes,json=missBytes" json:"miss_bytes,omitempty"`
	// The number of files which were successfully uploaded to the isolate
	// server.
	UploadSuccessCount *int64 `protobuf:"varint,5,opt,name=upload_success_count,json=uploadSuccessCount" json:"upload_success_count,omitempty"`
	// The number of files which were failed to be uploaded to the isolate
	// server.
	UploadFailCount *int64 `protobuf:"varint,6,opt,name=upload_fail_count,json=uploadFailCount" json:"upload_fail_count,omitempty"`
	// The number of bytes which were successfully uploaded.  This is the
	// number of bytes after compression has been applied.
	UploadBytes *int64 `protobuf:"varint,7,opt,name=upload_bytes,json=uploadBytes" json:"upload_bytes,omitempty"`
	// The hash(es) of isolated data (i.e. the data that was uploaded), as
	// stored in the produced isolated file. May contain more than one hash in
	// the case of batch archive operations.
	IsolateHash      []string `protobuf:"bytes,8,rep,name=isolate_hash,json=isolateHash" json:"isolate_hash,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Stats for an archive operation. An archive operation uploads build artifacts to the isolate server.

func (*IsolateClientEvent_ArchiveDetails) Descriptor

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

func (*IsolateClientEvent_ArchiveDetails) GetHitBytes

func (m *IsolateClientEvent_ArchiveDetails) GetHitBytes() int64

func (*IsolateClientEvent_ArchiveDetails) GetHitCount

func (m *IsolateClientEvent_ArchiveDetails) GetHitCount() int64

func (*IsolateClientEvent_ArchiveDetails) GetIsolateHash

func (m *IsolateClientEvent_ArchiveDetails) GetIsolateHash() []string

func (*IsolateClientEvent_ArchiveDetails) GetMissBytes

func (m *IsolateClientEvent_ArchiveDetails) GetMissBytes() int64

func (*IsolateClientEvent_ArchiveDetails) GetMissCount

func (m *IsolateClientEvent_ArchiveDetails) GetMissCount() int64

func (*IsolateClientEvent_ArchiveDetails) GetUploadBytes

func (m *IsolateClientEvent_ArchiveDetails) GetUploadBytes() int64

func (*IsolateClientEvent_ArchiveDetails) GetUploadFailCount

func (m *IsolateClientEvent_ArchiveDetails) GetUploadFailCount() int64

func (*IsolateClientEvent_ArchiveDetails) GetUploadSuccessCount

func (m *IsolateClientEvent_ArchiveDetails) GetUploadSuccessCount() int64

func (*IsolateClientEvent_ArchiveDetails) ProtoMessage

func (*IsolateClientEvent_ArchiveDetails) ProtoMessage()

func (*IsolateClientEvent_ArchiveDetails) Reset

func (*IsolateClientEvent_ArchiveDetails) String

type IsolateClientEvent_Operation

type IsolateClientEvent_Operation int32

The type of operation.

const (
	IsolateClientEvent_UNSPECIFIED IsolateClientEvent_Operation = 0
	// isolate was invoked with the "exparchive" operation, which is soon to be
	// renamed to "archive".
	IsolateClientEvent_ARCHIVE IsolateClientEvent_Operation = 1
	// isolate was invoked with the "archive" operation, which is soon to be
	// replaced by "exparchive".
	IsolateClientEvent_LEGACY_ARCHIVE IsolateClientEvent_Operation = 2
	// isolate was invoked with the "batcharchive" operation, which is soon to
	// be replaced by "exparchive".
	IsolateClientEvent_BATCH_ARCHIVE IsolateClientEvent_Operation = 3
)

func (IsolateClientEvent_Operation) Enum

func (IsolateClientEvent_Operation) EnumDescriptor

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

func (IsolateClientEvent_Operation) String

func (*IsolateClientEvent_Operation) UnmarshalJSON

func (x *IsolateClientEvent_Operation) UnmarshalJSON(data []byte) error

type LocalCompileStats

type LocalCompileStats struct {
	// Number of local compiles.
	Run *int64 `protobuf:"varint,1,opt,name=run" json:"run,omitempty"`
	// Number of local compiles killed.
	// compiler_proxy does competition between local and remote, and if remote
	// wins, local compile is killed.
	Killed *int64 `protobuf:"varint,2,opt,name=killed" json:"killed,omitempty"`
	// Number of local compiles finished.
	Finished         *int64 `protobuf:"varint,3,opt,name=finished" json:"finished,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of compiles done locally.

func (*LocalCompileStats) Descriptor

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

func (*LocalCompileStats) GetFinished

func (m *LocalCompileStats) GetFinished() int64

func (*LocalCompileStats) GetKilled

func (m *LocalCompileStats) GetKilled() int64

func (*LocalCompileStats) GetRun

func (m *LocalCompileStats) GetRun() int64

func (*LocalCompileStats) ProtoMessage

func (*LocalCompileStats) ProtoMessage()

func (*LocalCompileStats) Reset

func (m *LocalCompileStats) Reset()

func (*LocalCompileStats) String

func (m *LocalCompileStats) String() string

type LocalOutputCacheStats

type LocalOutputCacheStats struct {
	// Number of new compile results successfully cached.
	SaveSuccess *int64 `protobuf:"varint,1,opt,name=save_success,json=saveSuccess" json:"save_success,omitempty"`
	// Total time to save all the files.
	SaveSuccessTimeMs *int64 `protobuf:"varint,2,opt,name=save_success_time_ms,json=saveSuccessTimeMs" json:"save_success_time_ms,omitempty"`
	// Number of compile results failed to get cached.
	SaveFailure *int64 `protobuf:"varint,3,opt,name=save_failure,json=saveFailure" json:"save_failure,omitempty"`
	// The number of cache hits
	LookupSuccess *int64 `protobuf:"varint,4,opt,name=lookup_success,json=lookupSuccess" json:"lookup_success,omitempty"`
	// The total time (in milliseconds) to find a cache (success case only).
	LookupSuccessTimeMs *int64 `protobuf:"varint,5,opt,name=lookup_success_time_ms,json=lookupSuccessTimeMs" json:"lookup_success_time_ms,omitempty"`
	// The number of cache misses
	LookupMiss *int64 `protobuf:"varint,6,opt,name=lookup_miss,json=lookupMiss" json:"lookup_miss,omitempty"`
	// The number of failed lookups due to an error (other than misses)
	LookupFailure *int64 `protobuf:"varint,7,opt,name=lookup_failure,json=lookupFailure" json:"lookup_failure,omitempty"`
	// The number of times a cache is correctly copied.
	CommitSuccess *int64 `protobuf:"varint,8,opt,name=commit_success,json=commitSuccess" json:"commit_success,omitempty"`
	// The total time to copy a cache (copy from cache dir to output dir).
	CommitSuccessTimeMs *int64 `protobuf:"varint,9,opt,name=commit_success_time_ms,json=commitSuccessTimeMs" json:"commit_success_time_ms,omitempty"`
	// The number of times a cache copy failed.
	CommitFailure *int64 `protobuf:"varint,10,opt,name=commit_failure,json=commitFailure" json:"commit_failure,omitempty"`
	// The number of times LocalOutputCache garbage collection was invoked.
	GcCount *int64 `protobuf:"varint,11,opt,name=gc_count,json=gcCount" json:"gc_count,omitempty"`
	// The total time of garbage collection.
	GcTotalTimeMs    *int64 `protobuf:"varint,12,opt,name=gc_total_time_ms,json=gcTotalTimeMs" json:"gc_total_time_ms,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics for LocalOutputCache.

LocalOutputCache is a cache for build output files. NEXT ID TO USE: 13

func (*LocalOutputCacheStats) Descriptor

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

func (*LocalOutputCacheStats) GetCommitFailure

func (m *LocalOutputCacheStats) GetCommitFailure() int64

func (*LocalOutputCacheStats) GetCommitSuccess

func (m *LocalOutputCacheStats) GetCommitSuccess() int64

func (*LocalOutputCacheStats) GetCommitSuccessTimeMs

func (m *LocalOutputCacheStats) GetCommitSuccessTimeMs() int64

func (*LocalOutputCacheStats) GetGcCount

func (m *LocalOutputCacheStats) GetGcCount() int64

func (*LocalOutputCacheStats) GetGcTotalTimeMs

func (m *LocalOutputCacheStats) GetGcTotalTimeMs() int64

func (*LocalOutputCacheStats) GetLookupFailure

func (m *LocalOutputCacheStats) GetLookupFailure() int64

func (*LocalOutputCacheStats) GetLookupMiss

func (m *LocalOutputCacheStats) GetLookupMiss() int64

func (*LocalOutputCacheStats) GetLookupSuccess

func (m *LocalOutputCacheStats) GetLookupSuccess() int64

func (*LocalOutputCacheStats) GetLookupSuccessTimeMs

func (m *LocalOutputCacheStats) GetLookupSuccessTimeMs() int64

func (*LocalOutputCacheStats) GetSaveFailure

func (m *LocalOutputCacheStats) GetSaveFailure() int64

func (*LocalOutputCacheStats) GetSaveSuccess

func (m *LocalOutputCacheStats) GetSaveSuccess() int64

func (*LocalOutputCacheStats) GetSaveSuccessTimeMs

func (m *LocalOutputCacheStats) GetSaveSuccessTimeMs() int64

func (*LocalOutputCacheStats) ProtoMessage

func (*LocalOutputCacheStats) ProtoMessage()

func (*LocalOutputCacheStats) Reset

func (m *LocalOutputCacheStats) Reset()

func (*LocalOutputCacheStats) String

func (m *LocalOutputCacheStats) String() string

type LogRequestLite

type LogRequestLite struct {
	// "Now", in milliseconds, according to the same clock that was used to set
	// 'event_time_ms' values in the LogEventLite protos below.
	RequestTimeMs *int64 `protobuf:"varint,4,opt,name=request_time_ms,json=requestTimeMs" json:"request_time_ms,omitempty"`
	// The name of a LogRequest.LogSource enum value. The server converts it to
	// a proper enum value.
	LogSourceName    *string                        `protobuf:"bytes,6,opt,name=log_source_name,json=logSourceName" json:"log_source_name,omitempty"`
	LogEvent         []*LogRequestLite_LogEventLite `protobuf:"bytes,3,rep,name=log_event,json=logEvent" json:"log_event,omitempty"`
	XXX_unrecognized []byte                         `json:"-"`
}

Stripped-down version of LogRequest, for use on public systems.

func (*LogRequestLite) Descriptor

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

func (*LogRequestLite) GetLogEvent

func (m *LogRequestLite) GetLogEvent() []*LogRequestLite_LogEventLite

func (*LogRequestLite) GetLogSourceName

func (m *LogRequestLite) GetLogSourceName() string

func (*LogRequestLite) GetRequestTimeMs

func (m *LogRequestLite) GetRequestTimeMs() int64

func (*LogRequestLite) ProtoMessage

func (*LogRequestLite) ProtoMessage()

func (*LogRequestLite) Reset

func (m *LogRequestLite) Reset()

func (*LogRequestLite) String

func (m *LogRequestLite) String() string

type LogRequestLite_LogEventLite

type LogRequestLite_LogEventLite struct {
	// Epoch time in milliseconds.
	EventTimeMs *int64 `protobuf:"varint,1,opt,name=event_time_ms,json=eventTimeMs" json:"event_time_ms,omitempty"`
	// Type of event. Different kinds of events inside a client app should have
	// different values of 'event_code'. Different client apps may have
	// overlapping sets of 'event_code' values; these values are only meant to
	// make sense within the context of a single client app, as identified by
	// the 'log_source_name' field of LogRequestLite.
	//
	// This enum type should be annotated with a LogEventRoutingConfig proto.
	EventCode *int32 `protobuf:"varint,11,opt,name=event_code,json=eventCode" json:"event_code,omitempty"`
	// Identifies a group of events that belong to the same flow or session of
	// user interaction, which is a client-specific concept.
	//
	// These IDs are used in the pipeline for computing latencies between pairs
	// of events, where it is necessary to ensure that both events belong to the
	// same flow.
	EventFlowId *int32 `protobuf:"varint,12,opt,name=event_flow_id,json=eventFlowId" json:"event_flow_id,omitempty"`
	// A source specific extension (typically a serialized proto). The type of
	// this data is determined by the log_source of the enclosing LogRequestLite.
	// The proto is derived by calling the ParseFromString method.
	SourceExtension  []byte `protobuf:"bytes,6,opt,name=source_extension,json=sourceExtension" json:"source_extension,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*LogRequestLite_LogEventLite) Descriptor

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

func (*LogRequestLite_LogEventLite) GetEventCode

func (m *LogRequestLite_LogEventLite) GetEventCode() int32

func (*LogRequestLite_LogEventLite) GetEventFlowId

func (m *LogRequestLite_LogEventLite) GetEventFlowId() int32

func (*LogRequestLite_LogEventLite) GetEventTimeMs

func (m *LogRequestLite_LogEventLite) GetEventTimeMs() int64

func (*LogRequestLite_LogEventLite) GetSourceExtension

func (m *LogRequestLite_LogEventLite) GetSourceExtension() []byte

func (*LogRequestLite_LogEventLite) ProtoMessage

func (*LogRequestLite_LogEventLite) ProtoMessage()

func (*LogRequestLite_LogEventLite) Reset

func (m *LogRequestLite_LogEventLite) Reset()

func (*LogRequestLite_LogEventLite) String

func (m *LogRequestLite_LogEventLite) String() string

type MachineInfo

type MachineInfo struct {
	// goma compiler_proxy's revision number.
	// value: <git commit>@<timestamp in Unix time>. (51 chars)
	GomaRevision *string `protobuf:"bytes,1,opt,name=goma_revision,json=gomaRevision" json:"goma_revision,omitempty"`
	// type of operating system.
	Os *MachineInfo_OSType `protobuf:"varint,2,opt,name=os,enum=eventlog.MachineInfo_OSType" json:"os,omitempty"`
	// Number of CPUs (cores) of the machine.
	Ncpus *int32 `protobuf:"varint,3,opt,name=ncpus" json:"ncpus,omitempty"`
	// Memory size of the machine in bytes.
	MemorySize *int64 `protobuf:"varint,4,opt,name=memory_size,json=memorySize" json:"memory_size,omitempty"`
	// Deprecated tikuta 7/2016.
	DEPRECATEDCpuCapability []uint32 `` /* 126-byte string literal not displayed */
	XXX_unrecognized        []byte   `json:"-"`
}

func (*MachineInfo) Descriptor

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

func (*MachineInfo) GetDEPRECATEDCpuCapability

func (m *MachineInfo) GetDEPRECATEDCpuCapability() []uint32

func (*MachineInfo) GetGomaRevision

func (m *MachineInfo) GetGomaRevision() string

func (*MachineInfo) GetMemorySize

func (m *MachineInfo) GetMemorySize() int64

func (*MachineInfo) GetNcpus

func (m *MachineInfo) GetNcpus() int32

func (*MachineInfo) GetOs

func (m *MachineInfo) GetOs() MachineInfo_OSType

func (*MachineInfo) ProtoMessage

func (*MachineInfo) ProtoMessage()

func (*MachineInfo) Reset

func (m *MachineInfo) Reset()

func (*MachineInfo) String

func (m *MachineInfo) String() string

type MachineInfo_OSType

type MachineInfo_OSType int32
const (
	MachineInfo_UNKNOWN MachineInfo_OSType = 0
	MachineInfo_LINUX   MachineInfo_OSType = 1
	MachineInfo_MAC     MachineInfo_OSType = 2
	MachineInfo_WIN     MachineInfo_OSType = 3
)

func (MachineInfo_OSType) Enum

func (MachineInfo_OSType) EnumDescriptor

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

func (MachineInfo_OSType) String

func (x MachineInfo_OSType) String() string

func (*MachineInfo_OSType) UnmarshalJSON

func (x *MachineInfo_OSType) UnmarshalJSON(data []byte) error

type MachineProviderEvent

type MachineProviderEvent struct {
	// State of a GCE machine.
	GceBackendState *MachineProviderEvent_GCEBackendMachineState `` /* 160-byte string literal not displayed */
	// Reason for proposing GCE machine deletion.
	GceBackendDeletionReason *MachineProviderEvent_GCEBackendDeletionReason `` /* 191-byte string literal not displayed */
	// State of a Machine Provider machine.
	MachineProviderState *MachineProviderEvent_MachineProviderMachineState `` /* 180-byte string literal not displayed */
	// Name of the Pub/Sub subscription created for this machine.
	PubsubSubscription *string `protobuf:"bytes,4,opt,name=pubsub_subscription,json=pubsubSubscription" json:"pubsub_subscription,omitempty"`
	// UTC timestamp in seconds when this machine's lease expires.
	LeaseExpirationTs *int64 `protobuf:"varint,5,opt,name=lease_expiration_ts,json=leaseExpirationTs" json:"lease_expiration_ts,omitempty"`
	// State of a machine reported by the Machine Provider agent.
	MachineState *MachineProviderEvent_MachineProviderAgentState `` /* 152-byte string literal not displayed */
	// Address of the Swarming server.
	SwarmingServer   *string `protobuf:"bytes,7,opt,name=swarming_server,json=swarmingServer" json:"swarming_server,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Machine Provider events. States in an enum are from one particular perspective and so may be duplicated in other enums. States are prefixed because scoping rules require enum values to be unique within MachineProviderEvent.

Next tag: 8

func (*MachineProviderEvent) Descriptor

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

func (*MachineProviderEvent) GetGceBackendDeletionReason

func (*MachineProviderEvent) GetGceBackendState

func (*MachineProviderEvent) GetLeaseExpirationTs

func (m *MachineProviderEvent) GetLeaseExpirationTs() int64

func (*MachineProviderEvent) GetMachineProviderState

func (*MachineProviderEvent) GetMachineState

func (*MachineProviderEvent) GetPubsubSubscription

func (m *MachineProviderEvent) GetPubsubSubscription() string

func (*MachineProviderEvent) GetSwarmingServer

func (m *MachineProviderEvent) GetSwarmingServer() string

func (*MachineProviderEvent) ProtoMessage

func (*MachineProviderEvent) ProtoMessage()

func (*MachineProviderEvent) Reset

func (m *MachineProviderEvent) Reset()

func (*MachineProviderEvent) String

func (m *MachineProviderEvent) String() string

type MachineProviderEvent_GCEBackendDeletionReason

type MachineProviderEvent_GCEBackendDeletionReason int32

Reason for proposing machine deletion in the GCE Backend.

const (
	// Lease expired, reclaimed by Machine Provider.
	MachineProviderEvent_RECLAMATION MachineProviderEvent_GCEBackendDeletionReason = 1
	// Machine is drained as a result of a new config being detected.
	MachineProviderEvent_DRAINED MachineProviderEvent_GCEBackendDeletionReason = 2
)

func (MachineProviderEvent_GCEBackendDeletionReason) Enum

func (MachineProviderEvent_GCEBackendDeletionReason) EnumDescriptor

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

func (MachineProviderEvent_GCEBackendDeletionReason) String

func (*MachineProviderEvent_GCEBackendDeletionReason) UnmarshalJSON

func (x *MachineProviderEvent_GCEBackendDeletionReason) UnmarshalJSON(data []byte) error

type MachineProviderEvent_GCEBackendMachineState

type MachineProviderEvent_GCEBackendMachineState int32

State of a specific machine in the Machine Provider's GCE Backend.

const (
	MachineProviderEvent_GCE_UNKNOWN MachineProviderEvent_GCEBackendMachineState = 0
	// First detected, entity created.
	MachineProviderEvent_CREATED MachineProviderEvent_GCEBackendMachineState = 1
	// Added to Machine Provider's catalog.
	MachineProviderEvent_CATALOGED MachineProviderEvent_GCEBackendMachineState = 2
	// Received information on the Pub/Sub subscription.
	MachineProviderEvent_SUBSCRIPTION_RECEIVED MachineProviderEvent_GCEBackendMachineState = 3
	// Intended metadata update written to datastore.
	MachineProviderEvent_METADATA_UPDATE_PROPOSED MachineProviderEvent_GCEBackendMachineState = 4
	// GCE metadata operation ready to be scheduled.
	MachineProviderEvent_METADATA_UPDATE_READY MachineProviderEvent_GCEBackendMachineState = 5
	// GCE metadata operation scheduled.
	MachineProviderEvent_METADATA_UPDATE_SCHEDULED MachineProviderEvent_GCEBackendMachineState = 6
	// GCE metadata operation failed.
	MachineProviderEvent_METADATA_UPDATE_FAILED MachineProviderEvent_GCEBackendMachineState = 7
	// GCE metadata operation succeeded.
	MachineProviderEvent_METADATA_UPDATE_SUCCEEDED MachineProviderEvent_GCEBackendMachineState = 8
	// Received information on the lease.
	MachineProviderEvent_LEASE_RECEIVED MachineProviderEvent_GCEBackendMachineState = 9
	// Lease expired, reclaimed by Machine Provider.
	MachineProviderEvent_RECLAIMED MachineProviderEvent_GCEBackendMachineState = 10
	// Intented deletion written to datastore.
	MachineProviderEvent_DELETION_PROPOSED MachineProviderEvent_GCEBackendMachineState = 11
	// GCE instance deletion scheduled.
	MachineProviderEvent_DELETION_SCHEDULED MachineProviderEvent_GCEBackendMachineState = 12
	// GCE instance deletion succeeded.
	MachineProviderEvent_DELETION_SUCCEEDED MachineProviderEvent_GCEBackendMachineState = 13
	// Entity deleted.
	MachineProviderEvent_DELETED MachineProviderEvent_GCEBackendMachineState = 14
)

func (MachineProviderEvent_GCEBackendMachineState) Enum

func (MachineProviderEvent_GCEBackendMachineState) EnumDescriptor

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

func (MachineProviderEvent_GCEBackendMachineState) String

func (*MachineProviderEvent_GCEBackendMachineState) UnmarshalJSON

func (x *MachineProviderEvent_GCEBackendMachineState) UnmarshalJSON(data []byte) error

type MachineProviderEvent_MachineProviderAgentState

type MachineProviderEvent_MachineProviderAgentState int32

State of a machine reported by the Machine Provider agent.

const (
	MachineProviderEvent_AGENT_UNKNOWN MachineProviderEvent_MachineProviderAgentState = 0
	// Polling the Machine Provider Pub/Sub.
	MachineProviderEvent_POLLING MachineProviderEvent_MachineProviderAgentState = 1
	// Allocated to fulfill a lease.
	MachineProviderEvent_ALLOCATED MachineProviderEvent_MachineProviderAgentState = 2
	// Configured for Swarming.
	MachineProviderEvent_SWARMING_CONFIGURED MachineProviderEvent_MachineProviderAgentState = 3
)

func (MachineProviderEvent_MachineProviderAgentState) Enum

func (MachineProviderEvent_MachineProviderAgentState) EnumDescriptor

func (MachineProviderEvent_MachineProviderAgentState) String

func (*MachineProviderEvent_MachineProviderAgentState) UnmarshalJSON

type MachineProviderEvent_MachineProviderMachineState

type MachineProviderEvent_MachineProviderMachineState int32

State of a specific machine in the Machine Provider's catalog.

const (
	MachineProviderEvent_MP_UNKNOWN MachineProviderEvent_MachineProviderMachineState = 0
	// Received from backend and added to the catalog.
	MachineProviderEvent_RECEIVED MachineProviderEvent_MachineProviderMachineState = 1
	// Subscribed to Pub/Sub.
	MachineProviderEvent_SUBSCRIBED MachineProviderEvent_MachineProviderMachineState = 2
	// Leased out.
	MachineProviderEvent_LEASED MachineProviderEvent_MachineProviderMachineState = 3
	// Lease expired, reclaimed.
	MachineProviderEvent_LEASE_EXPIRED MachineProviderEvent_MachineProviderMachineState = 4
	// Entity deleted from Machine Provider catalog.
	MachineProviderEvent_UNCATALOGED MachineProviderEvent_MachineProviderMachineState = 5
)

func (MachineProviderEvent_MachineProviderMachineState) Enum

func (MachineProviderEvent_MachineProviderMachineState) EnumDescriptor

func (MachineProviderEvent_MachineProviderMachineState) String

func (*MachineProviderEvent_MachineProviderMachineState) UnmarshalJSON

type MemoryStats

type MemoryStats struct {
	// Memory consumed by compiler_proxy when stats was taken.
	Consuming        *int64 `protobuf:"varint,1,opt,name=consuming" json:"consuming,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics about compiler_proxy memory.

func (*MemoryStats) Descriptor

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

func (*MemoryStats) GetConsuming

func (m *MemoryStats) GetConsuming() int64

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) Reset

func (m *MemoryStats) Reset()

func (*MemoryStats) String

func (m *MemoryStats) String() string

type OutputStats

type OutputStats struct {
	// Total number of files output.
	Files *int64 `protobuf:"varint,1,opt,name=files" json:"files,omitempty"`
	// Number of outputs renamed.
	Rename *int64 `protobuf:"varint,2,opt,name=rename" json:"rename,omitempty"`
	// Number of outputs kept in memory instead of written to files.
	Buf *int64 `protobuf:"varint,3,opt,name=buf" json:"buf,omitempty"`
	// Peak size of memory to keep outputs.
	PeakReq          *int64 `protobuf:"varint,4,opt,name=peak_req,json=peakReq" json:"peak_req,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics of output files.

If remote compile succeeds, compiler_proxy outputs a result e.g. object file. If output file size is small, compiler_proxy keeps a result in memory. If the size is large, the result is output to file, and renamed. Since compiler_proxy does competition between local and remote, and local compile output a file directly, we cannot directly write a result to a file.

func (*OutputStats) Descriptor

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

func (*OutputStats) GetBuf

func (m *OutputStats) GetBuf() int64

func (*OutputStats) GetFiles

func (m *OutputStats) GetFiles() int64

func (*OutputStats) GetPeakReq

func (m *OutputStats) GetPeakReq() int64

func (*OutputStats) GetRename

func (m *OutputStats) GetRename() int64

func (*OutputStats) ProtoMessage

func (*OutputStats) ProtoMessage()

func (*OutputStats) Reset

func (m *OutputStats) Reset()

func (*OutputStats) String

func (m *OutputStats) String() string

type RequestStats

type RequestStats struct {
	// Total number of compile requests came from gomacc.
	Total *int64 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
	// Number of succeeded compile requests.
	Success *int64 `protobuf:"varint,2,opt,name=success" json:"success,omitempty"`
	// Number of failed compile requests.
	// The number includes not only compile failure, but also
	// backend errors that were recovered by local fallback.
	Failure *int64 `protobuf:"varint,3,opt,name=failure" json:"failure,omitempty"`
	// Below this line: different kind of stats. A single one should be provided.
	// See the definition of each message type for a details description of
	// thier use.
	CompilerProxy    *CompilerProxyStats   `protobuf:"bytes,4,opt,name=compiler_proxy,json=compilerProxy" json:"compiler_proxy,omitempty"`
	CompilerInfo     *CompilerInfoStats    `protobuf:"bytes,5,opt,name=compiler_info,json=compilerInfo" json:"compiler_info,omitempty"`
	Goma             *GomaCompileStats     `protobuf:"bytes,6,opt,name=goma" json:"goma,omitempty"`
	Local            *LocalCompileStats    `protobuf:"bytes,7,opt,name=local" json:"local,omitempty"`
	FallbackInSetup  *FallbackInSetupStats `protobuf:"bytes,8,opt,name=fallback_in_setup,json=fallbackInSetup" json:"fallback_in_setup,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

Statistics of all compile requests (including compiled locally). NEXT ID TO USE: 9

func (*RequestStats) Descriptor

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

func (*RequestStats) GetCompilerInfo

func (m *RequestStats) GetCompilerInfo() *CompilerInfoStats

func (*RequestStats) GetCompilerProxy

func (m *RequestStats) GetCompilerProxy() *CompilerProxyStats

func (*RequestStats) GetFailure

func (m *RequestStats) GetFailure() int64

func (*RequestStats) GetFallbackInSetup

func (m *RequestStats) GetFallbackInSetup() *FallbackInSetupStats

func (*RequestStats) GetGoma

func (m *RequestStats) GetGoma() *GomaCompileStats

func (*RequestStats) GetLocal

func (m *RequestStats) GetLocal() *LocalCompileStats

func (*RequestStats) GetSuccess

func (m *RequestStats) GetSuccess() int64

func (*RequestStats) GetTotal

func (m *RequestStats) GetTotal() int64

func (*RequestStats) ProtoMessage

func (*RequestStats) ProtoMessage()

func (*RequestStats) Reset

func (m *RequestStats) Reset()

func (*RequestStats) String

func (m *RequestStats) String() string

type ServiceEvent

type ServiceEvent struct {
	// Type of maintenance event (mandatory)
	Type *ServiceEvent_ServiceEventType `protobuf:"varint,1,opt,name=type,enum=eventlog.ServiceEvent_ServiceEventType,def=0" json:"type,omitempty"`
	// Version of the code running at the time of the event when appropriate.
	CodeVersion []*CodeVersion `protobuf:"bytes,2,rep,name=code_version,json=codeVersion" json:"code_version,omitempty"`
	// Stack trace in case of a crash.
	StackTrace       *string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace" json:"stack_trace,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Describes a maintenance event on a system.

Next tag: 4

func (*ServiceEvent) Descriptor

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

func (*ServiceEvent) GetCodeVersion

func (m *ServiceEvent) GetCodeVersion() []*CodeVersion

func (*ServiceEvent) GetStackTrace

func (m *ServiceEvent) GetStackTrace() string

func (*ServiceEvent) GetType

func (*ServiceEvent) ProtoMessage

func (*ServiceEvent) ProtoMessage()

func (*ServiceEvent) Reset

func (m *ServiceEvent) Reset()

func (*ServiceEvent) String

func (m *ServiceEvent) String() string

type ServiceEvent_ServiceEventType

type ServiceEvent_ServiceEventType int32
const (
	ServiceEvent_UNKNOWN         ServiceEvent_ServiceEventType = 0
	ServiceEvent_START           ServiceEvent_ServiceEventType = 1
	ServiceEvent_STOP            ServiceEvent_ServiceEventType = 2
	ServiceEvent_UPDATE          ServiceEvent_ServiceEventType = 3
	ServiceEvent_CURRENT_VERSION ServiceEvent_ServiceEventType = 4
	ServiceEvent_CRASH           ServiceEvent_ServiceEventType = 5
)
const Default_ServiceEvent_Type ServiceEvent_ServiceEventType = ServiceEvent_UNKNOWN

func (ServiceEvent_ServiceEventType) Enum

func (ServiceEvent_ServiceEventType) EnumDescriptor

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

func (ServiceEvent_ServiceEventType) String

func (*ServiceEvent_ServiceEventType) UnmarshalJSON

func (x *ServiceEvent_ServiceEventType) UnmarshalJSON(data []byte) error

type SwarmingTaskEvent

type SwarmingTaskEvent struct {
	// Unique ID of this task.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Request data.
	Request *SwarmingTaskEvent_TaskRequest `protobuf:"bytes,2,opt,name=request" json:"request,omitempty"`
	// State of the task.
	State *SwarmingTaskEvent_State `protobuf:"varint,3,opt,name=state,enum=eventlog.SwarmingTaskEvent_State,def=0" json:"state,omitempty"`
	// ID of the bot that ran this task.
	BotId *string `protobuf:"bytes,4,opt,name=bot_id,json=botId" json:"bot_id,omitempty"`
	// Bot version (as a hash) of the code running the task.
	BotVersion *string `protobuf:"bytes,5,opt,name=bot_version,json=botVersion" json:"bot_version,omitempty"`
	// Bot dimensions at the moment it claimed the task.
	BotDimensions *SwarmingTaskEvent_Dimensions `protobuf:"bytes,6,opt,name=bot_dimensions,json=botDimensions" json:"bot_dimensions,omitempty"`
	// All server versions seen as the task was updated.
	ServerVersions []string `protobuf:"bytes,7,rep,name=server_versions,json=serverVersions" json:"server_versions,omitempty"`
	// Indicates whether the task hit an internal (infrastructure) failure.
	InternalFailure *bool `protobuf:"varint,8,opt,name=internal_failure,json=internalFailure,def=0" json:"internal_failure,omitempty"`
	// Exit code of the task.
	ExitCode *int32 `protobuf:"varint,9,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"`
	// UTC timestamp in seconds when the task was started.
	StartedTs *int64 `protobuf:"varint,10,opt,name=started_ts,json=startedTs" json:"started_ts,omitempty"`
	// UTC timestamp in seconds when the bot completed this task.
	CompletedTs *int64 `protobuf:"varint,11,opt,name=completed_ts,json=completedTs" json:"completed_ts,omitempty"`
	// UTC timestamp in seconds when the task was abandoned.
	AbandonedTs *int64 `protobuf:"varint,12,opt,name=abandoned_ts,json=abandonedTs" json:"abandoned_ts,omitempty"`
	// Children tasks that were triggered by this task.
	ChildrenTaskIds []string `protobuf:"bytes,13,rep,name=children_task_ids,json=childrenTaskIds" json:"children_task_ids,omitempty"`
	// File outputs of the task.
	OutputsRef *SwarmingTaskEvent_FilesRef `protobuf:"bytes,14,opt,name=outputs_ref,json=outputsRef" json:"outputs_ref,omitempty"`
	// Effective cost of this task.
	CostUsd *float32 `protobuf:"fixed32,15,opt,name=cost_usd,json=costUsd" json:"cost_usd,omitempty"`
	// Cost saved for deduped task.
	CostSavedUsd *float32 `protobuf:"fixed32,16,opt,name=cost_saved_usd,json=costSavedUsd" json:"cost_saved_usd,omitempty"`
	// ID of the task the results were retrieved from.
	DedupedFrom *string `protobuf:"bytes,17,opt,name=deduped_from,json=dedupedFrom" json:"deduped_from,omitempty"`
	// Retry number of this task, starting from 1.
	TryNumber *int64 `protobuf:"varint,18,opt,name=try_number,json=tryNumber" json:"try_number,omitempty"`
	// Tags attached to this task.
	Tags             *SwarmingTaskEvent_Tags `protobuf:"bytes,19,opt,name=tags" json:"tags,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

Event corresponding to a completed swarming task.

Next tag: 20.

func (*SwarmingTaskEvent) Descriptor

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

func (*SwarmingTaskEvent) GetAbandonedTs

func (m *SwarmingTaskEvent) GetAbandonedTs() int64

func (*SwarmingTaskEvent) GetBotDimensions

func (m *SwarmingTaskEvent) GetBotDimensions() *SwarmingTaskEvent_Dimensions

func (*SwarmingTaskEvent) GetBotId

func (m *SwarmingTaskEvent) GetBotId() string

func (*SwarmingTaskEvent) GetBotVersion

func (m *SwarmingTaskEvent) GetBotVersion() string

func (*SwarmingTaskEvent) GetChildrenTaskIds

func (m *SwarmingTaskEvent) GetChildrenTaskIds() []string

func (*SwarmingTaskEvent) GetCompletedTs

func (m *SwarmingTaskEvent) GetCompletedTs() int64

func (*SwarmingTaskEvent) GetCostSavedUsd

func (m *SwarmingTaskEvent) GetCostSavedUsd() float32

func (*SwarmingTaskEvent) GetCostUsd

func (m *SwarmingTaskEvent) GetCostUsd() float32

func (*SwarmingTaskEvent) GetDedupedFrom

func (m *SwarmingTaskEvent) GetDedupedFrom() string

func (*SwarmingTaskEvent) GetExitCode

func (m *SwarmingTaskEvent) GetExitCode() int32

func (*SwarmingTaskEvent) GetId

func (m *SwarmingTaskEvent) GetId() string

func (*SwarmingTaskEvent) GetInternalFailure

func (m *SwarmingTaskEvent) GetInternalFailure() bool

func (*SwarmingTaskEvent) GetOutputsRef

func (m *SwarmingTaskEvent) GetOutputsRef() *SwarmingTaskEvent_FilesRef

func (*SwarmingTaskEvent) GetRequest

func (*SwarmingTaskEvent) GetServerVersions

func (m *SwarmingTaskEvent) GetServerVersions() []string

func (*SwarmingTaskEvent) GetStartedTs

func (m *SwarmingTaskEvent) GetStartedTs() int64

func (*SwarmingTaskEvent) GetState

func (*SwarmingTaskEvent) GetTags

func (*SwarmingTaskEvent) GetTryNumber

func (m *SwarmingTaskEvent) GetTryNumber() int64

func (*SwarmingTaskEvent) ProtoMessage

func (*SwarmingTaskEvent) ProtoMessage()

func (*SwarmingTaskEvent) Reset

func (m *SwarmingTaskEvent) Reset()

func (*SwarmingTaskEvent) String

func (m *SwarmingTaskEvent) String() string

type SwarmingTaskEvent_CipdInput

type SwarmingTaskEvent_CipdInput struct {
	// URL of the CIPD server.
	Server *string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
	// Description of CIPD package for CIPD client itself.
	ClientPackage *SwarmingTaskEvent_CipdPackage `protobuf:"bytes,2,opt,name=client_package,json=clientPackage" json:"client_package,omitempty"`
	// The packages to install.
	Packages         []*SwarmingTaskEvent_CipdPackage `protobuf:"bytes,3,rep,name=packages" json:"packages,omitempty"`
	XXX_unrecognized []byte                           `json:"-"`
}

Complete spec of CIPD input for a task.

Next tag: 4.

func (*SwarmingTaskEvent_CipdInput) Descriptor

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

func (*SwarmingTaskEvent_CipdInput) GetClientPackage

func (*SwarmingTaskEvent_CipdInput) GetPackages

func (*SwarmingTaskEvent_CipdInput) GetServer

func (m *SwarmingTaskEvent_CipdInput) GetServer() string

func (*SwarmingTaskEvent_CipdInput) ProtoMessage

func (*SwarmingTaskEvent_CipdInput) ProtoMessage()

func (*SwarmingTaskEvent_CipdInput) Reset

func (m *SwarmingTaskEvent_CipdInput) Reset()

func (*SwarmingTaskEvent_CipdInput) String

func (m *SwarmingTaskEvent_CipdInput) String() string

type SwarmingTaskEvent_CipdPackage

type SwarmingTaskEvent_CipdPackage struct {
	// Package name template.
	PackageName *string `protobuf:"bytes,1,opt,name=package_name,json=packageName" json:"package_name,omitempty"`
	// Package version valid for all packages matched by package_name.
	Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// Relative path where to install the package.
	Path             *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

CIPD (Chrome Infrastructure Package Deployment) package reference. See https://github.com/luci/luci-go/tree/master/cipd for more info.

Next tag: 4.

func (*SwarmingTaskEvent_CipdPackage) Descriptor

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

func (*SwarmingTaskEvent_CipdPackage) GetPackageName

func (m *SwarmingTaskEvent_CipdPackage) GetPackageName() string

func (*SwarmingTaskEvent_CipdPackage) GetPath

func (*SwarmingTaskEvent_CipdPackage) GetVersion

func (m *SwarmingTaskEvent_CipdPackage) GetVersion() string

func (*SwarmingTaskEvent_CipdPackage) ProtoMessage

func (*SwarmingTaskEvent_CipdPackage) ProtoMessage()

func (*SwarmingTaskEvent_CipdPackage) Reset

func (m *SwarmingTaskEvent_CipdPackage) Reset()

func (*SwarmingTaskEvent_CipdPackage) String

type SwarmingTaskEvent_Dimensions

type SwarmingTaskEvent_Dimensions struct {
	// Type of the CPU (e.g. x86-64).
	Cpu []string `protobuf:"bytes,1,rep,name=cpu" json:"cpu,omitempty"`
	// Number of CPU cores.
	Cores []int64 `protobuf:"varint,2,rep,name=cores" json:"cores,omitempty"`
	// Type of the GPU (e.g. none or 102b:0534).
	Gpu []string `protobuf:"bytes,3,rep,name=gpu" json:"gpu,omitempty"`
	// Operating system (e.g. Ubuntu-12.04).
	Os []string `protobuf:"bytes,4,rep,name=os" json:"os,omitempty"`
	// Logical pool to isolate different clients, e.g. Chrome.
	Pool []string `protobuf:"bytes,5,rep,name=pool" json:"pool,omitempty"`
	// Status of HiDPI (High Dots Per Inch).
	Hidpi []string `protobuf:"bytes,6,rep,name=hidpi" json:"hidpi,omitempty"`
	// GCE machine type, e.g. n1-standard-8.
	MachineType []string `protobuf:"bytes,7,rep,name=machine_type,json=machineType" json:"machine_type,omitempty"`
	// GCE machine zone, e.g. us-central1-a.
	Zone []string `protobuf:"bytes,8,rep,name=zone" json:"zone,omitempty"`
	// Mobile device type, e.g. bullhead.
	DeviceType []string `protobuf:"bytes,9,rep,name=device_type,json=deviceType" json:"device_type,omitempty"`
	// Mobile device operating system, e.g. M.
	DeviceOs []string `protobuf:"bytes,10,rep,name=device_os,json=deviceOs" json:"device_os,omitempty"`
	// Version of XCode IDE, e.g. 7.0.
	XcodeVersion     []string `protobuf:"bytes,11,rep,name=xcode_version,json=xcodeVersion" json:"xcode_version,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Subset of swarming dimensions safe to be included in logs.

Next tag: 12.

func (*SwarmingTaskEvent_Dimensions) Descriptor

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

func (*SwarmingTaskEvent_Dimensions) GetCores

func (m *SwarmingTaskEvent_Dimensions) GetCores() []int64

func (*SwarmingTaskEvent_Dimensions) GetCpu

func (m *SwarmingTaskEvent_Dimensions) GetCpu() []string

func (*SwarmingTaskEvent_Dimensions) GetDeviceOs

func (m *SwarmingTaskEvent_Dimensions) GetDeviceOs() []string

func (*SwarmingTaskEvent_Dimensions) GetDeviceType

func (m *SwarmingTaskEvent_Dimensions) GetDeviceType() []string

func (*SwarmingTaskEvent_Dimensions) GetGpu

func (m *SwarmingTaskEvent_Dimensions) GetGpu() []string

func (*SwarmingTaskEvent_Dimensions) GetHidpi

func (m *SwarmingTaskEvent_Dimensions) GetHidpi() []string

func (*SwarmingTaskEvent_Dimensions) GetMachineType

func (m *SwarmingTaskEvent_Dimensions) GetMachineType() []string

func (*SwarmingTaskEvent_Dimensions) GetOs

func (m *SwarmingTaskEvent_Dimensions) GetOs() []string

func (*SwarmingTaskEvent_Dimensions) GetPool

func (m *SwarmingTaskEvent_Dimensions) GetPool() []string

func (*SwarmingTaskEvent_Dimensions) GetXcodeVersion

func (m *SwarmingTaskEvent_Dimensions) GetXcodeVersion() []string

func (*SwarmingTaskEvent_Dimensions) GetZone

func (m *SwarmingTaskEvent_Dimensions) GetZone() []string

func (*SwarmingTaskEvent_Dimensions) ProtoMessage

func (*SwarmingTaskEvent_Dimensions) ProtoMessage()

func (*SwarmingTaskEvent_Dimensions) Reset

func (m *SwarmingTaskEvent_Dimensions) Reset()

func (*SwarmingTaskEvent_Dimensions) String

type SwarmingTaskEvent_FilesRef

type SwarmingTaskEvent_FilesRef struct {
	// Hash of the isolated archive.
	Isolated *string `protobuf:"bytes,1,opt,name=isolated" json:"isolated,omitempty"`
	// Hostname of the isolated server to use.
	Isolatedserver *string `protobuf:"bytes,2,opt,name=isolatedserver" json:"isolatedserver,omitempty"`
	// Namespace of the isolate server.
	Namespace        *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Data tree reference, a reference to a .isolated file.

Next tag: 4.

func (*SwarmingTaskEvent_FilesRef) Descriptor

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

func (*SwarmingTaskEvent_FilesRef) GetIsolated

func (m *SwarmingTaskEvent_FilesRef) GetIsolated() string

func (*SwarmingTaskEvent_FilesRef) GetIsolatedserver

func (m *SwarmingTaskEvent_FilesRef) GetIsolatedserver() string

func (*SwarmingTaskEvent_FilesRef) GetNamespace

func (m *SwarmingTaskEvent_FilesRef) GetNamespace() string

func (*SwarmingTaskEvent_FilesRef) ProtoMessage

func (*SwarmingTaskEvent_FilesRef) ProtoMessage()

func (*SwarmingTaskEvent_FilesRef) Reset

func (m *SwarmingTaskEvent_FilesRef) Reset()

func (*SwarmingTaskEvent_FilesRef) String

func (m *SwarmingTaskEvent_FilesRef) String() string

type SwarmingTaskEvent_State

type SwarmingTaskEvent_State int32
const (
	// Should not really be used. Only a placeholder for exceptional cases.
	SwarmingTaskEvent_UNKNOWN SwarmingTaskEvent_State = 0
	// The task has completed returning an exit code indicating success or failure.
	SwarmingTaskEvent_COMPLETED SwarmingTaskEvent_State = 1
	// The task has been canceled.
	SwarmingTaskEvent_CANCELED SwarmingTaskEvent_State = 2
	// The bot this task was running on has died.
	SwarmingTaskEvent_BOT_DIED SwarmingTaskEvent_State = 3
	// The task has exceeded one of the timeouts.
	SwarmingTaskEvent_TIMED_OUT SwarmingTaskEvent_State = 4
	// The task has not been picked up by any bot before expiration timestamp.
	SwarmingTaskEvent_EXPIRED SwarmingTaskEvent_State = 5
)
const Default_SwarmingTaskEvent_State SwarmingTaskEvent_State = SwarmingTaskEvent_UNKNOWN

func (SwarmingTaskEvent_State) Enum

func (SwarmingTaskEvent_State) EnumDescriptor

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

func (SwarmingTaskEvent_State) String

func (x SwarmingTaskEvent_State) String() string

func (*SwarmingTaskEvent_State) UnmarshalJSON

func (x *SwarmingTaskEvent_State) UnmarshalJSON(data []byte) error

type SwarmingTaskEvent_Tags

type SwarmingTaskEvent_Tags struct {
	// Name, e.g. ppapi_unittests.
	Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"`
	// Project, e.g. chromium.
	Project []string `protobuf:"bytes,2,rep,name=project" json:"project,omitempty"`
	// Patched project, e.g. chromium or v8.
	PatchProject []string `protobuf:"bytes,3,rep,name=patch_project,json=patchProject" json:"patch_project,omitempty"`
	// Purpose of the test, e.g. CQ, pre-commit.
	Purpose []string `protobuf:"bytes,4,rep,name=purpose" json:"purpose,omitempty"`
	// Name of the master this was triggered from.
	Master []string `protobuf:"bytes,5,rep,name=master" json:"master,omitempty"`
	// Name of the builder this was triggered from.
	Buildername []string `protobuf:"bytes,6,rep,name=buildername" json:"buildername,omitempty"`
	// Build ID (e.g. build number) this was triggered from.
	BuildId []string `protobuf:"bytes,7,rep,name=build_id,json=buildId" json:"build_id,omitempty"`
	// Name of the step this was triggered from.
	Stepname []string `protobuf:"bytes,8,rep,name=stepname" json:"stepname,omitempty"`
	// ID of the slave this was triggered from.
	Slavename []string `protobuf:"bytes,9,rep,name=slavename" json:"slavename,omitempty"`
	// Link to code review issue this was triggered for.
	Codereview       []string `protobuf:"bytes,10,rep,name=codereview" json:"codereview,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Subset of swarming tags safe to be included in logs.

Next tag: 11.

func (*SwarmingTaskEvent_Tags) Descriptor

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

func (*SwarmingTaskEvent_Tags) GetBuildId

func (m *SwarmingTaskEvent_Tags) GetBuildId() []string

func (*SwarmingTaskEvent_Tags) GetBuildername

func (m *SwarmingTaskEvent_Tags) GetBuildername() []string

func (*SwarmingTaskEvent_Tags) GetCodereview

func (m *SwarmingTaskEvent_Tags) GetCodereview() []string

func (*SwarmingTaskEvent_Tags) GetMaster

func (m *SwarmingTaskEvent_Tags) GetMaster() []string

func (*SwarmingTaskEvent_Tags) GetName

func (m *SwarmingTaskEvent_Tags) GetName() []string

func (*SwarmingTaskEvent_Tags) GetPatchProject

func (m *SwarmingTaskEvent_Tags) GetPatchProject() []string

func (*SwarmingTaskEvent_Tags) GetProject

func (m *SwarmingTaskEvent_Tags) GetProject() []string

func (*SwarmingTaskEvent_Tags) GetPurpose

func (m *SwarmingTaskEvent_Tags) GetPurpose() []string

func (*SwarmingTaskEvent_Tags) GetSlavename

func (m *SwarmingTaskEvent_Tags) GetSlavename() []string

func (*SwarmingTaskEvent_Tags) GetStepname

func (m *SwarmingTaskEvent_Tags) GetStepname() []string

func (*SwarmingTaskEvent_Tags) ProtoMessage

func (*SwarmingTaskEvent_Tags) ProtoMessage()

func (*SwarmingTaskEvent_Tags) Reset

func (m *SwarmingTaskEvent_Tags) Reset()

func (*SwarmingTaskEvent_Tags) String

func (m *SwarmingTaskEvent_Tags) String() string

type SwarmingTaskEvent_TaskProperties

type SwarmingTaskEvent_TaskProperties struct {
	// Isolated input.
	InputsRef *SwarmingTaskEvent_FilesRef `protobuf:"bytes,1,opt,name=inputs_ref,json=inputsRef" json:"inputs_ref,omitempty"`
	// CIPD package input.
	CipdInput *SwarmingTaskEvent_CipdInput `protobuf:"bytes,2,opt,name=cipd_input,json=cipdInput" json:"cipd_input,omitempty"`
	// Dimensions requested for the task.
	Dimensions *SwarmingTaskEvent_Dimensions `protobuf:"bytes,3,opt,name=dimensions" json:"dimensions,omitempty"`
	// Maximum duration the task can run.
	ExecutionTimeoutS *int64 `protobuf:"varint,4,opt,name=execution_timeout_s,json=executionTimeoutS" json:"execution_timeout_s,omitempty"`
	// Time between signaling the task to clean up and killing the process.
	GracePeriodS *int64 `protobuf:"varint,5,opt,name=grace_period_s,json=gracePeriodS" json:"grace_period_s,omitempty"`
	// Time until terminating the process when no new output is produced.
	IoTimeoutS *int64 `protobuf:"varint,6,opt,name=io_timeout_s,json=ioTimeoutS" json:"io_timeout_s,omitempty"`
	// Whether the task is idempotent (can be deduped).
	Idempotent       *bool  `protobuf:"varint,7,opt,name=idempotent" json:"idempotent,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Properties of a task. Part of task request.

Next tag: 8.

func (*SwarmingTaskEvent_TaskProperties) Descriptor

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

func (*SwarmingTaskEvent_TaskProperties) GetCipdInput

func (*SwarmingTaskEvent_TaskProperties) GetDimensions

func (*SwarmingTaskEvent_TaskProperties) GetExecutionTimeoutS

func (m *SwarmingTaskEvent_TaskProperties) GetExecutionTimeoutS() int64

func (*SwarmingTaskEvent_TaskProperties) GetGracePeriodS

func (m *SwarmingTaskEvent_TaskProperties) GetGracePeriodS() int64

func (*SwarmingTaskEvent_TaskProperties) GetIdempotent

func (m *SwarmingTaskEvent_TaskProperties) GetIdempotent() bool

func (*SwarmingTaskEvent_TaskProperties) GetInputsRef

func (*SwarmingTaskEvent_TaskProperties) GetIoTimeoutS

func (m *SwarmingTaskEvent_TaskProperties) GetIoTimeoutS() int64

func (*SwarmingTaskEvent_TaskProperties) ProtoMessage

func (*SwarmingTaskEvent_TaskProperties) ProtoMessage()

func (*SwarmingTaskEvent_TaskProperties) Reset

func (*SwarmingTaskEvent_TaskProperties) String

type SwarmingTaskEvent_TaskRequest

type SwarmingTaskEvent_TaskRequest struct {
	// Parent task ID (when applicable).
	ParentTaskId *string `protobuf:"bytes,1,opt,name=parent_task_id,json=parentTaskId" json:"parent_task_id,omitempty"`
	// Name for task (e.g. base_unittests/fecf5b7880/builder_name/300958).
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// UTC timestamp in seconds when the request was created.
	CreatedTs *int64 `protobuf:"varint,3,opt,name=created_ts,json=createdTs" json:"created_ts,omitempty"`
	// UTC timestamp in seconds when the request expires.
	ExpirationTs *int64 `protobuf:"varint,4,opt,name=expiration_ts,json=expirationTs" json:"expiration_ts,omitempty"`
	// Priority of the task (lower is higher priority).
	Priority *int64 `protobuf:"varint,5,opt,name=priority" json:"priority,omitempty"`
	// PubSub topic receiving task completion notifications.
	PubsubTopic *string `protobuf:"bytes,6,opt,name=pubsub_topic,json=pubsubTopic" json:"pubsub_topic,omitempty"`
	// Additional properties (matching layout on the swarming side).
	Properties       *SwarmingTaskEvent_TaskProperties `protobuf:"bytes,7,opt,name=properties" json:"properties,omitempty"`
	XXX_unrecognized []byte                            `json:"-"`
}

User request for a task.

Next tag: 8.

func (*SwarmingTaskEvent_TaskRequest) Descriptor

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

func (*SwarmingTaskEvent_TaskRequest) GetCreatedTs

func (m *SwarmingTaskEvent_TaskRequest) GetCreatedTs() int64

func (*SwarmingTaskEvent_TaskRequest) GetExpirationTs

func (m *SwarmingTaskEvent_TaskRequest) GetExpirationTs() int64

func (*SwarmingTaskEvent_TaskRequest) GetName

func (*SwarmingTaskEvent_TaskRequest) GetParentTaskId

func (m *SwarmingTaskEvent_TaskRequest) GetParentTaskId() string

func (*SwarmingTaskEvent_TaskRequest) GetPriority

func (m *SwarmingTaskEvent_TaskRequest) GetPriority() int64

func (*SwarmingTaskEvent_TaskRequest) GetProperties

func (*SwarmingTaskEvent_TaskRequest) GetPubsubTopic

func (m *SwarmingTaskEvent_TaskRequest) GetPubsubTopic() string

func (*SwarmingTaskEvent_TaskRequest) ProtoMessage

func (*SwarmingTaskEvent_TaskRequest) ProtoMessage()

func (*SwarmingTaskEvent_TaskRequest) Reset

func (m *SwarmingTaskEvent_TaskRequest) Reset()

func (*SwarmingTaskEvent_TaskRequest) String

type TestResultsEvent

type TestResultsEvent struct {
	// Required. Name of the master on which tests were run.
	MasterName *string `protobuf:"bytes,1,opt,name=master_name,json=masterName" json:"master_name,omitempty"`
	// Required. If this test run was produced on a bot, this should be the
	// builder name of the bot, e.g., "Linux Tests".
	BuilderName *string `protobuf:"bytes,2,opt,name=builder_name,json=builderName" json:"builder_name,omitempty"`
	// Optional. If this test run was produced on a bot, this should be the build
	// number of the run, e.g., 1234.
	BuildNumber *int32 `protobuf:"varint,3,opt,name=build_number,json=buildNumber" json:"build_number,omitempty"`
	// Required. Test type is derived from step name, by stripping anything but
	// the first word (before the first space), but preserving '(with patch)'
	// suffix if it was present in the original step name.
	TestType *string `protobuf:"bytes,4,opt,name=test_type,json=testType" json:"test_type,omitempty"`
	// Optional. Name of the step that was running the tests. Test type above is
	// a normalized version of this name.
	StepName *string `protobuf:"bytes,9,opt,name=step_name,json=stepName" json:"step_name,omitempty"`
	// Required. Whether the test run was interrupted and terminated early (either
	// via the runner bailing out or the user hitting ctrl-C, etc.) If true, this
	// indicates that not all of the tests in the suite were run and the results
	// are at best incomplete and possibly totally invalid.
	Interrupted *bool `protobuf:"varint,5,opt,name=interrupted" json:"interrupted,omitempty"`
	// Required. Version of the JSON file format. Current version is 3.
	Version *int32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"`
	// Required. The start time of the test run expressed as a number of
	// microseconds from the UNIX epoch.
	UsecSinceEpoch *int64 `protobuf:"varint,7,opt,name=usec_since_epoch,json=usecSinceEpoch" json:"usec_since_epoch,omitempty"`
	// Test results for individual tests.
	Tests            []*TestResultsEvent_TestResult `protobuf:"bytes,8,rep,name=tests" json:"tests,omitempty"`
	XXX_unrecognized []byte                         `json:"-"`
}

Test results reported to test-results.appspot.com by the test launcher. Based on original JSON format: https://www.chromium.org/developers/the-json-test-results-format.

Next tag: 10

func (*TestResultsEvent) Descriptor

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

func (*TestResultsEvent) GetBuildNumber

func (m *TestResultsEvent) GetBuildNumber() int32

func (*TestResultsEvent) GetBuilderName

func (m *TestResultsEvent) GetBuilderName() string

func (*TestResultsEvent) GetInterrupted

func (m *TestResultsEvent) GetInterrupted() bool

func (*TestResultsEvent) GetMasterName

func (m *TestResultsEvent) GetMasterName() string

func (*TestResultsEvent) GetStepName

func (m *TestResultsEvent) GetStepName() string

func (*TestResultsEvent) GetTestType

func (m *TestResultsEvent) GetTestType() string

func (*TestResultsEvent) GetTests

func (*TestResultsEvent) GetUsecSinceEpoch

func (m *TestResultsEvent) GetUsecSinceEpoch() int64

func (*TestResultsEvent) GetVersion

func (m *TestResultsEvent) GetVersion() int32

func (*TestResultsEvent) ProtoMessage

func (*TestResultsEvent) ProtoMessage()

func (*TestResultsEvent) Reset

func (m *TestResultsEvent) Reset()

func (*TestResultsEvent) String

func (m *TestResultsEvent) String() string

type TestResultsEvent_TestResult

type TestResultsEvent_TestResult struct {
	// Full name of the test. Created by combining names of each nesting level
	// in JSON format, e.g.  test suite name, test case and actual test name
	// using a separator as specified in "path_delimiter" field.
	TestName *string `protobuf:"bytes,1,opt,name=test_name,json=testName" json:"test_name,omitempty"`
	// Ordered list of actual test results. May contain multiple results if the
	// test was retried by the test launcher.
	Actual []TestResultsEvent_TestResultType `protobuf:"varint,2,rep,name=actual,enum=eventlog.TestResultsEvent_TestResultType" json:"actual,omitempty"`
	// Unordered set of expected results. May contain multiple results if the
	// test may produce various results all of which are considered successful.
	Expected []TestResultsEvent_TestResultType `protobuf:"varint,3,rep,name=expected,enum=eventlog.TestResultsEvent_TestResultType" json:"expected,omitempty"`
	// URLs of the bugs associated with the test.
	Bugs             []string `protobuf:"bytes,4,rep,name=bugs" json:"bugs,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Test result for an individual test.

Next tag: 5

func (*TestResultsEvent_TestResult) Descriptor

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

func (*TestResultsEvent_TestResult) GetActual

func (*TestResultsEvent_TestResult) GetBugs

func (m *TestResultsEvent_TestResult) GetBugs() []string

func (*TestResultsEvent_TestResult) GetExpected

func (*TestResultsEvent_TestResult) GetTestName

func (m *TestResultsEvent_TestResult) GetTestName() string

func (*TestResultsEvent_TestResult) ProtoMessage

func (*TestResultsEvent_TestResult) ProtoMessage()

func (*TestResultsEvent_TestResult) Reset

func (m *TestResultsEvent_TestResult) Reset()

func (*TestResultsEvent_TestResult) String

func (m *TestResultsEvent_TestResult) String() string

type TestResultsEvent_TestResultType

type TestResultsEvent_TestResultType int32

Type of the test result.

const (
	TestResultsEvent_UNKNOWN TestResultsEvent_TestResultType = 0
	// The test was not run.
	TestResultsEvent_SKIP TestResultsEvent_TestResultType = 1
	// The test ran as expected.
	TestResultsEvent_PASS TestResultsEvent_TestResultType = 2
	// The test did not run as expected.
	TestResultsEvent_FAIL TestResultsEvent_TestResultType = 3
	// The test runner crashed during the test.
	TestResultsEvent_CRASH TestResultsEvent_TestResultType = 4
	// The test hung (did not complete) and was aborted.
	TestResultsEvent_TIMEOUT TestResultsEvent_TestResultType = 5
	// Layout test specific. The test completed but we could not find an
	// expected baseline to compare against.
	TestResultsEvent_MISSING TestResultsEvent_TestResultType = 6
	// Layout test specific. Memory leaks were detected during the test
	// execution.
	TestResultsEvent_LEAK TestResultsEvent_TestResultType = 7
	// Layout test specific. The test is expected to take longer than normal to
	// run.
	TestResultsEvent_SLOW TestResultsEvent_TestResultType = 8
	// Layout test specific, deprecated. The test is expected to produce a
	// text-only failure (the image, if present, will match). Normally you will
	// see "FAIL" instead.
	TestResultsEvent_TEXT TestResultsEvent_TestResultType = 9
	// Layout test specific, deprecated. The test is expected to produce audio
	// output that doesn't match the expected result. Normally you will see
	// "FAIL" instead.
	TestResultsEvent_AUDIO TestResultsEvent_TestResultType = 10
	// Layout test specific. The test produces image (and possibly text output).
	// The image output doesn't match what we'd expect, but the text output, if
	// present, does.
	TestResultsEvent_IMAGE TestResultsEvent_TestResultType = 11
	// Layout test specific, deprecated. The test produces image and text
	// output, both of which fail to match what we expect. Normally you will see
	// "FAIL" instead. Corresponds to "IMAGE+TEXT" in JSON format.
	TestResultsEvent_IMAGE_TEXT TestResultsEvent_TestResultType = 12
	// Layout test specific. The expected test result is out of date and will be
	// ignored (any result other than a crash or timeout will be considered as
	// passing). This test result should only ever show up on local test runs,
	// not on bots (it is forbidden to check in a TestExpectations file with
	// this expectation). This should never show up as an "actual" result.
	TestResultsEvent_REBASELINE TestResultsEvent_TestResultType = 13
	// Layout test specific. The expected test result is out of date and will be
	// ignored (as above); the auto-rebaseline-bot will look for tests of this
	// type and automatically update them. This should never show up as an
	// "actual" result.
	TestResultsEvent_NEEDSREBASELINE TestResultsEvent_TestResultType = 14
	// Layout test specific. The expected test result is out of date and will be
	// ignored (as above). This result may be checked in to the TestExpectations
	// file, but the auto-rebasline-bot will ignore these entries. This should
	// never show up as an "actual" result.
	TestResultsEvent_NEEDSMANUALREBASELINE TestResultsEvent_TestResultType = 15
)

func (TestResultsEvent_TestResultType) Enum

func (TestResultsEvent_TestResultType) EnumDescriptor

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

func (TestResultsEvent_TestResultType) String

func (*TestResultsEvent_TestResultType) UnmarshalJSON

func (x *TestResultsEvent_TestResultType) UnmarshalJSON(data []byte) error

type TimeStats

type TimeStats struct {
	// Uptime of compiler_proxy in seconds.
	Uptime           *int64 `protobuf:"varint,1,opt,name=uptime" json:"uptime,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Statistics about compiler_proxy time.

func (*TimeStats) Descriptor

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

func (*TimeStats) GetUptime

func (m *TimeStats) GetUptime() int64

func (*TimeStats) ProtoMessage

func (*TimeStats) ProtoMessage()

func (*TimeStats) Reset

func (m *TimeStats) Reset()

func (*TimeStats) String

func (m *TimeStats) String() string

Jump to

Keyboard shortcuts

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