package sourcecontextpb

import "github.com/knqyf263/go-plugin/types/known/sourcecontextpb"

Index

Variables

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

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

Source Files

source_context.pb.go source_context_vtproto.pb.go

Version
v0.9.0 (latest)
Published
Mar 11, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 day ago

Tools for package owners.