1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: build_error.proto 3 4package soong_build_error_proto 5 6import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10) 11 12// Reference imports to suppress errors if they are not otherwise used. 13var _ = proto.Marshal 14var _ = fmt.Errorf 15var _ = math.Inf 16 17// This is a compile-time assertion to ensure that this generated file 18// is compatible with the proto package it is being compiled against. 19// A compilation error at this line likely means your copy of the 20// proto package needs to be updated. 21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23type BuildError struct { 24 // List of error messages of the overall build. The error messages 25 // are not associated with a build action. 26 ErrorMessages []string `protobuf:"bytes,1,rep,name=error_messages,json=errorMessages" json:"error_messages,omitempty"` 27 // List of build action errors. 28 ActionErrors []*BuildActionError `protobuf:"bytes,2,rep,name=action_errors,json=actionErrors" json:"action_errors,omitempty"` 29 XXX_NoUnkeyedLiteral struct{} `json:"-"` 30 XXX_unrecognized []byte `json:"-"` 31 XXX_sizecache int32 `json:"-"` 32} 33 34func (m *BuildError) Reset() { *m = BuildError{} } 35func (m *BuildError) String() string { return proto.CompactTextString(m) } 36func (*BuildError) ProtoMessage() {} 37func (*BuildError) Descriptor() ([]byte, []int) { 38 return fileDescriptor_a2e15b05802a5501, []int{0} 39} 40 41func (m *BuildError) XXX_Unmarshal(b []byte) error { 42 return xxx_messageInfo_BuildError.Unmarshal(m, b) 43} 44func (m *BuildError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 45 return xxx_messageInfo_BuildError.Marshal(b, m, deterministic) 46} 47func (m *BuildError) XXX_Merge(src proto.Message) { 48 xxx_messageInfo_BuildError.Merge(m, src) 49} 50func (m *BuildError) XXX_Size() int { 51 return xxx_messageInfo_BuildError.Size(m) 52} 53func (m *BuildError) XXX_DiscardUnknown() { 54 xxx_messageInfo_BuildError.DiscardUnknown(m) 55} 56 57var xxx_messageInfo_BuildError proto.InternalMessageInfo 58 59func (m *BuildError) GetErrorMessages() []string { 60 if m != nil { 61 return m.ErrorMessages 62 } 63 return nil 64} 65 66func (m *BuildError) GetActionErrors() []*BuildActionError { 67 if m != nil { 68 return m.ActionErrors 69 } 70 return nil 71} 72 73// Build is composed of a list of build action. There can be a set of build 74// actions that can failed. 75type BuildActionError struct { 76 // Description of the command. 77 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` 78 // The command name that raised the error. 79 Command *string `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` 80 // The command output stream. 81 Output *string `protobuf:"bytes,3,opt,name=output" json:"output,omitempty"` 82 // List of artifacts (i.e. files) that was produced by the command. 83 Artifacts []string `protobuf:"bytes,4,rep,name=artifacts" json:"artifacts,omitempty"` 84 // The error string produced by the build action. 85 Error *string `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"` 86 XXX_NoUnkeyedLiteral struct{} `json:"-"` 87 XXX_unrecognized []byte `json:"-"` 88 XXX_sizecache int32 `json:"-"` 89} 90 91func (m *BuildActionError) Reset() { *m = BuildActionError{} } 92func (m *BuildActionError) String() string { return proto.CompactTextString(m) } 93func (*BuildActionError) ProtoMessage() {} 94func (*BuildActionError) Descriptor() ([]byte, []int) { 95 return fileDescriptor_a2e15b05802a5501, []int{1} 96} 97 98func (m *BuildActionError) XXX_Unmarshal(b []byte) error { 99 return xxx_messageInfo_BuildActionError.Unmarshal(m, b) 100} 101func (m *BuildActionError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 102 return xxx_messageInfo_BuildActionError.Marshal(b, m, deterministic) 103} 104func (m *BuildActionError) XXX_Merge(src proto.Message) { 105 xxx_messageInfo_BuildActionError.Merge(m, src) 106} 107func (m *BuildActionError) XXX_Size() int { 108 return xxx_messageInfo_BuildActionError.Size(m) 109} 110func (m *BuildActionError) XXX_DiscardUnknown() { 111 xxx_messageInfo_BuildActionError.DiscardUnknown(m) 112} 113 114var xxx_messageInfo_BuildActionError proto.InternalMessageInfo 115 116func (m *BuildActionError) GetDescription() string { 117 if m != nil && m.Description != nil { 118 return *m.Description 119 } 120 return "" 121} 122 123func (m *BuildActionError) GetCommand() string { 124 if m != nil && m.Command != nil { 125 return *m.Command 126 } 127 return "" 128} 129 130func (m *BuildActionError) GetOutput() string { 131 if m != nil && m.Output != nil { 132 return *m.Output 133 } 134 return "" 135} 136 137func (m *BuildActionError) GetArtifacts() []string { 138 if m != nil { 139 return m.Artifacts 140 } 141 return nil 142} 143 144func (m *BuildActionError) GetError() string { 145 if m != nil && m.Error != nil { 146 return *m.Error 147 } 148 return "" 149} 150 151func init() { 152 proto.RegisterType((*BuildError)(nil), "soong_build_error.BuildError") 153 proto.RegisterType((*BuildActionError)(nil), "soong_build_error.BuildActionError") 154} 155 156func init() { proto.RegisterFile("build_error.proto", fileDescriptor_a2e15b05802a5501) } 157 158var fileDescriptor_a2e15b05802a5501 = []byte{ 159 // 229 bytes of a gzipped FileDescriptorProto 160 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc3, 0x40, 161 0x10, 0x86, 0x49, 0x63, 0x95, 0x4c, 0xad, 0xd8, 0x41, 0x74, 0x04, 0x0f, 0xa1, 0x22, 0xe4, 0x94, 162 0x83, 0x6f, 0x60, 0x41, 0xf0, 0xe2, 0x25, 0x47, 0x2f, 0x61, 0xdd, 0xac, 0x65, 0xc1, 0x64, 0xc2, 163 0xce, 0xe6, 0xe8, 0x8b, 0xf8, 0xb4, 0x92, 0x69, 0xa5, 0xa5, 0x39, 0x7e, 0xdf, 0x3f, 0xfb, 0xef, 164 0xce, 0xc2, 0xea, 0x73, 0xf0, 0xdf, 0x4d, 0xed, 0x42, 0xe0, 0x50, 0xf6, 0x81, 0x23, 0xe3, 0x4a, 165 0x98, 0xbb, 0x6d, 0x7d, 0x14, 0xac, 0x7f, 0x00, 0x36, 0x23, 0xbe, 0x8e, 0x84, 0x4f, 0x70, 0xa5, 166 0xba, 0x6e, 0x9d, 0x88, 0xd9, 0x3a, 0xa1,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