syntaxv1

package
v0.68.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 5 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_fieldbehaviors_proto protoreflect.FileDescriptor
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 FieldBehaviorMessage added in v0.67.1

type FieldBehaviorMessage struct {
	Field                       string                           `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	OutputOnlyField             string                           `protobuf:"bytes,2,opt,name=output_only_field,json=outputOnlyField,proto3" json:"output_only_field,omitempty"`
	OptionalField               string                           `protobuf:"bytes,3,opt,name=optional_field,json=optionalField,proto3" json:"optional_field,omitempty"`
	MessageWithoutFieldBehavior *FieldBehaviorMessage            `` /* 147-byte string literal not displayed */
	OutputOnlyMessage           *FieldBehaviorMessage            `protobuf:"bytes,13,opt,name=output_only_message,json=outputOnlyMessage,proto3" json:"output_only_message,omitempty"`
	OptionalMessage             *FieldBehaviorMessage            `protobuf:"bytes,14,opt,name=optional_message,json=optionalMessage,proto3" json:"optional_message,omitempty"`
	RepeatedMessage             []*FieldBehaviorMessage          `protobuf:"bytes,4,rep,name=repeated_message,json=repeatedMessage,proto3" json:"repeated_message,omitempty"`
	RepeatedOutputOnlyMessage   []*FieldBehaviorMessage          `` /* 140-byte string literal not displayed */
	RepeatedOptionalMessage     []*FieldBehaviorMessage          `` /* 132-byte string literal not displayed */
	MapMessage                  map[string]*FieldBehaviorMessage `` /* 179-byte string literal not displayed */
	MapOutputOnlyMessage        map[string]*FieldBehaviorMessage `` /* 213-byte string literal not displayed */
	MapOptionalMessage          map[string]*FieldBehaviorMessage `` /* 205-byte string literal not displayed */
	StringMap                   map[string]string                `` /* 177-byte string literal not displayed */
	StringList                  []string                         `protobuf:"bytes,11,rep,name=string_list,json=stringList,proto3" json:"string_list,omitempty"`
	// Types that are assignable to Oneof:
	//
	//	*FieldBehaviorMessage_FieldBehaviorMessage
	//	*FieldBehaviorMessage_SmallFieldBehaviorMessage
	Oneof isFieldBehaviorMessage_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func (*FieldBehaviorMessage) Descriptor deprecated added in v0.67.1

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

Deprecated: Use FieldBehaviorMessage.ProtoReflect.Descriptor instead.

func (*FieldBehaviorMessage) GetField added in v0.67.1

func (x *FieldBehaviorMessage) GetField() string

func (*FieldBehaviorMessage) GetFieldBehaviorMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetFieldBehaviorMessage() *FieldBehaviorMessage

func (*FieldBehaviorMessage) GetMapMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetMapMessage() map[string]*FieldBehaviorMessage

func (*FieldBehaviorMessage) GetMapOptionalMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetMapOptionalMessage() map[string]*FieldBehaviorMessage

func (*FieldBehaviorMessage) GetMapOutputOnlyMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetMapOutputOnlyMessage() map[string]*FieldBehaviorMessage

func (*FieldBehaviorMessage) GetMessageWithoutFieldBehavior added in v0.67.1

func (x *FieldBehaviorMessage) GetMessageWithoutFieldBehavior() *FieldBehaviorMessage

func (*FieldBehaviorMessage) GetOneof added in v0.67.1

func (m *FieldBehaviorMessage) GetOneof() isFieldBehaviorMessage_Oneof

func (*FieldBehaviorMessage) GetOptionalField added in v0.67.1

func (x *FieldBehaviorMessage) GetOptionalField() string

func (*FieldBehaviorMessage) GetOptionalMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetOptionalMessage() *FieldBehaviorMessage

func (*FieldBehaviorMessage) GetOutputOnlyField added in v0.67.1

func (x *FieldBehaviorMessage) GetOutputOnlyField() string

func (*FieldBehaviorMessage) GetOutputOnlyMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetOutputOnlyMessage() *FieldBehaviorMessage

func (*FieldBehaviorMessage) GetRepeatedMessage added in v0.67.1

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

func (*FieldBehaviorMessage) GetRepeatedOptionalMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetRepeatedOptionalMessage() []*FieldBehaviorMessage

func (*FieldBehaviorMessage) GetRepeatedOutputOnlyMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetRepeatedOutputOnlyMessage() []*FieldBehaviorMessage

func (*FieldBehaviorMessage) GetSmallFieldBehaviorMessage added in v0.67.1

func (x *FieldBehaviorMessage) GetSmallFieldBehaviorMessage() *SmallFieldBehaviorMessage

func (*FieldBehaviorMessage) GetStringList added in v0.67.1

func (x *FieldBehaviorMessage) GetStringList() []string

func (*FieldBehaviorMessage) GetStringMap added in v0.67.1

func (x *FieldBehaviorMessage) GetStringMap() map[string]string

func (*FieldBehaviorMessage) ProtoMessage added in v0.67.1

func (*FieldBehaviorMessage) ProtoMessage()

func (*FieldBehaviorMessage) ProtoReflect added in v0.67.1

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

func (*FieldBehaviorMessage) Reset added in v0.67.1

func (x *FieldBehaviorMessage) Reset()

func (*FieldBehaviorMessage) String added in v0.67.1

func (x *FieldBehaviorMessage) String() string

type FieldBehaviorMessage_FieldBehaviorMessage added in v0.67.1

type FieldBehaviorMessage_FieldBehaviorMessage struct {
	FieldBehaviorMessage *FieldBehaviorMessage `protobuf:"bytes,15,opt,name=field_behavior_message,json=fieldBehaviorMessage,proto3,oneof"`
}

type FieldBehaviorMessage_SmallFieldBehaviorMessage added in v0.67.1

type FieldBehaviorMessage_SmallFieldBehaviorMessage struct {
	SmallFieldBehaviorMessage *SmallFieldBehaviorMessage `protobuf:"bytes,16,opt,name=small_field_behavior_message,json=smallFieldBehaviorMessage,proto3,oneof"`
}

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"`
}

