test_pb

package
v0.0.0-...-8de7dcd Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_v1_foo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Element

type Element struct {

	// Types that are assignable to Type:
	//
	//	*Element_Foo_
	//	*Element_Bar_
	Type isElement_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Element) Descriptor deprecated

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

Deprecated: Use Element.ProtoReflect.Descriptor instead.

func (*Element) GetBar

func (x *Element) GetBar() *Element_Bar

func (*Element) GetFoo

func (x *Element) GetFoo() *Element_Foo

func (*Element) GetType

func (m *Element) GetType() isElement_Type

func (*Element) ProtoMessage

func (*Element) ProtoMessage()

func (*Element) ProtoReflect

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

func (*Element) Reset

func (x *Element) Reset()

func (*Element) String

func (x *Element) String() string

type Element_Bar

type Element_Bar struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Element_Bar) Descriptor deprecated

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

Deprecated: Use Element_Bar.ProtoReflect.Descriptor instead.

func (*Element_Bar) GetName

func (x *Element_Bar) GetName() string

func (*Element_Bar) ProtoMessage

func (*Element_Bar) ProtoMessage()

func (*Element_Bar) ProtoReflect

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

func (*Element_Bar) Reset

func (x *Element_Bar) Reset()

func (*Element_Bar) String

func (x *Element_Bar) String() string

type Element_Bar_

type Element_Bar_ struct {
	Bar *Element_Bar `protobuf:"bytes,2,opt,name=bar,proto3,oneof"`
}

type Element_Foo

type Element_Foo struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Element_Foo) Descriptor deprecated

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

Deprecated: Use Element_Foo.ProtoReflect.Descriptor instead.

func (*Element_Foo) GetDescription

func (x *Element_Foo) GetDescription() string

func (*Element_Foo) GetName

func (x *Element_Foo) GetName() string

func (*Element_Foo) ProtoMessage

func (*Element_Foo) ProtoMessage()

func (*Element_Foo) ProtoReflect

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

func (*Element_Foo) Reset

func (x *Element_Foo) Reset()

func (*Element_Foo) String

func (x *Element_Foo) String() string

type Element_Foo_

type Element_Foo_ struct {
	Foo *Element_Foo `protobuf:"bytes,1,opt,name=foo,proto3,oneof"`
}

type File

type File struct {
	Elements       []*Element               `protobuf:"bytes,3,rep,name=elements,proto3" json:"elements,omitempty"`
	SourceLocation *bcl_j5pb.SourceLocation `protobuf:"bytes,10,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	SString        string                   `protobuf:"bytes,11,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
	RString        []string                 `protobuf:"bytes,12,rep,name=r_string,json=rString,proto3" json:"r_string,omitempty"`
	Tags           map[string]string        `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetElements

func (x *File) GetElements() []*Element

func (*File) GetRString

func (x *File) GetRString() []string

func (*File) GetSString

func (x *File) GetSString() string

func (*File) GetSourceLocation

func (x *File) GetSourceLocation() *bcl_j5pb.SourceLocation

func (*File) GetTags

func (x *File) GetTags() map[string]string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type IsElement_Type

type IsElement_Type = isElement_Type

Jump to

Keyboard shortcuts

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