syntaxv1

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Enum_name = map[int32]string{
		0: "ENUM_UNSPECIFIED",
		1: "ENUM_ONE",
		2: "ENUM_TWO",
	}
	Enum_value = map[string]int32{
		"ENUM_UNSPECIFIED": 0,
		"ENUM_ONE":         1,
		"ENUM_TWO":         2,
	}
)

Enum value maps for Enum.

View Source
var File_einride_example_syntax_v1_syntax_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Enum

type Enum int32
const (
	Enum_ENUM_UNSPECIFIED Enum = 0
	Enum_ENUM_ONE         Enum = 1
	Enum_ENUM_TWO         Enum = 2
)

func (Enum) Descriptor

func (Enum) Descriptor() protoreflect.EnumDescriptor

func (Enum) Enum

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor deprecated

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

Deprecated: Use Enum.Descriptor instead.

func (Enum) Number

func (x Enum) Number() protoreflect.EnumNumber

func (Enum) String

func (x Enum) String() string

func (Enum) Type

func (Enum) Type() protoreflect.EnumType

type Message

type Message struct {
	Double           float64             `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	Float            float32             `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
	Int32            int32               `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64            int64               `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32           uint32              `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64           uint64              `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32           int32               `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64           int64               `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32          uint32              `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64          uint64              `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32         int32               `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64         int64               `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool             bool                `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_          string              `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes            []byte              `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Enum             Enum                `protobuf:"varint,16,opt,name=enum,proto3,enum=einride.example.syntax.v1.Enum" json:"enum,omitempty"`
	Message          *Message            `protobuf:"bytes,17,opt,name=message,proto3" json:"message,omitempty"`
	RepeatedDouble   []float64           `protobuf:"fixed64,18,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
	RepeatedFloat    []float32           `protobuf:"fixed32,19,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
	RepeatedInt32    []int32             `protobuf:"varint,20,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
	RepeatedInt64    []int64             `protobuf:"varint,21,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
	RepeatedUint32   []uint32            `protobuf:"varint,22,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
	RepeatedUint64   []uint64            `protobuf:"varint,23,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
	RepeatedSint32   []int32             `protobuf:"zigzag32,24,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
	RepeatedSint64   []int64             `protobuf:"zigzag64,25,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
	RepeatedFixed32  []uint32            `protobuf:"fixed32,26,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
	RepeatedFixed64  []uint64            `protobuf:"fixed64,27,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
	RepeatedSfixed32 []int32             `protobuf:"fixed32,28,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
	RepeatedSfixed64 []int64             `protobuf:"fixed64,29,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
	RepeatedBool     []bool              `protobuf:"varint,30,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
	RepeatedString   []string            `protobuf:"bytes,31,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
	RepeatedBytes    [][]byte            `protobuf:"bytes,32,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
	RepeatedEnum     []Enum              `` /* 142-byte string literal not displayed */
	RepeatedMessage  []*Message          `protobuf:"bytes,34,rep,name=repeated_message,json=repeatedMessage,proto3" json:"repeated_message,omitempty"`
	MapStringString  map[string]string   `` /* 197-byte string literal not displayed */
	MapStringMessage map[string]*Message `` /* 200-byte string literal not displayed */
	// Types that are assignable to Oneof:
	//	*Message_OneofString
	//	*Message_OneofEnum
	//	*Message_OneofMessage1
	//	*Message_OneofMessage2
	Oneof isMessage_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBool

func (x *Message) GetBool() bool

func (*Message) GetBytes

func (x *Message) GetBytes() []byte

func (*Message) GetDouble

func (x *Message) GetDouble() float64

func (*Message) GetEnum

func (x *Message) GetEnum() Enum

func (*Message) GetFixed32

func (x *Message) GetFixed32() uint32

func (*Message) GetFixed64

func (x *Message) GetFixed64() uint64

func (*Message) GetFloat

func (x *Message) GetFloat() float32

func (*Message) GetInt32

func (x *Message) GetInt32() int32

func (*Message) GetInt64

func (x *Message) GetInt64() int64

func (*Message) GetMapStringMessage

func (x *Message) GetMapStringMessage() map[string]*Message

func (*Message) GetMapStringString

func (x *Message) GetMapStringString() map[string]string

func (*Message) GetMessage

func (x *Message) GetMessage() *Message

func (*Message) GetOneof

func (m *Message) GetOneof() isMessage_Oneof

func (*Message) GetOneofEnum

func (x *Message) GetOneofEnum() Enum

func (*Message) GetOneofMessage1

func (x *Message) GetOneofMessage1() *Message

func (*Message) GetOneofMessage2

func (x *Message) GetOneofMessage2() *Message

func (*Message) GetOneofString

func (x *Message) GetOneofString() string

func (*Message) GetRepeatedBool

func (x *Message) GetRepeatedBool() []bool

func (*Message) GetRepeatedBytes

func (x *Message) GetRepeatedBytes() [][]byte

func (*Message) GetRepeatedDouble

func (x *Message) GetRepeatedDouble() []float64

func (*Message) GetRepeatedEnum

func (x *Message) GetRepeatedEnum() []Enum

func (*Message) GetRepeatedFixed32

func (x *Message) GetRepeatedFixed32() []uint32

func (*Message) GetRepeatedFixed64

func (x *Message) GetRepeatedFixed64() []uint64

func (*Message) GetRepeatedFloat

func (x *Message) GetRepeatedFloat() []float32

func (*Message) GetRepeatedInt32

func (x *Message) GetRepeatedInt32() []int32

func (*Message) GetRepeatedInt64

func (x *Message) GetRepeatedInt64() []int64

func (*Message) GetRepeatedMessage

func (x *Message) GetRepeatedMessage() []*Message

func (*Message) GetRepeatedSfixed32

func (x *Message) GetRepeatedSfixed32() []int32

func (*Message) GetRepeatedSfixed64

func (x *Message) GetRepeatedSfixed64() []int64

func (*Message) GetRepeatedSint32

func (x *Message) GetRepeatedSint32() []int32

func (*Message) GetRepeatedSint64

func (x *Message) GetRepeatedSint64() []int64

func (*Message) GetRepeatedString

func (x *Message) GetRepeatedString() []string

func (*Message) GetRepeatedUint32

func (x *Message) GetRepeatedUint32() []uint32

func (*Message) GetRepeatedUint64

func (x *Message) GetRepeatedUint64() []uint64

func (*Message) GetSfixed32

func (x *Message) GetSfixed32() int32

func (*Message) GetSfixed64

func (x *Message) GetSfixed64() int64

func (*Message) GetSint32

func (x *Message) GetSint32() int32

func (*Message) GetSint64

func (x *Message) GetSint64() int64

func (*Message) GetString_

func (x *Message) GetString_() string

func (*Message) GetUint32

func (x *Message) GetUint32() uint32

func (*Message) GetUint64

func (x *Message) GetUint64() uint64

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_OneofEnum

type Message_OneofEnum struct {
	OneofEnum Enum `protobuf:"varint,38,opt,name=oneof_enum,json=oneofEnum,proto3,enum=einride.example.syntax.v1.Enum,oneof"`
}

type Message_OneofMessage1

type Message_OneofMessage1 struct {
	OneofMessage1 *Message `protobuf:"bytes,39,opt,name=oneof_message1,json=oneofMessage1,proto3,oneof"`
}

type Message_OneofMessage2

type Message_OneofMessage2 struct {
	OneofMessage2 *Message `protobuf:"bytes,40,opt,name=oneof_message2,json=oneofMessage2,proto3,oneof"`
}

type Message_OneofString

type Message_OneofString struct {
	OneofString string `protobuf:"bytes,37,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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