A protocol buffer message type.
Constructors and Destructors |
|
---|---|
Type()
|
|
Type(Type other)
|
Properties |
|
---|---|
Descriptor
|
pbr::MessageDescriptor
|
Descriptor
|
pbr::MessageDescriptor pb::IMessage.
|
Fields
|
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Field >
The list of fields.
|
Name
|
string
The fully qualified message name.
|
Oneofs
|
pbc::RepeatedField< string >
The list of types appearing in
oneof definitions in this type. |
Options
|
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option >
The protocol buffer options.
|
Parser
|
pb::MessageParser< Type >
|
SourceContext
|
global::Google.Protobuf.WellKnownTypes.SourceContext
The source context.
|
Syntax
|
global::Google.Protobuf.WellKnownTypes.Syntax
The source syntax.
|
Public attributes |
|
---|---|
FieldsFieldNumber = 2
|
const int
Field number for the "fields" field.
|
NameFieldNumber = 1
|
const int
Field number for the "name" field.
|
OneofsFieldNumber = 3
|
const int
Field number for the "oneofs" field.
|
OptionsFieldNumber = 4
|
const int
Field number for the "options" field.
|
SourceContextFieldNumber = 5
|
const int
Field number for the "source_context" field.
|
SyntaxFieldNumber = 6
|
const int
Field number for the "syntax" field.
|
Public functions |
|
---|---|
CalculateSize()
|
int
|
Clone()
|
|
Equals(object other)
|
override bool
|
Equals(Type other)
|
bool
|
GetHashCode()
|
override int
|
MergeFrom(Type other)
|
void
|
MergeFrom(pb::CodedInputStream input)
|
void
|
ToString()
|
override string
|
WriteTo(pb::CodedOutputStream output)
|
void
|
pbr::MessageDescriptor Descriptor
pbr::MessageDescriptor pb::IMessage. Descriptor
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Field > Fields
The list of fields.
string Name
The fully qualified message name.
pbc::RepeatedField< string > Oneofs
The list of types appearing in oneof
definitions in this type.
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option > Options
The protocol buffer options.
pb::MessageParser< Type > Parser
global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext
The source context.
global::Google.Protobuf.WellKnownTypes.Syntax Syntax
The source syntax.
const int SourceContextFieldNumber = 5
Field number for the "source_context" field.
int CalculateSize()
Type Clone()
override bool Equals( object other )
bool Equals( Type other )
override int GetHashCode()
void MergeFrom( Type other )
void MergeFrom( pb::CodedInputStream input )
override string ToString()
Type()
Type( Type other )
void WriteTo( pb::CodedOutputStream output )