sourcecontextpb

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SourceContext

type SourceContext struct {

	// The path-qualified name of the .proto file that contained the associated
	// protobuf element.  For example: `"google/protobuf/source_context.proto"`.
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// contains filtered or unexported fields
}

`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.

func (*SourceContext) GetFileName

func (x *SourceContext) GetFileName() string

func (*SourceContext) MarshalToSizedBufferVT

func (m *SourceContext) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SourceContext) MarshalToVT

func (m *SourceContext) MarshalToVT(dAtA []byte) (int, error)

func (*SourceContext) MarshalVT

func (m *SourceContext) MarshalVT() (dAtA []byte, err error)

func (*SourceContext) ProtoReflect

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

func (*SourceContext) SizeVT

func (m *SourceContext) SizeVT() (n int)

func (*SourceContext) UnmarshalVT

func (m *SourceContext) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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