SourceContext
represents information about the source of a protobuf element, like the file in which it is defined.
Constructors and Destructors |
|
---|---|
SourceContext()
|
|
SourceContext(SourceContext other)
|
Properties |
|
---|---|
Descriptor
|
pbr::MessageDescriptor
|
Descriptor
|
pbr::MessageDescriptor pb::IMessage.
|
FileName
|
string
The path-qualified name of the .proto file that contained the associated protobuf element.
|
Parser
|
pb::MessageParser< SourceContext >
|
Public attributes |
|
---|---|
FileNameFieldNumber = 1
|
const int
Field number for the "file_name" field.
|
Public functions |
|
---|---|
CalculateSize()
|
int
|
Clone()
|
|
Equals(object other)
|
override bool
|
Equals(SourceContext other)
|
bool
|
GetHashCode()
|
override int
|
MergeFrom(SourceContext other)
|
void
|
MergeFrom(pb::CodedInputStream input)
|
void
|
ToString()
|
override string
|
WriteTo(pb::CodedOutputStream output)
|
void
|
pbr::MessageDescriptor Descriptor
pbr::MessageDescriptor pb::IMessage. Descriptor
string FileName
The path-qualified name of the .proto file that contained the associated protobuf element.
For example: "google/protobuf/source_context.proto"
.
pb::MessageParser< SourceContext > Parser
int CalculateSize()
SourceContext Clone()
override bool Equals( object other )
bool Equals( SourceContext other )
override int GetHashCode()
void MergeFrom( SourceContext other )
void MergeFrom( pb::CodedInputStream input )
SourceContext()
SourceContext( SourceContext other )
override string ToString()
void WriteTo( pb::CodedOutputStream output )