blob: d31c64a0daa7d91896197167bcc6e482ea75a020 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: testplans/pointless_build.proto
package testplans
import (
fmt "fmt"
proto ""
wrappers ""
api ""
math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type PointlessBuildCheckResponse_PointlessBuildReason int32
const (
PointlessBuildCheckResponse_POINTLESS_BUILD_REASON_UNSPECIFIED PointlessBuildCheckResponse_PointlessBuildReason = 0
PointlessBuildCheckResponse_IRRELEVANT_TO_DEPS_GRAPH PointlessBuildCheckResponse_PointlessBuildReason = 1
PointlessBuildCheckResponse_IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES PointlessBuildCheckResponse_PointlessBuildReason = 2
var PointlessBuildCheckResponse_PointlessBuildReason_name = map[int32]string{
var PointlessBuildCheckResponse_PointlessBuildReason_value = map[string]int32{
func (x PointlessBuildCheckResponse_PointlessBuildReason) String() string {
return proto.EnumName(PointlessBuildCheckResponse_PointlessBuildReason_name, int32(x))
func (PointlessBuildCheckResponse_PointlessBuildReason) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_65492a4cea7c5e67, []int{1, 0}
// The input proto for invocations of the Pointless Build Checker program.
type PointlessBuildCheckRequest struct {
// Serialized buildbucket GerritChanges, or none if this is a postsubmit run
// or similar. Explicit proto import is avoided here to prevent a dependency
// on the luci-go repo.
// See
GerritChanges []*ProtoBytes `protobuf:"bytes,7,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
// The DepGraph for a child builder. This can be left empty, implying that no
// DepGraph-based pointless build checking should be skipped.
DepGraph *api.DepGraph `protobuf:"bytes,5,opt,name=dep_graph,json=depGraph,proto3" json:"dep_graph,omitempty"`
// The manifest-internal snapshot commit hash that's being used for the current build.
// Note that manifest_commit will be soon replaced with gitiles_commit below.
ManifestCommit string `protobuf:"bytes,6,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
// Serialized buildbucket GitilesCommit, representing the manifest or
// manifest-internal commit to which the build is synced.
GitilesCommit *ProtoBytes `protobuf:"bytes,8,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *PointlessBuildCheckRequest) Reset() { *m = PointlessBuildCheckRequest{} }
func (m *PointlessBuildCheckRequest) String() string { return proto.CompactTextString(m) }
func (*PointlessBuildCheckRequest) ProtoMessage() {}
func (*PointlessBuildCheckRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_65492a4cea7c5e67, []int{0}
func (m *PointlessBuildCheckRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PointlessBuildCheckRequest.Unmarshal(m, b)
func (m *PointlessBuildCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PointlessBuildCheckRequest.Marshal(b, m, deterministic)
func (m *PointlessBuildCheckRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PointlessBuildCheckRequest.Merge(m, src)
func (m *PointlessBuildCheckRequest) XXX_Size() int {
return xxx_messageInfo_PointlessBuildCheckRequest.Size(m)
func (m *PointlessBuildCheckRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_PointlessBuildCheckRequest proto.InternalMessageInfo
func (m *PointlessBuildCheckRequest) GetGerritChanges() []*ProtoBytes {
if m != nil {
return m.GerritChanges
return nil
func (m *PointlessBuildCheckRequest) GetDepGraph() *api.DepGraph {
if m != nil {
return m.DepGraph
return nil
func (m *PointlessBuildCheckRequest) GetManifestCommit() string {
if m != nil {
return m.ManifestCommit
return ""
func (m *PointlessBuildCheckRequest) GetGitilesCommit() *ProtoBytes {
if m != nil {
return m.GitilesCommit
return nil
// The output proto for invocations of the Pointless Build Checker program.
type PointlessBuildCheckResponse struct {
// Whether the build is pointless and can be terminated without proceeding to
// building packages and testing.
BuildIsPointless *wrappers.BoolValue `protobuf:"bytes,1,opt,name=build_is_pointless,json=buildIsPointless,proto3" json:"build_is_pointless,omitempty"`
// If build_is_pointless, this is the reason that the Pointless Build Checker
// came to that conclusion. Otherwise, this is unspecified.
PointlessBuildReason PointlessBuildCheckResponse_PointlessBuildReason `protobuf:"varint,2,opt,name=pointless_build_reason,json=pointlessBuildReason,proto3,enum=testplans.PointlessBuildCheckResponse_PointlessBuildReason" json:"pointless_build_reason,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *PointlessBuildCheckResponse) Reset() { *m = PointlessBuildCheckResponse{} }
func (m *PointlessBuildCheckResponse) String() string { return proto.CompactTextString(m) }
func (*PointlessBuildCheckResponse) ProtoMessage() {}
func (*PointlessBuildCheckResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_65492a4cea7c5e67, []int{1}
func (m *PointlessBuildCheckResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PointlessBuildCheckResponse.Unmarshal(m, b)
func (m *PointlessBuildCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PointlessBuildCheckResponse.Marshal(b, m, deterministic)
func (m *PointlessBuildCheckResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_PointlessBuildCheckResponse.Merge(m, src)
func (m *PointlessBuildCheckResponse) XXX_Size() int {
return xxx_messageInfo_PointlessBuildCheckResponse.Size(m)
func (m *PointlessBuildCheckResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_PointlessBuildCheckResponse proto.InternalMessageInfo
func (m *PointlessBuildCheckResponse) GetBuildIsPointless() *wrappers.BoolValue {
if m != nil {
return m.BuildIsPointless
return nil
func (m *PointlessBuildCheckResponse) GetPointlessBuildReason() PointlessBuildCheckResponse_PointlessBuildReason {
if m != nil {
return m.PointlessBuildReason
func init() {
proto.RegisterEnum("testplans.PointlessBuildCheckResponse_PointlessBuildReason", PointlessBuildCheckResponse_PointlessBuildReason_name, PointlessBuildCheckResponse_PointlessBuildReason_value)
proto.RegisterType((*PointlessBuildCheckRequest)(nil), "testplans.PointlessBuildCheckRequest")
proto.RegisterType((*PointlessBuildCheckResponse)(nil), "testplans.PointlessBuildCheckResponse")
func init() { proto.RegisterFile("testplans/pointless_build.proto", fileDescriptor_65492a4cea7c5e67) }
var fileDescriptor_65492a4cea7c5e67 = []byte{
// 484 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0x5d, 0x8f, 0x12, 0x31,
0x14, 0x75, 0x30, 0xae, 0x4b, 0x37, 0x22, 0x99, 0xac, 0x64, 0xc2, 0x1a, 0x25, 0x3c, 0x28, 0x89,
0x49, 0x9b, 0x40, 0x7c, 0xd2, 0x17, 0x3e, 0x2a, 0x3b, 0x91, 0xcc, 0x4c, 0x3a, 0xec, 0x9a, 0xf8,
0xd2, 0x14, 0x28, 0x43, 0xe3, 0x30, 0xed, 0xb6, 0x25, 0xc6, 0x1f, 0xe1, 0x1f, 0xf5, 0x07, 0xf8,
0x6c, 0xe8, 0x30, 0xa8, 0x1b, 0xf6, 0x6d, 0x7a, 0xee, 0xb9, 0xf7, 0x9c, 0x7b, 0xcf, 0x80, 0xd7,
0x96, 0x1b, 0xab, 0x72, 0x56, 0x18, 0xa4, 0xa4, 0x28, 0x6c, 0xce, 0x8d, 0xa1, 0x8b, 0x9d, 0xc8,
0x57, 0x50, 0x69, 0x69, 0xa5, 0x5f, 0x3f, 0x12, 0xda, 0x57, 0xcb, 0x8d, 0x96, 0x5b, 0x61, 0x39,
0x62, 0x4a, 0xa0, 0x15, 0x57, 0x99, 0x66, 0x6a, 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