Class RpcRequest
public sealed class RpcRequest : IMessage<RpcRequest>, IEquatable<RpcRequest>, IDeepCloneable<RpcRequest>, IBufferMessage, IMessage
- Inheritance
-
Rpc
Request
- Implements
-
IMessage<Rpc
Request >IDeepCloneable <RpcRequest >IBufferMessage IMessage
- Inherited Members
- Extension Methods
Constructors
RpcRequest()
RpcRequest(RpcRequest)
Parameters
other
RpcRequest
Fields
MetadataFieldNumber
Field number for the "metadata" field.
Field Value
MethodFieldNumber
Field number for the "method" field.
Field Value
PayloadFieldNumber
Field number for the "payload" field.
Field Value
RequestIdFieldNumber
Field number for the "request_id" field.
Field Value
SourceFieldNumber
Field number for the "source" field.
Field Value
TargetFieldNumber
Field number for the "target" field.
Field Value
Properties
Descriptor
Property Value
- Message
Descriptor
Metadata
Property Value
Method
Property Value
Parser
Property Value
- Message
Parser <RpcRequest >
Payload
Property Value
RequestId
Property Value
Source
Property Value
Target
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
Returns
- Rpc
Request A deep clone of this object.
Equals(RpcRequest)
Indicates whether the current object is equal to another object of the same type.
Parameters
other
RpcRequest An object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
Parameters
other
object
Returns
GetHashCode()
Serves as the default hash function.
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
Parameters
input
CodedInput Stream
Remarks
See the user guide for precise merge semantics.
MergeFrom(RpcRequest)
Merges the given message into this one.
Parameters
other
RpcRequest
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Parameters
output
CodedOutput Stream Coded output stream to write the data to. Must not be null.