Documentation ¶
Index ¶
- Variables
- type SourceContext
- func (x *SourceContext) GetFileName() string
- func (m *SourceContext) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceContext) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceContext) MarshalVT() (dAtA []byte, err error)
- func (x *SourceContext) ProtoReflect() protoreflect.Message
- func (m *SourceContext) SizeVT() (n int)
- func (m *SourceContext) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
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
Click to show internal directories.
Click to hide internal directories.