kubernetes/vendor/github.com/bazelbuild/buildtools/api_proto/api.gen.pb.go
2019-11-06 17:42:34 -05:00

318 lines
11 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: api_proto/api.proto
package api_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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 Output_Record_Field_ERROR int32
const (
Output_Record_Field_UNKNOWN Output_Record_Field_ERROR = 0
Output_Record_Field_MISSING Output_Record_Field_ERROR = 1
)
var Output_Record_Field_ERROR_name = map[int32]string{
0: "UNKNOWN",
1: "MISSING",
}
var Output_Record_Field_ERROR_value = map[string]int32{
"UNKNOWN": 0,
"MISSING": 1,
}
func (x Output_Record_Field_ERROR) String() string {
return proto.EnumName(Output_Record_Field_ERROR_name, int32(x))
}
func (Output_Record_Field_ERROR) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_35e560d0f079cc1d, []int{0, 0, 0, 0}
}
type Output struct {
Records []*Output_Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Output) Reset() { *m = Output{} }
func (m *Output) String() string { return proto.CompactTextString(m) }
func (*Output) ProtoMessage() {}
func (*Output) Descriptor() ([]byte, []int) {
return fileDescriptor_35e560d0f079cc1d, []int{0}
}
func (m *Output) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Output.Unmarshal(m, b)
}
func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Output.Marshal(b, m, deterministic)
}
func (m *Output) XXX_Merge(src proto.Message) {
xxx_messageInfo_Output.Merge(m, src)
}
func (m *Output) XXX_Size() int {
return xxx_messageInfo_Output.Size(m)
}
func (m *Output) XXX_DiscardUnknown() {
xxx_messageInfo_Output.DiscardUnknown(m)
}
var xxx_messageInfo_Output proto.InternalMessageInfo
func (m *Output) GetRecords() []*Output_Record {
if m != nil {
return m.Records
}
return nil
}
type Output_Record struct {
Fields []*Output_Record_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Output_Record) Reset() { *m = Output_Record{} }
func (m *Output_Record) String() string { return proto.CompactTextString(m) }
func (*Output_Record) ProtoMessage() {}
func (*Output_Record) Descriptor() ([]byte, []int) {
return fileDescriptor_35e560d0f079cc1d, []int{0, 0}
}
func (m *Output_Record) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Output_Record.Unmarshal(m, b)
}
func (m *Output_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Output_Record.Marshal(b, m, deterministic)
}
func (m *Output_Record) XXX_Merge(src proto.Message) {
xxx_messageInfo_Output_Record.Merge(m, src)
}
func (m *Output_Record) XXX_Size() int {
return xxx_messageInfo_Output_Record.Size(m)
}
func (m *Output_Record) XXX_DiscardUnknown() {
xxx_messageInfo_Output_Record.DiscardUnknown(m)
}
var xxx_messageInfo_Output_Record proto.InternalMessageInfo
func (m *Output_Record) GetFields() []*Output_Record_Field {
if m != nil {
return m.Fields
}
return nil
}
type Output_Record_Field struct {
// Types that are valid to be assigned to Value:
// *Output_Record_Field_Text
// *Output_Record_Field_Number
// *Output_Record_Field_Error
// *Output_Record_Field_List
Value isOutput_Record_Field_Value `protobuf_oneof:"value"`
QuoteWhenPrinting bool `protobuf:"varint,7,opt,name=quote_when_printing,json=quoteWhenPrinting,proto3" json:"quote_when_printing,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Output_Record_Field) Reset() { *m = Output_Record_Field{} }
func (m *Output_Record_Field) String() string { return proto.CompactTextString(m) }
func (*Output_Record_Field) ProtoMessage() {}
func (*Output_Record_Field) Descriptor() ([]byte, []int) {
return fileDescriptor_35e560d0f079cc1d, []int{0, 0, 0}
}
func (m *Output_Record_Field) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Output_Record_Field.Unmarshal(m, b)
}
func (m *Output_Record_Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Output_Record_Field.Marshal(b, m, deterministic)
}
func (m *Output_Record_Field) XXX_Merge(src proto.Message) {
xxx_messageInfo_Output_Record_Field.Merge(m, src)
}
func (m *Output_Record_Field) XXX_Size() int {
return xxx_messageInfo_Output_Record_Field.Size(m)
}
func (m *Output_Record_Field) XXX_DiscardUnknown() {
xxx_messageInfo_Output_Record_Field.DiscardUnknown(m)
}
var xxx_messageInfo_Output_Record_Field proto.InternalMessageInfo
type isOutput_Record_Field_Value interface {
isOutput_Record_Field_Value()
}
type Output_Record_Field_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Output_Record_Field_Number struct {
Number int32 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
}
type Output_Record_Field_Error struct {
Error Output_Record_Field_ERROR `protobuf:"varint,3,opt,name=error,proto3,enum=devtools.buildozer.Output_Record_Field_ERROR,oneof"`
}
type Output_Record_Field_List struct {
List *RepeatedString `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}
func (*Output_Record_Field_Text) isOutput_Record_Field_Value() {}
func (*Output_Record_Field_Number) isOutput_Record_Field_Value() {}
func (*Output_Record_Field_Error) isOutput_Record_Field_Value() {}
func (*Output_Record_Field_List) isOutput_Record_Field_Value() {}
func (m *Output_Record_Field) GetValue() isOutput_Record_Field_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Output_Record_Field) GetText() string {
if x, ok := m.GetValue().(*Output_Record_Field_Text); ok {
return x.Text
}
return ""
}
func (m *Output_Record_Field) GetNumber() int32 {
if x, ok := m.GetValue().(*Output_Record_Field_Number); ok {
return x.Number
}
return 0
}
func (m *Output_Record_Field) GetError() Output_Record_Field_ERROR {
if x, ok := m.GetValue().(*Output_Record_Field_Error); ok {
return x.Error
}
return Output_Record_Field_UNKNOWN
}
func (m *Output_Record_Field) GetList() *RepeatedString {
if x, ok := m.GetValue().(*Output_Record_Field_List); ok {
return x.List
}
return nil
}
func (m *Output_Record_Field) GetQuoteWhenPrinting() bool {
if m != nil {
return m.QuoteWhenPrinting
}
return false
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Output_Record_Field) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Output_Record_Field_Text)(nil),
(*Output_Record_Field_Number)(nil),
(*Output_Record_Field_Error)(nil),
(*Output_Record_Field_List)(nil),
}
}
type RepeatedString struct {
Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RepeatedString) Reset() { *m = RepeatedString{} }
func (m *RepeatedString) String() string { return proto.CompactTextString(m) }
func (*RepeatedString) ProtoMessage() {}
func (*RepeatedString) Descriptor() ([]byte, []int) {
return fileDescriptor_35e560d0f079cc1d, []int{1}
}
func (m *RepeatedString) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepeatedString.Unmarshal(m, b)
}
func (m *RepeatedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepeatedString.Marshal(b, m, deterministic)
}
func (m *RepeatedString) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepeatedString.Merge(m, src)
}
func (m *RepeatedString) XXX_Size() int {
return xxx_messageInfo_RepeatedString.Size(m)
}
func (m *RepeatedString) XXX_DiscardUnknown() {
xxx_messageInfo_RepeatedString.DiscardUnknown(m)
}
var xxx_messageInfo_RepeatedString proto.InternalMessageInfo
func (m *RepeatedString) GetStrings() []string {
if m != nil {
return m.Strings
}
return nil
}
func init() {
proto.RegisterEnum("devtools.buildozer.Output_Record_Field_ERROR", Output_Record_Field_ERROR_name, Output_Record_Field_ERROR_value)
proto.RegisterType((*Output)(nil), "devtools.buildozer.Output")
proto.RegisterType((*Output_Record)(nil), "devtools.buildozer.Output.Record")
proto.RegisterType((*Output_Record_Field)(nil), "devtools.buildozer.Output.Record.Field")
proto.RegisterType((*RepeatedString)(nil), "devtools.buildozer.RepeatedString")
}
func init() { proto.RegisterFile("api_proto/api.proto", fileDescriptor_35e560d0f079cc1d) }
var fileDescriptor_35e560d0f079cc1d = []byte{
// 346 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6a, 0xe3, 0x30,
0x10, 0x86, 0xad, 0x24, 0xb6, 0x37, 0x63, 0x08, 0x59, 0x65, 0x0f, 0x22, 0x27, 0xc7, 0x97, 0x35,
0x0b, 0xab, 0x85, 0xec, 0xa5, 0xd0, 0x43, 0x21, 0x90, 0x36, 0xa1, 0xd4, 0x29, 0x0a, 0x25, 0xd0,
0x4b, 0x70, 0x6a, 0x35, 0x11, 0xb8, 0x96, 0x2b, 0xcb, 0x69, 0xe9, 0x73, 0xf4, 0x21, 0xfa, 0x58,
0x7d, 0x94, 0x62, 0x39, 0x09, 0x94, 0x16, 0xda, 0x93, 0xe6, 0x9f, 0x99, 0xef, 0xff, 0x85, 0x10,
0xf4, 0xe2, 0x5c, 0x2c, 0x73, 0x25, 0xb5, 0xfc, 0x17, 0xe7, 0x82, 0x9a, 0x0a, 0xe3, 0x84, 0x6f,
0xb5, 0x94, 0x69, 0x41, 0x57, 0xa5, 0x48, 0x13, 0xf9, 0xc4, 0x55, 0xf0, 0xd2, 0x04, 0x67, 0x56,
0xea, 0xbc, 0xd4, 0xf8, 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