...

Package api_proto

import "github.com/bazelbuild/buildtools/api_proto"
Overview
Index

Overview ▾

Index ▾

Variables
type Output
    func (*Output) Descriptor() ([]byte, []int)
    func (x *Output) GetRecords() []*Output_Record
    func (*Output) ProtoMessage()
    func (x *Output) ProtoReflect() protoreflect.Message
    func (x *Output) Reset()
    func (x *Output) String() string
type Output_Record
    func (*Output_Record) Descriptor() ([]byte, []int)
    func (x *Output_Record) GetFields() []*Output_Record_Field
    func (*Output_Record) ProtoMessage()
    func (x *Output_Record) ProtoReflect() protoreflect.Message
    func (x *Output_Record) Reset()
    func (x *Output_Record) String() string
type Output_Record_Field
    func (*Output_Record_Field) Descriptor() ([]byte, []int)
    func (x *Output_Record_Field) GetError() Output_Record_Field_ERROR
    func (x *Output_Record_Field) GetList() *RepeatedString
    func (x *Output_Record_Field) GetNumber() int32
    func (x *Output_Record_Field) GetQuoteWhenPrinting() bool
    func (x *Output_Record_Field) GetText() string
    func (m *Output_Record_Field) GetValue() isOutput_Record_Field_Value
    func (*Output_Record_Field) ProtoMessage()
    func (x *Output_Record_Field) ProtoReflect() protoreflect.Message
    func (x *Output_Record_Field) Reset()
    func (x *Output_Record_Field) String() string
type Output_Record_Field_ERROR
    func (Output_Record_Field_ERROR) Descriptor() protoreflect.EnumDescriptor
    func (x Output_Record_Field_ERROR) Enum() *Output_Record_Field_ERROR
    func (Output_Record_Field_ERROR) EnumDescriptor() ([]byte, []int)
    func (x Output_Record_Field_ERROR) Number() protoreflect.EnumNumber
    func (x Output_Record_Field_ERROR) String() string
    func (Output_Record_Field_ERROR) Type() protoreflect.EnumType
type Output_Record_Field_Error
type Output_Record_Field_List
type Output_Record_Field_Number
type Output_Record_Field_Text
type RepeatedString
    func (*RepeatedString) Descriptor() ([]byte, []int)
    func (x *RepeatedString) GetStrings() []string
    func (*RepeatedString) ProtoMessage()
    func (x *RepeatedString) ProtoReflect() protoreflect.Message
    func (x *RepeatedString) Reset()
    func (x *RepeatedString) String() string

Package files

api.gen.pb.go

Variables

Enum value maps for Output_Record_Field_ERROR.

var (
    Output_Record_Field_ERROR_name = map[int32]string{
        0: "UNKNOWN",
        1: "MISSING",
        2: "MISSING_LIST_ITEM",
    }
    Output_Record_Field_ERROR_value = map[string]int32{
        "UNKNOWN":           0,
        "MISSING":           1,
        "MISSING_LIST_ITEM": 2,
    }
)
var File_api_proto_api_proto protoreflect.FileDescriptor

type Output

type Output struct {
    Records []*Output_Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
    // contains filtered or unexported fields
}

func (*Output) Descriptor

func (*Output) Descriptor() ([]byte, []int)

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetRecords

func (x *Output) GetRecords() []*Output_Record

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

func (x *Output) ProtoReflect() protoreflect.Message

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

type Output_Record

type Output_Record struct {
    Fields []*Output_Record_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
    // contains filtered or unexported fields
}

func (*Output_Record) Descriptor

func (*Output_Record) Descriptor() ([]byte, []int)

Deprecated: Use Output_Record.ProtoReflect.Descriptor instead.

func (*Output_Record) GetFields

func (x *Output_Record) GetFields() []*Output_Record_Field

func (*Output_Record) ProtoMessage

func (*Output_Record) ProtoMessage()

func (*Output_Record) ProtoReflect

func (x *Output_Record) ProtoReflect() protoreflect.Message

func (*Output_Record) Reset

func (x *Output_Record) Reset()

func (*Output_Record) String

func (x *Output_Record) String() string

type Output_Record_Field

type Output_Record_Field struct {

    // Types that are assignable 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"`
    // contains filtered or unexported fields
}

func (*Output_Record_Field) Descriptor

func (*Output_Record_Field) Descriptor() ([]byte, []int)

Deprecated: Use Output_Record_Field.ProtoReflect.Descriptor instead.

func (*Output_Record_Field) GetError

func (x *Output_Record_Field) GetError() Output_Record_Field_ERROR

func (*Output_Record_Field) GetList

func (x *Output_Record_Field) GetList() *RepeatedString

func (*Output_Record_Field) GetNumber

func (x *Output_Record_Field) GetNumber() int32

func (*Output_Record_Field) GetQuoteWhenPrinting

func (x *Output_Record_Field) GetQuoteWhenPrinting() bool

func (*Output_Record_Field) GetText

func (x *Output_Record_Field) GetText() string

func (*Output_Record_Field) GetValue

func (m *Output_Record_Field) GetValue() isOutput_Record_Field_Value

func (*Output_Record_Field) ProtoMessage

func (*Output_Record_Field) ProtoMessage()

func (*Output_Record_Field) ProtoReflect

func (x *Output_Record_Field) ProtoReflect() protoreflect.Message

func (*Output_Record_Field) Reset

func (x *Output_Record_Field) Reset()

func (*Output_Record_Field) String

func (x *Output_Record_Field) String() string

type Output_Record_Field_ERROR

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
    Output_Record_Field_MISSING_LIST_ITEM Output_Record_Field_ERROR = 2
)

func (Output_Record_Field_ERROR) Descriptor

func (Output_Record_Field_ERROR) Descriptor() protoreflect.EnumDescriptor

func (Output_Record_Field_ERROR) Enum

func (x Output_Record_Field_ERROR) Enum() *Output_Record_Field_ERROR

func (Output_Record_Field_ERROR) EnumDescriptor

func (Output_Record_Field_ERROR) EnumDescriptor() ([]byte, []int)

Deprecated: Use Output_Record_Field_ERROR.Descriptor instead.

func (Output_Record_Field_ERROR) Number

func (x Output_Record_Field_ERROR) Number() protoreflect.EnumNumber

func (Output_Record_Field_ERROR) String

func (x Output_Record_Field_ERROR) String() string

func (Output_Record_Field_ERROR) Type

func (Output_Record_Field_ERROR) Type() protoreflect.EnumType

type Output_Record_Field_Error

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

type Output_Record_Field_List struct {
    List *RepeatedString `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}

type Output_Record_Field_Number

type Output_Record_Field_Number struct {
    Number int32 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
}

type Output_Record_Field_Text

type Output_Record_Field_Text struct {
    Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type RepeatedString

type RepeatedString struct {
    Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
    // contains filtered or unexported fields
}

func (*RepeatedString) Descriptor

func (*RepeatedString) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedString.ProtoReflect.Descriptor instead.

func (*RepeatedString) GetStrings

func (x *RepeatedString) GetStrings() []string

func (*RepeatedString) ProtoMessage

func (*RepeatedString) ProtoMessage()

func (*RepeatedString) ProtoReflect

func (x *RepeatedString) ProtoReflect() protoreflect.Message

func (*RepeatedString) Reset

func (x *RepeatedString) Reset()

func (*RepeatedString) String

func (x *RepeatedString) String() string