blob: 2a7f4eceb9814a4e321c37449df0d4e8db262419 [file] [log] [blame] [edit]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: deps_proto/deps.proto
/*
Package deps_proto is a generated protocol buffer package.
It is generated from these files:
deps_proto/deps.proto
It has these top-level messages:
SourceLocation
Dependency
Dependencies
*/
package deps_proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
type Dependency_Kind int32
const (
Dependency_EXPLICIT Dependency_Kind = 0
Dependency_IMPLICIT Dependency_Kind = 1
Dependency_UNUSED Dependency_Kind = 2
Dependency_INCOMPLETE Dependency_Kind = 3
)
var Dependency_Kind_name = map[int32]string{
0: "EXPLICIT",
1: "IMPLICIT",
2: "UNUSED",
3: "INCOMPLETE",
}
var Dependency_Kind_value = map[string]int32{
"EXPLICIT": 0,
"IMPLICIT": 1,
"UNUSED": 2,
"INCOMPLETE": 3,
}
func (x Dependency_Kind) Enum() *Dependency_Kind {
p := new(Dependency_Kind)
*p = x
return p
}
func (x Dependency_Kind) String() string {
return proto.EnumName(Dependency_Kind_name, int32(x))
}
func (x *Dependency_Kind) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(Dependency_Kind_value, data, "Dependency_Kind")
if err != nil {
return err
}
*x = Dependency_Kind(value)
return nil
}
func (Dependency_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
type SourceLocation struct {
Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
Line *int32 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
Column *int32 `protobuf:"varint,3,opt,name=column" json:"column,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
func (*SourceLocation) ProtoMessage() {}
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *SourceLocation) GetPath() string {
if m != nil && m.Path != nil {
return *m.Path
}
return ""
}
func (m *SourceLocation) GetLine() int32 {
if m != nil && m.Line != nil {
return *m.Line
}
return 0
}
func (m *SourceLocation) GetColumn() int32 {
if m != nil && m.Column != nil {
return *m.Column
}
return 0
}
type Dependency struct {
Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
Kind *Dependency_Kind `protobuf:"varint,2,req,name=kind,enum=blaze_deps.Dependency_Kind" json:"kind,omitempty"`
Location []*SourceLocation `protobuf:"bytes,3,rep,name=location" json:"location,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Dependency) Reset() { *m = Dependency{} }
func (m *Dependency) String() string { return proto.CompactTextString(m) }
func (*Dependency) ProtoMessage() {}
func (*Dependency) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Dependency) GetPath() string {
if m != nil && m.Path != nil {
return *m.Path
}
return ""
}
func (m *Dependency) GetKind() Dependency_Kind {
if m != nil && m.Kind != nil {
return *m.Kind
}
return Dependency_EXPLICIT
}
func (m *Dependency) GetLocation() []*SourceLocation {
if m != nil {
return m.Location
}
return nil
}
type Dependencies struct {
Dependency []*Dependency `protobuf:"bytes,1,rep,name=dependency" json:"dependency,omitempty"`
RuleLabel *string `protobuf:"bytes,2,opt,name=rule_label,json=ruleLabel" json:"rule_label,omitempty"`
Success *bool `protobuf:"varint,3,opt,name=success" json:"success,omitempty"`
ContainedPackage []string `protobuf:"bytes,4,rep,name=contained_package,json=containedPackage" json:"contained_package,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Dependencies) Reset() { *m = Dependencies{} }
func (m *Dependencies) String() string { return proto.CompactTextString(m) }
func (*Dependencies) ProtoMessage() {}
func (*Dependencies) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Dependencies) GetDependency() []*Dependency {
if m != nil {
return m.Dependency
}
return nil
}
func (m *Dependencies) GetRuleLabel() string {
if m != nil && m.RuleLabel != nil {
return *m.RuleLabel
}
return ""
}
func (m *Dependencies) GetSuccess() bool {
if m != nil && m.Success != nil {
return *m.Success
}
return false
}
func (m *Dependencies) GetContainedPackage() []string {
if m != nil {
return m.ContainedPackage
}
return nil
}
func init() {
proto.RegisterType((*SourceLocation)(nil), "blaze_deps.SourceLocation")
proto.RegisterType((*Dependency)(nil), "blaze_deps.Dependency")
proto.RegisterType((*Dependencies)(nil), "blaze_deps.Dependencies")
proto.RegisterEnum("blaze_deps.Dependency_Kind", Dependency_Kind_name, Dependency_Kind_value)
}
func init() { proto.RegisterFile("deps_proto/deps.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 362 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xd4, 0x40,
0x14, 0xc5, 0xcd, 0x1f, 0xeb, 0xe6, 0x5a, 0x96, 0x38, 0x60, 0x19, 0x14, 0x21, 0xe4, 0x29, 0x28,
0x4c, 0xa1, 0x0f, 0x7d, 0xf4, 0xc1, 0x36, 0x0f, 0xc1, 0xb4, 0x86, 0x69, 0x0b, 0xbe, 0x85, 0x64,
0xe6, 0xb2, 0x0e, 0x9d, 0xce, 0x84, 0x4d, 0xb2, 0xa2, 0x9f, 0xc9, 0x2f, 0xe2, 0xb7, 0x92, 0xcc,
0xae, 0xd9, 0x2d, 0xec, 0xdb, 0x39, 0x27, 0xe7, 0x5e, 0x7e, 0xb9, 0x0c, 0xbc, 0x95, 0xd8, 0xf5,
0x75, 0xb7, 0xb6, 0x83, 0x3d, 0x9f, 0x24, 0x73, 0x92, 0x40, 0xab, 0x9b, 0xdf, 0x58, 0x4f, 0x49,
0x5a, 0xc1, 0xf2, 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