Documentation ¶
Index ¶
- type SourceContext
- func (*SourceContext) Descriptor() ([]byte, []int)
- func (m *SourceContext) GetFileName() string
- func (*SourceContext) ProtoMessage()
- func (m *SourceContext) Reset()
- func (m *SourceContext) String() string
- func (m *SourceContext) XXX_DiscardUnknown()
- func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SourceContext) XXX_Merge(src proto.Message)
- func (m *SourceContext) XXX_Size() int
- func (m *SourceContext) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
func (*SourceContext) Descriptor ¶
func (*SourceContext) Descriptor() ([]byte, []int)
func (*SourceContext) GetFileName ¶
func (m *SourceContext) GetFileName() string
func (*SourceContext) ProtoMessage ¶
func (*SourceContext) ProtoMessage()
func (*SourceContext) Reset ¶
func (m *SourceContext) Reset()
func (*SourceContext) String ¶
func (m *SourceContext) String() string
func (*SourceContext) XXX_DiscardUnknown ¶
func (m *SourceContext) XXX_DiscardUnknown()
func (*SourceContext) XXX_Marshal ¶
func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceContext) XXX_Merge ¶
func (dst *SourceContext) XXX_Merge(src proto.Message)
func (*SourceContext) XXX_Size ¶
func (m *SourceContext) XXX_Size() int
func (*SourceContext) XXX_Unmarshal ¶
func (m *SourceContext) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.