Example #1
0
 public void MergeFrom(RpcMessageKind other)
 {
     if (other == null)
     {
         return;
     }
     if (other.MessageKind != 0)
     {
         MessageKind = other.MessageKind;
     }
 }
Example #2
0
    public void MergeFrom(pb::CodedInputStream input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                input.SkipLastField();
                break;

            case 8: {
                messageKind_ = (global::RpcMessageKind.Types.Kind)input.ReadEnum();
                break;
            }
            }
        }
    }