api_proto

package
v0.0.0-...-93fe2d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Output_Record_Field_ERROR_name = map[int32]string{
		0: "UNKNOWN",
		1: "MISSING",
	}
	Output_Record_Field_ERROR_value = map[string]int32{
		"UNKNOWN": 0,
		"MISSING": 1,
	}
)

Enum value maps for Output_Record_Field_ERROR.

View Source
var File_api_proto_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 deprecated

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 deprecated

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 deprecated

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

Deprecated: Use Output_Record_Field.ProtoReflect.Descriptor instead.

func (*Output_Record_Field) GetError

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
)

func (Output_Record_Field_ERROR) Descriptor

func (Output_Record_Field_ERROR) Enum

func (Output_Record_Field_ERROR) EnumDescriptor deprecated

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

Deprecated: Use Output_Record_Field_ERROR.Descriptor instead.

func (Output_Record_Field_ERROR) Number

func (Output_Record_Field_ERROR) String

func (x Output_Record_Field_ERROR) String() string

func (Output_Record_Field_ERROR) Type

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 deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL