api.gen.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: api_proto/api.proto
  3. package api_proto
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type Output_Record_Field_ERROR int32
  19. const (
  20. Output_Record_Field_UNKNOWN Output_Record_Field_ERROR = 0
  21. Output_Record_Field_MISSING Output_Record_Field_ERROR = 1
  22. )
  23. var Output_Record_Field_ERROR_name = map[int32]string{
  24. 0: "UNKNOWN",
  25. 1: "MISSING",
  26. }
  27. var Output_Record_Field_ERROR_value = map[string]int32{
  28. "UNKNOWN": 0,
  29. "MISSING": 1,
  30. }
  31. func (x Output_Record_Field_ERROR) String() string {
  32. return proto.EnumName(Output_Record_Field_ERROR_name, int32(x))
  33. }
  34. func (Output_Record_Field_ERROR) EnumDescriptor() ([]byte, []int) {
  35. return fileDescriptor_35e560d0f079cc1d, []int{0, 0, 0, 0}
  36. }
  37. type Output struct {
  38. Records []*Output_Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
  39. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  40. XXX_unrecognized []byte `json:"-"`
  41. XXX_sizecache int32 `json:"-"`
  42. }
  43. func (m *Output) Reset() { *m = Output{} }
  44. func (m *Output) String() string { return proto.CompactTextString(m) }
  45. func (*Output) ProtoMessage() {}
  46. func (*Output) Descriptor() ([]byte, []int) {
  47. return fileDescriptor_35e560d0f079cc1d, []int{0}
  48. }
  49. func (m *Output) XXX_Unmarshal(b []byte) error {
  50. return xxx_messageInfo_Output.Unmarshal(m, b)
  51. }
  52. func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  53. return xxx_messageInfo_Output.Marshal(b, m, deterministic)
  54. }
  55. func (m *Output) XXX_Merge(src proto.Message) {
  56. xxx_messageInfo_Output.Merge(m, src)
  57. }
  58. func (m *Output) XXX_Size() int {
  59. return xxx_messageInfo_Output.Size(m)
  60. }
  61. func (m *Output) XXX_DiscardUnknown() {
  62. xxx_messageInfo_Output.DiscardUnknown(m)
  63. }
  64. var xxx_messageInfo_Output proto.InternalMessageInfo
  65. func (m *Output) GetRecords() []*Output_Record {
  66. if m != nil {
  67. return m.Records
  68. }
  69. return nil
  70. }
  71. type Output_Record struct {
  72. Fields []*Output_Record_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  73. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  74. XXX_unrecognized []byte `json:"-"`
  75. XXX_sizecache int32 `json:"-"`
  76. }
  77. func (m *Output_Record) Reset() { *m = Output_Record{} }
  78. func (m *Output_Record) String() string { return proto.CompactTextString(m) }
  79. func (*Output_Record) ProtoMessage() {}
  80. func (*Output_Record) Descriptor() ([]byte, []int) {
  81. return fileDescriptor_35e560d0f079cc1d, []int{0, 0}
  82. }
  83. func (m *Output_Record) XXX_Unmarshal(b []byte) error {
  84. return xxx_messageInfo_Output_Record.Unmarshal(m, b)
  85. }
  86. func (m *Output_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  87. return xxx_messageInfo_Output_Record.Marshal(b, m, deterministic)
  88. }
  89. func (m *Output_Record) XXX_Merge(src proto.Message) {
  90. xxx_messageInfo_Output_Record.Merge(m, src)
  91. }
  92. func (m *Output_Record) XXX_Size() int {
  93. return xxx_messageInfo_Output_Record.Size(m)
  94. }
  95. func (m *Output_Record) XXX_DiscardUnknown() {
  96. xxx_messageInfo_Output_Record.DiscardUnknown(m)
  97. }
  98. var xxx_messageInfo_Output_Record proto.InternalMessageInfo
  99. func (m *Output_Record) GetFields() []*Output_Record_Field {
  100. if m != nil {
  101. return m.Fields
  102. }
  103. return nil
  104. }
  105. type Output_Record_Field struct {
  106. // Types that are valid to be assigned to Value:
  107. // *Output_Record_Field_Text
  108. // *Output_Record_Field_Number
  109. // *Output_Record_Field_Error
  110. // *Output_Record_Field_List
  111. Value isOutput_Record_Field_Value `protobuf_oneof:"value"`
  112. QuoteWhenPrinting bool `protobuf:"varint,7,opt,name=quote_when_printing,json=quoteWhenPrinting,proto3" json:"quote_when_printing,omitempty"`
  113. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  114. XXX_unrecognized []byte `json:"-"`
  115. XXX_sizecache int32 `json:"-"`
  116. }
  117. func (m *Output_Record_Field) Reset() { *m = Output_Record_Field{} }
  118. func (m *Output_Record_Field) String() string { return proto.CompactTextString(m) }
  119. func (*Output_Record_Field) ProtoMessage() {}
  120. func (*Output_Record_Field) Descriptor() ([]byte, []int) {
  121. return fileDescriptor_35e560d0f079cc1d, []int{0, 0, 0}
  122. }
  123. func (m *Output_Record_Field) XXX_Unmarshal(b []byte) error {
  124. return xxx_messageInfo_Output_Record_Field.Unmarshal(m, b)
  125. }
  126. func (m *Output_Record_Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  127. return xxx_messageInfo_Output_Record_Field.Marshal(b, m, deterministic)
  128. }
  129. func (m *Output_Record_Field) XXX_Merge(src proto.Message) {
  130. xxx_messageInfo_Output_Record_Field.Merge(m, src)
  131. }
  132. func (m *Output_Record_Field) XXX_Size() int {
  133. return xxx_messageInfo_Output_Record_Field.Size(m)
  134. }
  135. func (m *Output_Record_Field) XXX_DiscardUnknown() {
  136. xxx_messageInfo_Output_Record_Field.DiscardUnknown(m)
  137. }
  138. var xxx_messageInfo_Output_Record_Field proto.InternalMessageInfo
  139. type isOutput_Record_Field_Value interface {
  140. isOutput_Record_Field_Value()
  141. }
  142. type Output_Record_Field_Text struct {
  143. Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
  144. }
  145. type Output_Record_Field_Number struct {
  146. Number int32 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
  147. }
  148. type Output_Record_Field_Error struct {
  149. Error Output_Record_Field_ERROR `protobuf:"varint,3,opt,name=error,proto3,enum=devtools.buildozer.Output_Record_Field_ERROR,oneof"`
  150. }
  151. type Output_Record_Field_List struct {
  152. List *RepeatedString `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
  153. }
  154. func (*Output_Record_Field_Text) isOutput_Record_Field_Value() {}
  155. func (*Output_Record_Field_Number) isOutput_Record_Field_Value() {}
  156. func (*Output_Record_Field_Error) isOutput_Record_Field_Value() {}
  157. func (*Output_Record_Field_List) isOutput_Record_Field_Value() {}
  158. func (m *Output_Record_Field) GetValue() isOutput_Record_Field_Value {
  159. if m != nil {
  160. return m.Value
  161. }
  162. return nil
  163. }
  164. func (m *Output_Record_Field) GetText() string {
  165. if x, ok := m.GetValue().(*Output_Record_Field_Text); ok {
  166. return x.Text
  167. }
  168. return ""
  169. }
  170. func (m *Output_Record_Field) GetNumber() int32 {
  171. if x, ok := m.GetValue().(*Output_Record_Field_Number); ok {
  172. return x.Number
  173. }
  174. return 0
  175. }
  176. func (m *Output_Record_Field) GetError() Output_Record_Field_ERROR {
  177. if x, ok := m.GetValue().(*Output_Record_Field_Error); ok {
  178. return x.Error
  179. }
  180. return Output_Record_Field_UNKNOWN
  181. }
  182. func (m *Output_Record_Field) GetList() *RepeatedString {
  183. if x, ok := m.GetValue().(*Output_Record_Field_List); ok {
  184. return x.List
  185. }
  186. return nil
  187. }
  188. func (m *Output_Record_Field) GetQuoteWhenPrinting() bool {
  189. if m != nil {
  190. return m.QuoteWhenPrinting
  191. }
  192. return false
  193. }
  194. // XXX_OneofWrappers is for the internal use of the proto package.
  195. func (*Output_Record_Field) XXX_OneofWrappers() []interface{} {
  196. return []interface{}{
  197. (*Output_Record_Field_Text)(nil),
  198. (*Output_Record_Field_Number)(nil),
  199. (*Output_Record_Field_Error)(nil),
  200. (*Output_Record_Field_List)(nil),
  201. }
  202. }
  203. type RepeatedString struct {
  204. Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
  205. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  206. XXX_unrecognized []byte `json:"-"`
  207. XXX_sizecache int32 `json:"-"`
  208. }
  209. func (m *RepeatedString) Reset() { *m = RepeatedString{} }
  210. func (m *RepeatedString) String() string { return proto.CompactTextString(m) }
  211. func (*RepeatedString) ProtoMessage() {}
  212. func (*RepeatedString) Descriptor() ([]byte, []int) {
  213. return fileDescriptor_35e560d0f079cc1d, []int{1}
  214. }
  215. func (m *RepeatedString) XXX_Unmarshal(b []byte) error {
  216. return xxx_messageInfo_RepeatedString.Unmarshal(m, b)
  217. }
  218. func (m *RepeatedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  219. return xxx_messageInfo_RepeatedString.Marshal(b, m, deterministic)
  220. }
  221. func (m *RepeatedString) XXX_Merge(src proto.Message) {
  222. xxx_messageInfo_RepeatedString.Merge(m, src)
  223. }
  224. func (m *RepeatedString) XXX_Size() int {
  225. return xxx_messageInfo_RepeatedString.Size(m)
  226. }
  227. func (m *RepeatedString) XXX_DiscardUnknown() {
  228. xxx_messageInfo_RepeatedString.DiscardUnknown(m)
  229. }
  230. var xxx_messageInfo_RepeatedString proto.InternalMessageInfo
  231. func (m *RepeatedString) GetStrings() []string {
  232. if m != nil {
  233. return m.Strings
  234. }
  235. return nil
  236. }
  237. func init() {
  238. proto.RegisterEnum("devtools.buildozer.Output_Record_Field_ERROR", Output_Record_Field_ERROR_name, Output_Record_Field_ERROR_value)
  239. proto.RegisterType((*Output)(nil), "devtools.buildozer.Output")
  240. proto.RegisterType((*Output_Record)(nil), "devtools.buildozer.Output.Record")
  241. proto.RegisterType((*Output_Record_Field)(nil), "devtools.buildozer.Output.Record.Field")
  242. proto.RegisterType((*RepeatedString)(nil), "devtools.buildozer.RepeatedString")
  243. }
  244. func init() { proto.RegisterFile("api_proto/api.proto", fileDescriptor_35e560d0f079cc1d) }
  245. var fileDescriptor_35e560d0f079cc1d = []byte{
  246. // 346 bytes of a gzipped FileDescriptorProto
  247. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6a, 0xe3, 0x30,
  248. 0x10, 0x86, 0xad, 0x24, 0xb6, 0x37, 0x63, 0x08, 0x59, 0x65, 0x0f, 0x22, 0x27, 0xc7, 0x97, 0x35,
  249. 0x0b, 0xab, 0x85, 0xec, 0xa5, 0xd0, 0x43, 0x21, 0x90, 0x36, 0xa1, 0xd4, 0x29, 0x0a, 0x25, 0xd0,
  250. 0x4b, 0x70, 0x6a, 0x35, 0x11, 0xb8, 0x96, 0x2b, 0xcb, 0x69, 0xe9, 0x73, 0xf4, 0x21, 0xfa, 0x58,
  251. 0x7d, 0x94, 0x62, 0x39, 0x09, 0x94, 0x16, 0xda, 0x93, 0xe6, 0x9f, 0x99, 0xef, 0xff, 0x85, 0x10,
  252. 0xf4, 0xe2, 0x5c, 0x2c, 0x73, 0x25, 0xb5, 0xfc, 0x17, 0xe7, 0x82, 0x9a, 0x0a, 0xe3, 0x84, 0x6f,
  253. 0xb5, 0x94, 0x69, 0x41, 0x57, 0xa5, 0x48, 0x13, 0xf9, 0xc4, 0x55, 0xf0, 0xd2, 0x04, 0x67, 0x56,
  254. 0xea, 0xbc, 0xd4, 0xf8, 0x18, 0x5c, 0xc5, 0x6f, 0xa4, 0x4a, 0x0a, 0x82, 0xfc, 0x66, 0xe8, 0x0d,
  255. 0x07, 0xf4, 0x23, 0x40, 0xeb, 0x65, 0xca, 0xcc, 0x26, 0xdb, 0x13, 0xfd, 0xd7, 0x06, 0x38, 0x75,
  256. 0x0f, 0x9f, 0x80, 0x73, 0x2b, 0x78, 0x7a, 0xb0, 0xf9, 0xfd, 0xa5, 0x0d, 0x3d, 0xad, 0xf6, 0xd9,
  257. 0x0e, 0xeb, 0x3f, 0x37, 0xc0, 0x36, 0x1d, 0xfc, 0x0b, 0x5a, 0x9a, 0x3f, 0x6a, 0x82, 0x7c, 0x14,
  258. 0xb6, 0x27, 0x16, 0x33, 0x0a, 0x13, 0x70, 0xb2, 0xf2, 0x6e, 0xc5, 0x15, 0x69, 0xf8, 0x28, 0xb4,
  259. 0x27, 0x16, 0xdb, 0x69, 0x3c, 0x06, 0x9b, 0x2b, 0x25, 0x15, 0x69, 0xfa, 0x28, 0xec, 0x0c, 0xff,
  260. 0x7e, 0x33, 0x99, 0x8e, 0x19, 0x9b, 0xb1, 0x89, 0xc5, 0x6a, 0x1a, 0x1f, 0x41, 0x2b, 0x15, 0x85,
  261. 0x26, 0xb6, 0x8f, 0x42, 0x6f, 0x18, 0x7c, 0xe6, 0xc2, 0x78, 0xce, 0x63, 0xcd, 0x93, 0xb9, 0x56,
  262. 0x22, 0x5b, 0x57, 0x57, 0xab, 0x08, 0x4c, 0xa1, 0x77, 0x5f, 0x4a, 0xcd, 0x97, 0x0f, 0x1b, 0x9e,
  263. 0x2d, 0x73, 0x25, 0x32, 0x2d, 0xb2, 0x35, 0x71, 0x7d, 0x14, 0xfe, 0x60, 0x3f, 0xcd, 0x68, 0xb1,
  264. 0xe1, 0xd9, 0xe5, 0x6e, 0x10, 0x0c, 0xc0, 0x36, 0xd9, 0xd8, 0x03, 0xf7, 0x2a, 0x3a, 0x8f, 0x66,
  265. 0x8b, 0xa8, 0x6b, 0x55, 0xe2, 0x62, 0x3a, 0x9f, 0x4f, 0xa3, 0xb3, 0x2e, 0x1a, 0xb9, 0x60, 0x6f,
  266. 0xe3, 0xb4, 0xe4, 0xc1, 0x1f, 0xe8, 0xbc, 0x4f, 0xc5, 0x04, 0xdc, 0xc2, 0x54, 0xf5, 0x53, 0xb7,
  267. 0xd9, 0x5e, 0x8e, 0xbc, 0xeb, 0xf6, 0xe1, 0x07, 0xac, 0x1c, 0x73, 0xfc, 0x7f, 0x0b, 0x00, 0x00,
  268. 0xff, 0xff, 0xa1, 0xc3, 0xf5, 0x19, 0x15, 0x02, 0x00, 0x00,
  269. }