buildbucket_pb library

Classes

Any
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Artifact
A local equivalent of luci.resultdb.Artifact message in ../../rpc/v1/artifact.proto. See its comments for details. Does not have a name or artifact_id because they are represented by the TestResult.artifacts map key. Next id: 5
BatchRequest
A request message for Batch RPC.
BatchRequest_Request
One request in a batch.
BatchResponse
A response message for Batch RPC.
BatchResponse_Response
Response a BatchRequest.Response.
BoolValue
Wrapper message for bool.
Build
A single build, identified by an int64 ID. Belongs to a builder.
Build_BuilderInfo
Information of the builder, propagated from builder config.
Build_Input
Defines what to build/test.
Build_Output
Result of the build executable.
BuilderID
Identifies a builder. Canonical string representation: "{project}/{bucket}/{builder}".
BuilderItem
A configured builder.
BuilderMask
BuilderMask_BuilderMaskType
BuilderMetadata
BuildInfra
Build infrastructure that was used for a particular build.
BuildInfra_Backend
Backend-specific information.
BuildInfra_BBAgent
BBAgent-specific information.
BuildInfra_BBAgent_Input
BBAgent-specific input.
BuildInfra_BBAgent_Input_CIPDPackage
CIPD Packages to make available for this build.
BuildInfra_Buildbucket
Buildbucket-specific information, captured at the build creation time.
BuildInfra_Buildbucket_Agent
bbagent will interpret Agent.input, as well as update Agent.output.
BuildInfra_Buildbucket_Agent_Input
BuildInfra_Buildbucket_Agent_Output
BuildInfra_Buildbucket_Agent_Purpose
BuildInfra_Buildbucket_Agent_Source
Source describes where the Agent should be fetched from.
BuildInfra_Buildbucket_Agent_Source_CIPD
BuildInfra_Buildbucket_ExperimentReason
BuildInfra_LogDog
LogDog-specific information.
BuildInfra_Recipe
Recipe-specific information.
BuildInfra_ResultDB
ResultDB-specific information.
BuildInfra_Swarming
Swarming-specific information.
BuildInfra_Swarming_CacheEntry
Describes a cache directory persisted on a bot.
BuildMask
Defines a subset of Build fields and properties to return.
BuildPredicate
A build predicate.
BuildRange
Open build range.
BuildsV2PubSub
BuildsV2PubSub is the "builds_v2" pubsub topic message data schema. Attributes of this pubsub message:
BytesValue
Wrapper message for bytes.
CacheEntry
This message is a duplicate of Build.Infra.Swarming.CacheEntry, however we will be moving from hardcoded swarming -> task backends. This message will remain as the desired CacheEntry and eventually Build.Infra.Swarming will be deprecated, so this will remain.
CancelBuildRequest
A request message for CancelBuild RPC.
Compression
Compression method used in the corresponding data.
CreateBuildRequest
A request message for CreateBuild RPC.
DoubleValue
Wrapper message for double.
Duration
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
Executable
An executable to run when the build is ready to start.
FieldMask
FieldMask represents a set of symbolic field paths, for example:
FloatValue
Wrapper message for float.
GerritChange
A Gerrit patchset.
GetBuilderRequest
A request message for GetBuilder rpc.
GetBuildRequest
A request message for GetBuild RPC.
GetBuildStatusRequest
A request message for GetBuildStatus RPC.
GitilesCommit
A landed Git commit hosted on Gitiles.
HealthStatus
Int32Value
Wrapper message for int32.
Int64Value
Wrapper message for int64.
IssueTrackerComponent
A component in Google Issue Tracker, sometimes known as Buganizer, available at https://issuetracker.google.com.
ListBuildersRequest
A request message for ListBuilders.
ListBuildersResponse
A response message for ListBuilders.
ListValue
ListValue is a wrapper around a repeated field of values.
LocationTags
Maps from directory paths to extra fields to attach to TestResults. When converted to JSON format, it will look like below: { "repos": { "https://chromium.googlesource.com/chromium/src" : { "dirs": { ".": { "tags": { "teamEmail": "team_email@chromium.org" } }, "foo": { "tags": { "teamEmail": "team_email@chromium.org", "os": "WINDOWS" }, "bug_component": { "issue_tracker": { "component_id": "17171717" } } } } "files": { "./file.txt": { "tags": { "teamEmail": "other_email@chromium.org", "os": "WINDOWS" }, "bug_component": { "issue_tracker": { "component_id": "123456" } } } } } } }
LocationTags_Dir
Extra tags to attach to TestResults for a directory.
LocationTags_File
Extra tags to attach to TestResults for a file.
LocationTags_Repo
Map from directory paths in a repo to extra tags to attach to TestResults.
NotificationConfig
Configuration for per-build notification. It's usually set by the caller on each ScheduleBuild request.
NullValue
NullValue is a singleton enumeration to represent the null value for the Value type union.
PubSubCallBack
PubSubCallBack is the message data schema for the ad-hoc pubsub notification specified per ScheduleBuild request level. Attributes of this pubsub message:
ReportInvocationLevelArtifactsRequest
ReportTestResultsRequest
ReportTestResultsResponse
RequestedDimension
A requested dimension. Looks like StringPair, but also has an expiration.
ScheduleBuildRequest
A request message for ScheduleBuild RPC.
ScheduleBuildRequest_ShadowInput
Information for scheduling a build as a shadow build.
ScheduleBuildRequest_Swarming
Swarming specific part of the build request.
SearchBuildsRequest
A request message for SearchBuilds RPC.
SearchBuildsResponse
A response message for SearchBuilds RPC.
StartBuildRequest
A request message for StartBuild RPC.
StartBuildResponse
A response message for StartBuild RPC.
Status
Status of a build or a step.
StatusDetails
Machine-readable details of a status. Human-readble details are present in a sibling summary_markdown field.
StatusDetails_ResourceExhaustion
StatusDetails_Timeout
StringPair
A key-value pair of strings.
StringValue
Wrapper message for string.
Struct
Struct represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
SynthesizeBuildRequest
A request message for SynthesizeBuild RPC.
Task
A backend task. Next id: 9.
TaskID
A unique identifier for tasks.
TestExoneration
Indicates the test subject (e.g. a CL) is absolved from blame for an unexpected result of a test variant. For example, the test variant fails both with and without CL, so it is not CL's fault.
TestLocation
Location of the test definition.
TestMetadata
Information about a test.
TestMetadataDetail
Information about a test metadata.
TestResult
A local equivalent of luci.resultdb.TestResult message in ../../v1/test_result.proto. See its comments for details.
TestResultFile
A file with test results.
TestResultFile_Format
A result file format.
TestStatus
Machine-readable status of a test result.
TimeRange
Half-open time range.
Timestamp
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
Trinary
A boolean with an undefined value.
UInt32Value
Wrapper message for uint32.
UInt64Value
Wrapper message for uint64.
UpdateBuildRequest
A request message for UpdateBuild RPC.
Value
Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.