type SmallFieldBehaviorMessage added in v0.67.1

type SmallFieldBehaviorMessage struct {
	Field           string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	OutputOnlyField string `protobuf:"bytes,2,opt,name=output_only_field,json=outputOnlyField,proto3" json:"output_only_field,omitempty"`
	OptionalField   string `protobuf:"bytes,3,opt,name=optional_field,json=optionalField,proto3" json:"optional_field,omitempty"`
	// contains filtered or unexported fields
}

func (*SmallFieldBehaviorMessage) Descriptor deprecated added in v0.67.1

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

Deprecated: Use SmallFieldBehaviorMessage.ProtoReflect.Descriptor instead.

func (*SmallFieldBehaviorMessage) GetField added in v0.67.1

func (x *SmallFieldBehaviorMessage) GetField() string

func (*SmallFieldBehaviorMessage) GetOptionalField added in v0.67.1

func (x *SmallFieldBehaviorMessage) GetOptionalField() string

func (*SmallFieldBehaviorMessage) GetOutputOnlyField added in v0.67.1

func (x *SmallFieldBehaviorMessage) GetOutputOnlyField() string

func (*SmallFieldBehaviorMessage) ProtoMessage added in v0.67.1

func (*SmallFieldBehaviorMessage) ProtoMessage()

func (*SmallFieldBehaviorMessage) ProtoReflect added in v0.67.1

func (*SmallFieldBehaviorMessage) Reset added in v0.67.1

func (x *SmallFieldBehaviorMessage) Reset()

func (*SmallFieldBehaviorMessage) String added in v0.67.1

func (x *SmallFieldBehaviorMessage) String() string

Jump to

Keyboard shortcuts

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