Documentation
¶
Overview ¶
Package buildbucketpb is generated from Buildbucket .proto files.
It contains pRPC and mock implementations of Builds RPC service.
See also ../protoutil for utility functions for types in this package.
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterBuildersServer(s prpc.Registrar, srv BuildersServer)
- func RegisterBuildsServer(s prpc.Registrar, srv BuildsServer)
- func RegisterTaskBackendServer(s prpc.Registrar, srv TaskBackendServer)
- type Acl
- func (*Acl) Descriptor() ([]byte, []int)deprecated
- func (x *Acl) GetGroup() stringdeprecated
- func (x *Acl) GetIdentity() stringdeprecated
- func (x *Acl) GetRole() Acl_Roledeprecated
- func (*Acl) ProtoMessage()
- func (x *Acl) ProtoReflect() protoreflect.Message
- func (x *Acl) Reset()
- func (x *Acl) String() string
- type Acl_Role
- type BBAgentArgs
- func (*BBAgentArgs) Descriptor() ([]byte, []int)deprecated
- func (x *BBAgentArgs) GetBuild() *Build
- func (x *BBAgentArgs) GetCacheDir() string
- func (x *BBAgentArgs) GetExecutablePath() string
- func (x *BBAgentArgs) GetKnownPublicGerritHosts() []string
- func (x *BBAgentArgs) GetPayloadPath() string
- func (*BBAgentArgs) ProtoMessage()
- func (x *BBAgentArgs) ProtoReflect() protoreflect.Message
- func (x *BBAgentArgs) Reset()
- func (x *BBAgentArgs) String() string
- type BackendSetting
- func (*BackendSetting) Descriptor() ([]byte, []int)deprecated
- func (x *BackendSetting) GetBuildSyncSetting() *BackendSetting_BuildSyncSetting
- func (x *BackendSetting) GetHostname() string
- func (x *BackendSetting) GetPubsubId() string
- func (x *BackendSetting) GetTarget() string
- func (*BackendSetting) ProtoMessage()
- func (x *BackendSetting) ProtoReflect() protoreflect.Message
- func (x *BackendSetting) Reset()
- func (x *BackendSetting) String() string
- type BackendSetting_BuildSyncSetting
- func (*BackendSetting_BuildSyncSetting) Descriptor() ([]byte, []int)deprecated
- func (x *BackendSetting_BuildSyncSetting) GetShards() int32
- func (x *BackendSetting_BuildSyncSetting) GetSyncIntervalSeconds() int32
- func (*BackendSetting_BuildSyncSetting) ProtoMessage()
- func (x *BackendSetting_BuildSyncSetting) ProtoReflect() protoreflect.Message
- func (x *BackendSetting_BuildSyncSetting) Reset()
- func (x *BackendSetting_BuildSyncSetting) String() string
- type BatchRequest
- type BatchRequest_Request
- func (*BatchRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRequest_Request) GetCancelBuild() *CancelBuildRequest
- func (x *BatchRequest_Request) GetGetBuild() *GetBuildRequest
- func (x *BatchRequest_Request) GetGetBuildStatus() *GetBuildStatusRequest
- func (m *BatchRequest_Request) GetRequest() isBatchRequest_Request_Request
- func (x *BatchRequest_Request) GetScheduleBuild() *ScheduleBuildRequest
- func (x *BatchRequest_Request) GetSearchBuilds() *SearchBuildsRequest
- func (*BatchRequest_Request) ProtoMessage()
- func (x *BatchRequest_Request) ProtoReflect() protoreflect.Message
- func (x *BatchRequest_Request) Reset()
- func (x *BatchRequest_Request) String() string
- type BatchRequest_Request_CancelBuild
- type BatchRequest_Request_GetBuild
- type BatchRequest_Request_GetBuildStatus
- type BatchRequest_Request_ScheduleBuild
- type BatchRequest_Request_SearchBuilds
- type BatchResponse
- type BatchResponse_Response
- func (*BatchResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *BatchResponse_Response) GetCancelBuild() *Build
- func (x *BatchResponse_Response) GetError() *status.Status
- func (x *BatchResponse_Response) GetGetBuild() *Build
- func (x *BatchResponse_Response) GetGetBuildStatus() *Build
- func (m *BatchResponse_Response) GetResponse() isBatchResponse_Response_Response
- func (x *BatchResponse_Response) GetScheduleBuild() *Build
- func (x *BatchResponse_Response) GetSearchBuilds() *SearchBuildsResponse
- func (*BatchResponse_Response) ProtoMessage()
- func (x *BatchResponse_Response) ProtoReflect() protoreflect.Message
- func (x *BatchResponse_Response) Reset()
- func (x *BatchResponse_Response) String() string
- type BatchResponse_Response_CancelBuild
- type BatchResponse_Response_Error
- type BatchResponse_Response_GetBuild
- type BatchResponse_Response_GetBuildStatus
- type BatchResponse_Response_ScheduleBuild
- type BatchResponse_Response_SearchBuilds
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetAcls() []*Acldeprecated
- func (x *Bucket) GetConstraints() *Bucket_Constraints
- func (x *Bucket) GetDynamicBuilderTemplate() *Bucket_DynamicBuilderTemplate
- func (x *Bucket) GetName() string
- func (x *Bucket) GetShadow() string
- func (x *Bucket) GetSwarming() *Swarming
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type Bucket_Constraints
- func (*Bucket_Constraints) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket_Constraints) GetPools() []string
- func (x *Bucket_Constraints) GetServiceAccounts() []string
- func (*Bucket_Constraints) ProtoMessage()
- func (x *Bucket_Constraints) ProtoReflect() protoreflect.Message
- func (x *Bucket_Constraints) Reset()
- func (x *Bucket_Constraints) String() string
- type Bucket_DynamicBuilderTemplate
- func (*Bucket_DynamicBuilderTemplate) Descriptor() ([]byte, []int)deprecated
- func (*Bucket_DynamicBuilderTemplate) ProtoMessage()
- func (x *Bucket_DynamicBuilderTemplate) ProtoReflect() protoreflect.Message
- func (x *Bucket_DynamicBuilderTemplate) Reset()
- func (x *Bucket_DynamicBuilderTemplate) String() string
- type Build
- func (*Build) Descriptor() ([]byte, []int)deprecated
- func (x *Build) GetAncestorIds() []int64
- func (x *Build) GetBuilder() *BuilderID
- func (x *Build) GetBuilderInfo() *Build_BuilderInfo
- func (x *Build) GetCanOutliveParent() bool
- func (x *Build) GetCanary() bool
- func (x *Build) GetCancelTime() *timestamppb.Timestamp
- func (x *Build) GetCanceledBy() string
- func (x *Build) GetCancellationMarkdown() string
- func (x *Build) GetCreateTime() *timestamppb.Timestamp
- func (x *Build) GetCreatedBy() string
- func (x *Build) GetCritical() Trinary
- func (x *Build) GetEndTime() *timestamppb.Timestamp
- func (x *Build) GetExe() *Executable
- func (x *Build) GetExecutionTimeout() *durationpb.Duration
- func (x *Build) GetGracePeriod() *durationpb.Duration
- func (x *Build) GetId() int64
- func (x *Build) GetInfra() *BuildInfra
- func (x *Build) GetInput() *Build_Input
- func (x *Build) GetNumber() int32
- func (x *Build) GetOutput() *Build_Output
- func (x *Build) GetRetriable() Trinary
- func (x *Build) GetSchedulingTimeout() *durationpb.Duration
- func (x *Build) GetStartTime() *timestamppb.Timestamp
- func (x *Build) GetStatus() Status
- func (x *Build) GetStatusDetails() *StatusDetails
- func (x *Build) GetSteps() []*Step
- func (x *Build) GetSummaryMarkdown() string
- func (x *Build) GetTags() []*StringPair
- func (x *Build) GetUpdateTime() *timestamppb.Timestamp
- func (x *Build) GetWaitForCapacity() bool
- func (*Build) ProtoMessage()
- func (x *Build) ProtoReflect() protoreflect.Message
- func (x *Build) Reset()
- func (x *Build) String() string
- type BuildFieldVisibility
- func (BuildFieldVisibility) Descriptor() protoreflect.EnumDescriptor
- func (x BuildFieldVisibility) Enum() *BuildFieldVisibility
- func (BuildFieldVisibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildFieldVisibility) Number() protoreflect.EnumNumber
- func (x BuildFieldVisibility) String() string
- func (BuildFieldVisibility) Type() protoreflect.EnumType
- type BuildInfra
- func (*BuildInfra) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra) GetBackend() *BuildInfra_Backend
- func (x *BuildInfra) GetBbagent() *BuildInfra_BBAgent
- func (x *BuildInfra) GetBuildbucket() *BuildInfra_Buildbucket
- func (x *BuildInfra) GetLogdog() *BuildInfra_LogDog
- func (x *BuildInfra) GetRecipe() *BuildInfra_Recipe
- func (x *BuildInfra) GetResultdb() *BuildInfra_ResultDB
- func (x *BuildInfra) GetSwarming() *BuildInfra_Swarming
- func (*BuildInfra) ProtoMessage()
- func (x *BuildInfra) ProtoReflect() protoreflect.Message
- func (x *BuildInfra) Reset()
- func (x *BuildInfra) String() string
- type BuildInfra_BBAgent
- func (*BuildInfra_BBAgent) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_BBAgent) GetCacheDir() string
- func (x *BuildInfra_BBAgent) GetInput() *BuildInfra_BBAgent_Inputdeprecated
- func (x *BuildInfra_BBAgent) GetKnownPublicGerritHosts() []stringdeprecated
- func (x *BuildInfra_BBAgent) GetPayloadPath() string
- func (*BuildInfra_BBAgent) ProtoMessage()
- func (x *BuildInfra_BBAgent) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_BBAgent) Reset()
- func (x *BuildInfra_BBAgent) String() string
- type BuildInfra_BBAgent_Input
- func (*BuildInfra_BBAgent_Input) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_BBAgent_Input) GetCipdPackages() []*BuildInfra_BBAgent_Input_CIPDPackage
- func (*BuildInfra_BBAgent_Input) ProtoMessage()
- func (x *BuildInfra_BBAgent_Input) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_BBAgent_Input) Reset()
- func (x *BuildInfra_BBAgent_Input) String() string
- type BuildInfra_BBAgent_Input_CIPDPackage
- func (*BuildInfra_BBAgent_Input_CIPDPackage) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetName() string
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetPath() string
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetServer() string
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetVersion() string
- func (*BuildInfra_BBAgent_Input_CIPDPackage) ProtoMessage()
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) Reset()
- func (x *BuildInfra_BBAgent_Input_CIPDPackage) String() string
- type BuildInfra_Backend
- func (*BuildInfra_Backend) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Backend) GetCaches() []*CacheEntry
- func (x *BuildInfra_Backend) GetConfig() *structpb.Struct
- func (x *BuildInfra_Backend) GetTask() *Task
- func (x *BuildInfra_Backend) GetTaskDimensions() []*RequestedDimension
- func (*BuildInfra_Backend) ProtoMessage()
- func (x *BuildInfra_Backend) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Backend) Reset()
- func (x *BuildInfra_Backend) String() string
- type BuildInfra_Buildbucket
- func (*BuildInfra_Buildbucket) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket) GetAgent() *BuildInfra_Buildbucket_Agent
- func (x *BuildInfra_Buildbucket) GetAgentExecutable() map[string]*ResolvedDataRefdeprecated
- func (x *BuildInfra_Buildbucket) GetBuildNumber() bool
- func (x *BuildInfra_Buildbucket) GetExperimentReasons() map[string]BuildInfra_Buildbucket_ExperimentReason
- func (x *BuildInfra_Buildbucket) GetHostname() string
- func (x *BuildInfra_Buildbucket) GetKnownPublicGerritHosts() []string
- func (x *BuildInfra_Buildbucket) GetRequestedDimensions() []*RequestedDimension
- func (x *BuildInfra_Buildbucket) GetRequestedProperties() *structpb.Struct
- func (x *BuildInfra_Buildbucket) GetServiceConfigRevision() string
- func (*BuildInfra_Buildbucket) ProtoMessage()
- func (x *BuildInfra_Buildbucket) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket) Reset()
- func (x *BuildInfra_Buildbucket) String() string
- type BuildInfra_Buildbucket_Agent
- func (*BuildInfra_Buildbucket_Agent) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket_Agent) GetInput() *BuildInfra_Buildbucket_Agent_Input
- func (x *BuildInfra_Buildbucket_Agent) GetOutput() *BuildInfra_Buildbucket_Agent_Output
- func (x *BuildInfra_Buildbucket_Agent) GetPurposes() map[string]BuildInfra_Buildbucket_Agent_Purpose
- func (x *BuildInfra_Buildbucket_Agent) GetSource() *BuildInfra_Buildbucket_Agent_Source
- func (*BuildInfra_Buildbucket_Agent) ProtoMessage()
- func (x *BuildInfra_Buildbucket_Agent) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket_Agent) Reset()
- func (x *BuildInfra_Buildbucket_Agent) String() string
- type BuildInfra_Buildbucket_Agent_Input
- func (*BuildInfra_Buildbucket_Agent_Input) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket_Agent_Input) GetData() map[string]*InputDataRef
- func (*BuildInfra_Buildbucket_Agent_Input) ProtoMessage()
- func (x *BuildInfra_Buildbucket_Agent_Input) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket_Agent_Input) Reset()
- func (x *BuildInfra_Buildbucket_Agent_Input) String() string
- type BuildInfra_Buildbucket_Agent_Output
- func (*BuildInfra_Buildbucket_Agent_Output) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket_Agent_Output) GetAgentPlatform() string
- func (x *BuildInfra_Buildbucket_Agent_Output) GetResolvedData() map[string]*ResolvedDataRef
- func (x *BuildInfra_Buildbucket_Agent_Output) GetStatus() Status
- func (x *BuildInfra_Buildbucket_Agent_Output) GetStatusDetails() *StatusDetails
- func (x *BuildInfra_Buildbucket_Agent_Output) GetSummaryHtml() string
- func (x *BuildInfra_Buildbucket_Agent_Output) GetTotalDuration() *durationpb.Duration
- func (*BuildInfra_Buildbucket_Agent_Output) ProtoMessage()
- func (x *BuildInfra_Buildbucket_Agent_Output) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket_Agent_Output) Reset()
- func (x *BuildInfra_Buildbucket_Agent_Output) String() string
- type BuildInfra_Buildbucket_Agent_Purpose
- func (BuildInfra_Buildbucket_Agent_Purpose) Descriptor() protoreflect.EnumDescriptor
- func (x BuildInfra_Buildbucket_Agent_Purpose) Enum() *BuildInfra_Buildbucket_Agent_Purpose
- func (BuildInfra_Buildbucket_Agent_Purpose) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildInfra_Buildbucket_Agent_Purpose) Number() protoreflect.EnumNumber
- func (x BuildInfra_Buildbucket_Agent_Purpose) String() string
- func (BuildInfra_Buildbucket_Agent_Purpose) Type() protoreflect.EnumType
- type BuildInfra_Buildbucket_Agent_Source
- func (*BuildInfra_Buildbucket_Agent_Source) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket_Agent_Source) GetCipd() *BuildInfra_Buildbucket_Agent_Source_CIPD
- func (m *BuildInfra_Buildbucket_Agent_Source) GetDataType() isBuildInfra_Buildbucket_Agent_Source_DataType
- func (*BuildInfra_Buildbucket_Agent_Source) ProtoMessage()
- func (x *BuildInfra_Buildbucket_Agent_Source) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket_Agent_Source) Reset()
- func (x *BuildInfra_Buildbucket_Agent_Source) String() string
- type BuildInfra_Buildbucket_Agent_Source_CIPD
- func (*BuildInfra_Buildbucket_Agent_Source_CIPD) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetPackage() string
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetResolvedInstances() map[string]string
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetServer() string
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetVersion() string
- func (*BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoMessage()
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) Reset()
- func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) String() string
- type BuildInfra_Buildbucket_Agent_Source_Cipd
- type BuildInfra_Buildbucket_ExperimentReason
- func (BuildInfra_Buildbucket_ExperimentReason) Descriptor() protoreflect.EnumDescriptor
- func (x BuildInfra_Buildbucket_ExperimentReason) Enum() *BuildInfra_Buildbucket_ExperimentReason
- func (BuildInfra_Buildbucket_ExperimentReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildInfra_Buildbucket_ExperimentReason) Number() protoreflect.EnumNumber
- func (x BuildInfra_Buildbucket_ExperimentReason) String() string
- func (BuildInfra_Buildbucket_ExperimentReason) Type() protoreflect.EnumType
- type BuildInfra_LogDog
- func (*BuildInfra_LogDog) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_LogDog) GetHostname() string
- func (x *BuildInfra_LogDog) GetPrefix() string
- func (x *BuildInfra_LogDog) GetProject() string
- func (*BuildInfra_LogDog) ProtoMessage()
- func (x *BuildInfra_LogDog) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_LogDog) Reset()
- func (x *BuildInfra_LogDog) String() string
- type BuildInfra_Recipe
- func (*BuildInfra_Recipe) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Recipe) GetCipdPackage() string
- func (x *BuildInfra_Recipe) GetName() string
- func (*BuildInfra_Recipe) ProtoMessage()
- func (x *BuildInfra_Recipe) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Recipe) Reset()
- func (x *BuildInfra_Recipe) String() string
- type BuildInfra_ResultDB
- func (*BuildInfra_ResultDB) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_ResultDB) GetBqExports() []*v1.BigQueryExport
- func (x *BuildInfra_ResultDB) GetEnable() bool
- func (x *BuildInfra_ResultDB) GetHistoryOptions() *v1.HistoryOptions
- func (x *BuildInfra_ResultDB) GetHostname() string
- func (x *BuildInfra_ResultDB) GetInvocation() string
- func (*BuildInfra_ResultDB) ProtoMessage()
- func (x *BuildInfra_ResultDB) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_ResultDB) Reset()
- func (x *BuildInfra_ResultDB) String() string
- type BuildInfra_Swarming
- func (*BuildInfra_Swarming) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Swarming) GetBotDimensions() []*StringPair
- func (x *BuildInfra_Swarming) GetCaches() []*BuildInfra_Swarming_CacheEntry
- func (x *BuildInfra_Swarming) GetHostname() string
- func (x *BuildInfra_Swarming) GetParentRunId() string
- func (x *BuildInfra_Swarming) GetPriority() int32
- func (x *BuildInfra_Swarming) GetTaskDimensions() []*RequestedDimension
- func (x *BuildInfra_Swarming) GetTaskId() string
- func (x *BuildInfra_Swarming) GetTaskServiceAccount() string
- func (*BuildInfra_Swarming) ProtoMessage()
- func (x *BuildInfra_Swarming) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Swarming) Reset()
- func (x *BuildInfra_Swarming) String() string
- type BuildInfra_Swarming_CacheEntry
- func (*BuildInfra_Swarming_CacheEntry) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfra_Swarming_CacheEntry) GetEnvVar() string
- func (x *BuildInfra_Swarming_CacheEntry) GetName() string
- func (x *BuildInfra_Swarming_CacheEntry) GetPath() string
- func (x *BuildInfra_Swarming_CacheEntry) GetWaitForWarmCache() *durationpb.Duration
- func (*BuildInfra_Swarming_CacheEntry) ProtoMessage()
- func (x *BuildInfra_Swarming_CacheEntry) ProtoReflect() protoreflect.Message
- func (x *BuildInfra_Swarming_CacheEntry) Reset()
- func (x *BuildInfra_Swarming_CacheEntry) String() string
- type BuildMask
- func (*BuildMask) Descriptor() ([]byte, []int)deprecated
- func (x *BuildMask) GetAllFields() bool
- func (x *BuildMask) GetFields() *fieldmaskpb.FieldMask
- func (x *BuildMask) GetInputProperties() []*structmask.StructMask
- func (x *BuildMask) GetOutputProperties() []*structmask.StructMask
- func (x *BuildMask) GetRequestedProperties() []*structmask.StructMask
- func (x *BuildMask) GetStepStatus() []Status
- func (*BuildMask) ProtoMessage()
- func (x *BuildMask) ProtoReflect() protoreflect.Message
- func (x *BuildMask) Reset()
- func (x *BuildMask) String() string
- type BuildPredicate
- func (*BuildPredicate) Descriptor() ([]byte, []int)deprecated
- func (x *BuildPredicate) GetBuild() *BuildRange
- func (x *BuildPredicate) GetBuilder() *BuilderID
- func (x *BuildPredicate) GetCanary() Trinary
- func (x *BuildPredicate) GetChildOf() int64
- func (x *BuildPredicate) GetCreateTime() *TimeRange
- func (x *BuildPredicate) GetCreatedBy() string
- func (x *BuildPredicate) GetDescendantOf() int64
- func (x *BuildPredicate) GetExperiments() []string
- func (x *BuildPredicate) GetGerritChanges() []*GerritChange
- func (x *BuildPredicate) GetIncludeExperimental() bool
- func (x *BuildPredicate) GetOutputGitilesCommit() *GitilesCommit
- func (x *BuildPredicate) GetStatus() Status
- func (x *BuildPredicate) GetTags() []*StringPair
- func (*BuildPredicate) ProtoMessage()
- func (x *BuildPredicate) ProtoReflect() protoreflect.Message
- func (x *BuildPredicate) Reset()
- func (x *BuildPredicate) String() string
- type BuildRange
- func (*BuildRange) Descriptor() ([]byte, []int)deprecated
- func (x *BuildRange) GetEndBuildId() int64
- func (x *BuildRange) GetStartBuildId() int64
- func (*BuildRange) ProtoMessage()
- func (x *BuildRange) ProtoReflect() protoreflect.Message
- func (x *BuildRange) Reset()
- func (x *BuildRange) String() string
- type BuildSecrets
- func (*BuildSecrets) Descriptor() ([]byte, []int)deprecated
- func (x *BuildSecrets) GetBuildToken() string
- func (x *BuildSecrets) GetResultdbInvocationUpdateToken() string
- func (x *BuildSecrets) GetStartBuildToken() string
- func (*BuildSecrets) ProtoMessage()
- func (x *BuildSecrets) ProtoReflect() protoreflect.Message
- func (x *BuildSecrets) Reset()
- func (x *BuildSecrets) String() string
- type BuildTaskUpdate
- func (*BuildTaskUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *BuildTaskUpdate) GetBuildId() string
- func (x *BuildTaskUpdate) GetTask() *Task
- func (*BuildTaskUpdate) ProtoMessage()
- func (x *BuildTaskUpdate) ProtoReflect() protoreflect.Message
- func (x *BuildTaskUpdate) Reset()
- func (x *BuildTaskUpdate) String() string
- type Build_BuilderInfo
- func (*Build_BuilderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Build_BuilderInfo) GetDescription() string
- func (*Build_BuilderInfo) ProtoMessage()
- func (x *Build_BuilderInfo) ProtoReflect() protoreflect.Message
- func (x *Build_BuilderInfo) Reset()
- func (x *Build_BuilderInfo) String() string
- type Build_Input
- func (*Build_Input) Descriptor() ([]byte, []int)deprecated
- func (x *Build_Input) GetExperimental() bool
- func (x *Build_Input) GetExperiments() []string
- func (x *Build_Input) GetGerritChanges() []*GerritChange
- func (x *Build_Input) GetGitilesCommit() *GitilesCommit
- func (x *Build_Input) GetProperties() *structpb.Struct
- func (*Build_Input) ProtoMessage()
- func (x *Build_Input) ProtoReflect() protoreflect.Message
- func (x *Build_Input) Reset()
- func (x *Build_Input) String() string
- type Build_Output
- func (*Build_Output) Descriptor() ([]byte, []int)deprecated
- func (x *Build_Output) GetGitilesCommit() *GitilesCommit
- func (x *Build_Output) GetLogs() []*Log
- func (x *Build_Output) GetProperties() *structpb.Struct
- func (x *Build_Output) GetStatus() Status
- func (x *Build_Output) GetStatusDetails() *StatusDetails
- func (x *Build_Output) GetSummaryHtml() string
- func (x *Build_Output) GetSummaryMarkdown() string
- func (*Build_Output) ProtoMessage()
- func (x *Build_Output) ProtoReflect() protoreflect.Message
- func (x *Build_Output) Reset()
- func (x *Build_Output) String() string
- type BuildbucketAgentContext
- func (*BuildbucketAgentContext) Descriptor() ([]byte, []int)deprecated
- func (x *BuildbucketAgentContext) GetSecrets() *BuildSecrets
- func (x *BuildbucketAgentContext) GetTaskId() string
- func (*BuildbucketAgentContext) ProtoMessage()
- func (x *BuildbucketAgentContext) ProtoReflect() protoreflect.Message
- func (x *BuildbucketAgentContext) Reset()
- func (x *BuildbucketAgentContext) String() string
- type BuildbucketCfg
- func (*BuildbucketCfg) Descriptor() ([]byte, []int)deprecated
- func (x *BuildbucketCfg) GetBuckets() []*Bucket
- func (x *BuildbucketCfg) GetCommonConfig() *BuildbucketCfg_CommonConfig
- func (*BuildbucketCfg) ProtoMessage()
- func (x *BuildbucketCfg) ProtoReflect() protoreflect.Message
- func (x *BuildbucketCfg) Reset()
- func (x *BuildbucketCfg) String() string
- type BuildbucketCfg_CommonConfig
- func (*BuildbucketCfg_CommonConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuildbucketCfg_CommonConfig) GetBuildsNotificationTopics() []*BuildbucketCfg_Topic
- func (*BuildbucketCfg_CommonConfig) ProtoMessage()
- func (x *BuildbucketCfg_CommonConfig) ProtoReflect() protoreflect.Message
- func (x *BuildbucketCfg_CommonConfig) Reset()
- func (x *BuildbucketCfg_CommonConfig) String() string
- type BuildbucketCfg_Topic
- func (*BuildbucketCfg_Topic) Descriptor() ([]byte, []int)deprecated
- func (x *BuildbucketCfg_Topic) GetCompression() Compression
- func (x *BuildbucketCfg_Topic) GetName() string
- func (*BuildbucketCfg_Topic) ProtoMessage()
- func (x *BuildbucketCfg_Topic) ProtoReflect() protoreflect.Message
- func (x *BuildbucketCfg_Topic) Reset()
- func (x *BuildbucketCfg_Topic) String() string
- type BuilderConfig
- func (*BuilderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig) GetAllowedPropertyOverrides() []string
- func (x *BuilderConfig) GetAutoBuilderDimension() Toggle
- func (x *BuilderConfig) GetBackend() *BuilderConfig_Backend
- func (x *BuilderConfig) GetBackendAlt() *BuilderConfig_Backend
- func (x *BuilderConfig) GetBuildNumbers() Toggle
- func (x *BuilderConfig) GetBuilderHealthMetricsLinks() *BuilderConfig_BuilderHealthLinks
- func (x *BuilderConfig) GetCaches() []*BuilderConfig_CacheEntry
- func (x *BuilderConfig) GetCategory() string
- func (x *BuilderConfig) GetContactTeamEmail() string
- func (x *BuilderConfig) GetCritical() Trinary
- func (x *BuilderConfig) GetDescriptionHtml() string
- func (x *BuilderConfig) GetDimensions() []string
- func (x *BuilderConfig) GetExe() *Executable
- func (x *BuilderConfig) GetExecutionTimeoutSecs() uint32
- func (x *BuilderConfig) GetExperimental() Toggle
- func (x *BuilderConfig) GetExperiments() map[string]int32
- func (x *BuilderConfig) GetExpirationSecs() uint32
- func (x *BuilderConfig) GetGracePeriod() *durationpb.Duration
- func (x *BuilderConfig) GetName() string
- func (x *BuilderConfig) GetPriority() uint32
- func (x *BuilderConfig) GetProperties() string
- func (x *BuilderConfig) GetRecipe() *BuilderConfig_Recipe
- func (x *BuilderConfig) GetResultdb() *BuilderConfig_ResultDB
- func (x *BuilderConfig) GetRetriable() Trinary
- func (x *BuilderConfig) GetServiceAccount() string
- func (x *BuilderConfig) GetShadowBuilderAdjustments() *BuilderConfig_ShadowBuilderAdjustments
- func (x *BuilderConfig) GetSwarmingHost() string
- func (x *BuilderConfig) GetSwarmingTags() []string
- func (x *BuilderConfig) GetTaskTemplateCanaryPercentage() *wrapperspb.UInt32Value
- func (x *BuilderConfig) GetWaitForCapacity() Trinary
- func (*BuilderConfig) ProtoMessage()
- func (x *BuilderConfig) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig) Reset()
- func (x *BuilderConfig) String() string
- type BuilderConfig_Backend
- func (*BuilderConfig_Backend) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_Backend) GetConfigJson() string
- func (x *BuilderConfig_Backend) GetTarget() string
- func (*BuilderConfig_Backend) ProtoMessage()
- func (x *BuilderConfig_Backend) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_Backend) Reset()
- func (x *BuilderConfig_Backend) String() string
- type BuilderConfig_BuilderHealthLinks
- func (*BuilderConfig_BuilderHealthLinks) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_BuilderHealthLinks) GetDataLinks() map[string]string
- func (x *BuilderConfig_BuilderHealthLinks) GetDocLinks() map[string]string
- func (*BuilderConfig_BuilderHealthLinks) ProtoMessage()
- func (x *BuilderConfig_BuilderHealthLinks) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_BuilderHealthLinks) Reset()
- func (x *BuilderConfig_BuilderHealthLinks) String() string
- type BuilderConfig_CacheEntry
- func (*BuilderConfig_CacheEntry) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_CacheEntry) GetEnvVar() string
- func (x *BuilderConfig_CacheEntry) GetName() string
- func (x *BuilderConfig_CacheEntry) GetPath() string
- func (x *BuilderConfig_CacheEntry) GetWaitForWarmCacheSecs() int32
- func (*BuilderConfig_CacheEntry) ProtoMessage()
- func (x *BuilderConfig_CacheEntry) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_CacheEntry) Reset()
- func (x *BuilderConfig_CacheEntry) String() string
- type BuilderConfig_Recipe
- func (*BuilderConfig_Recipe) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_Recipe) GetCipdPackage() string
- func (x *BuilderConfig_Recipe) GetCipdVersion() string
- func (x *BuilderConfig_Recipe) GetName() string
- func (x *BuilderConfig_Recipe) GetProperties() []string
- func (x *BuilderConfig_Recipe) GetPropertiesJ() []string
- func (*BuilderConfig_Recipe) ProtoMessage()
- func (x *BuilderConfig_Recipe) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_Recipe) Reset()
- func (x *BuilderConfig_Recipe) String() string
- type BuilderConfig_ResultDB
- func (*BuilderConfig_ResultDB) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_ResultDB) GetBqExports() []*v1.BigQueryExport
- func (x *BuilderConfig_ResultDB) GetEnable() bool
- func (x *BuilderConfig_ResultDB) GetHistoryOptions() *v1.HistoryOptions
- func (*BuilderConfig_ResultDB) ProtoMessage()
- func (x *BuilderConfig_ResultDB) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_ResultDB) Reset()
- func (x *BuilderConfig_ResultDB) String() string
- type BuilderConfig_ShadowBuilderAdjustments
- func (*BuilderConfig_ShadowBuilderAdjustments) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig_ShadowBuilderAdjustments) GetDimensions() []string
- func (x *BuilderConfig_ShadowBuilderAdjustments) GetPool() string
- func (x *BuilderConfig_ShadowBuilderAdjustments) GetProperties() string
- func (x *BuilderConfig_ShadowBuilderAdjustments) GetServiceAccount() string
- func (*BuilderConfig_ShadowBuilderAdjustments) ProtoMessage()
- func (x *BuilderConfig_ShadowBuilderAdjustments) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig_ShadowBuilderAdjustments) Reset()
- func (x *BuilderConfig_ShadowBuilderAdjustments) String() string
- type BuilderID
- func (*BuilderID) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderID) GetBucket() string
- func (x *BuilderID) GetBuilder() string
- func (x *BuilderID) GetProject() string
- func (*BuilderID) ProtoMessage()
- func (x *BuilderID) ProtoReflect() protoreflect.Message
- func (x *BuilderID) Reset()
- func (x *BuilderID) String() string
- type BuilderItem
- func (*BuilderItem) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderItem) GetConfig() *BuilderConfig
- func (x *BuilderItem) GetId() *BuilderID
- func (x *BuilderItem) GetMetadata() *BuilderMetadata
- func (*BuilderItem) ProtoMessage()
- func (x *BuilderItem) ProtoReflect() protoreflect.Message
- func (x *BuilderItem) Reset()
- func (x *BuilderItem) String() string
- type BuilderMask
- type BuilderMask_BuilderMaskType
- func (BuilderMask_BuilderMaskType) Descriptor() protoreflect.EnumDescriptor
- func (x BuilderMask_BuilderMaskType) Enum() *BuilderMask_BuilderMaskType
- func (BuilderMask_BuilderMaskType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuilderMask_BuilderMaskType) Number() protoreflect.EnumNumber
- func (x BuilderMask_BuilderMaskType) String() string
- func (BuilderMask_BuilderMaskType) Type() protoreflect.EnumType
- type BuilderMetadata
- func (*BuilderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderMetadata) GetHealth() *HealthStatus
- func (x *BuilderMetadata) GetOwner() string
- func (*BuilderMetadata) ProtoMessage()
- func (x *BuilderMetadata) ProtoReflect() protoreflect.Message
- func (x *BuilderMetadata) Reset()
- func (x *BuilderMetadata) String() string
- type BuilderPredicate
- func (*BuilderPredicate) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderPredicate) GetRegex() []string
- func (x *BuilderPredicate) GetRegexExclude() []string
- func (*BuilderPredicate) ProtoMessage()
- func (x *BuilderPredicate) ProtoReflect() protoreflect.Message
- func (x *BuilderPredicate) Reset()
- func (x *BuilderPredicate) String() string
- type BuildersClient
- type BuildersServer
- type BuildsClient
- type BuildsServer
- type BuildsV2PubSub
- func (*BuildsV2PubSub) Descriptor() ([]byte, []int)deprecated
- func (x *BuildsV2PubSub) GetBuild() *Build
- func (x *BuildsV2PubSub) GetBuildLargeFields() []byte
- func (x *BuildsV2PubSub) GetCompression() Compression
- func (*BuildsV2PubSub) ProtoMessage()
- func (x *BuildsV2PubSub) ProtoReflect() protoreflect.Message
- func (x *BuildsV2PubSub) Reset()
- func (x *BuildsV2PubSub) String() string
- type CacheEntry
- func (*CacheEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CacheEntry) GetEnvVar() string
- func (x *CacheEntry) GetName() string
- func (x *CacheEntry) GetPath() string
- func (x *CacheEntry) GetWaitForWarmCache() *durationpb.Duration
- func (*CacheEntry) ProtoMessage()
- func (x *CacheEntry) ProtoReflect() protoreflect.Message
- func (x *CacheEntry) Reset()
- func (x *CacheEntry) String() string
- type CancelBuildRequest
- func (*CancelBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelBuildRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *CancelBuildRequest) GetId() int64
- func (x *CancelBuildRequest) GetMask() *BuildMask
- func (x *CancelBuildRequest) GetSummaryMarkdown() string
- func (*CancelBuildRequest) ProtoMessage()
- func (x *CancelBuildRequest) ProtoReflect() protoreflect.Message
- func (x *CancelBuildRequest) Reset()
- func (x *CancelBuildRequest) String() string
- type CancelTasksRequest
- func (*CancelTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTasksRequest) GetTaskIds() []*TaskID
- func (*CancelTasksRequest) ProtoMessage()
- func (x *CancelTasksRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTasksRequest) Reset()
- func (x *CancelTasksRequest) String() string
- type CancelTasksResponse
- func (*CancelTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTasksResponse) GetTasks() []*Task
- func (*CancelTasksResponse) ProtoMessage()
- func (x *CancelTasksResponse) ProtoReflect() protoreflect.Message
- func (x *CancelTasksResponse) Reset()
- func (x *CancelTasksResponse) String() string
- type CipdSettings
- type Compression
- func (Compression) Descriptor() protoreflect.EnumDescriptor
- func (x Compression) Enum() *Compression
- func (Compression) EnumDescriptor() ([]byte, []int)deprecated
- func (x Compression) Number() protoreflect.EnumNumber
- func (x Compression) String() string
- func (Compression) Type() protoreflect.EnumType
- type CreateBuildFieldOption
- func (*CreateBuildFieldOption) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildFieldOption) GetFieldBehavior() annotations.FieldBehavior
- func (*CreateBuildFieldOption) ProtoMessage()
- func (x *CreateBuildFieldOption) ProtoReflect() protoreflect.Message
- func (x *CreateBuildFieldOption) Reset()
- func (x *CreateBuildFieldOption) String() string
- type CreateBuildRequest
- func (*CreateBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildRequest) GetBuild() *Build
- func (x *CreateBuildRequest) GetMask() *BuildMask
- func (x *CreateBuildRequest) GetRequestId() string
- func (*CreateBuildRequest) ProtoMessage()
- func (x *CreateBuildRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBuildRequest) Reset()
- func (x *CreateBuildRequest) String() string
- type DecoratedBuilders
- func (s *DecoratedBuilders) GetBuilder(ctx context.Context, req *GetBuilderRequest) (rsp *BuilderItem, err error)
- func (s *DecoratedBuilders) ListBuilders(ctx context.Context, req *ListBuildersRequest) (rsp *ListBuildersResponse, err error)
- func (s *DecoratedBuilders) SetBuilderHealth(ctx context.Context, req *SetBuilderHealthRequest) (rsp *SetBuilderHealthResponse, err error)
- type DecoratedBuilds
- func (s *DecoratedBuilds) Batch(ctx context.Context, req *BatchRequest) (rsp *BatchResponse, err error)
- func (s *DecoratedBuilds) CancelBuild(ctx context.Context, req *CancelBuildRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) CreateBuild(ctx context.Context, req *CreateBuildRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) GetBuild(ctx context.Context, req *GetBuildRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) GetBuildStatus(ctx context.Context, req *GetBuildStatusRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) RegisterBuildTask(ctx context.Context, req *RegisterBuildTaskRequest) (rsp *RegisterBuildTaskResponse, err error)
- func (s *DecoratedBuilds) ScheduleBuild(ctx context.Context, req *ScheduleBuildRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) SearchBuilds(ctx context.Context, req *SearchBuildsRequest) (rsp *SearchBuildsResponse, err error)
- func (s *DecoratedBuilds) StartBuild(ctx context.Context, req *StartBuildRequest) (rsp *StartBuildResponse, err error)
- func (s *DecoratedBuilds) SynthesizeBuild(ctx context.Context, req *SynthesizeBuildRequest) (rsp *Build, err error)
- func (s *DecoratedBuilds) UpdateBuild(ctx context.Context, req *UpdateBuildRequest) (rsp *Build, err error)
- type Executable
- func (*Executable) Descriptor() ([]byte, []int)deprecated
- func (x *Executable) GetCipdPackage() string
- func (x *Executable) GetCipdVersion() string
- func (x *Executable) GetCmd() []string
- func (x *Executable) GetWrapper() []string
- func (*Executable) ProtoMessage()
- func (x *Executable) ProtoReflect() protoreflect.Message
- func (x *Executable) Reset()
- func (x *Executable) String() string
- type ExperimentSettings
- func (*ExperimentSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentSettings) GetExperiments() []*ExperimentSettings_Experiment
- func (*ExperimentSettings) ProtoMessage()
- func (x *ExperimentSettings) ProtoReflect() protoreflect.Message
- func (x *ExperimentSettings) Reset()
- func (x *ExperimentSettings) String() string
- type ExperimentSettings_Experiment
- func (*ExperimentSettings_Experiment) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentSettings_Experiment) GetBuilders() *BuilderPredicate
- func (x *ExperimentSettings_Experiment) GetDefaultValue() int32
- func (x *ExperimentSettings_Experiment) GetInactive() bool
- func (x *ExperimentSettings_Experiment) GetMinimumValue() int32
- func (x *ExperimentSettings_Experiment) GetName() string
- func (*ExperimentSettings_Experiment) ProtoMessage()
- func (x *ExperimentSettings_Experiment) ProtoReflect() protoreflect.Message
- func (x *ExperimentSettings_Experiment) Reset()
- func (x *ExperimentSettings_Experiment) String() string
- type FetchTasksRequest
- func (*FetchTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchTasksRequest) GetTaskIds() []*TaskID
- func (*FetchTasksRequest) ProtoMessage()
- func (x *FetchTasksRequest) ProtoReflect() protoreflect.Message
- func (x *FetchTasksRequest) Reset()
- func (x *FetchTasksRequest) String() string
- type FetchTasksResponse
- func (*FetchTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchTasksResponse) GetTasks() []*Task
- func (*FetchTasksResponse) ProtoMessage()
- func (x *FetchTasksResponse) ProtoReflect() protoreflect.Message
- func (x *FetchTasksResponse) Reset()
- func (x *FetchTasksResponse) String() string
- type GerritChange
- func (*GerritChange) Descriptor() ([]byte, []int)deprecated
- func (x *GerritChange) GetChange() int64
- func (x *GerritChange) GetHost() string
- func (x *GerritChange) GetPatchset() int64
- func (x *GerritChange) GetProject() string
- func (*GerritChange) ProtoMessage()
- func (x *GerritChange) ProtoReflect() protoreflect.Message
- func (x *GerritChange) Reset()
- func (x *GerritChange) String() string
- type GetBuildRequest
- func (*GetBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildRequest) GetBuildNumber() int32
- func (x *GetBuildRequest) GetBuilder() *BuilderID
- func (x *GetBuildRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *GetBuildRequest) GetId() int64
- func (x *GetBuildRequest) GetMask() *BuildMask
- func (*GetBuildRequest) ProtoMessage()
- func (x *GetBuildRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildRequest) Reset()
- func (x *GetBuildRequest) String() string
- type GetBuildStatusRequest
- func (*GetBuildStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildStatusRequest) GetBuildNumber() int32
- func (x *GetBuildStatusRequest) GetBuilder() *BuilderID
- func (x *GetBuildStatusRequest) GetId() int64
- func (*GetBuildStatusRequest) ProtoMessage()
- func (x *GetBuildStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildStatusRequest) Reset()
- func (x *GetBuildStatusRequest) String() string
- type GetBuilderRequest
- func (*GetBuilderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuilderRequest) GetId() *BuilderID
- func (x *GetBuilderRequest) GetMask() *BuilderMask
- func (*GetBuilderRequest) ProtoMessage()
- func (x *GetBuilderRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuilderRequest) Reset()
- func (x *GetBuilderRequest) String() string
- type GitilesCommit
- func (*GitilesCommit) Descriptor() ([]byte, []int)deprecated
- func (x *GitilesCommit) GetHost() string
- func (x *GitilesCommit) GetId() string
- func (x *GitilesCommit) GetPosition() uint32
- func (x *GitilesCommit) GetProject() string
- func (x *GitilesCommit) GetRef() string
- func (*GitilesCommit) ProtoMessage()
- func (x *GitilesCommit) ProtoReflect() protoreflect.Message
- func (x *GitilesCommit) Reset()
- func (x *GitilesCommit) String() string
- type HealthStatus
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetContactTeamEmail() string
- func (x *HealthStatus) GetDataLinks() map[string]string
- func (x *HealthStatus) GetDescription() string
- func (x *HealthStatus) GetDocLinks() map[string]string
- func (x *HealthStatus) GetHealthMetrics() map[string]float32
- func (x *HealthStatus) GetHealthScore() int64
- func (x *HealthStatus) GetReportedTime() *timestamppb.Timestamp
- func (x *HealthStatus) GetReporter() string
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- type InputDataRef
- func (*InputDataRef) Descriptor() ([]byte, []int)deprecated
- func (x *InputDataRef) GetCas() *InputDataRef_CAS
- func (x *InputDataRef) GetCipd() *InputDataRef_CIPD
- func (m *InputDataRef) GetDataType() isInputDataRef_DataType
- func (x *InputDataRef) GetOnPath() []string
- func (*InputDataRef) ProtoMessage()
- func (x *InputDataRef) ProtoReflect() protoreflect.Message
- func (x *InputDataRef) Reset()
- func (x *InputDataRef) String() string
- type InputDataRef_CAS
- func (*InputDataRef_CAS) Descriptor() ([]byte, []int)deprecated
- func (x *InputDataRef_CAS) GetCasInstance() string
- func (x *InputDataRef_CAS) GetDigest() *InputDataRef_CAS_Digest
- func (*InputDataRef_CAS) ProtoMessage()
- func (x *InputDataRef_CAS) ProtoReflect() protoreflect.Message
- func (x *InputDataRef_CAS) Reset()
- func (x *InputDataRef_CAS) String() string
- type InputDataRef_CAS_Digest
- func (*InputDataRef_CAS_Digest) Descriptor() ([]byte, []int)deprecated
- func (x *InputDataRef_CAS_Digest) GetHash() string
- func (x *InputDataRef_CAS_Digest) GetSizeBytes() int64
- func (*InputDataRef_CAS_Digest) ProtoMessage()
- func (x *InputDataRef_CAS_Digest) ProtoReflect() protoreflect.Message
- func (x *InputDataRef_CAS_Digest) Reset()
- func (x *InputDataRef_CAS_Digest) String() string
- type InputDataRef_CIPD
- func (*InputDataRef_CIPD) Descriptor() ([]byte, []int)deprecated
- func (x *InputDataRef_CIPD) GetServer() string
- func (x *InputDataRef_CIPD) GetSpecs() []*InputDataRef_CIPD_PkgSpec
- func (*InputDataRef_CIPD) ProtoMessage()
- func (x *InputDataRef_CIPD) ProtoReflect() protoreflect.Message
- func (x *InputDataRef_CIPD) Reset()
- func (x *InputDataRef_CIPD) String() string
- type InputDataRef_CIPD_PkgSpec
- func (*InputDataRef_CIPD_PkgSpec) Descriptor() ([]byte, []int)deprecated
- func (x *InputDataRef_CIPD_PkgSpec) GetPackage() string
- func (x *InputDataRef_CIPD_PkgSpec) GetVersion() string
- func (*InputDataRef_CIPD_PkgSpec) ProtoMessage()
- func (x *InputDataRef_CIPD_PkgSpec) ProtoReflect() protoreflect.Message
- func (x *InputDataRef_CIPD_PkgSpec) Reset()
- func (x *InputDataRef_CIPD_PkgSpec) String() string
- type InputDataRef_Cas
- type InputDataRef_Cipd
- type ListBuildersRequest
- func (*ListBuildersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildersRequest) GetBucket() string
- func (x *ListBuildersRequest) GetPageSize() int32
- func (x *ListBuildersRequest) GetPageToken() string
- func (x *ListBuildersRequest) GetProject() string
- func (*ListBuildersRequest) ProtoMessage()
- func (x *ListBuildersRequest) ProtoReflect() protoreflect.Message
- func (x *ListBuildersRequest) Reset()
- func (x *ListBuildersRequest) String() string
- type ListBuildersResponse
- func (*ListBuildersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildersResponse) GetBuilders() []*BuilderItem
- func (x *ListBuildersResponse) GetNextPageToken() string
- func (*ListBuildersResponse) ProtoMessage()
- func (x *ListBuildersResponse) ProtoReflect() protoreflect.Message
- func (x *ListBuildersResponse) Reset()
- func (x *ListBuildersResponse) String() string
- type Log
- type LogDogSettings
- type MockBuildersClient
- func (m *MockBuildersClient) EXPECT() *MockBuildersClientMockRecorder
- func (m *MockBuildersClient) GetBuilder(ctx context.Context, in *GetBuilderRequest, opts ...grpc.CallOption) (*BuilderItem, error)
- func (m *MockBuildersClient) ListBuilders(ctx context.Context, in *ListBuildersRequest, opts ...grpc.CallOption) (*ListBuildersResponse, error)
- func (m *MockBuildersClient) SetBuilderHealth(ctx context.Context, in *SetBuilderHealthRequest, opts ...grpc.CallOption) (*SetBuilderHealthResponse, error)
- type MockBuildersClientMockRecorder
- func (mr *MockBuildersClientMockRecorder) GetBuilder(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildersClientMockRecorder) ListBuilders(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildersClientMockRecorder) SetBuilderHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockBuildersServer
- func (m *MockBuildersServer) EXPECT() *MockBuildersServerMockRecorder
- func (m *MockBuildersServer) GetBuilder(arg0 context.Context, arg1 *GetBuilderRequest) (*BuilderItem, error)
- func (m *MockBuildersServer) ListBuilders(arg0 context.Context, arg1 *ListBuildersRequest) (*ListBuildersResponse, error)
- func (m *MockBuildersServer) SetBuilderHealth(arg0 context.Context, arg1 *SetBuilderHealthRequest) (*SetBuilderHealthResponse, error)
- type MockBuildersServerMockRecorder
- type MockBuildsClient
- func (m *MockBuildsClient) Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, error)
- func (m *MockBuildsClient) CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) EXPECT() *MockBuildsClientMockRecorder
- func (m *MockBuildsClient) GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) GetBuildStatus(ctx context.Context, in *GetBuildStatusRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) RegisterBuildTask(ctx context.Context, in *RegisterBuildTaskRequest, opts ...grpc.CallOption) (*RegisterBuildTaskResponse, error)
- func (m *MockBuildsClient) ScheduleBuild(ctx context.Context, in *ScheduleBuildRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) SearchBuilds(ctx context.Context, in *SearchBuildsRequest, opts ...grpc.CallOption) (*SearchBuildsResponse, error)
- func (m *MockBuildsClient) StartBuild(ctx context.Context, in *StartBuildRequest, opts ...grpc.CallOption) (*StartBuildResponse, error)
- func (m *MockBuildsClient) SynthesizeBuild(ctx context.Context, in *SynthesizeBuildRequest, opts ...grpc.CallOption) (*Build, error)
- func (m *MockBuildsClient) UpdateBuild(ctx context.Context, in *UpdateBuildRequest, opts ...grpc.CallOption) (*Build, error)
- type MockBuildsClientMockRecorder
- func (mr *MockBuildsClientMockRecorder) Batch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) CancelBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) CreateBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) GetBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) GetBuildStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) RegisterBuildTask(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) ScheduleBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) SearchBuilds(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) StartBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) SynthesizeBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBuildsClientMockRecorder) UpdateBuild(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockBuildsServer
- func (m *MockBuildsServer) Batch(arg0 context.Context, arg1 *BatchRequest) (*BatchResponse, error)
- func (m *MockBuildsServer) CancelBuild(arg0 context.Context, arg1 *CancelBuildRequest) (*Build, error)
- func (m *MockBuildsServer) CreateBuild(arg0 context.Context, arg1 *CreateBuildRequest) (*Build, error)
- func (m *MockBuildsServer) EXPECT() *MockBuildsServerMockRecorder
- func (m *MockBuildsServer) GetBuild(arg0 context.Context, arg1 *GetBuildRequest) (*Build, error)
- func (m *MockBuildsServer) GetBuildStatus(arg0 context.Context, arg1 *GetBuildStatusRequest) (*Build, error)
- func (m *MockBuildsServer) RegisterBuildTask(arg0 context.Context, arg1 *RegisterBuildTaskRequest) (*RegisterBuildTaskResponse, error)
- func (m *MockBuildsServer) ScheduleBuild(arg0 context.Context, arg1 *ScheduleBuildRequest) (*Build, error)
- func (m *MockBuildsServer) SearchBuilds(arg0 context.Context, arg1 *SearchBuildsRequest) (*SearchBuildsResponse, error)
- func (m *MockBuildsServer) StartBuild(arg0 context.Context, arg1 *StartBuildRequest) (*StartBuildResponse, error)
- func (m *MockBuildsServer) SynthesizeBuild(arg0 context.Context, arg1 *SynthesizeBuildRequest) (*Build, error)
- func (m *MockBuildsServer) UpdateBuild(arg0 context.Context, arg1 *UpdateBuildRequest) (*Build, error)
- type MockBuildsServerMockRecorder
- func (mr *MockBuildsServerMockRecorder) Batch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) CancelBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) CreateBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) GetBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) GetBuildStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) RegisterBuildTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) ScheduleBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) SearchBuilds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) StartBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) SynthesizeBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildsServerMockRecorder) UpdateBuild(arg0, arg1 interface{}) *gomock.Call
- type MockisBatchRequest_Request_Request
- type MockisBatchRequest_Request_RequestMockRecorder
- type MockisBatchResponse_Response_Response
- type MockisBatchResponse_Response_ResponseMockRecorder
- type MockisSetBuilderHealthResponse_Response_Response
- type MockisSetBuilderHealthResponse_Response_ResponseMockRecorder
- type NotificationConfig
- func (*NotificationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationConfig) GetPubsubTopic() string
- func (x *NotificationConfig) GetUserData() []byte
- func (*NotificationConfig) ProtoMessage()
- func (x *NotificationConfig) ProtoReflect() protoreflect.Message
- func (x *NotificationConfig) Reset()
- func (x *NotificationConfig) String() string
- type PRPCRequestLog
- func (*PRPCRequestLog) Descriptor() ([]byte, []int)deprecated
- func (x *PRPCRequestLog) GetCreationTime() int64
- func (x *PRPCRequestLog) GetDuration() int64
- func (x *PRPCRequestLog) GetId() string
- func (x *PRPCRequestLog) GetMethod() string
- func (x *PRPCRequestLog) GetParent() string
- func (x *PRPCRequestLog) GetUser() string
- func (*PRPCRequestLog) ProtoMessage()
- func (x *PRPCRequestLog) ProtoReflect() protoreflect.Message
- func (x *PRPCRequestLog) Reset()
- func (x *PRPCRequestLog) String() string
- type PubSubCallBack
- func (*PubSubCallBack) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubCallBack) GetBuildPubsub() *BuildsV2PubSub
- func (x *PubSubCallBack) GetUserData() []byte
- func (*PubSubCallBack) ProtoMessage()
- func (x *PubSubCallBack) ProtoReflect() protoreflect.Message
- func (x *PubSubCallBack) Reset()
- func (x *PubSubCallBack) String() string
- type RegisterBuildTaskFieldOption
- func (*RegisterBuildTaskFieldOption) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterBuildTaskFieldOption) GetFieldBehavior() annotations.FieldBehavior
- func (*RegisterBuildTaskFieldOption) ProtoMessage()
- func (x *RegisterBuildTaskFieldOption) ProtoReflect() protoreflect.Message
- func (x *RegisterBuildTaskFieldOption) Reset()
- func (x *RegisterBuildTaskFieldOption) String() string
- type RegisterBuildTaskRequest
- func (*RegisterBuildTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterBuildTaskRequest) GetBuildId() int64
- func (x *RegisterBuildTaskRequest) GetRequestId() string
- func (x *RegisterBuildTaskRequest) GetTask() *Task
- func (*RegisterBuildTaskRequest) ProtoMessage()
- func (x *RegisterBuildTaskRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterBuildTaskRequest) Reset()
- func (x *RegisterBuildTaskRequest) String() string
- type RegisterBuildTaskResponse
- func (*RegisterBuildTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterBuildTaskResponse) GetUpdateBuildTaskToken() string
- func (*RegisterBuildTaskResponse) ProtoMessage()
- func (x *RegisterBuildTaskResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterBuildTaskResponse) Reset()
- func (x *RegisterBuildTaskResponse) String() string
- type RequestedDimension
- func (*RequestedDimension) Descriptor() ([]byte, []int)deprecated
- func (x *RequestedDimension) GetExpiration() *durationpb.Duration
- func (x *RequestedDimension) GetKey() string
- func (x *RequestedDimension) GetValue() string
- func (*RequestedDimension) ProtoMessage()
- func (x *RequestedDimension) ProtoReflect() protoreflect.Message
- func (x *RequestedDimension) Reset()
- func (x *RequestedDimension) String() string
- type ResolvedDataRef
- func (*ResolvedDataRef) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataRef) GetCas() *ResolvedDataRef_CAS
- func (x *ResolvedDataRef) GetCipd() *ResolvedDataRef_CIPD
- func (m *ResolvedDataRef) GetDataType() isResolvedDataRef_DataType
- func (*ResolvedDataRef) ProtoMessage()
- func (x *ResolvedDataRef) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataRef) Reset()
- func (x *ResolvedDataRef) String() string
- type ResolvedDataRef_CAS
- func (*ResolvedDataRef_CAS) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataRef_CAS) GetTiming() *ResolvedDataRef_Timing
- func (*ResolvedDataRef_CAS) ProtoMessage()
- func (x *ResolvedDataRef_CAS) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataRef_CAS) Reset()
- func (x *ResolvedDataRef_CAS) String() string
- type ResolvedDataRef_CIPD
- func (*ResolvedDataRef_CIPD) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataRef_CIPD) GetSpecs() []*ResolvedDataRef_CIPD_PkgSpec
- func (*ResolvedDataRef_CIPD) ProtoMessage()
- func (x *ResolvedDataRef_CIPD) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataRef_CIPD) Reset()
- func (x *ResolvedDataRef_CIPD) String() string
- type ResolvedDataRef_CIPD_PkgSpec
- func (*ResolvedDataRef_CIPD_PkgSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataRef_CIPD_PkgSpec) GetPackage() string
- func (x *ResolvedDataRef_CIPD_PkgSpec) GetSkipped() bool
- func (x *ResolvedDataRef_CIPD_PkgSpec) GetTiming() *ResolvedDataRef_Timing
- func (x *ResolvedDataRef_CIPD_PkgSpec) GetVersion() string
- func (x *ResolvedDataRef_CIPD_PkgSpec) GetWasCached() Trinary
- func (*ResolvedDataRef_CIPD_PkgSpec) ProtoMessage()
- func (x *ResolvedDataRef_CIPD_PkgSpec) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataRef_CIPD_PkgSpec) Reset()
- func (x *ResolvedDataRef_CIPD_PkgSpec) String() string
- type ResolvedDataRef_Cas
- type ResolvedDataRef_Cipd
- type ResolvedDataRef_Timing
- func (*ResolvedDataRef_Timing) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataRef_Timing) GetFetchDuration() *durationpb.Duration
- func (x *ResolvedDataRef_Timing) GetInstallDuration() *durationpb.Duration
- func (*ResolvedDataRef_Timing) ProtoMessage()
- func (x *ResolvedDataRef_Timing) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataRef_Timing) Reset()
- func (x *ResolvedDataRef_Timing) String() string
- type ResultDBSettings
- type RunTaskRequest
- func (*RunTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunTaskRequest) GetAgent() *RunTaskRequest_AgentExecutable
- func (x *RunTaskRequest) GetAgentArgs() []string
- func (x *RunTaskRequest) GetBackendConfig() *structpb.Struct
- func (x *RunTaskRequest) GetBuildId() string
- func (x *RunTaskRequest) GetBuildbucketHost() string
- func (x *RunTaskRequest) GetCaches() []*CacheEntry
- func (x *RunTaskRequest) GetDimensions() []*RequestedDimension
- func (x *RunTaskRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *RunTaskRequest) GetExperiments() []string
- func (x *RunTaskRequest) GetGracePeriod() *durationpb.Duration
- func (x *RunTaskRequest) GetPubsubTopic() string
- func (x *RunTaskRequest) GetRealm() string
- func (x *RunTaskRequest) GetRegisterBackendTaskToken() string
- func (x *RunTaskRequest) GetRequestId() string
- func (x *RunTaskRequest) GetSecrets() *BuildSecrets
- func (x *RunTaskRequest) GetStartDeadline() *timestamppb.Timestamp
- func (x *RunTaskRequest) GetTarget() string
- func (*RunTaskRequest) ProtoMessage()
- func (x *RunTaskRequest) ProtoReflect() protoreflect.Message
- func (x *RunTaskRequest) Reset()
- func (x *RunTaskRequest) String() string
- type RunTaskRequest_AgentExecutable
- func (*RunTaskRequest_AgentExecutable) Descriptor() ([]byte, []int)deprecated
- func (x *RunTaskRequest_AgentExecutable) GetSource() map[string]*RunTaskRequest_AgentExecutable_AgentSource
- func (*RunTaskRequest_AgentExecutable) ProtoMessage()
- func (x *RunTaskRequest_AgentExecutable) ProtoReflect() protoreflect.Message
- func (x *RunTaskRequest_AgentExecutable) Reset()
- func (x *RunTaskRequest_AgentExecutable) String() string
- type RunTaskRequest_AgentExecutable_AgentSource
- func (*RunTaskRequest_AgentExecutable_AgentSource) Descriptor() ([]byte, []int)deprecated
- func (x *RunTaskRequest_AgentExecutable_AgentSource) GetSha256() string
- func (x *RunTaskRequest_AgentExecutable_AgentSource) GetSizeBytes() int64
- func (x *RunTaskRequest_AgentExecutable_AgentSource) GetUrl() string
- func (*RunTaskRequest_AgentExecutable_AgentSource) ProtoMessage()
- func (x *RunTaskRequest_AgentExecutable_AgentSource) ProtoReflect() protoreflect.Message
- func (x *RunTaskRequest_AgentExecutable_AgentSource) Reset()
- func (x *RunTaskRequest_AgentExecutable_AgentSource) String() string
- type RunTaskResponse
- type ScheduleBuildRequest
- func (*ScheduleBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleBuildRequest) GetBuilder() *BuilderID
- func (x *ScheduleBuildRequest) GetCanOutliveParent() Trinary
- func (x *ScheduleBuildRequest) GetCanary() Trinary
- func (x *ScheduleBuildRequest) GetCritical() Trinary
- func (x *ScheduleBuildRequest) GetDimensions() []*RequestedDimension
- func (x *ScheduleBuildRequest) GetDryRun() bool
- func (x *ScheduleBuildRequest) GetExe() *Executable
- func (x *ScheduleBuildRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *ScheduleBuildRequest) GetExperimental() Trinary
- func (x *ScheduleBuildRequest) GetExperiments() map[string]bool
- func (x *ScheduleBuildRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *ScheduleBuildRequest) GetGerritChanges() []*GerritChange
- func (x *ScheduleBuildRequest) GetGitilesCommit() *GitilesCommit
- func (x *ScheduleBuildRequest) GetGracePeriod() *durationpb.Duration
- func (x *ScheduleBuildRequest) GetMask() *BuildMask
- func (x *ScheduleBuildRequest) GetNotify() *NotificationConfig
- func (x *ScheduleBuildRequest) GetPriority() int32
- func (x *ScheduleBuildRequest) GetProperties() *structpb.Struct
- func (x *ScheduleBuildRequest) GetRequestId() string
- func (x *ScheduleBuildRequest) GetRetriable() Trinary
- func (x *ScheduleBuildRequest) GetSchedulingTimeout() *durationpb.Duration
- func (x *ScheduleBuildRequest) GetSwarming() *ScheduleBuildRequest_Swarming
- func (x *ScheduleBuildRequest) GetTags() []*StringPair
- func (x *ScheduleBuildRequest) GetTemplateBuildId() int64
- func (*ScheduleBuildRequest) ProtoMessage()
- func (x *ScheduleBuildRequest) ProtoReflect() protoreflect.Message
- func (x *ScheduleBuildRequest) Reset()
- func (x *ScheduleBuildRequest) String() string
- type ScheduleBuildRequest_Swarming
- func (*ScheduleBuildRequest_Swarming) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleBuildRequest_Swarming) GetParentRunId() string
- func (*ScheduleBuildRequest_Swarming) ProtoMessage()
- func (x *ScheduleBuildRequest_Swarming) ProtoReflect() protoreflect.Message
- func (x *ScheduleBuildRequest_Swarming) Reset()
- func (x *ScheduleBuildRequest_Swarming) String() string
- type SearchBuildsRequest
- func (*SearchBuildsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBuildsRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *SearchBuildsRequest) GetMask() *BuildMask
- func (x *SearchBuildsRequest) GetPageSize() int32
- func (x *SearchBuildsRequest) GetPageToken() string
- func (x *SearchBuildsRequest) GetPredicate() *BuildPredicate
- func (*SearchBuildsRequest) ProtoMessage()
- func (x *SearchBuildsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchBuildsRequest) Reset()
- func (x *SearchBuildsRequest) String() string
- type SearchBuildsResponse
- func (*SearchBuildsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBuildsResponse) GetBuilds() []*Build
- func (x *SearchBuildsResponse) GetNextPageToken() string
- func (*SearchBuildsResponse) ProtoMessage()
- func (x *SearchBuildsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchBuildsResponse) Reset()
- func (x *SearchBuildsResponse) String() string
- type SetBuilderHealthRequest
- func (*SetBuilderHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetBuilderHealthRequest) GetHealth() []*SetBuilderHealthRequest_BuilderHealth
- func (*SetBuilderHealthRequest) ProtoMessage()
- func (x *SetBuilderHealthRequest) ProtoReflect() protoreflect.Message
- func (x *SetBuilderHealthRequest) Reset()
- func (x *SetBuilderHealthRequest) String() string
- type SetBuilderHealthRequest_BuilderHealth
- func (*SetBuilderHealthRequest_BuilderHealth) Descriptor() ([]byte, []int)deprecated
- func (x *SetBuilderHealthRequest_BuilderHealth) GetHealth() *HealthStatus
- func (x *SetBuilderHealthRequest_BuilderHealth) GetId() *BuilderID
- func (*SetBuilderHealthRequest_BuilderHealth) ProtoMessage()
- func (x *SetBuilderHealthRequest_BuilderHealth) ProtoReflect() protoreflect.Message
- func (x *SetBuilderHealthRequest_BuilderHealth) Reset()
- func (x *SetBuilderHealthRequest_BuilderHealth) String() string
- type SetBuilderHealthResponse
- func (*SetBuilderHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetBuilderHealthResponse) GetResponses() []*SetBuilderHealthResponse_Response
- func (*SetBuilderHealthResponse) ProtoMessage()
- func (x *SetBuilderHealthResponse) ProtoReflect() protoreflect.Message
- func (x *SetBuilderHealthResponse) Reset()
- func (x *SetBuilderHealthResponse) String() string
- type SetBuilderHealthResponse_Response
- func (*SetBuilderHealthResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *SetBuilderHealthResponse_Response) GetError() *status.Status
- func (m *SetBuilderHealthResponse_Response) GetResponse() isSetBuilderHealthResponse_Response_Response
- func (x *SetBuilderHealthResponse_Response) GetResult() *emptypb.Empty
- func (*SetBuilderHealthResponse_Response) ProtoMessage()
- func (x *SetBuilderHealthResponse_Response) ProtoReflect() protoreflect.Message
- func (x *SetBuilderHealthResponse_Response) Reset()
- func (x *SetBuilderHealthResponse_Response) String() string
- type SetBuilderHealthResponse_Response_Error
- type SetBuilderHealthResponse_Response_Result
- type SettingsCfg
- func (*SettingsCfg) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsCfg) GetBackends() []*BackendSetting
- func (x *SettingsCfg) GetCipd() *CipdSettings
- func (x *SettingsCfg) GetExperiment() *ExperimentSettings
- func (x *SettingsCfg) GetKnownPublicGerritHosts() []string
- func (x *SettingsCfg) GetLogdog() *LogDogSettings
- func (x *SettingsCfg) GetResultdb() *ResultDBSettings
- func (x *SettingsCfg) GetSwarming() *SwarmingSettings
- func (x *SettingsCfg) GetSwarmingBackends() map[string]string
- func (*SettingsCfg) ProtoMessage()
- func (x *SettingsCfg) ProtoReflect() protoreflect.Message
- func (x *SettingsCfg) Reset()
- func (x *SettingsCfg) String() string
- type StartBuildRequest
- func (*StartBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartBuildRequest) GetBuildId() int64
- func (x *StartBuildRequest) GetRequestId() string
- func (x *StartBuildRequest) GetTaskId() string
- func (*StartBuildRequest) ProtoMessage()
- func (x *StartBuildRequest) ProtoReflect() protoreflect.Message
- func (x *StartBuildRequest) Reset()
- func (x *StartBuildRequest) String() string
- type StartBuildResponse
- func (*StartBuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartBuildResponse) GetBuild() *Build
- func (x *StartBuildResponse) GetUpdateBuildToken() string
- func (*StartBuildResponse) ProtoMessage()
- func (x *StartBuildResponse) ProtoReflect() protoreflect.Message
- func (x *StartBuildResponse) Reset()
- func (x *StartBuildResponse) String() string
- type Status
- type StatusDetails
- func (*StatusDetails) Descriptor() ([]byte, []int)deprecated
- func (x *StatusDetails) GetResourceExhaustion() *StatusDetails_ResourceExhaustion
- func (x *StatusDetails) GetTimeout() *StatusDetails_Timeout
- func (*StatusDetails) ProtoMessage()
- func (x *StatusDetails) ProtoReflect() protoreflect.Message
- func (x *StatusDetails) Reset()
- func (x *StatusDetails) String() string
- type StatusDetails_ResourceExhaustion
- func (*StatusDetails_ResourceExhaustion) Descriptor() ([]byte, []int)deprecated
- func (*StatusDetails_ResourceExhaustion) ProtoMessage()
- func (x *StatusDetails_ResourceExhaustion) ProtoReflect() protoreflect.Message
- func (x *StatusDetails_ResourceExhaustion) Reset()
- func (x *StatusDetails_ResourceExhaustion) String() string
- type StatusDetails_Timeout
- type Step
- func (*Step) Descriptor() ([]byte, []int)deprecated
- func (x *Step) GetEndTime() *timestamppb.Timestamp
- func (x *Step) GetLogs() []*Log
- func (x *Step) GetMergeBuild() *Step_MergeBuild
- func (x *Step) GetName() string
- func (x *Step) GetStartTime() *timestamppb.Timestamp
- func (x *Step) GetStatus() Status
- func (x *Step) GetSummaryMarkdown() string
- func (x *Step) GetTags() []*StringPair
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) String() string
- type Step_MergeBuild
- func (*Step_MergeBuild) Descriptor() ([]byte, []int)deprecated
- func (x *Step_MergeBuild) GetFromLogdogStream() string
- func (x *Step_MergeBuild) GetLegacyGlobalNamespace() bool
- func (*Step_MergeBuild) ProtoMessage()
- func (x *Step_MergeBuild) ProtoReflect() protoreflect.Message
- func (x *Step_MergeBuild) Reset()
- func (x *Step_MergeBuild) String() string
- type StringPair
- type Swarming
- func (*Swarming) Descriptor() ([]byte, []int)deprecated
- func (x *Swarming) GetBuilders() []*BuilderConfig
- func (x *Swarming) GetTaskTemplateCanaryPercentage() *wrapperspb.UInt32Value
- func (*Swarming) ProtoMessage()
- func (x *Swarming) ProtoReflect() protoreflect.Message
- func (x *Swarming) Reset()
- func (x *Swarming) String() string
- type SwarmingSettings
- func (*SwarmingSettings) Descriptor() ([]byte, []int)deprecated
- func (x *SwarmingSettings) GetAlternativeAgentPackages() []*SwarmingSettings_Package
- func (x *SwarmingSettings) GetBbagentPackage() *SwarmingSettings_Package
- func (x *SwarmingSettings) GetBbagentUtilityPackages() []*SwarmingSettings_Package
- func (x *SwarmingSettings) GetGlobalCaches() []*BuilderConfig_CacheEntry
- func (x *SwarmingSettings) GetKitchenPackage() *SwarmingSettings_Package
- func (x *SwarmingSettings) GetMiloHostname() string
- func (x *SwarmingSettings) GetUserPackages() []*SwarmingSettings_Package
- func (*SwarmingSettings) ProtoMessage()
- func (x *SwarmingSettings) ProtoReflect() protoreflect.Message
- func (x *SwarmingSettings) Reset()
- func (x *SwarmingSettings) String() string
- type SwarmingSettings_Package
- func (*SwarmingSettings_Package) Descriptor() ([]byte, []int)deprecated
- func (x *SwarmingSettings_Package) GetBuilders() *BuilderPredicate
- func (x *SwarmingSettings_Package) GetIncludeOnExperiment() []string
- func (x *SwarmingSettings_Package) GetOmitOnExperiment() []string
- func (x *SwarmingSettings_Package) GetPackageName() string
- func (x *SwarmingSettings_Package) GetSubdir() string
- func (x *SwarmingSettings_Package) GetVersion() string
- func (x *SwarmingSettings_Package) GetVersionCanary() string
- func (*SwarmingSettings_Package) ProtoMessage()
- func (x *SwarmingSettings_Package) ProtoReflect() protoreflect.Message
- func (x *SwarmingSettings_Package) Reset()
- func (x *SwarmingSettings_Package) String() string
- type SynthesizeBuildRequest
- func (*SynthesizeBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SynthesizeBuildRequest) GetBuilder() *BuilderID
- func (x *SynthesizeBuildRequest) GetExperiments() map[string]bool
- func (x *SynthesizeBuildRequest) GetTemplateBuildId() int64
- func (*SynthesizeBuildRequest) ProtoMessage()
- func (x *SynthesizeBuildRequest) ProtoReflect() protoreflect.Message
- func (x *SynthesizeBuildRequest) Reset()
- func (x *SynthesizeBuildRequest) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetDetails() *structpb.Struct
- func (x *Task) GetId() *TaskID
- func (x *Task) GetLink() string
- func (x *Task) GetStatus() Status
- func (x *Task) GetStatusDetails() *StatusDetails
- func (x *Task) GetSummaryHtml() string
- func (x *Task) GetUpdateId() int64
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskBackendClient
- type TaskBackendServer
- type TaskID
- type TimeRange
- func (*TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimeRange) GetEndTime() *timestamppb.Timestamp
- func (x *TimeRange) GetStartTime() *timestamppb.Timestamp
- func (*TimeRange) ProtoMessage()
- func (x *TimeRange) ProtoReflect() protoreflect.Message
- func (x *TimeRange) Reset()
- func (x *TimeRange) String() string
- type Toggle
- type TokenBody
- func (*TokenBody) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBody) GetBuildId() int64
- func (x *TokenBody) GetPurpose() TokenBody_Purpose
- func (x *TokenBody) GetState() []byte
- func (*TokenBody) ProtoMessage()
- func (x *TokenBody) ProtoReflect() protoreflect.Message
- func (x *TokenBody) Reset()
- func (x *TokenBody) String() string
- type TokenBody_Purpose
- func (TokenBody_Purpose) Descriptor() protoreflect.EnumDescriptor
- func (x TokenBody_Purpose) Enum() *TokenBody_Purpose
- func (TokenBody_Purpose) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenBody_Purpose) Number() protoreflect.EnumNumber
- func (x TokenBody_Purpose) String() string
- func (TokenBody_Purpose) Type() protoreflect.EnumType
- type TokenEnvelope
- func (*TokenEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *TokenEnvelope) GetPayload() []byte
- func (x *TokenEnvelope) GetVersion() TokenEnvelope_Version
- func (*TokenEnvelope) ProtoMessage()
- func (x *TokenEnvelope) ProtoReflect() protoreflect.Message
- func (x *TokenEnvelope) Reset()
- func (x *TokenEnvelope) String() string
- type TokenEnvelope_Version
- func (TokenEnvelope_Version) Descriptor() protoreflect.EnumDescriptor
- func (x TokenEnvelope_Version) Enum() *TokenEnvelope_Version
- func (TokenEnvelope_Version) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenEnvelope_Version) Number() protoreflect.EnumNumber
- func (x TokenEnvelope_Version) String() string
- func (TokenEnvelope_Version) Type() protoreflect.EnumType
- type Trinary
- type UnimplementedBuildersServer
- func (*UnimplementedBuildersServer) GetBuilder(context.Context, *GetBuilderRequest) (*BuilderItem, error)
- func (*UnimplementedBuildersServer) ListBuilders(context.Context, *ListBuildersRequest) (*ListBuildersResponse, error)
- func (*UnimplementedBuildersServer) SetBuilderHealth(context.Context, *SetBuilderHealthRequest) (*SetBuilderHealthResponse, error)
- type UnimplementedBuildsServer
- func (*UnimplementedBuildsServer) Batch(context.Context, *BatchRequest) (*BatchResponse, error)
- func (*UnimplementedBuildsServer) CancelBuild(context.Context, *CancelBuildRequest) (*Build, error)
- func (*UnimplementedBuildsServer) CreateBuild(context.Context, *CreateBuildRequest) (*Build, error)
- func (*UnimplementedBuildsServer) GetBuild(context.Context, *GetBuildRequest) (*Build, error)
- func (*UnimplementedBuildsServer) GetBuildStatus(context.Context, *GetBuildStatusRequest) (*Build, error)
- func (*UnimplementedBuildsServer) RegisterBuildTask(context.Context, *RegisterBuildTaskRequest) (*RegisterBuildTaskResponse, error)
- func (*UnimplementedBuildsServer) ScheduleBuild(context.Context, *ScheduleBuildRequest) (*Build, error)
- func (*UnimplementedBuildsServer) SearchBuilds(context.Context, *SearchBuildsRequest) (*SearchBuildsResponse, error)
- func (*UnimplementedBuildsServer) StartBuild(context.Context, *StartBuildRequest) (*StartBuildResponse, error)
- func (*UnimplementedBuildsServer) SynthesizeBuild(context.Context, *SynthesizeBuildRequest) (*Build, error)
- func (*UnimplementedBuildsServer) UpdateBuild(context.Context, *UpdateBuildRequest) (*Build, error)
- type UnimplementedTaskBackendServer
- func (*UnimplementedTaskBackendServer) CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error)
- func (*UnimplementedTaskBackendServer) FetchTasks(context.Context, *FetchTasksRequest) (*FetchTasksResponse, error)
- func (*UnimplementedTaskBackendServer) RunTask(context.Context, *RunTaskRequest) (*RunTaskResponse, error)
- func (*UnimplementedTaskBackendServer) ValidateConfigs(context.Context, *ValidateConfigsRequest) (*ValidateConfigsResponse, error)
- type UpdateBuildRequest
- func (*UpdateBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBuildRequest) GetBuild() *Build
- func (x *UpdateBuildRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *UpdateBuildRequest) GetMask() *BuildMask
- func (x *UpdateBuildRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBuildRequest) ProtoMessage()
- func (x *UpdateBuildRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBuildRequest) Reset()
- func (x *UpdateBuildRequest) String() string
- type ValidateConfigsRequest
- func (*ValidateConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateConfigsRequest) GetConfigs() []*ValidateConfigsRequest_ConfigContext
- func (*ValidateConfigsRequest) ProtoMessage()
- func (x *ValidateConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateConfigsRequest) Reset()
- func (x *ValidateConfigsRequest) String() string
- type ValidateConfigsRequest_ConfigContext
- func (*ValidateConfigsRequest_ConfigContext) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateConfigsRequest_ConfigContext) GetConfigJson() *structpb.Struct
- func (x *ValidateConfigsRequest_ConfigContext) GetTarget() string
- func (*ValidateConfigsRequest_ConfigContext) ProtoMessage()
- func (x *ValidateConfigsRequest_ConfigContext) ProtoReflect() protoreflect.Message
- func (x *ValidateConfigsRequest_ConfigContext) Reset()
- func (x *ValidateConfigsRequest_ConfigContext) String() string
- type ValidateConfigsResponse
- func (*ValidateConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateConfigsResponse) GetConfigErrors() []*ValidateConfigsResponse_ErrorDetail
- func (*ValidateConfigsResponse) ProtoMessage()
- func (x *ValidateConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateConfigsResponse) Reset()
- func (x *ValidateConfigsResponse) String() string
- type ValidateConfigsResponse_ErrorDetail
- func (*ValidateConfigsResponse_ErrorDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateConfigsResponse_ErrorDetail) GetError() string
- func (x *ValidateConfigsResponse_ErrorDetail) GetIndex() int32
- func (*ValidateConfigsResponse_ErrorDetail) ProtoMessage()
- func (x *ValidateConfigsResponse_ErrorDetail) ProtoReflect() protoreflect.Message
- func (x *ValidateConfigsResponse_ErrorDetail) Reset()
- func (x *ValidateConfigsResponse_ErrorDetail) String() string
Constants ¶
This section is empty.
Variables ¶
var ( BuildInfra_Buildbucket_ExperimentReason_name = map[int32]string{ 0: "EXPERIMENT_REASON_UNSET", 1: "EXPERIMENT_REASON_GLOBAL_DEFAULT", 2: "EXPERIMENT_REASON_BUILDER_CONFIG", 3: "EXPERIMENT_REASON_GLOBAL_MINIMUM", 4: "EXPERIMENT_REASON_REQUESTED", 5: "EXPERIMENT_REASON_GLOBAL_INACTIVE", } BuildInfra_Buildbucket_ExperimentReason_value = map[string]int32{ "EXPERIMENT_REASON_UNSET": 0, "EXPERIMENT_REASON_GLOBAL_DEFAULT": 1, "EXPERIMENT_REASON_BUILDER_CONFIG": 2, "EXPERIMENT_REASON_GLOBAL_MINIMUM": 3, "EXPERIMENT_REASON_REQUESTED": 4, "EXPERIMENT_REASON_GLOBAL_INACTIVE": 5, } )
Enum value maps for BuildInfra_Buildbucket_ExperimentReason.
var ( BuildInfra_Buildbucket_Agent_Purpose_name = map[int32]string{ 0: "PURPOSE_UNSPECIFIED", 1: "PURPOSE_EXE_PAYLOAD", 2: "PURPOSE_BBAGENT_UTILITY", } BuildInfra_Buildbucket_Agent_Purpose_value = map[string]int32{ "PURPOSE_UNSPECIFIED": 0, "PURPOSE_EXE_PAYLOAD": 1, "PURPOSE_BBAGENT_UTILITY": 2, } )
Enum value maps for BuildInfra_Buildbucket_Agent_Purpose.
var ( BuildFieldVisibility_name = map[int32]string{ 0: "FIELD_VISIBILITY_UNSPECIFIED", 1: "BUILDS_GET_PERMISSION", 2: "BUILDS_GET_LIMITED_PERMISSION", 3: "BUILDS_LIST_PERMISSION", } BuildFieldVisibility_value = map[string]int32{ "FIELD_VISIBILITY_UNSPECIFIED": 0, "BUILDS_GET_PERMISSION": 1, "BUILDS_GET_LIMITED_PERMISSION": 2, "BUILDS_LIST_PERMISSION": 3, } )
Enum value maps for BuildFieldVisibility.
var ( BuilderMask_BuilderMaskType_name = map[int32]string{ 0: "BUILDER_MASK_TYPE_UNSPECIFIED", 1: "CONFIG_ONLY", 2: "ALL", 3: "METADATA_ONLY", } BuilderMask_BuilderMaskType_value = map[string]int32{ "BUILDER_MASK_TYPE_UNSPECIFIED": 0, "CONFIG_ONLY": 1, "ALL": 2, "METADATA_ONLY": 3, } )
Enum value maps for BuilderMask_BuilderMaskType.
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "SCHEDULED", 2: "STARTED", 4: "ENDED_MASK", 12: "SUCCESS", 20: "FAILURE", 36: "INFRA_FAILURE", 68: "CANCELED", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "SCHEDULED": 1, "STARTED": 2, "ENDED_MASK": 4, "SUCCESS": 12, "FAILURE": 20, "INFRA_FAILURE": 36, "CANCELED": 68, } )
Enum value maps for Status.
var ( Trinary_name = map[int32]string{ 0: "UNSET", 1: "YES", 2: "NO", } Trinary_value = map[string]int32{ "UNSET": 0, "YES": 1, "NO": 2, } )
Enum value maps for Trinary.
var ( Compression_name = map[int32]string{ 0: "ZLIB", 1: "ZSTD", } Compression_value = map[string]int32{ "ZLIB": 0, "ZSTD": 1, } )
Enum value maps for Compression.
var ( // optional buildbucket.v2.CreateBuildFieldOption create_build_field_option = 54321; E_CreateBuildFieldOption = &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes[0] // optional buildbucket.v2.RegisterBuildTaskFieldOption register_build_task_field_option = 54322; E_RegisterBuildTaskFieldOption = &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes[1] // Custom repeatable field option that allows user to require some fields for // a specific rpc. Set this value equal to RPC when using protowalk Field // Processor. // // repeated string required_by_rpc = 54323; E_RequiredByRpc = &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes[2] )
Extension fields to descriptorpb.FieldOptions.
var ( Toggle_name = map[int32]string{ 0: "UNSET", 1: "YES", 2: "NO", } Toggle_value = map[string]int32{ "UNSET": 0, "YES": 1, "NO": 2, } )
Enum value maps for Toggle.
var ( Acl_Role_name = map[int32]string{ 0: "READER", 1: "SCHEDULER", 2: "WRITER", } Acl_Role_value = map[string]int32{ "READER": 0, "SCHEDULER": 1, "WRITER": 2, } )
Enum value maps for Acl_Role.
var ( TokenBody_Purpose_name = map[int32]string{ 0: "PURPOSE_UNSPECIFIED", 1: "BUILD", 2: "TASK", 3: "START_BUILD", 4: "REGISTER_TASK", } TokenBody_Purpose_value = map[string]int32{ "PURPOSE_UNSPECIFIED": 0, "BUILD": 1, "TASK": 2, "START_BUILD": 3, "REGISTER_TASK": 4, } )
Enum value maps for TokenBody_Purpose.
var ( TokenEnvelope_Version_name = map[int32]string{ 0: "VERSION_UNSPECIFIED", 1: "UNENCRYPTED_PASSWORD_LIKE", 2: "ENCRYPTED", } TokenEnvelope_Version_value = map[string]int32{ "VERSION_UNSPECIFIED": 0, "UNENCRYPTED_PASSWORD_LIKE": 1, "ENCRYPTED": 2, } )
Enum value maps for TokenEnvelope_Version.
var ( // Can be used to indicate that a buildbucket.v2.Build field should be visible // to users with the specified permission. By default, buildbucket.builds.get // is required to see fields, but this annotation allows that access to be // expanded. // // Note that we assume that users with GET_LIMITED also have LIST, and users // with GET also have GET_LIMITED and LIST. // // optional buildbucket.v2.BuildFieldVisibility visible_with = 910567; E_VisibleWith = &file_go_chromium_org_luci_buildbucket_proto_build_field_visibility_proto_extTypes[0] )
Extension fields to descriptorpb.FieldOptions.
var File_go_chromium_org_luci_buildbucket_proto_backend_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_build_field_visibility_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_build_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_builder_common_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_builder_service_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_builds_service_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_common_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_field_option_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_launcher_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_log_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_notification_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_project_config_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_service_config_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_step_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_task_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_buildbucket_proto_token_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterBuildersServer ¶
func RegisterBuildersServer(s prpc.Registrar, srv BuildersServer)
func RegisterBuildsServer ¶
func RegisterBuildsServer(s prpc.Registrar, srv BuildsServer)
func RegisterTaskBackendServer ¶
func RegisterTaskBackendServer(s prpc.Registrar, srv TaskBackendServer)
Types ¶
type Acl ¶
type Acl struct { // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/project_config.proto. Role Acl_Role `protobuf:"varint,1,opt,name=role,proto3,enum=buildbucket.Acl_Role" json:"role,omitempty"` // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/project_config.proto. Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/project_config.proto. Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
Deprecated in favor of LUCI Realms. This proto is totally unused now, exists only to not break older configs that still may have deprecated fields populated.
func (*Acl) Descriptor
deprecated
func (*Acl) GetIdentity
deprecated
func (*Acl) ProtoMessage ¶
func (*Acl) ProtoMessage()
func (*Acl) ProtoReflect ¶
func (x *Acl) ProtoReflect() protoreflect.Message
type Acl_Role ¶
type Acl_Role int32
func (Acl_Role) Descriptor ¶
func (Acl_Role) Descriptor() protoreflect.EnumDescriptor
func (Acl_Role) EnumDescriptor
deprecated
func (Acl_Role) Number ¶
func (x Acl_Role) Number() protoreflect.EnumNumber
func (Acl_Role) Type ¶
func (Acl_Role) Type() protoreflect.EnumType
type BBAgentArgs ¶
type BBAgentArgs struct { // Path to the user executable. // // Deprecated. Superseded by payload_path and `build.exe.cmd`. ExecutablePath string `protobuf:"bytes,1,opt,name=executable_path,json=executablePath,proto3" json:"executable_path,omitempty"` // Path to the base of the user executable package. // // Required. PayloadPath string `protobuf:"bytes,5,opt,name=payload_path,json=payloadPath,proto3" json:"payload_path,omitempty"` // Path to a directory where each subdirectory is a cache dir. // // Required. CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"` // List of Gerrit hosts to force git authentication for. // // By default public hosts are accessed anonymously, and the anonymous access // has very low quota. Context needs to know all such hostnames in advance to // be able to force authenticated access to them. KnownPublicGerritHosts []string `` /* 131-byte string literal not displayed */ // Initial state of the build, including immutable state such as id and input // properties. Build *Build `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
Arguments for bbagent command.
All paths are relateive to bbagent's working directory, and must be delimited with slashes ("/"), regardless of the host OS.
func (*BBAgentArgs) Descriptor
deprecated
func (*BBAgentArgs) Descriptor() ([]byte, []int)
Deprecated: Use BBAgentArgs.ProtoReflect.Descriptor instead.
func (*BBAgentArgs) GetBuild ¶
func (x *BBAgentArgs) GetBuild() *Build
func (*BBAgentArgs) GetCacheDir ¶
func (x *BBAgentArgs) GetCacheDir() string
func (*BBAgentArgs) GetExecutablePath ¶
func (x *BBAgentArgs) GetExecutablePath() string
func (*BBAgentArgs) GetKnownPublicGerritHosts ¶
func (x *BBAgentArgs) GetKnownPublicGerritHosts() []string
func (*BBAgentArgs) GetPayloadPath ¶
func (x *BBAgentArgs) GetPayloadPath() string
func (*BBAgentArgs) ProtoMessage ¶
func (*BBAgentArgs) ProtoMessage()
func (*BBAgentArgs) ProtoReflect ¶
func (x *BBAgentArgs) ProtoReflect() protoreflect.Message
func (*BBAgentArgs) Reset ¶
func (x *BBAgentArgs) Reset()
func (*BBAgentArgs) String ¶
func (x *BBAgentArgs) String() string
type BackendSetting ¶
type BackendSetting struct { // Target backend. e.g. "swarming://chromium-swarm". Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // hostname for the target backend. e.g. chromium-swarm.appspot.com Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // The associated UpdateBuildTask pubsub id for this task backend. // This must be set in order for buildbucket to recieve task updates and send // a pubsup topic that the task backend can use to send updates to. // This id is provided by the backend owner, but added to buildbucket's service // config by the buildbucket team. // Buildbucket will subscribe to the pubsub subscription, which itself is // subscribed to the topic that task backends send messages to. // i.e. // // For this pubsub subscription: // project/cr-buildbucket/subscriptions/chormium-swarm-backend // and topic: // project/cr-buildbucket/topics/chormium-swarm-backend // The pubsub_id would be: // chormium-swarm-backend PubsubId string `protobuf:"bytes,3,opt,name=pubsub_id,json=pubsubId,proto3" json:"pubsub_id,omitempty"` BuildSyncSetting *BackendSetting_BuildSyncSetting `protobuf:"bytes,4,opt,name=build_sync_setting,json=buildSyncSetting,proto3" json:"build_sync_setting,omitempty"` // contains filtered or unexported fields }
Backend setting.
func (*BackendSetting) Descriptor
deprecated
func (*BackendSetting) Descriptor() ([]byte, []int)
Deprecated: Use BackendSetting.ProtoReflect.Descriptor instead.
func (*BackendSetting) GetBuildSyncSetting ¶
func (x *BackendSetting) GetBuildSyncSetting() *BackendSetting_BuildSyncSetting
func (*BackendSetting) GetHostname ¶
func (x *BackendSetting) GetHostname() string
func (*BackendSetting) GetPubsubId ¶
func (x *BackendSetting) GetPubsubId() string
func (*BackendSetting) GetTarget ¶
func (x *BackendSetting) GetTarget() string
func (*BackendSetting) ProtoMessage ¶
func (*BackendSetting) ProtoMessage()
func (*BackendSetting) ProtoReflect ¶
func (x *BackendSetting) ProtoReflect() protoreflect.Message
func (*BackendSetting) Reset ¶
func (x *BackendSetting) Reset()
func (*BackendSetting) String ¶
func (x *BackendSetting) String() string
type BackendSetting_BuildSyncSetting ¶
type BackendSetting_BuildSyncSetting struct { // Number of shards for Buildbucket to save the update_time of the builds on // this backend. // // In Build model, we need to keep an index on the build update time in order // to get all builds it haven't heard for a while. // To avoid hotspotting, a new computed property NextBackendSyncTime is added // for indexing, with format // <backend_target>--<project>--<shard index>--<update_time>. // // Because some backends serves significantly larger amount of builds than // other backends, we need different number of shards for each backend. // // Must be greater than or equal to 0, while 0 effectively means 1 shard. // // Note: when updating this field, the new number MUST be greater than the // old one. Shards int32 `protobuf:"varint,1,opt,name=shards,proto3" json:"shards,omitempty"` // How often should a incomplete build get updated. If Buildbucket doesn't // hear from this build for sync_interval, it will sync it with its backend // task. // // Buildbucket runs a cron job to find builds to sync every minute, so // sync_interval_seconds must be greater than or equal to 60. // // If unset, a default threshold of 5min will be applied. SyncIntervalSeconds int32 `protobuf:"varint,2,opt,name=sync_interval_seconds,json=syncIntervalSeconds,proto3" json:"sync_interval_seconds,omitempty"` // contains filtered or unexported fields }
Setting for the fetch tasks cron job.
func (*BackendSetting_BuildSyncSetting) Descriptor
deprecated
func (*BackendSetting_BuildSyncSetting) Descriptor() ([]byte, []int)
Deprecated: Use BackendSetting_BuildSyncSetting.ProtoReflect.Descriptor instead.
func (*BackendSetting_BuildSyncSetting) GetShards ¶
func (x *BackendSetting_BuildSyncSetting) GetShards() int32
func (*BackendSetting_BuildSyncSetting) GetSyncIntervalSeconds ¶
func (x *BackendSetting_BuildSyncSetting) GetSyncIntervalSeconds() int32
func (*BackendSetting_BuildSyncSetting) ProtoMessage ¶
func (*BackendSetting_BuildSyncSetting) ProtoMessage()
func (*BackendSetting_BuildSyncSetting) ProtoReflect ¶
func (x *BackendSetting_BuildSyncSetting) ProtoReflect() protoreflect.Message
func (*BackendSetting_BuildSyncSetting) Reset ¶
func (x *BackendSetting_BuildSyncSetting) Reset()
func (*BackendSetting_BuildSyncSetting) String ¶
func (x *BackendSetting_BuildSyncSetting) String() string
type BatchRequest ¶
type BatchRequest struct { // Requests to execute in a single batch. // // - All requests are executed in their own individual transactions. // - BatchRequest as a whole is not transactional. // - There's no guaranteed order of execution between batch items (i.e. // consider them to all operate independently). // - There is a limit of 200 requests per batch. Requests []*BatchRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
A request message for Batch RPC.
func (*BatchRequest) Descriptor
deprecated
func (*BatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchRequest.ProtoReflect.Descriptor instead.
func (*BatchRequest) GetRequests ¶
func (x *BatchRequest) GetRequests() []*BatchRequest_Request
func (*BatchRequest) ProtoMessage ¶
func (*BatchRequest) ProtoMessage()
func (*BatchRequest) ProtoReflect ¶
func (x *BatchRequest) ProtoReflect() protoreflect.Message
func (*BatchRequest) Reset ¶
func (x *BatchRequest) Reset()
func (*BatchRequest) String ¶
func (x *BatchRequest) String() string
type BatchRequest_Request ¶
type BatchRequest_Request struct { // Types that are assignable to Request: // // *BatchRequest_Request_GetBuild // *BatchRequest_Request_SearchBuilds // *BatchRequest_Request_ScheduleBuild // *BatchRequest_Request_CancelBuild // *BatchRequest_Request_GetBuildStatus Request isBatchRequest_Request_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
One request in a batch.
func (*BatchRequest_Request) Descriptor
deprecated
func (*BatchRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use BatchRequest_Request.ProtoReflect.Descriptor instead.
func (*BatchRequest_Request) GetCancelBuild ¶
func (x *BatchRequest_Request) GetCancelBuild() *CancelBuildRequest
func (*BatchRequest_Request) GetGetBuild ¶
func (x *BatchRequest_Request) GetGetBuild() *GetBuildRequest
func (*BatchRequest_Request) GetGetBuildStatus ¶
func (x *BatchRequest_Request) GetGetBuildStatus() *GetBuildStatusRequest
func (*BatchRequest_Request) GetRequest ¶
func (m *BatchRequest_Request) GetRequest() isBatchRequest_Request_Request
func (*BatchRequest_Request) GetScheduleBuild ¶
func (x *BatchRequest_Request) GetScheduleBuild() *ScheduleBuildRequest
func (*BatchRequest_Request) GetSearchBuilds ¶
func (x *BatchRequest_Request) GetSearchBuilds() *SearchBuildsRequest
func (*BatchRequest_Request) ProtoMessage ¶
func (*BatchRequest_Request) ProtoMessage()
func (*BatchRequest_Request) ProtoReflect ¶
func (x *BatchRequest_Request) ProtoReflect() protoreflect.Message
func (*BatchRequest_Request) Reset ¶
func (x *BatchRequest_Request) Reset()
func (*BatchRequest_Request) String ¶
func (x *BatchRequest_Request) String() string
type BatchRequest_Request_CancelBuild ¶
type BatchRequest_Request_CancelBuild struct {
CancelBuild *CancelBuildRequest `protobuf:"bytes,4,opt,name=cancel_build,json=cancelBuild,proto3,oneof"`
}
type BatchRequest_Request_GetBuild ¶
type BatchRequest_Request_GetBuild struct {
GetBuild *GetBuildRequest `protobuf:"bytes,1,opt,name=get_build,json=getBuild,proto3,oneof"`
}
type BatchRequest_Request_GetBuildStatus ¶
type BatchRequest_Request_GetBuildStatus struct {
GetBuildStatus *GetBuildStatusRequest `protobuf:"bytes,5,opt,name=get_build_status,json=getBuildStatus,proto3,oneof"`
}
type BatchRequest_Request_ScheduleBuild ¶
type BatchRequest_Request_ScheduleBuild struct {
ScheduleBuild *ScheduleBuildRequest `protobuf:"bytes,3,opt,name=schedule_build,json=scheduleBuild,proto3,oneof"`
}
type BatchRequest_Request_SearchBuilds ¶
type BatchRequest_Request_SearchBuilds struct {
SearchBuilds *SearchBuildsRequest `protobuf:"bytes,2,opt,name=search_builds,json=searchBuilds,proto3,oneof"`
}
type BatchResponse ¶
type BatchResponse struct { // Responses in the same order as BatchRequest.requests. Responses []*BatchResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
A response message for Batch RPC.
func (*BatchResponse) Descriptor
deprecated
func (*BatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchResponse.ProtoReflect.Descriptor instead.
func (*BatchResponse) GetResponses ¶
func (x *BatchResponse) GetResponses() []*BatchResponse_Response
func (*BatchResponse) ProtoMessage ¶
func (*BatchResponse) ProtoMessage()
func (*BatchResponse) ProtoReflect ¶
func (x *BatchResponse) ProtoReflect() protoreflect.Message
func (*BatchResponse) Reset ¶
func (x *BatchResponse) Reset()
func (*BatchResponse) String ¶
func (x *BatchResponse) String() string
type BatchResponse_Response ¶
type BatchResponse_Response struct { // Types that are assignable to Response: // // *BatchResponse_Response_GetBuild // *BatchResponse_Response_SearchBuilds // *BatchResponse_Response_ScheduleBuild // *BatchResponse_Response_CancelBuild // *BatchResponse_Response_GetBuildStatus // *BatchResponse_Response_Error Response isBatchResponse_Response_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
Response a BatchRequest.Response.
func (*BatchResponse_Response) Descriptor
deprecated
func (*BatchResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use BatchResponse_Response.ProtoReflect.Descriptor instead.
func (*BatchResponse_Response) GetCancelBuild ¶
func (x *BatchResponse_Response) GetCancelBuild() *Build
func (*BatchResponse_Response) GetError ¶
func (x *BatchResponse_Response) GetError() *status.Status
func (*BatchResponse_Response) GetGetBuild ¶
func (x *BatchResponse_Response) GetGetBuild() *Build
func (*BatchResponse_Response) GetGetBuildStatus ¶
func (x *BatchResponse_Response) GetGetBuildStatus() *Build
func (*BatchResponse_Response) GetResponse ¶
func (m *BatchResponse_Response) GetResponse() isBatchResponse_Response_Response
func (*BatchResponse_Response) GetScheduleBuild ¶
func (x *BatchResponse_Response) GetScheduleBuild() *Build
func (*BatchResponse_Response) GetSearchBuilds ¶
func (x *BatchResponse_Response) GetSearchBuilds() *SearchBuildsResponse
func (*BatchResponse_Response) ProtoMessage ¶
func (*BatchResponse_Response) ProtoMessage()
func (*BatchResponse_Response) ProtoReflect ¶
func (x *BatchResponse_Response) ProtoReflect() protoreflect.Message
func (*BatchResponse_Response) Reset ¶
func (x *BatchResponse_Response) Reset()
func (*BatchResponse_Response) String ¶
func (x *BatchResponse_Response) String() string
type BatchResponse_Response_CancelBuild ¶
type BatchResponse_Response_CancelBuild struct {
CancelBuild *Build `protobuf:"bytes,4,opt,name=cancel_build,json=cancelBuild,proto3,oneof"`
}
type BatchResponse_Response_GetBuild ¶
type BatchResponse_Response_GetBuild struct {
GetBuild *Build `protobuf:"bytes,1,opt,name=get_build,json=getBuild,proto3,oneof"`
}
type BatchResponse_Response_GetBuildStatus ¶
type BatchResponse_Response_GetBuildStatus struct {
GetBuildStatus *Build `protobuf:"bytes,5,opt,name=get_build_status,json=getBuildStatus,proto3,oneof"`
}
type BatchResponse_Response_ScheduleBuild ¶
type BatchResponse_Response_ScheduleBuild struct {
ScheduleBuild *Build `protobuf:"bytes,3,opt,name=schedule_build,json=scheduleBuild,proto3,oneof"`
}
type BatchResponse_Response_SearchBuilds ¶
type BatchResponse_Response_SearchBuilds struct {
SearchBuilds *SearchBuildsResponse `protobuf:"bytes,2,opt,name=search_builds,json=searchBuilds,proto3,oneof"`
}
type Bucket ¶
type Bucket struct { // Name of the bucket. Names are unique within one instance of buildbucket. // If another project already uses this name, a config will be rejected. // Name reservation is first-come first-serve. // Regex: ^[a-z0-9\-_.]{1,100}$ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated and ignored. Use Realms ACLs instead. // // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/project_config.proto. Acls []*Acl `protobuf:"bytes,2,rep,name=acls,proto3" json:"acls,omitempty"` // Buildbucket-swarming integration. // Mutually exclusive with builder_template. Swarming *Swarming `protobuf:"bytes,3,opt,name=swarming,proto3" json:"swarming,omitempty"` // Name of this bucket's shadow bucket for the led builds to use. // // If omitted, it implies that led builds of this bucket reuse this bucket. // This is allowed, but note that it means the led builds will be in // the same bucket/builder with the real builds, which means Any users with // led access will be able to do ANYTHING that this bucket's bots and // service_accounts can do. // // It could also be noisy, such as: // - On the LUCI UI, led builds will show under the same builder as the real builds, // - Led builds will share the same ResultDB config as the real builds, so // their test results will be exported to the same BigQuery tables. // - Subscribers of Buildbucket PubSub need to filter them out. Shadow string `protobuf:"bytes,5,opt,name=shadow,proto3" json:"shadow,omitempty"` // Security constraints of the bucket. // // This field is used by CreateBuild on this bucket to constrain proposed // Builds. If a build doesn't meet the constraints, it will be rejected. // For shadow buckets, this is what prevents the bucket from allowing // totally arbitrary Builds. // // `lucicfg` will automatically populate this for the "primary" bucket // when using `luci.builder`. // // Buildbuceket.CreateBuild will validate the incoming requests to make sure // they meet these constraints. Constraints *Bucket_Constraints `protobuf:"bytes,6,opt,name=constraints,proto3" json:"constraints,omitempty"` // Template of builders in a dynamic bucket. // Mutually exclusive with swarming. // // If is not nil, the bucket is a dynamic LUCI bucket. // If a bucket has both swarming and dynamic_builder_template as nil, // the bucket is a legacy one. DynamicBuilderTemplate *Bucket_DynamicBuilderTemplate `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Defines one bucket in buildbucket.cfg
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetConstraints ¶
func (x *Bucket) GetConstraints() *Bucket_Constraints
func (*Bucket) GetDynamicBuilderTemplate ¶
func (x *Bucket) GetDynamicBuilderTemplate() *Bucket_DynamicBuilderTemplate
func (*Bucket) GetSwarming ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type Bucket_Constraints ¶
type Bucket_Constraints struct { // Constraints allowed pools. // Builds in this bucket must have a "pool" dimension which matches an entry in this list. Pools []string `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` // Only service accounts in this list are allowed. ServiceAccounts []string `protobuf:"bytes,2,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"` // contains filtered or unexported fields }
Constraints for a bucket.
Buildbucket.CreateBuild will validate the incoming requests to make sure they meet these constraints.
func (*Bucket_Constraints) Descriptor
deprecated
func (*Bucket_Constraints) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Constraints.ProtoReflect.Descriptor instead.
func (*Bucket_Constraints) GetPools ¶
func (x *Bucket_Constraints) GetPools() []string
func (*Bucket_Constraints) GetServiceAccounts ¶
func (x *Bucket_Constraints) GetServiceAccounts() []string
func (*Bucket_Constraints) ProtoMessage ¶
func (*Bucket_Constraints) ProtoMessage()
func (*Bucket_Constraints) ProtoReflect ¶
func (x *Bucket_Constraints) ProtoReflect() protoreflect.Message
func (*Bucket_Constraints) Reset ¶
func (x *Bucket_Constraints) Reset()
func (*Bucket_Constraints) String ¶
func (x *Bucket_Constraints) String() string
type Bucket_DynamicBuilderTemplate ¶
type Bucket_DynamicBuilderTemplate struct {
// contains filtered or unexported fields
}
Template of builders in a dynamic bucket.
func (*Bucket_DynamicBuilderTemplate) Descriptor
deprecated
func (*Bucket_DynamicBuilderTemplate) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_DynamicBuilderTemplate.ProtoReflect.Descriptor instead.
func (*Bucket_DynamicBuilderTemplate) ProtoMessage ¶
func (*Bucket_DynamicBuilderTemplate) ProtoMessage()
func (*Bucket_DynamicBuilderTemplate) ProtoReflect ¶
func (x *Bucket_DynamicBuilderTemplate) ProtoReflect() protoreflect.Message
func (*Bucket_DynamicBuilderTemplate) Reset ¶
func (x *Bucket_DynamicBuilderTemplate) Reset()
func (*Bucket_DynamicBuilderTemplate) String ¶
func (x *Bucket_DynamicBuilderTemplate) String() string
type Build ¶
type Build struct { // Identifier of the build, unique per LUCI deployment. // IDs are monotonically decreasing. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Required. The builder this build belongs to. // // Tuple (builder.project, builder.bucket) defines build ACL // which may change after build has ended. Builder *BuilderID `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` BuilderInfo *Build_BuilderInfo `protobuf:"bytes,34,opt,name=builder_info,json=builderInfo,proto3" json:"builder_info,omitempty"` // Human-readable identifier of the build with the following properties: // - unique within the builder // - a monotonically increasing number // - mostly contiguous // - much shorter than id // // Caution: populated (positive number) iff build numbers were enabled // in the builder configuration at the time of build creation. // // Caution: Build numbers are not guaranteed to be contiguous. // There may be gaps during outages. // // Caution: Build numbers, while monotonically increasing, do not // necessarily reflect source-code order. For example, force builds // or rebuilds can allocate new, higher, numbers, but build an older- // than-HEAD version of the source. Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // Verified LUCI identity that created this build. CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Verified LUCI identity that canceled this build. // // Special values: // * buildbucket: The build is canceled by buildbucket. This can happen if the // build's parent has ended, and the build cannot outlive its parent. // * backend: The build's backend task is canceled. For example the build's // Swarming task is killed. CanceledBy string `protobuf:"bytes,23,opt,name=canceled_by,json=canceledBy,proto3" json:"canceled_by,omitempty"` // When the build was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // When the build started. // Required iff status is STARTED, SUCCESS or FAILURE. StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // When the build ended. // Present iff status is terminal. // MUST NOT be before start_time. EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // When the build was most recently updated. // // RPC: can be > end_time if, e.g. new tags were attached to a completed // build. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // When the cancel process of the build started. // Note it's not the time that the cancellation completed, which would be // tracked by end_time. // // During the cancel process, the build still accepts updates. // // bbagent checks this field at the frequency of // buildbucket.MinUpdateBuildInterval. When bbagent sees the build is in // cancel process, there are two states: // - it has NOT yet started the exe payload, // - it HAS started the exe payload. // // In the first state, bbagent will immediately terminate the build without // invoking the exe payload at all. // // In the second state, bbagent will send SIGTERM/CTRL-BREAK to the exe // (according to the deadline protocol described in // https://chromium.googlesource.com/infra/luci/luci-py/+/HEAD/client/LUCI_CONTEXT.md). // After grace_period it will then try to kill the exe. // // NOTE: There is a race condition here; If bbagent starts the luciexe and // then immediately notices that the build is canceled, it's possible that // bbagent can send SIGTERM/CTRL-BREAK to the exe before that exe sets up // interrupt handlers. There is a bug on file (crbug.com/1311821) // which we plan to implement at some point as a mitigation for this. // // Additionally, the Buildbucket service itself will launch an asynchronous // task to terminate the build via the backend API (e.g. Swarming cancellation) // if bbagent cannot successfully terminate the exe in time. CancelTime *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` // Status of the build. // Must be specified, i.e. not STATUS_UNSPECIFIED. // // RPC: Responses have most current status. // // BigQuery: Final status of the build. Cannot be SCHEDULED or STARTED. Status Status `protobuf:"varint,12,opt,name=status,proto3,enum=buildbucket.v2.Status" json:"status,omitempty"` // Human-readable summary of the build in Markdown format // (https://spec.commonmark.org/0.28/). // Explains status. // Up to 4 KB. SummaryMarkdown string `protobuf:"bytes,20,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,omitempty"` // Markdown reasoning for cancelling the build. // Human readable and should be following https://spec.commonmark.org/0.28/. CancellationMarkdown string `protobuf:"bytes,33,opt,name=cancellation_markdown,json=cancellationMarkdown,proto3" json:"cancellation_markdown,omitempty"` // If NO, then the build status SHOULD NOT be used to assess correctness of // the input gitiles_commit or gerrit_changes. // For example, if a pre-submit build has failed, CQ MAY still land the CL. // For example, if a post-submit build has failed, CLs MAY continue landing. Critical Trinary `protobuf:"varint,21,opt,name=critical,proto3,enum=buildbucket.v2.Trinary" json:"critical,omitempty"` // Machine-readable details of the current status. // Human-readable status reason is available in summary_markdown. StatusDetails *StatusDetails `protobuf:"bytes,22,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"` // Input to the build executable. Input *Build_Input `protobuf:"bytes,15,opt,name=input,proto3" json:"input,omitempty"` // Output of the build executable. // SHOULD depend only on input field and NOT other fields. // MUST be unset if build status is SCHEDULED. // // RPC: By default, this field is excluded from responses. // Updated while the build is running and finalized when the build ends. Output *Build_Output `protobuf:"bytes,16,opt,name=output,proto3" json:"output,omitempty"` // Current list of build steps. // Updated as build runs. // // May take up to 1MB after zlib compression. // MUST be unset if build status is SCHEDULED. // // RPC: By default, this field is excluded from responses. Steps []*Step `protobuf:"bytes,17,rep,name=steps,proto3" json:"steps,omitempty"` // Build infrastructure used by the build. // // RPC: By default, this field is excluded from responses. Infra *BuildInfra `protobuf:"bytes,18,opt,name=infra,proto3" json:"infra,omitempty"` // Arbitrary annotations for the build. // One key may have multiple values, which is why this is not a map<string,string>. // Indexed by the server, see also BuildPredicate.tags. Tags []*StringPair `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"` // What to run when the build is ready to start. Exe *Executable `protobuf:"bytes,24,opt,name=exe,proto3" json:"exe,omitempty"` // DEPRECATED // // Equivalent to `"luci.buildbucket.canary_software" in input.experiments`. // // See `Builder.experiments` for well-known experiments. Canary bool `protobuf:"varint,25,opt,name=canary,proto3" json:"canary,omitempty"` // Maximum build pending time. // If the timeout is reached, the build is marked as INFRA_FAILURE status // and both status_details.{timeout, resource_exhaustion} are set. SchedulingTimeout *durationpb.Duration `protobuf:"bytes,26,opt,name=scheduling_timeout,json=schedulingTimeout,proto3" json:"scheduling_timeout,omitempty"` // Maximum build execution time. // // Not to be confused with scheduling_timeout. // // If the timeout is reached, the task will be signaled according to the // `deadline` section of // https://chromium.googlesource.com/infra/luci/luci-py/+/HEAD/client/LUCI_CONTEXT.md // and status_details.timeout is set. // // The task will have `grace_period` amount of time to handle cleanup // before being forcefully terminated. ExecutionTimeout *durationpb.Duration `protobuf:"bytes,27,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // Amount of cleanup time after execution_timeout. // // After being signaled according to execution_timeout, the task will // have this duration to clean up before being forcefully terminated. // // The signalling process is explained in the `deadline` section of // https://chromium.googlesource.com/infra/luci/luci-py/+/HEAD/client/LUCI_CONTEXT.md. GracePeriod *durationpb.Duration `protobuf:"bytes,29,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"` // If set, swarming was requested to wait until it sees at least one bot // report a superset of the build's requested dimensions. WaitForCapacity bool `protobuf:"varint,28,opt,name=wait_for_capacity,json=waitForCapacity,proto3" json:"wait_for_capacity,omitempty"` // Flag to control if the build can outlive its parent. // // This field is only meaningful if the build has ancestors. // If the build has ancestors and the value is false, it means that the build // SHOULD reach a terminal status (SUCCESS, FAILURE, INFRA_FAILURE or // CANCELED) before its parent. If the child fails to do so, Buildbucket will // cancel it some time after the parent build reaches a terminal status. // // A build that can outlive its parent can also outlive its parent's ancestors. CanOutliveParent bool `protobuf:"varint,30,opt,name=can_outlive_parent,json=canOutliveParent,proto3" json:"can_outlive_parent,omitempty"` // IDs of the build's ancestors. This includes all parents/grandparents/etc. // This is ordered from top-to-bottom so `ancestor_ids[0]` is the root of // the builds tree, and `ancestor_ids[-1]` is this build's immediate parent. // This does not include any "siblings" at higher levels of the tree, just // the direct chain of ancestors from root to this build. AncestorIds []int64 `protobuf:"varint,31,rep,packed,name=ancestor_ids,json=ancestorIds,proto3" json:"ancestor_ids,omitempty"` // If UNSET, retrying the build is implicitly allowed; // If YES, retrying the build is explicitly allowed; // If NO, retrying the build is explicitly disallowed, // - any UI displaying the build should remove "retry" button(s), // - ScheduleBuild using the build as template should fail, // - but the build can still be synthesized by SynthesizeBuild. Retriable Trinary `protobuf:"varint,35,opt,name=retriable,proto3,enum=buildbucket.v2.Trinary" json:"retriable,omitempty"` // contains filtered or unexported fields }
A single build, identified by an int64 ID. Belongs to a builder.
RPC: see Builds service for build creation and retrieval. Some Build fields are marked as excluded from responses by default. Use "mask" request field to specify that a field must be included.
BigQuery: this message also defines schema of a BigQuery table of completed builds. A BigQuery row is inserted soon after build ends, i.e. a row represents a state of a build at completion time and does not change after that. All fields are included.
Next id: 36.
func (*Build) Descriptor
deprecated
func (*Build) GetAncestorIds ¶
func (*Build) GetBuilder ¶
func (*Build) GetBuilderInfo ¶
func (x *Build) GetBuilderInfo() *Build_BuilderInfo
func (*Build) GetCanOutliveParent ¶
func (*Build) GetCancelTime ¶
func (x *Build) GetCancelTime() *timestamppb.Timestamp
func (*Build) GetCanceledBy ¶
func (*Build) GetCancellationMarkdown ¶
func (*Build) GetCreateTime ¶
func (x *Build) GetCreateTime() *timestamppb.Timestamp
func (*Build) GetCreatedBy ¶
func (*Build) GetCritical ¶
func (*Build) GetEndTime ¶
func (x *Build) GetEndTime() *timestamppb.Timestamp
func (*Build) GetExe ¶
func (x *Build) GetExe() *Executable
func (*Build) GetExecutionTimeout ¶
func (x *Build) GetExecutionTimeout() *durationpb.Duration
func (*Build) GetGracePeriod ¶
func (x *Build) GetGracePeriod() *durationpb.Duration
func (*Build) GetInfra ¶
func (x *Build) GetInfra() *BuildInfra
func (*Build) GetInput ¶
func (x *Build) GetInput() *Build_Input
func (*Build) GetOutput ¶
func (x *Build) GetOutput() *Build_Output
func (*Build) GetRetriable ¶
func (*Build) GetSchedulingTimeout ¶
func (x *Build) GetSchedulingTimeout() *durationpb.Duration
func (*Build) GetStartTime ¶
func (x *Build) GetStartTime() *timestamppb.Timestamp
func (*Build) GetStatusDetails ¶
func (x *Build) GetStatusDetails() *StatusDetails
func (*Build) GetSummaryMarkdown ¶
func (*Build) GetTags ¶
func (x *Build) GetTags() []*StringPair
func (*Build) GetUpdateTime ¶
func (x *Build) GetUpdateTime() *timestamppb.Timestamp
func (*Build) GetWaitForCapacity ¶
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
func (*Build) ProtoReflect ¶
func (x *Build) ProtoReflect() protoreflect.Message
type BuildFieldVisibility ¶
type BuildFieldVisibility int32
Can be used to indicate that a buildbucket.v2.Build field should be visible to users with the specified permission. By default, buildbucket.builds.get is required to see fields, but this enum allows that access to be expanded.
Note that we assume that users with GET_LIMITED also have LIST, and users with GET also have GET_LIMITED and LIST.
IMPORTANT: this enum must be ordered such that permissions that grant more access (e.g. BUILDS_GET_PERMISSION) must always have lower enum numbers than permissions that grant less access (e.g. BUILDS_LIST_PERMISSION).
const ( // No visibility specified. In this case the visibility defaults to // requiring the buildbucket.builds.get permission. BuildFieldVisibility_FIELD_VISIBILITY_UNSPECIFIED BuildFieldVisibility = 0 // Indicates the field will only be visible to users with the // buildbucket.builds.get permission. BuildFieldVisibility_BUILDS_GET_PERMISSION BuildFieldVisibility = 1 // Indicates the field will be visible to users with either the // buildbucket.builds.getLimited or buildbucket.builds.get permission. BuildFieldVisibility_BUILDS_GET_LIMITED_PERMISSION BuildFieldVisibility = 2 // Indicates the field will be visible to users with either the // buildbucket.builds.list, buildbucket.builds.getLimited or // buildbucket.builds.get permission. BuildFieldVisibility_BUILDS_LIST_PERMISSION BuildFieldVisibility = 3 )
func (BuildFieldVisibility) Descriptor ¶
func (BuildFieldVisibility) Descriptor() protoreflect.EnumDescriptor
func (BuildFieldVisibility) Enum ¶
func (x BuildFieldVisibility) Enum() *BuildFieldVisibility
func (BuildFieldVisibility) EnumDescriptor
deprecated
func (BuildFieldVisibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildFieldVisibility.Descriptor instead.
func (BuildFieldVisibility) Number ¶
func (x BuildFieldVisibility) Number() protoreflect.EnumNumber
func (BuildFieldVisibility) String ¶
func (x BuildFieldVisibility) String() string
func (BuildFieldVisibility) Type ¶
func (BuildFieldVisibility) Type() protoreflect.EnumType
type BuildInfra ¶
type BuildInfra struct { Buildbucket *BuildInfra_Buildbucket `protobuf:"bytes,1,opt,name=buildbucket,proto3" json:"buildbucket,omitempty"` Swarming *BuildInfra_Swarming `protobuf:"bytes,2,opt,name=swarming,proto3" json:"swarming,omitempty"` Logdog *BuildInfra_LogDog `protobuf:"bytes,3,opt,name=logdog,proto3" json:"logdog,omitempty"` Recipe *BuildInfra_Recipe `protobuf:"bytes,4,opt,name=recipe,proto3" json:"recipe,omitempty"` Resultdb *BuildInfra_ResultDB `protobuf:"bytes,5,opt,name=resultdb,proto3" json:"resultdb,omitempty"` Bbagent *BuildInfra_BBAgent `protobuf:"bytes,6,opt,name=bbagent,proto3" json:"bbagent,omitempty"` Backend *BuildInfra_Backend `protobuf:"bytes,7,opt,name=backend,proto3" json:"backend,omitempty"` // contains filtered or unexported fields }
Build infrastructure that was used for a particular build.
func (*BuildInfra) Descriptor
deprecated
func (*BuildInfra) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra.ProtoReflect.Descriptor instead.
func (*BuildInfra) GetBackend ¶
func (x *BuildInfra) GetBackend() *BuildInfra_Backend
func (*BuildInfra) GetBbagent ¶
func (x *BuildInfra) GetBbagent() *BuildInfra_BBAgent
func (*BuildInfra) GetBuildbucket ¶
func (x *BuildInfra) GetBuildbucket() *BuildInfra_Buildbucket
func (*BuildInfra) GetLogdog ¶
func (x *BuildInfra) GetLogdog() *BuildInfra_LogDog
func (*BuildInfra) GetRecipe ¶
func (x *BuildInfra) GetRecipe() *BuildInfra_Recipe
func (*BuildInfra) GetResultdb ¶
func (x *BuildInfra) GetResultdb() *BuildInfra_ResultDB
func (*BuildInfra) GetSwarming ¶
func (x *BuildInfra) GetSwarming() *BuildInfra_Swarming
func (*BuildInfra) ProtoMessage ¶
func (*BuildInfra) ProtoMessage()
func (*BuildInfra) ProtoReflect ¶
func (x *BuildInfra) ProtoReflect() protoreflect.Message
func (*BuildInfra) Reset ¶
func (x *BuildInfra) Reset()
func (*BuildInfra) String ¶
func (x *BuildInfra) String() string
type BuildInfra_BBAgent ¶
type BuildInfra_BBAgent struct { // Path to the base of the user executable package. // // Required. PayloadPath string `protobuf:"bytes,1,opt,name=payload_path,json=payloadPath,proto3" json:"payload_path,omitempty"` // Path to a directory where each subdirectory is a cache dir. // // Required. CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"` // List of Gerrit hosts to force git authentication for. // // By default public hosts are accessed anonymously, and the anonymous access // has very low quota. Context needs to know all such hostnames in advance to // be able to force authenticated access to them. // // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto. KnownPublicGerritHosts []string `` /* 131-byte string literal not displayed */ // DEPRECATED: Use build.Infra.Buildbucket.Agent.Input instead. // // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto. Input *BuildInfra_BBAgent_Input `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
BBAgent-specific information.
All paths are relateive to bbagent's working directory, and must be delimited with slashes ("/"), regardless of the host OS.
func (*BuildInfra_BBAgent) Descriptor
deprecated
func (*BuildInfra_BBAgent) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_BBAgent.ProtoReflect.Descriptor instead.
func (*BuildInfra_BBAgent) GetCacheDir ¶
func (x *BuildInfra_BBAgent) GetCacheDir() string
func (*BuildInfra_BBAgent) GetInput
deprecated
func (x *BuildInfra_BBAgent) GetInput() *BuildInfra_BBAgent_Input
Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto.
func (*BuildInfra_BBAgent) GetKnownPublicGerritHosts
deprecated
func (x *BuildInfra_BBAgent) GetKnownPublicGerritHosts() []string
Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto.
func (*BuildInfra_BBAgent) GetPayloadPath ¶
func (x *BuildInfra_BBAgent) GetPayloadPath() string
func (*BuildInfra_BBAgent) ProtoMessage ¶
func (*BuildInfra_BBAgent) ProtoMessage()
func (*BuildInfra_BBAgent) ProtoReflect ¶
func (x *BuildInfra_BBAgent) ProtoReflect() protoreflect.Message
func (*BuildInfra_BBAgent) Reset ¶
func (x *BuildInfra_BBAgent) Reset()
func (*BuildInfra_BBAgent) String ¶
func (x *BuildInfra_BBAgent) String() string
type BuildInfra_BBAgent_Input ¶
type BuildInfra_BBAgent_Input struct { CipdPackages []*BuildInfra_BBAgent_Input_CIPDPackage `protobuf:"bytes,1,rep,name=cipd_packages,json=cipdPackages,proto3" json:"cipd_packages,omitempty"` // contains filtered or unexported fields }
BBAgent-specific input.
func (*BuildInfra_BBAgent_Input) Descriptor
deprecated
func (*BuildInfra_BBAgent_Input) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_BBAgent_Input.ProtoReflect.Descriptor instead.
func (*BuildInfra_BBAgent_Input) GetCipdPackages ¶
func (x *BuildInfra_BBAgent_Input) GetCipdPackages() []*BuildInfra_BBAgent_Input_CIPDPackage
func (*BuildInfra_BBAgent_Input) ProtoMessage ¶
func (*BuildInfra_BBAgent_Input) ProtoMessage()
func (*BuildInfra_BBAgent_Input) ProtoReflect ¶
func (x *BuildInfra_BBAgent_Input) ProtoReflect() protoreflect.Message
func (*BuildInfra_BBAgent_Input) Reset ¶
func (x *BuildInfra_BBAgent_Input) Reset()
func (*BuildInfra_BBAgent_Input) String ¶
func (x *BuildInfra_BBAgent_Input) String() string
type BuildInfra_BBAgent_Input_CIPDPackage ¶
type BuildInfra_BBAgent_Input_CIPDPackage struct { // Name of this CIPD package. // // Required. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // CIPD package version. // // Required. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // CIPD server to fetch this package from. // // Required. Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` // Path where this CIPD package should be installed. // // Required. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
CIPD Packages to make available for this build.
func (*BuildInfra_BBAgent_Input_CIPDPackage) Descriptor
deprecated
func (*BuildInfra_BBAgent_Input_CIPDPackage) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_BBAgent_Input_CIPDPackage.ProtoReflect.Descriptor instead.
func (*BuildInfra_BBAgent_Input_CIPDPackage) GetName ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetName() string
func (*BuildInfra_BBAgent_Input_CIPDPackage) GetPath ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetPath() string
func (*BuildInfra_BBAgent_Input_CIPDPackage) GetServer ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetServer() string
func (*BuildInfra_BBAgent_Input_CIPDPackage) GetVersion ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) GetVersion() string
func (*BuildInfra_BBAgent_Input_CIPDPackage) ProtoMessage ¶
func (*BuildInfra_BBAgent_Input_CIPDPackage) ProtoMessage()
func (*BuildInfra_BBAgent_Input_CIPDPackage) ProtoReflect ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) ProtoReflect() protoreflect.Message
func (*BuildInfra_BBAgent_Input_CIPDPackage) Reset ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) Reset()
func (*BuildInfra_BBAgent_Input_CIPDPackage) String ¶
func (x *BuildInfra_BBAgent_Input_CIPDPackage) String() string
type BuildInfra_Backend ¶
type BuildInfra_Backend struct { // Configuration supplied to the backend at the time it was instructed to // run this build. Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Current backend task status. // Updated as build runs. Task *Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` // Caches requested by this build. Caches []*CacheEntry `protobuf:"bytes,3,rep,name=caches,proto3" json:"caches,omitempty"` // Dimensions for the task. TaskDimensions []*RequestedDimension `protobuf:"bytes,5,rep,name=task_dimensions,json=taskDimensions,proto3" json:"task_dimensions,omitempty"` // contains filtered or unexported fields }
Backend-specific information.
func (*BuildInfra_Backend) Descriptor
deprecated
func (*BuildInfra_Backend) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Backend.ProtoReflect.Descriptor instead.
func (*BuildInfra_Backend) GetCaches ¶
func (x *BuildInfra_Backend) GetCaches() []*CacheEntry
func (*BuildInfra_Backend) GetConfig ¶
func (x *BuildInfra_Backend) GetConfig() *structpb.Struct
func (*BuildInfra_Backend) GetTask ¶
func (x *BuildInfra_Backend) GetTask() *Task
func (*BuildInfra_Backend) GetTaskDimensions ¶
func (x *BuildInfra_Backend) GetTaskDimensions() []*RequestedDimension
func (*BuildInfra_Backend) ProtoMessage ¶
func (*BuildInfra_Backend) ProtoMessage()
func (*BuildInfra_Backend) ProtoReflect ¶
func (x *BuildInfra_Backend) ProtoReflect() protoreflect.Message
func (*BuildInfra_Backend) Reset ¶
func (x *BuildInfra_Backend) Reset()
func (*BuildInfra_Backend) String ¶
func (x *BuildInfra_Backend) String() string
type BuildInfra_Buildbucket ¶
type BuildInfra_Buildbucket struct { // Version of swarming task template. Defines // versions of kitchen, git, git wrapper, python, vpython, etc. ServiceConfigRevision string `` /* 126-byte string literal not displayed */ // Properties that were specified in ScheduleBuildRequest to create this // build. // // In particular, CQ uses this to decide whether the build created by // someone else is appropriate for CQ, e.g. it was created with the same // properties that CQ would use. RequestedProperties *structpb.Struct `protobuf:"bytes,5,opt,name=requested_properties,json=requestedProperties,proto3" json:"requested_properties,omitempty"` // Dimensions that were specified in ScheduleBuildRequest to create this // build. RequestedDimensions []*RequestedDimension `protobuf:"bytes,6,rep,name=requested_dimensions,json=requestedDimensions,proto3" json:"requested_dimensions,omitempty"` // Buildbucket hostname, e.g. "cr-buildbucket.appspot.com". Hostname string `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"` // This contains a map of all the experiments involved for this build, as // well as which bit of configuration lead to them being set (or unset). // // Note that if the reason here is EXPERIMENT_REASON_GLOBAL_INACTIVE, // then that means that the experiment is completely disabled and has no // effect, but your builder or ScheduleBuildRequest still indicated that // the experiment should be set. If you see this, then please remove it // from your configuration and/or requests. ExperimentReasons map[string]BuildInfra_Buildbucket_ExperimentReason `` /* 261-byte string literal not displayed */ // The agent binary (bbagent or kitchen) resolutions Buildbucket made for this build. // This includes all agent_executable references supplied to // the TaskBackend in "original" (CIPD) form, to facilitate debugging. // DEPRECATED: Use agent.source instead. // // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto. AgentExecutable map[string]*ResolvedDataRef `` /* 194-byte string literal not displayed */ Agent *BuildInfra_Buildbucket_Agent `protobuf:"bytes,10,opt,name=agent,proto3" json:"agent,omitempty"` KnownPublicGerritHosts []string `` /* 132-byte string literal not displayed */ // Flag for if the build should have a build number. BuildNumber bool `protobuf:"varint,12,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` // contains filtered or unexported fields }
Buildbucket-specific information, captured at the build creation time.
func (*BuildInfra_Buildbucket) Descriptor
deprecated
func (*BuildInfra_Buildbucket) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket) GetAgent ¶
func (x *BuildInfra_Buildbucket) GetAgent() *BuildInfra_Buildbucket_Agent
func (*BuildInfra_Buildbucket) GetAgentExecutable
deprecated
func (x *BuildInfra_Buildbucket) GetAgentExecutable() map[string]*ResolvedDataRef
Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/build.proto.
func (*BuildInfra_Buildbucket) GetBuildNumber ¶
func (x *BuildInfra_Buildbucket) GetBuildNumber() bool
func (*BuildInfra_Buildbucket) GetExperimentReasons ¶
func (x *BuildInfra_Buildbucket) GetExperimentReasons() map[string]BuildInfra_Buildbucket_ExperimentReason
func (*BuildInfra_Buildbucket) GetHostname ¶
func (x *BuildInfra_Buildbucket) GetHostname() string
func (*BuildInfra_Buildbucket) GetKnownPublicGerritHosts ¶
func (x *BuildInfra_Buildbucket) GetKnownPublicGerritHosts() []string
func (*BuildInfra_Buildbucket) GetRequestedDimensions ¶
func (x *BuildInfra_Buildbucket) GetRequestedDimensions() []*RequestedDimension
func (*BuildInfra_Buildbucket) GetRequestedProperties ¶
func (x *BuildInfra_Buildbucket) GetRequestedProperties() *structpb.Struct
func (*BuildInfra_Buildbucket) GetServiceConfigRevision ¶
func (x *BuildInfra_Buildbucket) GetServiceConfigRevision() string
func (*BuildInfra_Buildbucket) ProtoMessage ¶
func (*BuildInfra_Buildbucket) ProtoMessage()
func (*BuildInfra_Buildbucket) ProtoReflect ¶
func (x *BuildInfra_Buildbucket) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket) Reset ¶
func (x *BuildInfra_Buildbucket) Reset()
func (*BuildInfra_Buildbucket) String ¶
func (x *BuildInfra_Buildbucket) String() string
type BuildInfra_Buildbucket_Agent ¶
type BuildInfra_Buildbucket_Agent struct { // TODO(crbug.com/1297809): for a long-term solution, we may need to add // a top-level `on_path` array field in the input and read the value from // configuration files (eg.settings.cfg, builder configs). So it can store // the intended order of PATH env var. Then the per-inputDataRef level // `on_path` field will be deprecated. // Currently, the new BBagent flow merges all inputDataRef-level `on_path` // values and sort. This mimics the same behavior of PyBB backend in order // to have the cipd_installation migration to roll out first under a minimal risk. Input *BuildInfra_Buildbucket_Agent_Input `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` Output *BuildInfra_Buildbucket_Agent_Output `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` Source *BuildInfra_Buildbucket_Agent_Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Maps the relative-to-root directory path in both `input` and `output` // to the Purpose of the software in that directory. // // If a path is not listed here, it is the same as PURPOSE_UNSPECIFIED. Purposes map[string]BuildInfra_Buildbucket_Agent_Purpose `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
bbagent will interpret Agent.input, as well as update Agent.output.
func (*BuildInfra_Buildbucket_Agent) Descriptor
deprecated
func (*BuildInfra_Buildbucket_Agent) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket_Agent) GetInput ¶
func (x *BuildInfra_Buildbucket_Agent) GetInput() *BuildInfra_Buildbucket_Agent_Input
func (*BuildInfra_Buildbucket_Agent) GetOutput ¶
func (x *BuildInfra_Buildbucket_Agent) GetOutput() *BuildInfra_Buildbucket_Agent_Output
func (*BuildInfra_Buildbucket_Agent) GetPurposes ¶
func (x *BuildInfra_Buildbucket_Agent) GetPurposes() map[string]BuildInfra_Buildbucket_Agent_Purpose
func (*BuildInfra_Buildbucket_Agent) GetSource ¶
func (x *BuildInfra_Buildbucket_Agent) GetSource() *BuildInfra_Buildbucket_Agent_Source
func (*BuildInfra_Buildbucket_Agent) ProtoMessage ¶
func (*BuildInfra_Buildbucket_Agent) ProtoMessage()
func (*BuildInfra_Buildbucket_Agent) ProtoReflect ¶
func (x *BuildInfra_Buildbucket_Agent) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket_Agent) Reset ¶
func (x *BuildInfra_Buildbucket_Agent) Reset()
func (*BuildInfra_Buildbucket_Agent) String ¶
func (x *BuildInfra_Buildbucket_Agent) String() string
type BuildInfra_Buildbucket_Agent_Input ¶
type BuildInfra_Buildbucket_Agent_Input struct { // Maps relative-to-root directory to the data. // // For now, data is only allowed at the 'leaves', e.g. you cannot // specify data at "a/b/c" and "a/b" (but "a/b/c" and "a/q" would be OK). // All directories beginning with "luci." are reserved for Buildbucket's own use. // // TODO(crbug.com/1266060): Enforce the above constraints in a later phase. // Currently users don't have the flexibility to set the parent directory path. Data map[string]*InputDataRef `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BuildInfra_Buildbucket_Agent_Input) Descriptor
deprecated
func (*BuildInfra_Buildbucket_Agent_Input) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent_Input.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket_Agent_Input) GetData ¶
func (x *BuildInfra_Buildbucket_Agent_Input) GetData() map[string]*InputDataRef
func (*BuildInfra_Buildbucket_Agent_Input) ProtoMessage ¶
func (*BuildInfra_Buildbucket_Agent_Input) ProtoMessage()
func (*BuildInfra_Buildbucket_Agent_Input) ProtoReflect ¶
func (x *BuildInfra_Buildbucket_Agent_Input) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket_Agent_Input) Reset ¶
func (x *BuildInfra_Buildbucket_Agent_Input) Reset()
func (*BuildInfra_Buildbucket_Agent_Input) String ¶
func (x *BuildInfra_Buildbucket_Agent_Input) String() string
type BuildInfra_Buildbucket_Agent_Output ¶
type BuildInfra_Buildbucket_Agent_Output struct { // Maps relative-to-root directory to the fully-resolved ref. // // This will always have 1:1 mapping to Agent.Input.data ResolvedData map[string]*ResolvedDataRef `` /* 185-byte string literal not displayed */ Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=buildbucket.v2.Status" json:"status,omitempty"` StatusDetails *StatusDetails `protobuf:"bytes,3,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"` SummaryHtml string `protobuf:"bytes,4,opt,name=summary_html,json=summaryHtml,proto3" json:"summary_html,omitempty"` // The agent's resolved CIPD ${platform} (e.g. "linux-amd64", // "windows-386", etc.). // // This is trivial for bbagent to calculate (unlike trying to embed // its cipd package version inside or along with the executable). // Buildbucket is doing a full package -> instance ID resolution at // CreateBuild time anyway, so Agent.Source.resolved_instances // will give the mapping from `agent_platform` to a precise instance_id // which was used. AgentPlatform string `protobuf:"bytes,5,opt,name=agent_platform,json=agentPlatform,proto3" json:"agent_platform,omitempty"` // Total installation duration for all input data. Currently only record // cipd packages installation time. TotalDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"` // contains filtered or unexported fields }
func (*BuildInfra_Buildbucket_Agent_Output) Descriptor
deprecated
func (*BuildInfra_Buildbucket_Agent_Output) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent_Output.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket_Agent_Output) GetAgentPlatform ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetAgentPlatform() string
func (*BuildInfra_Buildbucket_Agent_Output) GetResolvedData ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetResolvedData() map[string]*ResolvedDataRef
func (*BuildInfra_Buildbucket_Agent_Output) GetStatus ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetStatus() Status
func (*BuildInfra_Buildbucket_Agent_Output) GetStatusDetails ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetStatusDetails() *StatusDetails
func (*BuildInfra_Buildbucket_Agent_Output) GetSummaryHtml ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetSummaryHtml() string
func (*BuildInfra_Buildbucket_Agent_Output) GetTotalDuration ¶
func (x *BuildInfra_Buildbucket_Agent_Output) GetTotalDuration() *durationpb.Duration
func (*BuildInfra_Buildbucket_Agent_Output) ProtoMessage ¶
func (*BuildInfra_Buildbucket_Agent_Output) ProtoMessage()
func (*BuildInfra_Buildbucket_Agent_Output) ProtoReflect ¶
func (x *BuildInfra_Buildbucket_Agent_Output) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket_Agent_Output) Reset ¶
func (x *BuildInfra_Buildbucket_Agent_Output) Reset()
func (*BuildInfra_Buildbucket_Agent_Output) String ¶
func (x *BuildInfra_Buildbucket_Agent_Output) String() string
type BuildInfra_Buildbucket_Agent_Purpose ¶
type BuildInfra_Buildbucket_Agent_Purpose int32
const ( // No categorized/known purpose. BuildInfra_Buildbucket_Agent_PURPOSE_UNSPECIFIED BuildInfra_Buildbucket_Agent_Purpose = 0 // This path contains the contents of the build's `exe.cipd_package`. BuildInfra_Buildbucket_Agent_PURPOSE_EXE_PAYLOAD BuildInfra_Buildbucket_Agent_Purpose = 1 // This path contains data specifically for bbagent's own use. // // There's a proposal currently to add `nsjail` support to bbagent, and it // would need to bring a copy of `nsjail` in order to run the user binary // but we wouldn't necessarily want to expose it to the user binary. BuildInfra_Buildbucket_Agent_PURPOSE_BBAGENT_UTILITY BuildInfra_Buildbucket_Agent_Purpose = 2 )
func (BuildInfra_Buildbucket_Agent_Purpose) Descriptor ¶
func (BuildInfra_Buildbucket_Agent_Purpose) Descriptor() protoreflect.EnumDescriptor
func (BuildInfra_Buildbucket_Agent_Purpose) Enum ¶
func (x BuildInfra_Buildbucket_Agent_Purpose) Enum() *BuildInfra_Buildbucket_Agent_Purpose
func (BuildInfra_Buildbucket_Agent_Purpose) EnumDescriptor
deprecated
func (BuildInfra_Buildbucket_Agent_Purpose) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent_Purpose.Descriptor instead.
func (BuildInfra_Buildbucket_Agent_Purpose) Number ¶
func (x BuildInfra_Buildbucket_Agent_Purpose) Number() protoreflect.EnumNumber
func (BuildInfra_Buildbucket_Agent_Purpose) String ¶
func (x BuildInfra_Buildbucket_Agent_Purpose) String() string
func (BuildInfra_Buildbucket_Agent_Purpose) Type ¶
func (BuildInfra_Buildbucket_Agent_Purpose) Type() protoreflect.EnumType
type BuildInfra_Buildbucket_Agent_Source ¶
type BuildInfra_Buildbucket_Agent_Source struct { // Types that are assignable to DataType: // // *BuildInfra_Buildbucket_Agent_Source_Cipd DataType isBuildInfra_Buildbucket_Agent_Source_DataType `protobuf_oneof:"data_type"` // contains filtered or unexported fields }
Source describes where the Agent should be fetched from.
func (*BuildInfra_Buildbucket_Agent_Source) Descriptor
deprecated
func (*BuildInfra_Buildbucket_Agent_Source) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent_Source.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket_Agent_Source) GetCipd ¶
func (x *BuildInfra_Buildbucket_Agent_Source) GetCipd() *BuildInfra_Buildbucket_Agent_Source_CIPD
func (*BuildInfra_Buildbucket_Agent_Source) GetDataType ¶
func (m *BuildInfra_Buildbucket_Agent_Source) GetDataType() isBuildInfra_Buildbucket_Agent_Source_DataType
func (*BuildInfra_Buildbucket_Agent_Source) ProtoMessage ¶
func (*BuildInfra_Buildbucket_Agent_Source) ProtoMessage()
func (*BuildInfra_Buildbucket_Agent_Source) ProtoReflect ¶
func (x *BuildInfra_Buildbucket_Agent_Source) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket_Agent_Source) Reset ¶
func (x *BuildInfra_Buildbucket_Agent_Source) Reset()
func (*BuildInfra_Buildbucket_Agent_Source) String ¶
func (x *BuildInfra_Buildbucket_Agent_Source) String() string
type BuildInfra_Buildbucket_Agent_Source_CIPD ¶
type BuildInfra_Buildbucket_Agent_Source_CIPD struct { // The CIPD package to use for the agent. // // Must end in "/${platform}" with no other CIPD variables. // // If using an experimental agent binary, please make sure the package // prefix has been configured here - // https://chrome-internal.googlesource.com/infradata/config/+/refs/heads/main/configs/chrome-infra-packages/bootstrap.cfg Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` // The CIPD version to use for the agent. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The CIPD server to use. Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` // maps ${platform} -> instance_id for resolved agent packages. // // Will be overwritten at CreateBuild time, should be left empty // when creating a new Build. ResolvedInstances map[string]string `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) Descriptor
deprecated
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_Agent_Source_CIPD.ProtoReflect.Descriptor instead.
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) GetPackage ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetPackage() string
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) GetResolvedInstances ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetResolvedInstances() map[string]string
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) GetServer ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetServer() string
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) GetVersion ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) GetVersion() string
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoMessage ¶
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoMessage()
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoReflect ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) ProtoReflect() protoreflect.Message
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) Reset ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) Reset()
func (*BuildInfra_Buildbucket_Agent_Source_CIPD) String ¶
func (x *BuildInfra_Buildbucket_Agent_Source_CIPD) String() string
type BuildInfra_Buildbucket_Agent_Source_Cipd ¶
type BuildInfra_Buildbucket_Agent_Source_Cipd struct {
Cipd *BuildInfra_Buildbucket_Agent_Source_CIPD `protobuf:"bytes,1,opt,name=cipd,proto3,oneof"`
}
type BuildInfra_Buildbucket_ExperimentReason ¶
type BuildInfra_Buildbucket_ExperimentReason int32
const ( // This value is unused (i.e. if you see this, it's a bug). BuildInfra_Buildbucket_EXPERIMENT_REASON_UNSET BuildInfra_Buildbucket_ExperimentReason = 0 // This experiment was configured from the 'default_value' of a global // experiment. // // See go/buildbucket-settings.cfg for the list of global experiments. BuildInfra_Buildbucket_EXPERIMENT_REASON_GLOBAL_DEFAULT BuildInfra_Buildbucket_ExperimentReason = 1 // This experiment was configured from the Builder configuration. BuildInfra_Buildbucket_EXPERIMENT_REASON_BUILDER_CONFIG BuildInfra_Buildbucket_ExperimentReason = 2 // This experiment was configured from the 'minimum_value' of a global // experiment. // // See go/buildbucket-settings.cfg for the list of global experiments. BuildInfra_Buildbucket_EXPERIMENT_REASON_GLOBAL_MINIMUM BuildInfra_Buildbucket_ExperimentReason = 3 // This experiment was explicitly set from the ScheduleBuildRequest. BuildInfra_Buildbucket_EXPERIMENT_REASON_REQUESTED BuildInfra_Buildbucket_ExperimentReason = 4 // This experiment is inactive and so was removed from the Build. // // See go/buildbucket-settings.cfg for the list of global experiments. BuildInfra_Buildbucket_EXPERIMENT_REASON_GLOBAL_INACTIVE BuildInfra_Buildbucket_ExperimentReason = 5 )
func (BuildInfra_Buildbucket_ExperimentReason) Descriptor ¶
func (BuildInfra_Buildbucket_ExperimentReason) Descriptor() protoreflect.EnumDescriptor
func (BuildInfra_Buildbucket_ExperimentReason) EnumDescriptor
deprecated
func (BuildInfra_Buildbucket_ExperimentReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Buildbucket_ExperimentReason.Descriptor instead.
func (BuildInfra_Buildbucket_ExperimentReason) Number ¶
func (x BuildInfra_Buildbucket_ExperimentReason) Number() protoreflect.EnumNumber
func (BuildInfra_Buildbucket_ExperimentReason) String ¶
func (x BuildInfra_Buildbucket_ExperimentReason) String() string
func (BuildInfra_Buildbucket_ExperimentReason) Type ¶
func (BuildInfra_Buildbucket_ExperimentReason) Type() protoreflect.EnumType
type BuildInfra_LogDog ¶
type BuildInfra_LogDog struct { // LogDog hostname, e.g. "logs.chromium.org". Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // LogDog project, e.g. "chromium". // Typically matches Build.builder.project. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // A slash-separated path prefix shared by all logs and artifacts of this // build. // No other build can have the same prefix. // Can be used to discover logs and/or load log contents. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
LogDog-specific information.
func (*BuildInfra_LogDog) Descriptor
deprecated
func (*BuildInfra_LogDog) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_LogDog.ProtoReflect.Descriptor instead.
func (*BuildInfra_LogDog) GetHostname ¶
func (x *BuildInfra_LogDog) GetHostname() string
func (*BuildInfra_LogDog) GetPrefix ¶
func (x *BuildInfra_LogDog) GetPrefix() string
func (*BuildInfra_LogDog) GetProject ¶
func (x *BuildInfra_LogDog) GetProject() string
func (*BuildInfra_LogDog) ProtoMessage ¶
func (*BuildInfra_LogDog) ProtoMessage()
func (*BuildInfra_LogDog) ProtoReflect ¶
func (x *BuildInfra_LogDog) ProtoReflect() protoreflect.Message
func (*BuildInfra_LogDog) Reset ¶
func (x *BuildInfra_LogDog) Reset()
func (*BuildInfra_LogDog) String ¶
func (x *BuildInfra_LogDog) String() string
type BuildInfra_Recipe ¶
type BuildInfra_Recipe struct { // CIPD package name containing the recipe used to run this build. CipdPackage string `protobuf:"bytes,1,opt,name=cipd_package,json=cipdPackage,proto3" json:"cipd_package,omitempty"` // Name of the recipe used to run this build. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Recipe-specific information.
func (*BuildInfra_Recipe) Descriptor
deprecated
func (*BuildInfra_Recipe) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Recipe.ProtoReflect.Descriptor instead.
func (*BuildInfra_Recipe) GetCipdPackage ¶
func (x *BuildInfra_Recipe) GetCipdPackage() string
func (*BuildInfra_Recipe) GetName ¶
func (x *BuildInfra_Recipe) GetName() string
func (*BuildInfra_Recipe) ProtoMessage ¶
func (*BuildInfra_Recipe) ProtoMessage()
func (*BuildInfra_Recipe) ProtoReflect ¶
func (x *BuildInfra_Recipe) ProtoReflect() protoreflect.Message
func (*BuildInfra_Recipe) Reset ¶
func (x *BuildInfra_Recipe) Reset()
func (*BuildInfra_Recipe) String ¶
func (x *BuildInfra_Recipe) String() string
type BuildInfra_ResultDB ¶
type BuildInfra_ResultDB struct { // Hostname of the ResultDB instance, such as "results.api.cr.dev". Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Name of the invocation for results of this build. // Typically "invocations/build:<build_id>". Invocation string `protobuf:"bytes,2,opt,name=invocation,proto3" json:"invocation,omitempty"` // Whether to enable ResultDB:Buildbucket integration. Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` // Configuration for exporting test results to BigQuery. // This can have multiple values to export results to multiple BigQuery // tables, or to support multiple test result predicates. BqExports []*v1.BigQueryExport `protobuf:"bytes,4,rep,name=bq_exports,json=bqExports,proto3" json:"bq_exports,omitempty"` // Deprecated. Any values specified here are ignored. HistoryOptions *v1.HistoryOptions `protobuf:"bytes,5,opt,name=history_options,json=historyOptions,proto3" json:"history_options,omitempty"` // contains filtered or unexported fields }
ResultDB-specific information.
func (*BuildInfra_ResultDB) Descriptor
deprecated
func (*BuildInfra_ResultDB) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_ResultDB.ProtoReflect.Descriptor instead.
func (*BuildInfra_ResultDB) GetBqExports ¶
func (x *BuildInfra_ResultDB) GetBqExports() []*v1.BigQueryExport
func (*BuildInfra_ResultDB) GetEnable ¶
func (x *BuildInfra_ResultDB) GetEnable() bool
func (*BuildInfra_ResultDB) GetHistoryOptions ¶
func (x *BuildInfra_ResultDB) GetHistoryOptions() *v1.HistoryOptions
func (*BuildInfra_ResultDB) GetHostname ¶
func (x *BuildInfra_ResultDB) GetHostname() string
func (*BuildInfra_ResultDB) GetInvocation ¶
func (x *BuildInfra_ResultDB) GetInvocation() string
func (*BuildInfra_ResultDB) ProtoMessage ¶
func (*BuildInfra_ResultDB) ProtoMessage()
func (*BuildInfra_ResultDB) ProtoReflect ¶
func (x *BuildInfra_ResultDB) ProtoReflect() protoreflect.Message
func (*BuildInfra_ResultDB) Reset ¶
func (x *BuildInfra_ResultDB) Reset()
func (*BuildInfra_ResultDB) String ¶
func (x *BuildInfra_ResultDB) String() string
type BuildInfra_Swarming ¶
type BuildInfra_Swarming struct { // Swarming hostname, e.g. "chromium-swarm.appspot.com". // Populated at the build creation time. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Swarming task id. // Not guaranteed to be populated at the build creation time. TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // Swarming run id of the parent task from which this build is triggered. // If set, swarming promises to ensure this build won't outlive its parent // swarming task (which may or may not itself be a Buildbucket build). // Populated at the build creation time. ParentRunId string `protobuf:"bytes,9,opt,name=parent_run_id,json=parentRunId,proto3" json:"parent_run_id,omitempty"` // Task service account email address. // This is the service account used for all authenticated requests by the // build. TaskServiceAccount string `protobuf:"bytes,3,opt,name=task_service_account,json=taskServiceAccount,proto3" json:"task_service_account,omitempty"` // Priority of the task. The lower the more important. // Valid values are [20..255]. Priority int32 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"` // Swarming dimensions for the task. TaskDimensions []*RequestedDimension `protobuf:"bytes,5,rep,name=task_dimensions,json=taskDimensions,proto3" json:"task_dimensions,omitempty"` // Swarming dimensions of the bot used for the task. BotDimensions []*StringPair `protobuf:"bytes,6,rep,name=bot_dimensions,json=botDimensions,proto3" json:"bot_dimensions,omitempty"` // Caches requested by this build. Caches []*BuildInfra_Swarming_CacheEntry `protobuf:"bytes,7,rep,name=caches,proto3" json:"caches,omitempty"` // contains filtered or unexported fields }
Swarming-specific information.
Next ID: 10.
func (*BuildInfra_Swarming) Descriptor
deprecated
func (*BuildInfra_Swarming) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Swarming.ProtoReflect.Descriptor instead.
func (*BuildInfra_Swarming) GetBotDimensions ¶
func (x *BuildInfra_Swarming) GetBotDimensions() []*StringPair
func (*BuildInfra_Swarming) GetCaches ¶
func (x *BuildInfra_Swarming) GetCaches() []*BuildInfra_Swarming_CacheEntry
func (*BuildInfra_Swarming) GetHostname ¶
func (x *BuildInfra_Swarming) GetHostname() string
func (*BuildInfra_Swarming) GetParentRunId ¶
func (x *BuildInfra_Swarming) GetParentRunId() string
func (*BuildInfra_Swarming) GetPriority ¶
func (x *BuildInfra_Swarming) GetPriority() int32
func (*BuildInfra_Swarming) GetTaskDimensions ¶
func (x *BuildInfra_Swarming) GetTaskDimensions() []*RequestedDimension
func (*BuildInfra_Swarming) GetTaskId ¶
func (x *BuildInfra_Swarming) GetTaskId() string
func (*BuildInfra_Swarming) GetTaskServiceAccount ¶
func (x *BuildInfra_Swarming) GetTaskServiceAccount() string
func (*BuildInfra_Swarming) ProtoMessage ¶
func (*BuildInfra_Swarming) ProtoMessage()
func (*BuildInfra_Swarming) ProtoReflect ¶
func (x *BuildInfra_Swarming) ProtoReflect() protoreflect.Message
func (*BuildInfra_Swarming) Reset ¶
func (x *BuildInfra_Swarming) Reset()
func (*BuildInfra_Swarming) String ¶
func (x *BuildInfra_Swarming) String() string
type BuildInfra_Swarming_CacheEntry ¶
type BuildInfra_Swarming_CacheEntry struct { // Identifier of the cache. Required. Length is limited to 128. // Must be unique in the build. // // If the pool of swarming bots is shared among multiple LUCI projects and // projects use same cache name, the cache will be shared across projects. // To avoid affecting and being affected by other projects, prefix the // cache name with something project-specific, e.g. "v8-". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative path where the cache in mapped into. Required. // // Must use POSIX format (forward slashes). // In most cases, it does not need slashes at all. // // In recipes, use api.path['cache'].join(path) to get absolute path. // // Must be unique in the build. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Duration to wait for a bot with a warm cache to pick up the // task, before falling back to a bot with a cold (non-existent) cache. // // The default is 0, which means that no preference will be chosen for a // bot with this or without this cache, and a bot without this cache may // be chosen instead. // // If no bot has this cache warm, the task will skip this wait and will // immediately fallback to a cold cache request. // // The value must be multiples of 60 seconds. WaitForWarmCache *durationpb.Duration `protobuf:"bytes,3,opt,name=wait_for_warm_cache,json=waitForWarmCache,proto3" json:"wait_for_warm_cache,omitempty"` // Environment variable with this name will be set to the path to the cache // directory. EnvVar string `protobuf:"bytes,4,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"` // contains filtered or unexported fields }
Describes a cache directory persisted on a bot.
If a build requested a cache, the cache directory is available on build startup. If the cache was present on the bot, the directory contains files from the previous run on that bot. The build can read/write to the cache directory while it runs. After build completes, the cache directory is persisted. The next time another build requests the same cache and runs on the same bot, the files will still be there (unless the cache was evicted, perhaps due to disk space reasons).
One bot can keep multiple caches at the same time and one build can request multiple different caches. A cache is identified by its name and mapped to a path.
If the bot is running out of space, caches are evicted in LRU manner before the next build on this bot starts.
Builder cache.
Buildbucket implicitly declares cache
{"name": "<hash(project/bucket/builder)>", "path": "builder"}.
This means that any LUCI builder has a "personal disk space" on the bot. Builder cache is often a good start before customizing caching. In recipes, it is available at api.buildbucket.builder_cache_path.
func (*BuildInfra_Swarming_CacheEntry) Descriptor
deprecated
func (*BuildInfra_Swarming_CacheEntry) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfra_Swarming_CacheEntry.ProtoReflect.Descriptor instead.
func (*BuildInfra_Swarming_CacheEntry) GetEnvVar ¶
func (x *BuildInfra_Swarming_CacheEntry) GetEnvVar() string
func (*BuildInfra_Swarming_CacheEntry) GetName ¶
func (x *BuildInfra_Swarming_CacheEntry) GetName() string
func (*BuildInfra_Swarming_CacheEntry) GetPath ¶
func (x *BuildInfra_Swarming_CacheEntry) GetPath() string
func (*BuildInfra_Swarming_CacheEntry) GetWaitForWarmCache ¶
func (x *BuildInfra_Swarming_CacheEntry) GetWaitForWarmCache() *durationpb.Duration
func (*BuildInfra_Swarming_CacheEntry) ProtoMessage ¶
func (*BuildInfra_Swarming_CacheEntry) ProtoMessage()
func (*BuildInfra_Swarming_CacheEntry) ProtoReflect ¶
func (x *BuildInfra_Swarming_CacheEntry) ProtoReflect() protoreflect.Message
func (*BuildInfra_Swarming_CacheEntry) Reset ¶
func (x *BuildInfra_Swarming_CacheEntry) Reset()
func (*BuildInfra_Swarming_CacheEntry) String ¶
func (x *BuildInfra_Swarming_CacheEntry) String() string
type BuildMask ¶
type BuildMask struct { // Fields of the Build proto to include. // // Follows the standard FieldMask semantics as documented at e.g. // https://pkg.go.dev/google.golang.org/protobuf/types/known/fieldmaskpb. // // If not set, the default mask is used, see Build message comments for the // list of fields returned by default. Fields *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"` // Defines a subset of `input.properties` to return. // // When not empty, implicitly adds the corresponding field to `fields`. InputProperties []*structmask.StructMask `protobuf:"bytes,2,rep,name=input_properties,json=inputProperties,proto3" json:"input_properties,omitempty"` // Defines a subset of `output.properties` to return. // // When not empty, implicitly adds the corresponding field to `fields`. OutputProperties []*structmask.StructMask `protobuf:"bytes,3,rep,name=output_properties,json=outputProperties,proto3" json:"output_properties,omitempty"` // Defines a subset of `infra.buildbucket.requested_properties` to return. // // When not empty, implicitly adds the corresponding field to `fields`. RequestedProperties []*structmask.StructMask `protobuf:"bytes,4,rep,name=requested_properties,json=requestedProperties,proto3" json:"requested_properties,omitempty"` // Flag for including all fields. // // Mutually exclusive with `fields`, `input_properties`, `output_properties`, // and `requested_properties`. AllFields bool `protobuf:"varint,5,opt,name=all_fields,json=allFields,proto3" json:"all_fields,omitempty"` // A status to filter returned `steps` by. If unspecified, no filter is // applied. Otherwise filters by the union of the given statuses. // // No effect unless `fields` specifies that `steps` should be returned or // `all_fields` is true. StepStatus []Status `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Defines a subset of Build fields and properties to return.
func (*BuildMask) Descriptor
deprecated
func (*BuildMask) GetAllFields ¶
func (*BuildMask) GetFields ¶
func (x *BuildMask) GetFields() *fieldmaskpb.FieldMask
func (*BuildMask) GetInputProperties ¶
func (x *BuildMask) GetInputProperties() []*structmask.StructMask
func (*BuildMask) GetOutputProperties ¶
func (x *BuildMask) GetOutputProperties() []*structmask.StructMask
func (*BuildMask) GetRequestedProperties ¶
func (x *BuildMask) GetRequestedProperties() []*structmask.StructMask
func (*BuildMask) GetStepStatus ¶
func (*BuildMask) ProtoMessage ¶
func (*BuildMask) ProtoMessage()
func (*BuildMask) ProtoReflect ¶
func (x *BuildMask) ProtoReflect() protoreflect.Message
type BuildPredicate ¶
type BuildPredicate struct { // A build must be in this builder. Builder *BuilderID `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` // A build must have this status. Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=buildbucket.v2.Status" json:"status,omitempty"` // A build's Build.Input.gerrit_changes must include ALL of these changes. GerritChanges []*GerritChange `protobuf:"bytes,3,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"` // DEPRECATED // // Never implemented. OutputGitilesCommit *GitilesCommit `protobuf:"bytes,4,opt,name=output_gitiles_commit,json=outputGitilesCommit,proto3" json:"output_gitiles_commit,omitempty"` // A build must be created by this identity. CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // A build must have ALL of these tags. // For "ANY of these tags" make separate RPCs. Tags []*StringPair `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` // A build must have been created within the specified range. // Both boundaries are optional. CreateTime *TimeRange `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // If false (the default), equivalent to filtering by experiment // "-luci.non_production". // // If true, has no effect (both production and non_production builds will be // returned). // // NOTE: If you explicitly search for non_production builds with the experiment // filter "+luci.non_production", this is implied to be true. // // See `Builder.experiments` for well-known experiments. IncludeExperimental bool `protobuf:"varint,8,opt,name=include_experimental,json=includeExperimental,proto3" json:"include_experimental,omitempty"` // A build must be in this build range. Build *BuildRange `protobuf:"bytes,9,opt,name=build,proto3" json:"build,omitempty"` // DEPRECATED // // If YES, equivalent to filtering by experiment // "+luci.buildbucket.canary_software". // // If NO, equivalent to filtering by experiment // "-luci.buildbucket.canary_software". // // See `Builder.experiments` for well-known experiments. Canary Trinary `protobuf:"varint,10,opt,name=canary,proto3,enum=buildbucket.v2.Trinary" json:"canary,omitempty"` // A list of experiments to include or exclude from the search results. // // Each entry should look like "[-+]$experiment_name". // // A "+" prefix means that returned builds MUST have that experiment set. // A "-" prefix means that returned builds MUST NOT have that experiment set // // AND that experiment was known for the builder at the time the build // was scheduled (either via `Builder.experiments` or via // `ScheduleBuildRequest.experiments`). Well-known experiments are always // considered to be available. Experiments []string `protobuf:"bytes,11,rep,name=experiments,proto3" json:"experiments,omitempty"` // A build ID. // // Returned builds will be descendants of this build (e.g. "100" means // "any build transitively scheduled starting from build 100"). // // Mutually exclusive with `child_of`. DescendantOf int64 `protobuf:"varint,12,opt,name=descendant_of,json=descendantOf,proto3" json:"descendant_of,omitempty"` // A build ID. // // Returned builds will be only the immediate children of this build. // // Mutually exclusive with `descendant_of`. ChildOf int64 `protobuf:"varint,13,opt,name=child_of,json=childOf,proto3" json:"child_of,omitempty"` // contains filtered or unexported fields }
A build predicate.
At least one of the following fields is required: builder, gerrit_changes and git_commits. If a field value is empty, it is ignored, unless stated otherwise.
func (*BuildPredicate) Descriptor
deprecated
func (*BuildPredicate) Descriptor() ([]byte, []int)
Deprecated: Use BuildPredicate.ProtoReflect.Descriptor instead.