blob: 9ef3b4ad27a247974dddd546e2913885a17adb92 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: testplans/pointless_build.proto
package testplans
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
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{
0: "POINTLESS_BUILD_REASON_UNSPECIFIED",
1: "IRRELEVANT_TO_DEPS_GRAPH",
2: "IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES",
}
var PointlessBuildCheckResponse_PointlessBuildReason_value = map[string]int32{
"POINTLESS_BUILD_REASON_UNSPECIFIED": 0,
"IRRELEVANT_TO_DEPS_GRAPH": 1,
"IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES": 2,
}
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 https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
GerritChanges []*ProtoBytes `protobuf:"bytes,7,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
// A list of paths to be considered as relevant to the current build. Can
// be used instead of passing a full DepGraph.
RelevantPaths []*PointlessBuildCheckRequest_Path `protobuf:"bytes,9,rep,name=relevant_paths,json=relevantPaths,proto3" json:"relevant_paths,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() {
xxx_messageInfo_PointlessBuildCheckRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PointlessBuildCheckRequest proto.InternalMessageInfo
func (m *PointlessBuildCheckRequest) GetGerritChanges() []*ProtoBytes {
if m != nil {
return m.GerritChanges
}
return nil
}
func (m *PointlessBuildCheckRequest) GetRelevantPaths() []*PointlessBuildCheckRequest_Path {
if m != nil {
return m.RelevantPaths
}
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
}
type PointlessBuildCheckRequest_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PointlessBuildCheckRequest_Path) Reset() { *m = PointlessBuildCheckRequest_Path{} }
func (m *PointlessBuildCheckRequest_Path) String() string { return proto.CompactTextString(m) }
func (*PointlessBuildCheckRequest_Path) ProtoMessage() {}
func (*PointlessBuildCheckRequest_Path) Descriptor() ([]byte, []int) {
return fileDescriptor_65492a4cea7c5e67, []int{0, 0}
}
func (m *PointlessBuildCheckRequest_Path) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PointlessBuildCheckRequest_Path.Unmarshal(m, b)
}
func (m *PointlessBuildCheckRequest_Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PointlessBuildCheckRequest_Path.Marshal(b, m, deterministic)
}
func (m *PointlessBuildCheckRequest_Path) XXX_Merge(src proto.Message) {
xxx_messageInfo_PointlessBuildCheckRequest_Path.Merge(m, src)
}
func (m *PointlessBuildCheckRequest_Path) XXX_Size() int {
return xxx_messageInfo_PointlessBuildCheckRequest_Path.Size(m)
}
func (m *PointlessBuildCheckRequest_Path) XXX_DiscardUnknown() {
xxx_messageInfo_PointlessBuildCheckRequest_Path.DiscardUnknown(m)
}
var xxx_messageInfo_PointlessBuildCheckRequest_Path proto.InternalMessageInfo
func (m *PointlessBuildCheckRequest_Path) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
// 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() {
xxx_messageInfo_PointlessBuildCheckResponse.DiscardUnknown(m)
}
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
}
return PointlessBuildCheckResponse_POINTLESS_BUILD_REASON_UNSPECIFIED
}
func init() {
proto.RegisterEnum("testplans.PointlessBuildCheckResponse_PointlessBuildReason", PointlessBuildCheckResponse_PointlessBuildReason_name, PointlessBuildCheckResponse_PointlessBuildReason_value)
proto.RegisterType((*PointlessBuildCheckRequest)(nil), "testplans.PointlessBuildCheckRequest")
proto.RegisterType((*PointlessBuildCheckRequest_Path)(nil), "testplans.PointlessBuildCheckRequest.Path")
proto.RegisterType((*PointlessBuildCheckResponse)(nil), "testplans.PointlessBuildCheckResponse")
}
func init() { proto.RegisterFile("testplans/pointless_build.proto", fileDescriptor_65492a4cea7c5e67) }
var fileDescriptor_65492a4cea7c5e67 = []byte{
// 492 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x5d, 0x6f, 0xd3, 0x30,
0x14, 0x25, 0x65, 0x94, 0xd5, 0xd3, 0x4a, 0x65, 0x8d, 0x29, 0x0a, 0x08, 0xaa, 0x3e, 0x40, 0x05,
0x52, 0x22, 0x75, 0xe2, 0x09, 0x5e, 0xfa, 0x61, 0xb6, 0x40, 0x95, 0x04, 0xa7, 0x1b, 0x12, 0x2f,
0x96, 0x5b, 0xdc, 0xd4, 0x22, 0x89, 0x33, 0xdb, 0x01, 0xf1, 0x23, 0xf8, 0x3b, 0xfc, 0x28, 0x7e,
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