sourcecontextpb

package
Version: v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: BSD-3-Clause Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_protobuf_source_context_proto protoreflect.FileDescriptor

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) Descriptor deprecated

This method has been deprecated.
func (*SourceContext) Descriptor() ([]byte, []int)

Deprecated: Use SourceContext.ProtoReflect.Descriptor instead.

func (*SourceContext) GetFileName

func (x *SourceContext) GetFileName() string

func (*SourceContext) ProtoMessage

func (*SourceContext) ProtoMessage()

func (*SourceContext) ProtoReflect

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

func (*SourceContext) Reset

func (x *SourceContext) Reset()

func (*SourceContext) String

func (x *SourceContext) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL