Interface for a Protocol Buffers message, supporting basic operations required for serialization.
| Properties | |
|---|---|
| Descriptor | Descriptor for this message.  | 
| Public functions | |
|---|---|
| CalculateSize() | intCalculates the size of this message in Protocol Buffer wire format, in bytes.  | 
| MergeFrom(CodedInputStream input) | voidMerges the data from the specified coded input stream with the current message.  | 
| WriteTo(CodedOutputStream output) | voidWrites the data to the given coded output stream.  | 
MessageDescriptor Descriptor
Descriptor for this message.
All instances are expected to return the same descriptor, and for generated types this will be an explicitly-implemented member, returning the same value as the static property declared on the type.
int CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
| Details | |
|---|---|
| Returns | The number of bytes required to write this message to a coded output stream. | 
void MergeFrom( CodedInputStream input )
Merges the data from the specified coded input stream with the current message.
See the user guide for precise merge semantics.
| Details | |||
|---|---|---|---|
| Parameters | 
 | 
void WriteTo( CodedOutputStream output )
Writes the data to the given coded output stream.
| Details | |||
|---|---|---|---|
| Parameters | 
 |